summaryrefslogtreecommitdiff
path: root/curl-config.in
diff options
context:
space:
mode:
authorClaes Jakobsson <claes@versed.se>2009-11-14 19:23:26 +0000
committerClaes Jakobsson <claes@versed.se>2009-11-14 19:23:26 +0000
commitf7f76e17c386530b37a49ce1d55cbf77d00f9c00 (patch)
tree1b4039567983f055b93c5a72cb3c0184eb88f117 /curl-config.in
parent1cbc93fb54b773d1564bf2f2194d81c02a985a81 (diff)
downloadcurl-f7f76e17c386530b37a49ce1d55cbf77d00f9c00.tar.gz
Added '--configure' option to curl-config to display original configure arguments when curl was built
Diffstat (limited to 'curl-config.in')
-rw-r--r--curl-config.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/curl-config.in b/curl-config.in
index cbe316e56..177b6354d 100644
--- a/curl-config.in
+++ b/curl-config.in
@@ -37,6 +37,7 @@ Available values for OPTION include:
--cc compiler
--cflags pre-processor and compiler flags
--checkfor [version] check for (lib)curl of the specified version
+ --configure the arguments given to configure when building curl
--features newline separated list of enabled features
--help display this help and exit
--libs library linking information
@@ -146,6 +147,10 @@ while test $# -gt 0; do
echo @libdir@/libcurl.@libext@ @LDFLAGS@ @LIBCURL_LIBS@ @LIBS@
;;
+ --configure)
+ echo @CONFIGURE_OPTIONS@
+ ;;
+
*)
echo "unknown option: $1"
usage 1