diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-08-09 10:44:56 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-08-09 14:14:38 +0200 |
commit | c4242b1e6e29f4362d9a87e8fb4f129402179897 (patch) | |
tree | 8aa91899321f5b374409d9a2fd401ea54208352e /configure.ac | |
parent | 76e047fc27b3a0b9e6d6d00cacf536e7b7c1b532 (diff) | |
download | curl-c4242b1e6e29f4362d9a87e8fb4f129402179897.tar.gz |
configure: error out if both ngtcp2 and quiche are specified
Reported-by: Vincent Grande
See #7539
Closes #7545
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 3d8c0d1d3..bbce393fc 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" |