diff options
author | Jakub Zelenka <bukka@php.net> | 2015-09-20 13:01:15 +0100 |
---|---|---|
committer | Jakub Zelenka <bukka@php.net> | 2015-09-20 13:01:15 +0100 |
commit | 6a813634052710f3f4bf6e2e03ca1b6c7be3bcee (patch) | |
tree | 352a5ef2600a84d17c6423ffaf98b836e99fa224 /acinclude.m4 | |
parent | 76783a26d207d7a60af7294e371e324a10a82fd4 (diff) | |
download | php-git-6a813634052710f3f4bf6e2e03ca1b6c7be3bcee.tar.gz |
Require at least OpenSSL version 0.9.8
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 027af60310..ff2fad66f4 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -2334,13 +2334,13 @@ AC_DEFUN([PHP_SETUP_OPENSSL],[ dnl If pkg-config is found try using it if test "$PHP_OPENSSL_DIR" = "yes" && test -x "$PKG_CONFIG" && $PKG_CONFIG --exists openssl; then - if $PKG_CONFIG --atleast-version=0.9.6 openssl; then + if $PKG_CONFIG --atleast-version=0.9.8 openssl; then found_openssl=yes OPENSSL_LIBS=`$PKG_CONFIG --libs openssl` OPENSSL_INCS=`$PKG_CONFIG --cflags-only-I openssl` OPENSSL_INCDIR=`$PKG_CONFIG --variable=includedir openssl` else - AC_MSG_ERROR([OpenSSL version 0.9.6 or greater required.]) + AC_MSG_ERROR([OpenSSL version 0.9.8 or greater required.]) fi if test -n "$OPENSSL_LIBS"; then @@ -2381,13 +2381,13 @@ AC_DEFUN([PHP_SETUP_OPENSSL],[ AC_MSG_CHECKING([for OpenSSL version]) AC_EGREP_CPP(yes,[ #include <openssl/opensslv.h> -#if OPENSSL_VERSION_NUMBER >= 0x0090600fL +#if OPENSSL_VERSION_NUMBER >= 0x0090800fL yes #endif ],[ - AC_MSG_RESULT([>= 0.9.6]) + AC_MSG_RESULT([>= 0.9.8]) ],[ - AC_MSG_ERROR([OpenSSL version 0.9.6 or greater required.]) + AC_MSG_ERROR([OpenSSL version 0.9.8 or greater required.]) ]) CPPFLAGS=$old_CPPFLAGS |