summaryrefslogtreecommitdiff
path: root/m4/tm_gmtoff.m4
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2008-09-02 21:16:10 +0200
committerLudovic Courtès <ludo@gnu.org>2008-09-02 21:16:10 +0200
commite65fc94b7a01a46d867480861e93984e8ea1e012 (patch)
tree386f6753b645e0dc8f00111cfe66ab228cf3d6d8 /m4/tm_gmtoff.m4
parentbfb2e1135842460d450cd514b8ef692a752db26c (diff)
Add Gnulib `strftime' module, update Gnulib files.
* m4/gnulib-cache.m4 (gl_MODULES): Add `strftime'.
Diffstat (limited to 'm4/tm_gmtoff.m4')
-rw-r--r--m4/tm_gmtoff.m414
1 files changed, 14 insertions, 0 deletions
diff --git a/m4/tm_gmtoff.m4 b/m4/tm_gmtoff.m4
new file mode 100644
index 000000000..cb0b3c884
--- /dev/null
+++ b/m4/tm_gmtoff.m4
@@ -0,0 +1,14 @@
+# tm_gmtoff.m4 serial 2
+dnl Copyright (C) 2002 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.
+
+AC_DEFUN([gl_TM_GMTOFF],
+[
+ AC_CHECK_MEMBER([struct tm.tm_gmtoff],
+ [AC_DEFINE(HAVE_TM_GMTOFF, 1,
+ [Define if struct tm has the tm_gmtoff member.])],
+ ,
+ [#include <time.h>])
+])