aboutsummaryrefslogtreecommitdiff
path: root/autoconf/configure.ac
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2012-03-02 16:24:21 +0000
committerDaniel Dunbar <daniel@zuster.org>2012-03-02 16:24:21 +0000
commitc70b79eec1de59c5710b4af7442d30848e231bf3 (patch)
tree2c052f531a78b17af94748f191138991e3684a97 /autoconf/configure.ac
parent8979e5f3725c05bd7120890e39399213fd08f83e (diff)
autoconf: Set LLVM_CONFIGTIME to a stable value when using --disable-timestamps.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151921 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf/configure.ac')
-rw-r--r--autoconf/configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index b28508e67c..e18725d974 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -1447,6 +1447,11 @@ AC_SUBST(LLVM_INFODIR)
AC_SUBST(LLVM_MANDIR)
AC_SUBST(LLVM_CONFIGTIME)
+dnl Disable embedding timestamps in the build directory, with ENABLE_TIMESTAMPS.
+if test "${ENABLE_TIMESTAMPS}" = "0"; then
+ LLVM_CONFIGTIME="(timestamp not enabled)"
+fi
+
dnl Place the various directories into the config.h file as #defines so that we
dnl can know about the installation paths within LLVM.
AC_DEFINE_UNQUOTED(LLVM_PREFIX,"$LLVM_PREFIX",