Re: cvs: php4 /ext/curl config.m4

From: Date: Sun, 11 Mar 2001 19:23:33 +0000
Subject: Re: cvs: php4 /ext/curl config.m4
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-4486@lists.php.net to get a copy of this message
Why this? -Sterling > sniper Sat Mar 10 16:49:16 2001 EDT > > Modified files: > /php4/ext/curl config.m4 > Log: > If AC_CHECK_LIB fails, assume that --with-openssl is needed > > Index: php4/ext/curl/config.m4 > diff -u php4/ext/curl/config.m4:1.3 php4/ext/curl/config.m4:1.4 > --- php4/ext/curl/config.m4:1.3 Mon Oct 2 10:35:57 2000 > +++ php4/ext/curl/config.m4 Sat Mar 10 16:49:16 2001 > @@ -1,4 +1,4 @@ > -dnl $Id: config.m4,v 1.3 2000/10/02 17:35:57 rasmus Exp $ > +dnl $Id: config.m4,v 1.4 2001/03/11 00:49:16 sniper Exp $ > dnl config.m4 for extension CURL > > PHP_ARG_WITH(curl, for CURL support, > @@ -28,7 +28,12 @@ > PHP_SUBST(CURL_SHARED_LIBADD) > AC_ADD_LIBRARY_WITH_PATH(curl, $CURL_DIR/lib, CURL_SHARED_LIBADD) > > - AC_DEFINE(HAVE_CURL,1,[ ]) > + AC_CHECK_LIB(curl,curl_easy_perform, > + > + AC_DEFINE(HAVE_CURL,1,[ ]) > + ],[ > + AC_MSG_ERROR(Try adding --with-openssl[=DIR] into your configure line.) > + ]) > > PHP_EXTENSION(curl, $ext_shared) > fi > > > > -- > PHP CVS Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-cvs-unsubscribe@lists.php.net > For additional commands, e-mail: php-cvs-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.cvs (#4486) next »