summaryrefslogtreecommitdiff
path: root/ext/curl
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2001-09-05 13:18:09 +0000
committerfoobar <sniper@php.net>2001-09-05 13:18:09 +0000
commit032b2631292008146b3a9c779f5dfc717a9ec82d (patch)
tree65977d797f6e0237a557a80b24a841871caa8e54 /ext/curl
parentd082fb373d4a2b1cdd336cab5bf4ca574803cdfb (diff)
downloadphp-git-032b2631292008146b3a9c779f5dfc717a9ec82d.tar.gz
Fixes commit / link problems with certain compilers.
# Please use PHP_CHECK_LIBRARY() always instead of AC_CHECK_LIB # if you need to pass extra libs/libpaths to the test.
Diffstat (limited to 'ext/curl')
-rw-r--r--ext/curl/config.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/curl/config.m4 b/ext/curl/config.m4
index 729e45e04c..46a9066853 100644
--- a/ext/curl/config.m4
+++ b/ext/curl/config.m4
@@ -43,7 +43,7 @@ if test "$PHP_CURL" != "no"; then
PHP_EVAL_LIBLINE($CURL_LIBS, CURL_SHARED_LIBADD)
PHP_ADD_LIBRARY_WITH_PATH(curl, $CURL_DIR/lib, CURL_SHARED_LIBADD)
- AC_CHECK_LIB(curl,curl_easy_perform,
+ PHP_CHECK_LIBRARY(curl,curl_easy_perform,
[
AC_DEFINE(HAVE_CURL,1,[ ])
],[