X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=m4%2Fax_check_openssl.m4;h=de8c524a839fdee080592ac6398e3454753490a4;hb=0c131e9942c46cf29ecf69b63dc29b63dd2e05fd;hp=39154c85630d46177068a0ee253d5a4ba6996e11;hpb=f2ef3c82904113b81244d2532fae0717296518dc;p=ppp.git diff --git a/m4/ax_check_openssl.m4 b/m4/ax_check_openssl.m4 index 39154c8..de8c524 100644 --- a/m4/ax_check_openssl.m4 +++ b/m4/ax_check_openssl.m4 @@ -68,7 +68,7 @@ AC_DEFUN([AX_CHECK_OPENSSL], [ fi ]) - AS_IF([test "${with_openssl}" != "no" && test ! ${found}], [ + AS_IF([test "${with_openssl}" != "no" && test "${found}" != "true"], [ OPENSSL_INCLUDES= for ssldir in $ssldirs; do AC_MSG_CHECKING([for openssl/ssl.h in $ssldir]) @@ -84,7 +84,7 @@ AC_DEFUN([AX_CHECK_OPENSSL], [ ]) done]) - AS_IF([test "${with_openssl}" != "no" && test ${found}], [ + AS_IF([test "${with_openssl}" != "no" && test "${found}" = "true" ], [ # try the preprocessor and linker with our new flags, # being careful not to pollute the global LIBS, LDFLAGS, and CPPFLAGS