diff options
author | Daniel Dunbar <daniel@zuster.org> | 2012-03-02 16:24:21 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2012-03-02 16:24:21 +0000 |
commit | 9370ecff74f35a6f352e072520dc6a2136083c5c (patch) | |
tree | 8739964eb046c062f1db6fbb62e81df4c55bc4f4 /llvm/autoconf/configure.ac | |
parent | 8fe5fc85217c12042f9ec814e623f658ff827b8e (diff) | |
download | bcm5719-llvm-9370ecff74f35a6f352e072520dc6a2136083c5c.tar.gz bcm5719-llvm-9370ecff74f35a6f352e072520dc6a2136083c5c.zip |
autoconf: Set LLVM_CONFIGTIME to a stable value when using --disable-timestamps.
llvm-svn: 151921
Diffstat (limited to 'llvm/autoconf/configure.ac')
-rw-r--r-- | llvm/autoconf/configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/autoconf/configure.ac b/llvm/autoconf/configure.ac index b28508e67c4..e18725d9740 100644 --- a/llvm/autoconf/configure.ac +++ b/llvm/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", |