summaryrefslogtreecommitdiff
path: root/m4/timegm.m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2007-03-01 21:24:55 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2007-03-01 21:24:55 +0000
commitc7857d5835743de62405964797a38f6e1adfb3b1 (patch)
tree337b8e4ffe7fd841cc2598e3160f2478eb86ce62 /m4/timegm.m4
parent359a6e0fc608dcca9372a68c771ef1cf56169ac0 (diff)
downloadgnulib-c7857d5835743de62405964797a38f6e1adfb3b1.tar.gz
Followup to the 2007-02-12 patch, using suggestions from Bruno Haible in
<http://lists.gnu.org/archive/html/bug-gnulib/2007-02/msg00136.html>. * doc/gnulib-tool.texi (Initial import): Mention _FILE_OFFSET_BITS as another example. * lib/time_.h: Fix misspelling. * m4/nanosleep.m4 (gl_FUNC_NANOSLEEP): Require gl_HEADER_TIME_H_DEFAULTS. * m4/strptime.m4 (gl_FUNC_STRPTIME): Likewise. * m4/time_r.m4 (gl_TIME_R): Likewise. * m4/timegm.m4 (gl_FUNC_TIMEGM): Likewise.
Diffstat (limited to 'm4/timegm.m4')
-rw-r--r--m4/timegm.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/timegm.m4 b/m4/timegm.m4
index 51ffd0fb1d..ca903b1afc 100644
--- a/m4/timegm.m4
+++ b/m4/timegm.m4
@@ -1,4 +1,4 @@
-# timegm.m4 serial 4
+# timegm.m4 serial 5
dnl Copyright (C) 2003, 2007 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -6,6 +6,7 @@ dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_FUNC_TIMEGM],
[
+ AC_REQUIRE([gl_HEADER_TIME_H_DEFAULTS])
AC_REQUIRE([gl_FUNC_MKTIME])
if test $ac_cv_func_working_mktime = no; then
# Assume that timegm is buggy if mktime is.