let the build with external libs work
authorMichael Wallner <mike@php.net>
Fri, 17 Jan 2014 14:32:46 +0000 (15:32 +0100)
committerMichael Wallner <mike@php.net>
Fri, 17 Jan 2014 14:32:46 +0000 (15:32 +0100)
not sure what all that cruft was about; where are the comments!?

config9.m4

index a5ede93f7ba36990cf0bf5fe2420a75b3156176d..ce63132d6fd090cd2fdd32c6d84ff2089eddb88a 100644 (file)
@@ -187,10 +187,9 @@ dnl ----
                        save_LIBS="$LIBS"
                        LIBS=
                        save_CFLAGS="$CFLAGS"
-                       CFLAGS=`$CURL_CONFIG --cflags`
+                       CFLAGS="$CFLAGS `$CURL_CONFIG --cflags`"
                        save_LDFLAGS="$LDFLAGS"
-                       LDFLAGS=`$CURL_CONFIG --libs`
-                       LDFLAGS="$LDFLAGS $ld_runpath_switch$CURL_DIR/$PHP_LIBDIR"
+                       LDFLAGS="$LDFLAGS `$CURL_CONFIG --libs` $ld_runpath_switch$CURL_DIR/$PHP_LIBDIR"
                
                        AC_MSG_CHECKING([for SSL support in libcurl])
                        CURL_SSL=`$CURL_CONFIG --feature | $EGREP SSL`