diff options
author | Alessandro Ghedini <al3xbio@gmail.com> | 2012-07-28 13:28:50 +0200 |
---|---|---|
committer | Alessandro Ghedini <al3xbio@gmail.com> | 2012-07-28 13:28:50 +0200 |
commit | 72b15f4ae05ac8a5a91e0f68b80c5a7a557bcd4d (patch) | |
tree | 094976960f15c2e04d9d973745ca0328ea5f3b6b /curl-config.in | |
parent | 595b4c92a848f9e6e93c6050ad2ff56b130a8ccb (diff) |
Imported Upstream version 7.27.0
Diffstat (limited to 'curl-config.in')
-rw-r--r-- | curl-config.in | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/curl-config.in b/curl-config.in index 3d02a033..a3ca8b55 100644 --- a/curl-config.in +++ b/curl-config.in @@ -6,7 +6,7 @@ # | (__| |_| | _ <| |___ # \___|\___/|_| \_\_____| # -# Copyright (C) 2001 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al. +# Copyright (C) 2001 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms @@ -24,6 +24,7 @@ prefix=@prefix@ exec_prefix=@exec_prefix@ includedir=@includedir@ +cppflag_curl_staticlib=@CPPFLAG_CURL_STATICLIB@ usage() { @@ -128,10 +129,15 @@ while test $# -gt 0; do ;; --cflags) + if test "X$cppflag_curl_staticlib" = "X-DCURL_STATICLIB"; then + CPPFLAG_CURL_STATICLIB="-DCURL_STATICLIB " + else + CPPFLAG_CURL_STATICLIB="" + fi if test "X@includedir@" = "X/usr/include"; then - echo "" + echo "$(CPPFLAG_CURL_STATICLIB)" else - echo "-I@includedir@" + echo "$(CPPFLAG_CURL_STATICLIB)-I@includedir@" fi ;; |