Added --include to set the compiler include flag for libcurl
authorDaniel Stenberg <daniel@haxx.se>
Thu, 16 Aug 2001 13:02:46 +0000 (13:02 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 16 Aug 2001 13:02:46 +0000 (13:02 +0000)
curl-config.in

index 7d56233..43602a0 100644 (file)
@@ -19,6 +19,7 @@ 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
@@ -76,6 +77,10 @@ while test $# -gt 0; do
                echo @CPPFLAGS@
                ;;
 
+    --include)
+               echo -I@includedir@
+               ;;
+
     --libs)
                echo -L@libdir@ -lcurl @LDFLAGS@ @LIBS@
                ;;