Make --disable-build-timestamp the default.
authorWerner Koch <wk@gnupg.org>
Tue, 25 Aug 2015 19:32:19 +0000 (21:32 +0200)
committerWerner Koch <wk@gnupg.org>
Tue, 25 Aug 2015 19:32:19 +0000 (21:32 +0200)
* configure.ac (BUILD_TIMESTAMP): Default to "<none>".

Signed-off-by: Werner Koch <wk@gnupg.org>
configure.ac

index 6b18439..239a999 100644 (file)
@@ -609,15 +609,15 @@ changequote([,])dnl
 BUILD_FILEVERSION="${BUILD_FILEVERSION}mym4_revision_dec"
 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="<none>"
-                 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="<none>"])
 AC_SUBST(BUILD_TIMESTAMP)
 AC_DEFINE_UNQUOTED(BUILD_TIMESTAMP, "$BUILD_TIMESTAMP",
                    [The time this package was configured for a build])