summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorJakub Zelenka <bukka@php.net>2016-06-29 21:21:50 +0100
committerJakub Zelenka <bukka@php.net>2016-07-17 17:21:07 +0100
commit5f569cc03e1426c5570b1753567f5be25f18216a (patch)
tree7120a555d29c3fa1601bd0159a9c22dbda3ec058 /acinclude.m4
parent839dc42f7e45da1dd3f70e63dd58517b06d4e7f2 (diff)
downloadphp-git-5f569cc03e1426c5570b1753567f5be25f18216a.tar.gz
Bump minimal OpenSSL version to 1.0.1
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m410
1 files changed, 5 insertions, 5 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index db146aaf2f..e6d84e5b83 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.8 openssl; then
+ if $PKG_CONFIG --atleast-version=1.0.1 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.8 or greater required.])
+ AC_MSG_ERROR([OpenSSL version 1.0.1 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 >= 0x0090800fL
+#if OPENSSL_VERSION_NUMBER >= 0x10001001L
yes
#endif
],[
- AC_MSG_RESULT([>= 0.9.8])
+ AC_MSG_RESULT([>= 1.0.1])
],[
- AC_MSG_ERROR([OpenSSL version 0.9.8 or greater required.])
+ AC_MSG_ERROR([OpenSSL version 1.0.1 or greater required.])
])
CPPFLAGS=$old_CPPFLAGS