cvs: php4 /ext/curl config.m4

From: Date: Sun, 11 Mar 2001 00:49:16 +0000
Subject: cvs: php4 /ext/curl config.m4
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-4476@lists.php.net to get a copy of this message
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

« previous php.cvs (#4476) next »