summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2015-05-15 18:19:22 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2015-05-15 18:19:22 +0200
commitebfc0ed789a852625121f67878db5e2a7526a5e3 (patch)
tree3a8d9bc544d9da0fed7b617d5d20451dceeb8179 /configure.ac
parenta4a4873909f1045bc98b2c3b3477c1700e538034 (diff)
Do not record compilation time by default, will help to get reproductible build
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ff8af07..11165d2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -267,6 +267,15 @@ AS_IF([test "x$enable_stack_protector" = "xno"],
[stackProtector=1]
)
+AC_ARG_ENABLE([record-compilation-date],
+ AS_HELP_STRING([--enable-record-compilation-date],[record compilation date (default is NO)]),
+ [case "${enableval}" in
+ yes) AC_DEFINE([RECORD_COMPILATION_DATE],1,[Define to 1 to record compilation date]) ;;
+ no) ;;
+ *) AC_MSG_ERROR([bad value ${enableval} for --enable-record-compilation-date]) ;;
+ esac]
+ )
+
use_icon=no
case "$target" in