Re: Making --with-openssl to check the version..

From: Date: Thu, 07 Dec 2000 00:09:27 +0000
Subject: Re: Making --with-openssl to check the version..
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-40273@lists.php.net to get a copy of this message
On Thu, 7 Dec 2000, Jani Taskinen wrote: > > The patch below should do the trick..but I first want to know > if this is the right way (tm) to do this before I commit it. > > This check is needed as the new openssl extension does not work > with < 0.9.6 versions of openssl. Cannot this be reduced to a preprocessor check? AC_EGREP_CPP(yes,[ #include <openssl/opensslv.h> #if OPENSSL_VERSION_NUMBER >= 0x0090600fL yes #endif ],[ I'm happy ],[ complain ]) Btw, please use CPPFLAGS for CPP flags like -I and -D. :) - Sascha

« previous php.dev (#40273) next »