Markus Oberhumer fixed the -cflags option
authorDaniel Stenberg <daniel@haxx.se>
Thu, 16 Jan 2003 10:58:49 +0000 (10:58 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 16 Jan 2003 10:58:49 +0000 (10:58 +0000)
curl-config.in

index 3e3cb2f..fcbb5ff 100644 (file)
@@ -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)