diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-01-16 10:58:49 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-01-16 10:58:49 +0000 |
commit | b0fbb98f41ee857ffdc14d107d3863a5d938276c (patch) | |
tree | 702b47a5217cd303a15c0a81f40f0894af2001d2 | |
parent | 63667dfd96a8ef581aa99bd1842748ff06889e9e (diff) |
Markus Oberhumer fixed the -cflags option
-rw-r--r-- | curl-config.in | 7 |
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) |