]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
configure: fail if --with-quiche is used and quiche isn't found
authorDaniel Stenberg <daniel@haxx.se>
Wed, 24 Feb 2021 10:26:52 +0000 (11:26 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 24 Feb 2021 13:05:29 +0000 (14:05 +0100)
Closes #6652

configure.ac

index 73b7dc1ae8aabc4132069ec759c3e383261b92af..1af9d0f41964e9af2ab7786e7c684713cc4a22f6 100755 (executable)
@@ -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