]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
fixup libressl detection on solaris.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 14 Aug 2015 09:08:44 +0000 (09:08 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 14 Aug 2015 09:08:44 +0000 (09:08 +0000)
git-svn-id: file:///svn/unbound/trunk@3475 be551aaa-1e26-0410-a405-d3ace91eadb9

configure
configure.ac

index e26da24fb0298ff5894f3661105d208cbe81bb8c..e2b1bdec44ead2b0c6f147d4759dd419742ceaa5 100755 (executable)
--- a/configure
+++ b/configure
@@ -16684,7 +16684,7 @@ rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LibreSSL" >&5
 $as_echo_n "checking for LibreSSL... " >&6; }
-if grep -e OPENSSL_VERSION_TEXT -e LIBRESSL_VERSION_TEXT $ssldir/include/openssl/opensslv.h | grep "LibreSSL" >/dev/null; then
+if grep VERSION_TEXT $ssldir/include/openssl/opensslv.h | grep "LibreSSL" >/dev/null; then
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
 
index ca26fb2b7ab5e2d9e992df6bc743f1725db0d0cd..5ad39c7d5531783f0ebad186045894a9ce11ae12 100644 (file)
@@ -566,7 +566,7 @@ if test $USE_NSS = "no"; then
 ACX_WITH_SSL
 ACX_LIB_SSL
 AC_MSG_CHECKING([for LibreSSL])
-if grep -e OPENSSL_VERSION_TEXT -e LIBRESSL_VERSION_TEXT $ssldir/include/openssl/opensslv.h | grep "LibreSSL" >/dev/null; then
+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])
        # libressl provides these compat functions, but they may also be