option(USE_QUICHE "Use quiche library for HTTP/3 support" OFF)
if(USE_QUICHE)
if(USE_NGTCP2)
- message(FATAL_ERROR "Only one HTTP/3 backend can be selected!")
+ message(FATAL_ERROR "Only one HTTP/3 backend can be selected")
endif()
find_package(Quiche REQUIRED)
if(NOT HAVE_BORINGSSL)
endif()
endif()
-option(USE_MSH3 "Use msquic library for HTTP/3 support" OFF)
+option(USE_MSH3 "Use msh3/msquic library for HTTP/3 support" OFF)
if(USE_MSH3)
if(USE_NGTCP2 OR USE_QUICHE)
- message(FATAL_ERROR "Only one HTTP/3 backend can be selected!")
+ message(FATAL_ERROR "Only one HTTP/3 backend can be selected")
endif()
find_package(MSH3 REQUIRED)
include_directories(SYSTEM ${MSH3_INCLUDE_DIRS})
if(USE_OPENSSL_QUIC)
if(USE_NGTCP2 OR USE_QUICHE OR USE_MSH3)
- message(FATAL_ERROR "Only one HTTP/3 backend can be selected!")
+ message(FATAL_ERROR "Only one HTTP/3 backend can be selected")
endif()
find_package(OpenSSL 3.3.0 REQUIRED)
fi
dnl **********************************************************************
-dnl Check for msh3 (QUIC)
+dnl Check for msh3/msquic (QUIC)
dnl **********************************************************************
OPT_MSH3="no"
AC_MSG_ERROR([the detected TLS library does not support QUIC, making --with-msh3 a no-no])
fi
if test "$OPENSSL_ENABLED" != "1"; then
- AC_MSG_ERROR([msh3 requires OpenSSL])
+ AC_MSG_ERROR([msh3/msquic requires OpenSSL])
fi
fi