aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--curl-config.in8
1 files changed, 2 insertions, 6 deletions
diff --git a/curl-config.in b/curl-config.in
index 43602a00b..b827480d4 100644
--- a/curl-config.in
+++ b/curl-config.in
@@ -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
;;