From c4242b1e6e29f4362d9a87e8fb4f129402179897 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 9 Aug 2021 10:44:56 +0200 Subject: [PATCH] configure: error out if both ngtcp2 and quiche are specified Reported-by: Vincent Grande See #7539 Closes #7545 --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) 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"