From: Daniel Stenberg Date: Mon, 9 Aug 2021 08:44:56 +0000 (+0200) Subject: configure: error out if both ngtcp2 and quiche are specified X-Git-Tag: curl-7_79_0~144 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4242b1e6e29f4362d9a87e8fb4f129402179897;p=thirdparty%2Fcurl.git configure: error out if both ngtcp2 and quiche are specified Reported-by: Vincent Grande See #7539 Closes #7545 --- diff --git a/configure.ac b/configure.ac index 3d8c0d1d35..bbce393fc9 100644 --- a/configure.ac +++ b/configure.ac @@ -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"