Commit | Line | Data |
---|---|---|
3d458a81 | 1 | # serial 33 |
e65fc94b | 2 | |
f0007cad | 3 | # Copyright (C) 1996-1997, 1999-2007, 2009-2012 Free Software Foundation, Inc. |
e65fc94b LC |
4 | # |
5 | # This file is free software; the Free Software Foundation | |
6 | # gives unlimited permission to copy and/or distribute it, | |
7 | # with or without modifications, as long as this notice is preserved. | |
8 | ||
9 | # Written by Jim Meyering and Paul Eggert. | |
10 | ||
11 | AC_DEFUN([gl_FUNC_GNU_STRFTIME], | |
12 | [ | |
13 | gl_FUNC_STRFTIME | |
14 | ]) | |
15 | ||
16 | # These are the prerequisite macros for GNU's strftime.c replacement. | |
17 | AC_DEFUN([gl_FUNC_STRFTIME], | |
18 | [ | |
e65fc94b LC |
19 | # This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE. |
20 | AC_REQUIRE([AC_STRUCT_TIMEZONE]) | |
21 | ||
e65fc94b LC |
22 | AC_REQUIRE([gl_TM_GMTOFF]) |
23 | ||
f240aacb | 24 | AC_CHECK_FUNCS_ONCE([tzset]) |
e65fc94b LC |
25 | |
26 | AC_DEFINE([my_strftime], [nstrftime], | |
27 | [Define to the name of the strftime replacement function.]) | |
28 | ]) |