cURL / Mailing Lists / curl-library / Single Mail

curl-library

[PATCH]: curl-config CPPFLAG_CURL_STATICLIB

From: Kelly Anderson <kelly_at_silka.with-linux.com>
Date: Sat, 29 Sep 2012 21:22:35 -0600

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_at_includedir@" = "X/usr/include"; then
- echo "$(CPPFLAG_CURL_STATICLIB)"
+ if test "X_at_includedir@" = "X/usr/include"; then
+ echo "${CPPFLAG_CURL_STATICLIB}"
          else
- echo "$(CPPFLAG_CURL_STATICLIB)-I_at_includedir@"
+ echo "${CPPFLAG_CURL_STATICLIB}-I_at_includedir@"
          fi
- ;;
+ ;;

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

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-09-30