From 612a54943b5770e270ca7aa7aabbea26d9ef438e Mon Sep 17 00:00:00 2001 From: Masakazu Kitajo Date: Tue, 28 Mar 2023 19:07:44 -0600 Subject: [PATCH] Require use of BoringSSL if Quiche is used --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index bd11a61e33a..025353db9b1 100644 --- a/configure.ac +++ b/configure.ac @@ -1447,12 +1447,16 @@ TS_CHECK_LUAJIT # Check for optional quiche library TS_CHECK_QUICHE if test "${has_quiche}" = "1"; then +if test "$openssl_is_boringssl" = "1" ; then enable_quic=yes ## Doing these again for Quiche AM_CONDITIONAL([ENABLE_QUIC], [test "x$enable_quic" = "xyes"]) TS_ARG_ENABLE_VAR([use], [quic]) AC_SUBST(use_quic) AC_SUBST(has_quiche) +else + AC_MSG_ERROR([Use of BoringSSL is required if Quiche is used.]) +fi fi # Check for optional WAVM library