summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-02-24 11:26:52 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-02-24 14:05:29 +0100
commitc7c1e5851ff52578364a14035c01687728778611 (patch)
tree27a0bb0f059cec85a9a24fd8d96899ddb2fccde8
parent811acd1a08fb089fa274e2217dfee08fa4e12210 (diff)
downloadcurl-c7c1e5851ff52578364a14035c01687728778611.tar.gz
configure: fail if --with-quiche is used and quiche isn't found
Closes #6652
-rwxr-xr-xconfigure.ac6
1 files changed, 2 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 73b7dc1ae..1af9d0f41 100755
--- a/configure.ac
+++ b/configure.ac
@@ -4005,7 +4005,7 @@ dnl **********************************************************************
dnl Check for quiche (QUIC)
dnl **********************************************************************
-OPT_QUICHE="yes"
+OPT_QUICHE="no"
if test "x$disable_http" = "xyes" -o "x$USE_NGTCP" = "x1"; then
# without HTTP or with ngtcp2, quiche is no use
@@ -4077,9 +4077,7 @@ if test X"$want_quiche" != Xno; then
)
],
dnl not found, revert back to clean variables
- LDFLAGS=$CLEANLDFLAGS
- CPPFLAGS=$CLEANCPPFLAGS
- LIBS=$CLEANLIBS
+ AC_MSG_ERROR([couldn't use quiche])
)
else
dnl no quiche pkg-config found, deal with it