summaryrefslogtreecommitdiff
path: root/curl-config.in
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-01-16 10:58:49 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-01-16 10:58:49 +0000
commitb0fbb98f41ee857ffdc14d107d3863a5d938276c (patch)
tree702b47a5217cd303a15c0a81f40f0894af2001d2 /curl-config.in
parent63667dfd96a8ef581aa99bd1842748ff06889e9e (diff)
downloadcurl-b0fbb98f41ee857ffdc14d107d3863a5d938276c.tar.gz
Markus Oberhumer fixed the -cflags option
Diffstat (limited to 'curl-config.in')
-rw-r--r--curl-config.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/curl-config.in b/curl-config.in
index 3e3cb2f2e..fcbb5ff6f 100644
--- a/curl-config.in
+++ b/curl-config.in
@@ -107,8 +107,11 @@ while test $# -gt 0; do
;;
--cflags)
- #echo -I@includedir@
- echo ""
+ if test "X@includedir@" = "X/usr/include"; then
+ echo ""
+ else
+ echo "-I@includedir@"
+ fi
;;
--libs)