aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
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 /configure.ac
parent1cbc93fb54b773d1564bf2f2194d81c02a985a81 (diff)
Added '--configure' option to curl-config to display original configure arguments when curl was built
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index bc7e0e4bd..b23bc78a0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -45,6 +45,12 @@ CURL_CHECK_OPTION_CURLDEBUG
CURL_CHECK_PATH_SEPARATOR_REQUIRED
+#
+# save the configure arguments
+#
+CONFIGURE_OPTIONS="\"$ac_configure_args\""
+AC_SUBST(CONFIGURE_OPTIONS)
+
dnl SED is mandatory for configure process and libtool.
dnl Set it now, allowing it to be changed later.
AC_PATH_PROG([SED], [sed], [not_found],