llvm.org GIT mirror llvm / c70b79e
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 Daniel Dunbar 7 years ago
2 changed file(s) with 9 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
14461446 AC_SUBST(LLVM_MANDIR)
14471447 AC_SUBST(LLVM_CONFIGTIME)
14481448
1449 dnl Disable embedding timestamps in the build directory, with ENABLE_TIMESTAMPS.
1450 if test "${ENABLE_TIMESTAMPS}" = "0"; then
1451 LLVM_CONFIGTIME="(timestamp not enabled)"
1452 fi
1453
14491454 dnl Place the various directories into the config.h file as #defines so that we
14501455 dnl can know about the installation paths within LLVM.
14511456 AC_DEFINE_UNQUOTED(LLVM_PREFIX,"$LLVM_PREFIX",
2081920819
2082020820
2082120821
20822 if test "${ENABLE_TIMESTAMPS}" = "0"; then
20823 LLVM_CONFIGTIME="(timestamp not enabled)"
20824 fi
20825
2082220826
2082320827 cat >>confdefs.h <<_ACEOF
2082420828 #define LLVM_PREFIX "$LLVM_PREFIX"