summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAliaksey Kandratsenka <alk@tut.by>2013-12-06 12:23:48 -0800
committerAliaksey Kandratsenka <alk@tut.by>2013-12-06 12:29:14 -0800
commitf8a2163b5131050765ea877e2573f4930e41f630 (patch)
tree31f7fc3dc0f5ade53de94ef2de2212b50a999366
parent925bbaea76b91bd307634908cfd6902f99804544 (diff)
downloadgperftools-f8a2163b5131050765ea877e2573f4930e41f630.tar.gz
Added AM_MAINTAINER_MODE to disable Makefile rebuild rules
Some people might want to check-in unpacked result on make dist into git. But because git doesn't preserve timestamps it would cause those automatic "auto-retool" rules to trigger. Sometimes even causing build breakage if system's autotools version don't match autotools version used for make dist. Easiest way around this problem is to simply disable those unnecessary "maintainer" rebuild rules. Especially given that source is always freely available via git and therefore there should be no reason to regenerate any of autotools products in 'make dist'-produced sources.
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 6191ca9..1fb8abd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,6 +21,8 @@ AC_CANONICAL_HOST
AM_INIT_AUTOMAKE([dist-zip])
AC_CONFIG_HEADERS([src/config.h])
+AM_MAINTAINER_MODE()
+
# Export the version information (for tc_version and friends)
TC_VERSION_MAJOR=`expr "$PACKAGE_VERSION" : '\([[0-9]]*\)'`
TC_VERSION_MINOR=`expr "$PACKAGE_VERSION" : '[[0-9]]*\.\([[0-9]]*\)'`