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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]