From f7f76e17c386530b37a49ce1d55cbf77d00f9c00 Mon Sep 17 00:00:00 2001 From: Claes Jakobsson Date: Sat, 14 Nov 2009 19:23:26 +0000 Subject: Added '--configure' option to curl-config to display original configure arguments when curl was built --- curl-config.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'curl-config.in') 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 -- cgit v1.2.1