From 75c03ef2312398560c05800d35ffffe0fe15ef7e Mon Sep 17 00:00:00 2001 From: Lindsay Date: Sat, 6 Jan 2018 16:13:00 -0600 Subject: Added contrib/mailman-config.py and changes to configure.in and configure to support it. mailman-config.py is added to the build/contrib directory when configure is run, and when executed, emits, to stdout, a number of useful configuration options, including the option string provided to configure at build time. This is useful when updating Mailman 2, or when trying to synchronize a manual install of Mailman with a distribution's FHS. --- configure | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'configure') diff --git a/configure b/configure index 2c31df3f..3f67f85e 100755 --- a/configure +++ b/configure @@ -651,8 +651,11 @@ INSTALL_PROGRAM KOCODECSPKG JACODECSPKG EMAILPKG +MM_VERSION PYTHON with_python +BUILD_DATE +CONFIGURE_OPTS target_alias host_alias build_alias @@ -2127,6 +2130,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu # /usr/local/mailman is the default installation directory +CONFIGURE_OPTS=`echo $@` + +BUILD_DATE=`date` + # Check for Python! Better be found on $PATH { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-python" >&5 @@ -2292,6 +2299,17 @@ $PYTHON conftest.py needemailpkg=`cat conftest.out` rm -f conftest.out conftest.py +cat > getver.py <