From c7c1e5851ff52578364a14035c01687728778611 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 24 Feb 2021 11:26:52 +0100 Subject: configure: fail if --with-quiche is used and quiche isn't found Closes #6652 --- configure.ac | 6 ++---- 1 file 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 -- cgit v1.2.1