From 668584a94f59341bdc1b0a08add72af9379f48b0 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sun, 22 Sep 2024 15:21:02 +0200 Subject: [PATCH] build: drop exclamation marks, use "msh3/msquic" where incomplete Closes #15002 --- CMakeLists.txt | 8 ++++---- configure.ac | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 338671cbe1..3853673508 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -880,7 +880,7 @@ endif() 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) @@ -899,10 +899,10 @@ if(USE_QUICHE) 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}) @@ -912,7 +912,7 @@ endif() 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) diff --git a/configure.ac b/configure.ac index bf265b62a8..eb7e9b353d 100644 --- a/configure.ac +++ b/configure.ac @@ -3573,7 +3573,7 @@ AC_INCLUDES_DEFAULT fi dnl ********************************************************************** -dnl Check for msh3 (QUIC) +dnl Check for msh3/msquic (QUIC) dnl ********************************************************************** OPT_MSH3="no" @@ -3612,7 +3612,7 @@ if test X"$want_msh3" != Xno; then 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