about summary refs log tree commit diff homepage
path: root/autoconf/configure.ac
diff options
context:
space:
mode:
authorCristian Cadar <c.cadar@imperial.ac.uk>2016-09-29 17:19:50 +0100
committerGitHub <noreply@github.com>2016-09-29 17:19:50 +0100
commita936dcbaefe0efa67e97f4ea14893bdae63db99b (patch)
treef23e7afb5be9ea58e0813c891915c2152d2c2ca6 /autoconf/configure.ac
parentb6eb108e22176d33d4dbaeed0e6603ea919345ad (diff)
parent576babae91739be0824bb71ba6e224abd0878049 (diff)
downloadklee-a936dcbaefe0efa67e97f4ea14893bdae63db99b.tar.gz
Merge pull request #474 from jirislaby/timestamp
configure: add option to enable timestamping and disabled it by default
Diffstat (limited to 'autoconf/configure.ac')
-rw-r--r--autoconf/configure.ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index 0fb8f8db..b4ab8a1c 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -382,6 +382,19 @@ AC_SUBST(KLEE_BITCODE_C_COMPILER,$klee_llvm_bc_c_compiler)
 AC_SUBST(KLEE_BITCODE_CXX_COMPILER,$klee_llvm_bc_cxx_compiler)
 
 dnl **************************************************************************
+dnl User option to disable timestamping.
+
+AC_ARG_ENABLE([timestamp],AS_HELP_STRING([--enable-timestamp],
+	[Enable timestamping the source code while building. (default=disabled)]))
+
+if test "x${enable_timestamp}" = "xyes" ; then
+  AC_DEFINE(KLEE_ENABLE_TIMESTAMP,[1],[Enable time stamping the sources])
+  AC_MSG_NOTICE([Source timestamping enabled.])
+else
+  AC_MSG_NOTICE([Source timestamping disabled.])
+fi
+
+dnl **************************************************************************
 dnl User option to enable uClibc support.
 
 AC_ARG_WITH(uclibc,