cvs: php4 / configure.in

From: Date: Thu, 07 Dec 2000 00:22:36 +0000
Subject: cvs: php4 / configure.in
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-2985@lists.php.net to get a copy of this message
sniper Wed Dec 6 16:22:36 2000 EDT Modified files: /php4 configure.in Log: The new openssl extension requires OpenSSL version >= 0.9.6 Index: php4/configure.in diff -u php4/configure.in:1.197 php4/configure.in:1.198 --- php4/configure.in:1.197 Sat Dec 2 05:26:03 2000 +++ php4/configure.in Wed Dec 6 16:22:36 2000 @@ -1,4 +1,4 @@ -dnl ## $Id: configure.in,v 1.197 2000/12/02 13:26:03 sas Exp $ -*- sh -*- +dnl ## $Id: configure.in,v 1.198 2000/12/07 00:22:36 sniper Exp $ -*- sh -*- dnl ## Process this file with autoconf to produce a configure script. divert(1) @@ -523,6 +523,21 @@ AC_MSG_ERROR(Cannot find OpenSSL's <evp.h>) fi + old_CPPFLAGS=$CPPFLAGS + CPPFLAGS="-I$OPENSSL_INC" + AC_MSG_CHECKING(for OpenSSL version) + AC_EGREP_CPP(yes,[ + #include <openssl/opensslv.h> + #if OPENSSL_VERSION_NUMBER >= 0x0090600fL + yes + #endif + ],[ + AC_MSG_RESULT(>= 0.9.6) + ],[ + AC_MSG_ERROR(OpenSSL version 0.9.6 or greater required.) + ]) + CPPFLAGS=$old_CPPFLAGS + AC_ADD_LIBPATH($OPENSSL_DIR/lib) AC_ADD_LIBRARY(ssl) AC_ADD_LIBRARY(crypto)

« previous php.cvs (#2985) next »