From: Ben Hutchings <benh@debian.org>
Date: Mon, 19 May 2025 22:35:22 +0200
Subject: configure: Disable currently broken QUIC implementation
Bug: https://github.com/oracle/ktls-utils/issues/97
Bug: https://github.com/oracle/ktls-utils/issues/99
Bug: https://github.com/oracle/ktls-utils/issues/100

The QUIC implementation currently has several obvious bugs.  As our
kernel UAPI headers don't yet include /usr/include/linux/quic.h, it is
automatically disabled by the configure script, but I want to ensure
that it stays disabled until those issues are resolved.

---
--- a/configure.ac
+++ b/configure.ac
@@ -63,9 +63,10 @@ PKG_CHECK_MODULES([LIBNL_GENL3], libnl-g
 AC_SUBST([LIBNL_GENL3_CFLAGS])
 AC_SUBST([LIBNL_GENL3_LIBS])
 
-AC_CHECK_FILE([/usr/include/linux/quic.h],
-              [AC_CHECK_LIB([gnutls], [gnutls_handshake_set_secret_function],
-                            [AC_DEFINE([HAVE_GNUTLS_QUIC], [1], [Define to 1 if QUIC is found.])])])
+dnl QUIC is broken (upstream bugs #97, #99, #100)
+dnl AC_CHECK_FILE([/usr/include/linux/quic.h],
+dnl               [AC_CHECK_LIB([gnutls], [gnutls_handshake_set_secret_function],
+dnl                             [AC_DEFINE([HAVE_GNUTLS_QUIC], [1], [Define to 1 if QUIC is found.])])])
 
 AC_CHECK_LIB([gnutls], [gnutls_transport_is_ktls_enabled],
              [AC_DEFINE([HAVE_GNUTLS_TRANSPORT_IS_KTLS_ENABLED], [1],
