diff --git a/configure.ac b/configure.ac index cf6738b4c4ea96457b87e8a8b162bd4d793c6eeb..81f06059c14f55071e6899ff2a46971c92561cf6 100644 --- a/configure.ac +++ b/configure.ac @@ -836,10 +836,7 @@ if test X"$OPT_SSL" != Xno; then ]) - if test X"$HAVECRYPTO" != X"yes"; then - AC_MSG_WARN([crypto lib was not found; SSL will be disabled]) - - else + if test X"$HAVECRYPTO" = X"yes"; then dnl This is only reasonable to do if crypto actually is there: check for dnl SSL libs NOTE: it is important to do this AFTER the crypto lib