diff options
author | Claes Jakobsson <claes@versed.se> | 2009-11-14 19:23:26 +0000 |
---|---|---|
committer | Claes Jakobsson <claes@versed.se> | 2009-11-14 19:23:26 +0000 |
commit | f7f76e17c386530b37a49ce1d55cbf77d00f9c00 (patch) | |
tree | 1b4039567983f055b93c5a72cb3c0184eb88f117 /curl-config.in | |
parent | 1cbc93fb54b773d1564bf2f2194d81c02a985a81 (diff) | |
download | curl-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.in | 5 |
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 |