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 <emmanuelugwu121@gmail.com>
This commit is contained in:
Emmanuel Ugwu 2026-07-11 20:02:33 +01:00 committed by Daniel Stenberg
parent fa246bf7f2
commit 6bad3db3d5
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 5 additions and 5 deletions

View file

@ -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

View file

@ -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