mirror of
https://github.com/moparisthebest/curl
synced 2025-03-03 10:51:49 -05:00
configure: fail if --with-quiche is used and quiche isn't found
Closes #6652
This commit is contained in:
parent
811acd1a08
commit
c7c1e5851f
@ -4005,7 +4005,7 @@ dnl **********************************************************************
|
|||||||
dnl Check for quiche (QUIC)
|
dnl Check for quiche (QUIC)
|
||||||
dnl **********************************************************************
|
dnl **********************************************************************
|
||||||
|
|
||||||
OPT_QUICHE="yes"
|
OPT_QUICHE="no"
|
||||||
|
|
||||||
if test "x$disable_http" = "xyes" -o "x$USE_NGTCP" = "x1"; then
|
if test "x$disable_http" = "xyes" -o "x$USE_NGTCP" = "x1"; then
|
||||||
# without HTTP or with ngtcp2, quiche is no use
|
# 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
|
dnl not found, revert back to clean variables
|
||||||
LDFLAGS=$CLEANLDFLAGS
|
AC_MSG_ERROR([couldn't use quiche])
|
||||||
CPPFLAGS=$CLEANCPPFLAGS
|
|
||||||
LIBS=$CLEANLIBS
|
|
||||||
)
|
)
|
||||||
else
|
else
|
||||||
dnl no quiche pkg-config found, deal with it
|
dnl no quiche pkg-config found, deal with it
|
||||||
|
Loading…
x
Reference in New Issue
Block a user