From:             [EMAIL PROTECTED]
Operating system: OpenBSD 2.9-current
PHP version:      4.0CVS-2001-08-06
PHP Bug Type:     *Configuration Issues
Bug description:  AC_CHECK_LIB on -curl fails if cURL is elsewhere than /usr or 

AC_CHECK_LIB in ext/curl/config.m4 fails if cURL is
installed elsewhere than /usr/local or /usr, regardless
of --with-curl=[directory] setting. The CHECK_LIB macro
provides an optional fourth argument which should in this
case be set to $CURL_LIBS to make sure the test linking
goes ok.

Patch at:

Or, inline (let's hope it wraps ok):

Index: ext/curl/config.m4
RCS file: /repository/php4/ext/curl/config.m4,v
retrieving revision 1.7
diff -I'$Id' -u -b -B -p -r1.7 config.m4
--- ext/curl/config.m4  27 May 2001 18:52:33 -0000      1.7
+++ ext/curl/config.m4  6 Aug 2001 13:38:38 -0000
@@ -48,7 +48,7 @@ if test "$PHP_CURL" != "no"; then
     AC_MSG_ERROR(There is something wrong. Please check config.log for
more information.)
-  ])
+  ], $CURL_LIBS)
   PHP_EXTENSION(curl, $ext_shared)

          Heikki Korpela -- [EMAIL PROTECTED] --

Edit bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to