summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2016-02-22 16:04:33 +0000
committerSimon McVittie <smcv@debian.org>2016-02-22 16:04:33 +0000
commit7fd4c59f906cec2d6b87fde795a72499314273ee (patch)
treeaca5c09a5316f986245bed5c3888873e22a9d863 /configure.ac
parentafcf3e432efa8bed73c714d03062fbf53cc76bdf (diff)
downloaddbus-python-7fd4c59f906cec2d6b87fde795a72499314273ee.tar.gz
Disable Automake maintainer mode when building via setup.py
pip doesn't preserve timestamps in tarballs, so half the build system is going to look as though it has been changed. Signed-off-by: Simon McVittie <smcv@debian.org>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a80d046..65c59e1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -17,6 +17,11 @@ AC_CONFIG_AUX_DIR([build-aux])
m4_pattern_forbid([^AX_],
[Unexpanded AX_ macro found. Please install GNU autoconf-archive])
+# By default, rebuild autotools files on demand; only use ./missing if the
+# user says --disable-maintainer-mode (in particular this is useful when
+# running under pip, which does not preserve timestamps)
+AM_MAINTAINER_MODE([enable])
+
AX_IS_RELEASE([micro-version])
AC_DEFINE(DBUS_PYTHON_MAJOR_VERSION, dbus_python_major_version, [dbus-python major version])
AC_SUBST(DBUS_PYTHON_MAJOR_VERSION, dbus_python_major_version)