]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
Fix logic error
authorWillem Toorop <willem@nlnetlabs.nl>
Wed, 30 Nov 2016 14:10:48 +0000 (15:10 +0100)
committerWillem Toorop <willem@nlnetlabs.nl>
Wed, 30 Nov 2016 14:10:48 +0000 (15:10 +0100)
configure.ac

index 976f161bdad5bf920a7025ab3703a3cd6c12e59a..bec888e4fb9a07ef80f217eabc5773612dad58f1 100644 (file)
@@ -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])