Hi,

curl-config is not quite right, here's a patch.

--- ./curl-config.in.orig    2012-05-25 15:56:17.000000000 -0600
+++ ./curl-config.in    2012-09-29 21:08:25.895528430 -0600
@@ -134,12 +134,12 @@ while test $# -gt 0; do
         else
           CPPFLAG_CURL_STATICLIB=""
         fi
-           if test "X@includedir@" = "X/usr/include"; then
-          echo "$(CPPFLAG_CURL_STATICLIB)"
+        if test "X@includedir@" = "X/usr/include"; then
+          echo "${CPPFLAG_CURL_STATICLIB}"
         else
-          echo "$(CPPFLAG_CURL_STATICLIB)-I@includedir@"
+          echo "${CPPFLAG_CURL_STATICLIB}-I@includedir@"
         fi
-           ;;
+        ;;

     --libs)
if test "X@libdir@" != "X/usr/lib" -a "X@libdir@" != "X/usr/lib64"; then

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to