File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -585,17 +585,17 @@ AC_DEFUN([APACHE_CHECK_OPENSSL],[
585585 fi
586586 fi
587587
588- AC_MSG_CHECKING ( [ for OpenSSL version >= 0.9.8a] )
589- AC_TRY_COMPILE ( [ #include <openssl/opensslv.h>] ,[
588+ AC_CACHE_CHECK ( [ for OpenSSL version >= 0.9.8a] , [ ap_cv_openssl098a ] , [
589+ AC_COMPILE_IFELSE ( AC_LANG_PROGRAM ( [ #include <openssl/opensslv.h>] ,[
590590#if !defined(OPENSSL_VERSION_NUMBER)
591591#error "Missing OpenSSL version"
592592#endif
593593#if OPENSSL_VERSION_NUMBER < 0x0090801f
594594#error "Unsupported OpenSSL version " OPENSSL_VERSION_TEXT
595- #endif] ,
596- [ AC_MSG_RESULT ( yes )
597- ac_cv_openssl=yes] ,
598- [ AC_MSG_RESULT ( no ) ] )
595+ #endif] ) , [ ap_cv_openssl098a=yes ] , [ ap_cv_openssl098a=no ] ) ] )
596+ if test "x$ap_cv_openssl098a" = xyes; then
597+ ac_cv_openssl=yes
598+ fi
599599
600600 if test "x$ac_cv_openssl" = "xyes"; then
601601 ap_openssl_libs="${ap_openssl_libs:--lssl -lcrypto} `$apr_config --libs`"
You can’t perform that action at this time.
0 commit comments