[llvm-commits] [llvm] r151921 - in /llvm/trunk: autoconf/configure.ac configure

Daniel Dunbar daniel at zuster.org
Fri Mar 2 08:24:21 PST 2012


Author: ddunbar
Date: Fri Mar  2 10:24:21 2012
New Revision: 151921

URL: http://llvm.org/viewvc/llvm-project?rev=151921&view=rev
Log:
autoconf: Set LLVM_CONFIGTIME to a stable value when using --disable-timestamps.

Modified:
    llvm/trunk/autoconf/configure.ac
    llvm/trunk/configure

Modified: llvm/trunk/autoconf/configure.ac
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/autoconf/configure.ac?rev=151921&r1=151920&r2=151921&view=diff
==============================================================================
--- llvm/trunk/autoconf/configure.ac (original)
+++ llvm/trunk/autoconf/configure.ac Fri Mar  2 10:24:21 2012
@@ -1447,6 +1447,11 @@
 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",

Modified: llvm/trunk/configure
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/configure?rev=151921&r1=151920&r2=151921&view=diff
==============================================================================
--- llvm/trunk/configure (original)
+++ llvm/trunk/configure Fri Mar  2 10:24:21 2012
@@ -20820,6 +20820,10 @@
 
 
 
+if test "${ENABLE_TIMESTAMPS}" = "0"; then
+  LLVM_CONFIGTIME="(timestamp not enabled)"
+fi
+
 
 cat >>confdefs.h <<_ACEOF
 #define LLVM_PREFIX "$LLVM_PREFIX"





More information about the llvm-commits mailing list