autobuild.m4: Use TZ=UTC to avoid time zone complexity.
authorSimon Josefsson <simon@josefsson.org>
Mon, 18 Aug 2008 17:40:11 +0000 (19:40 +0200)
committerSimon Josefsson <simon@josefsson.org>
Mon, 18 Aug 2008 17:40:11 +0000 (19:40 +0200)
ChangeLog
m4/autobuild.m4

index 84978c0..57e3cfb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-08-18  Simon Josefsson  <simon@josefsson.org>
+
+       * m4/autobuild.m4: Use TZ=UTC to avoid time zone complexity.
+
 2008-08-18  Bruno Haible  <bruno@clisp.org>
 
        * lib/glthread/thread.h [USE_SOLARIS_THREADS]: Use thread_in_use(), not
index 70505c6..f0d00a0 100644 (file)
@@ -1,5 +1,5 @@
-# autobuild.m4 serial 5
-dnl Copyright (C) 2004, 2006, 2007 Free Software Foundation, Inc.
+# autobuild.m4 serial 6
+dnl Copyright (C) 2004, 2006, 2007, 2008 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -29,7 +29,7 @@ AC_DEFUN([AB_INIT],
 
   ifelse([$1],[],,[AC_MSG_NOTICE([autobuild mode... $1])])
 
-  date=`date +%Y%m%d-%H%M%S`
+  date=`TZ=UTC date +%Y%m%d-%H%M%S`
   if test "$?" != 0; then
     date=`date`
   fi