From: Willem Toorop Date: Wed, 30 Nov 2016 14:10:48 +0000 (+0100) Subject: Fix logic error X-Git-Tag: release-1.7.0-rc1~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7762ec6dbed0ba2f030e802450c1825c2bda29cd;p=thirdparty%2Fldns.git Fix logic error --- diff --git a/configure.ac b/configure.ac index 976f161b..bec888e4 100644 --- a/configure.ac +++ b/configure.ac @@ -324,14 +324,12 @@ tmp_LDFLAGS=$LDFLAGS tmp_LIBS=$LIBS ACX_WITH_SSL_OPTIONAL -if test "x$HAVE_SSL" != "xyes"; then - AC_MSG_CHECKING([for LibreSSL]) - if grep VERSION_TEXT $ssldir/include/openssl/opensslv.h | grep "LibreSSL" >/dev/null; then - AC_MSG_RESULT([yes]) - AC_DEFINE([HAVE_LIBRESSL], [1], [Define if we have LibreSSL]) - else - AC_MSG_RESULT([no]) - fi +AC_MSG_CHECKING([for LibreSSL]) +if grep VERSION_TEXT $ssldir/include/openssl/opensslv.h | grep "LibreSSL" >/dev/null; then + AC_MSG_RESULT([yes]) + AC_DEFINE([HAVE_LIBRESSL], [1], [Define if we have LibreSSL]) +else + AC_MSG_RESULT([no]) fi AC_CHECK_FUNCS([EVP_sha256 ENGINE_load_cryptodev EVP_PKEY_keygen ECDSA_SIG_get0 EVP_MD_CTX_new EVP_PKEY_base_id])