]> granicus.if.org Git - php/commitdiff
fix curl build for curl >= 7.8
authorAndré Langhorst <andre@php.net>
Sat, 8 Sep 2001 16:51:00 +0000 (16:51 +0000)
committerAndré Langhorst <andre@php.net>
Sat, 8 Sep 2001 16:51:00 +0000 (16:51 +0000)
ext/curl/config.m4

index 46a906685323fc1de538933bb1f1e4e75ae721a3..17aa4d1e847b10547fb98a822cc0dbfd9a83688b 100644 (file)
@@ -28,6 +28,10 @@ if test "$PHP_CURL" != "no"; then
 
   if ${CURL_DIR}/bin/curl-config --libs print > /dev/null 2>&1; then
     CURL_CONFIG=${CURL_DIR}/bin/curl-config
+  else
+    if ${CURL_DIR}/curl-config --libs print > /dev/null 2>&1; then
+       CURL_CONFIG=${CURL_DIR}/curl-config
+    fi
   fi
 
   curl_version_full=`$CURL_CONFIG --version`