]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
configure: error out if both ngtcp2 and quiche are specified
authorDaniel Stenberg <daniel@haxx.se>
Mon, 9 Aug 2021 08:44:56 +0000 (10:44 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 9 Aug 2021 12:14:38 +0000 (14:14 +0200)
Reported-by: Vincent Grande
See #7539
Closes #7545

configure.ac

index 3d8c0d1d35d78247a78be0e7e0d62fbbab865968..bbce393fc9ec8d71145bb53f2c872e379843336c 100644 (file)
@@ -2893,6 +2893,11 @@ case "$OPT_QUICHE" in
 esac
 
 if test X"$want_quiche" != Xno; then
+
+  if test "$NGHTTP3_ENABLED" = 1; then
+    AC_MSG_ERROR([--with-quiche and --with-ngtcp2 are mutually exclusive])
+  fi
+
   dnl backup the pre-quiche variables
   CLEANLDFLAGS="$LDFLAGS"
   CLEANCPPFLAGS="$CPPFLAGS"