diff options
Diffstat (limited to 'm4/nstrftime.m4')
| -rw-r--r-- | m4/nstrftime.m4 | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/m4/nstrftime.m4 b/m4/nstrftime.m4 new file mode 100644 index 00000000000..d2dac9e2328 --- /dev/null +++ b/m4/nstrftime.m4 | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | # serial 34 | ||
| 2 | |||
| 3 | # Copyright (C) 1996-1997, 1999-2007, 2009-2017 Free Software Foundation, Inc. | ||
| 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 | # This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE. | ||
| 14 | AC_REQUIRE([AC_STRUCT_TIMEZONE]) | ||
| 15 | |||
| 16 | AC_REQUIRE([gl_TM_GMTOFF]) | ||
| 17 | |||
| 18 | AC_CHECK_FUNCS_ONCE([tzset]) | ||
| 19 | |||
| 20 | AC_DEFINE([my_strftime], [nstrftime], | ||
| 21 | [Define to the name of the strftime replacement function.]) | ||
| 22 | ]) | ||