Browse Source

configure: fail if --with-quiche is used and quiche isn't found

Closes #6652
Daniel Stenberg 3 years ago
parent
commit
c7c1e5851f
1 changed files with 2 additions and 4 deletions
  1. 2 4
      configure.ac

+ 2 - 4
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