diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-05-13 14:23:08 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-05-13 14:23:08 +0200 |
commit | 9792f7140678633d9a3a15d2c49b01776b0417f9 (patch) | |
tree | 3eb1f2b6aa6b30df5384b86f2721016ff20b3e55 | |
parent | 4b03e1bcf8b24ef6431bbe9753924820a418e7f3 (diff) | |
download | curl-bagder/configure-detect-missing-openssl.tar.gz |
fixup handle both 'no' and 'off'bagder/configure-detect-missing-openssl
-rwxr-xr-x | configure.ac | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 1d622a313..f1c48b165 100755 --- a/configure.ac +++ b/configure.ac @@ -1890,10 +1890,11 @@ if test -z "$ssl_backends" -o "x$OPT_SSL" != xno && fi if test X"$OPT_SSL" != Xoff && + test X"$OPT_SSL" != Xno && test "$OPENSSL_ENABLED" != "1"; then + AC_MSG_NOTICE([OPT_SSL: $OPT_SSL]) + AC_MSG_NOTICE([OPENSSL_ENABLED: $OPENSSL_ENABLED]) AC_MSG_ERROR([--with-ssl was given but OpenSSL could not be detected]) - AC_MSG_ERROR([OPT_SSL: $OPT_SSL]) - AC_MSG_ERROR([OPENSSL_ENABLED: $OPENSSL_ENABLED]) fi dnl ********************************************************************** |