diff options
author | Werner Koch <[email protected]> | 2015-08-25 18:41:52 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2015-08-25 18:41:52 +0000 |
commit | d328c4d72fa6d224117d7332082509c240a4f2fc (patch) | |
tree | 82767a3e61addb6b4ae68324e51131c2a1354118 | |
parent | w32: Make sure the setmode is called. (diff) | |
download | libgpg-error-d328c4d72fa6d224117d7332082509c240a4f2fc.tar.gz libgpg-error-d328c4d72fa6d224117d7332082509c240a4f2fc.zip |
Make configure option --disable-build-timestamp the default.
* configure.ac (BUILD_TIMESTAMP): Set to "<none>" by default.
Signed-off-by: Werner Koch <[email protected]>
-rw-r--r-- | configure.ac | 18 |
1 files 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="<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]) |