[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.9.7-1021-g410f161
Thomas Sibley
trs at bestpractical.com
Thu Dec 23 14:06:14 EST 2010
The branch, 3.9-trunk has been updated
via 410f1613d74ea5821bd1586e3e7179de94b712d7 (commit)
from a98d618f79e2000a9d7a862c9f264f64ebf4af01 (commit)
Summary of changes:
configure.ac | 5 +++++
etc/RT_Config.pm.in | 5 +++++
2 files changed, 10 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit 410f1613d74ea5821bd1586e3e7179de94b712d7
Author: Thomas Sibley <trs at bestpractical.com>
Date: Thu Dec 23 13:52:38 2010 -0500
Record the configure incant in RT_Config.pm
This file is installed both on make install and make upgrade and has
permissions locked down accordingly since the configure arguments may
contain database passwords.
diff --git a/configure.ac b/configure.ac
index 320815d..acfdd81 100755
--- a/configure.ac
+++ b/configure.ac
@@ -10,6 +10,11 @@ AC_PREREQ([2.53])
AC_INIT(RT, m4_esyscmd([( git describe --tags || cat ./.tag 2> /dev/null || echo "rt-3.9.EXPORTED" )| tr -d "\n"]), [rt-bugs at bestpractical.com])
AC_CONFIG_SRCDIR([lib/RT.pm])
+dnl Save our incant early since $@ gets overwritten by some macros.
+dnl ${ac_configure_args} is available later, but it's quoted differently
+dnl and dnl undocumented. See http://www.spinics.net/lists/ac/msg10022.html.
+AC_SUBST(CONFIGURE_INCANT, "$0 $@")
+
dnl Extract RT version number components
AC_SUBST([rt_version_major],
m4_bregexp(AC_PACKAGE_VERSION,[^rt-\(\w+\)\.\(\w+\)\.\(.+\)$],[\1]))
diff --git a/etc/RT_Config.pm.in b/etc/RT_Config.pm.in
index e3f7120..df27c87 100755
--- a/etc/RT_Config.pm.in
+++ b/etc/RT_Config.pm.in
@@ -1,3 +1,8 @@
+#
+# RT was configured with:
+#
+# $ @CONFIGURE_INCANT@
+#
package RT;
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list