From b0fbb98f41ee857ffdc14d107d3863a5d938276c Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 16 Jan 2003 10:58:49 +0000 Subject: [PATCH] Markus Oberhumer fixed the -cflags option --- curl-config.in | 7 +++++-- 1 file 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)