removed --include again and stuffed the libcurl's include path in --cflags
authorDaniel Stenberg <daniel@haxx.se>
Thu, 16 Aug 2001 13:05:00 +0000 (13:05 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 16 Aug 2001 13:05:00 +0000 (13:05 +0000)
curl-config.in

index 43602a0..b827480 100644 (file)
@@ -19,7 +19,6 @@ Available values for OPTION include:
   --cflags    pre-processor and compiler flags
   --feature   newline separated list of enabled features
   --help      display this help and exit
-  --include   display compiler flag(s) to set curl\'s include path
   --libs      library linking information
   --prefix    curl install prefix
   --version   output version information
@@ -74,11 +73,7 @@ while test $# -gt 0; do
        ;;
 
     --cflags)
-               echo @CPPFLAGS@
-               ;;
-
-    --include)
-               echo -I@includedir@
+               echo -I@includedir@ @CPPFLAGS@
                ;;
 
     --libs)
@@ -86,6 +81,7 @@ while test $# -gt 0; do
                ;;
 
     *)
+        echo "unknown option: $1"
        usage
        exit 1
        ;;