Added '--configure' option to curl-config to display original configure arguments when curl was built

This commit is contained in:
Claes Jakobsson
2009-11-14 19:23:26 +00:00
parent 1cbc93fb54
commit f7f76e17c3
5 changed files with 17 additions and 0 deletions

View File

@@ -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