From: Emmanuel Ugwu Date: Sat, 11 Jul 2026 19:02:33 +0000 (+0100) Subject: configure: fix misleading error messages X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6bad3db3d55161fb6deafee005de0bbde6a795c4;p=thirdparty%2Fcurl.git configure: fix misleading error messages Reported-by: Bryan Henderson URL: https://curl.se/mail/lib-2026-07/0010.html Closes #22300 Signed-off-by: Emmanuel Ugwu --- diff --git a/configure.ac b/configure.ac index 2b8a0e0f0c..82ded68db4 100644 --- a/configure.ac +++ b/configure.ac @@ -1640,7 +1640,7 @@ if test "x$OPT_BROTLI" != "xno"; then if test "x$OPT_BROTLI" != "xoff" && test "$HAVE_BROTLI" != "1"; then - AC_MSG_ERROR([BROTLI libs and/or directories were not found where specified!]) + AC_MSG_ERROR([BROTLI libs and/or directories were not found!]) fi if test "$HAVE_BROTLI" = "1"; then @@ -2354,7 +2354,7 @@ if test "x$OPT_LIBPSL" != "xno"; then ) if test "$USE_LIBPSL" != "1"; then - AC_MSG_ERROR([libpsl libs and/or directories were not found where specified!]) + AC_MSG_ERROR([libpsl libs and/or directories were not found!]) fi fi AM_CONDITIONAL([USE_LIBPSL], [test "$curl_psl_msg" = "enabled"]) @@ -2505,7 +2505,7 @@ if test "x$OPT_LIBSSH2" != "xno"; then if test "x$OPT_LIBSSH2" != "xoff" && test "$USE_LIBSSH2" != "1"; then - AC_MSG_ERROR([libssh2 libs and/or directories were not found where specified!]) + AC_MSG_ERROR([libssh2 libs and/or directories were not found!]) fi if test "$USE_LIBSSH2" = "1"; then @@ -2581,7 +2581,7 @@ elif test "x$OPT_LIBSSH" != "xno"; then if test "x$OPT_LIBSSH" != "xoff" && test "$USE_LIBSSH" != "1"; then - AC_MSG_ERROR([libssh libs and/or directories were not found where specified!]) + AC_MSG_ERROR([libssh libs and/or directories were not found!]) fi if test "$USE_LIBSSH" = "1"; then diff --git a/m4/curl-openssl.m4 b/m4/curl-openssl.m4 index 26c9eb3fbb..96060f841d 100644 --- a/m4/curl-openssl.m4 +++ b/m4/curl-openssl.m4 @@ -219,7 +219,7 @@ if test "x$OPT_OPENSSL" != "xno"; then if test "$OPENSSL_ENABLED" != "1"; then LIBS="$CLEANLIBS" - AC_MSG_ERROR([OpenSSL libs and/or directories were not found where specified!]) + AC_MSG_ERROR([OpenSSL libs and/or directories were not found!]) fi fi