From d328c4d72fa6d224117d7332082509c240a4f2fc Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 25 Aug 2015 20:41:52 +0200 Subject: Make configure option --disable-build-timestamp the default. * configure.ac (BUILD_TIMESTAMP): Set to "" by default. Signed-off-by: Werner Koch --- configure.ac | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/configure.ac b/configure.ac index 2f49bd1..762ecae 100644 --- a/configure.ac +++ b/configure.ac @@ -494,15 +494,15 @@ AC_SUBST(BUILD_VERSION) AC_SUBST(BUILD_FILEVERSION) AC_ARG_ENABLE([build-timestamp], - AC_HELP_STRING([--enable-build-timestamp], - [set an explicit build timestamp for reproducibility. - (default is the current time in ISO-8601 format)]), - [if test "$enableval" = "no"; then - BUILD_TIMESTAMP="" - else - BUILD_TIMESTAMP="$enableval" - fi], - [BUILD_TIMESTAMP=`date -u +%Y-%m-%dT%H:%M+0000 2>/dev/null || date`]) + AC_HELP_STRING([--enable-build-timestamp], + [set an explicit build timestamp for reproducibility. + (default is the current time in ISO-8601 format)]), + [if test "$enableval" = "yes"; then + BUILD_TIMESTAMP=`date -u +%Y-%m-%dT%H:%M+0000 2>/dev/null || date` + else + BUILD_TIMESTAMP="$enableval" + fi], + [BUILD_TIMESTAMP=""]) AC_SUBST(BUILD_TIMESTAMP) AC_DEFINE_UNQUOTED(BUILD_TIMESTAMP, "$BUILD_TIMESTAMP", [The time this package was configured for a build]) -- cgit v1.2.3