aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/mailman-config.py
diff options
context:
space:
mode:
authorLindsay <fmouse@fmp.com>2018-01-06 17:45:32 -0600
committerLindsay <fmouse@fmp.com>2018-01-06 17:45:32 -0600
commit2213190e796c56bf02c1ef9e406cd046076caa34 (patch)
treeae5c7c3a979fa36bb95a477331e5c63be38fd5c5 /contrib/mailman-config.py
parent75c03ef2312398560c05800d35ffffe0fe15ef7e (diff)
downloadmailman2-2213190e796c56bf02c1ef9e406cd046076caa34.tar.gz
mailman2-2213190e796c56bf02c1ef9e406cd046076caa34.tar.xz
mailman2-2213190e796c56bf02c1ef9e406cd046076caa34.zip
mailman-config.py builds to a small utility to output build-time stats and options
Diffstat (limited to '')
-rw-r--r--contrib/mailman-config.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/contrib/mailman-config.py b/contrib/mailman-config.py
new file mode 100644
index 00000000..70492036
--- /dev/null
+++ b/contrib/mailman-config.py
@@ -0,0 +1,22 @@
+#! @PYTHON@
+
+# Show build-time configuration options
+# This is free software under the GNU General Public License.
+# Send bug reports or suggestions to Lindsay Haisley <fmouse@fmp.com>
+
+print """Configuration and build information for Mailman\n"""
+
+print "Mailman version: %s" % "@MM_VERSION@"
+print "Build Date: %s" % "@BUILD_DATE@"
+print ""
+print "prefix: %s" % "@prefix@"
+print "var_prefix: %s" % "@VAR_PREFIX@"
+print "mailman_user: %s" % "@MAILMAN_USER@"
+print "mailman_group: %s" % "@MAILMAN_GROUP@"
+print "mail_group: %s" % "@MAIL_GROUP@"
+print "cgi_group: %s" % "@CGI_GROUP@"
+print ""
+
+
+print "configure_opts: \"%s\"" % "@CONFIGURE_OPTS@"
+