Update copyright year to 2014 by running admin/update-copyright.
[emacs.git] / m4 / strftime.m4
blob0ba3dd074ad3cbccc1537c6c242ba946f6a34e25
1 # serial 33
3 # Copyright (C) 1996-1997, 1999-2007, 2009-2014 Free Software Foundation, Inc.
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.
9 # Written by Jim Meyering and Paul Eggert.
11 AC_DEFUN([gl_FUNC_GNU_STRFTIME],
13   gl_FUNC_STRFTIME
16 # These are the prerequisite macros for GNU's strftime.c replacement.
17 AC_DEFUN([gl_FUNC_STRFTIME],
19  # This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE.
20  AC_REQUIRE([AC_STRUCT_TIMEZONE])
22  AC_REQUIRE([gl_TM_GMTOFF])
24  AC_CHECK_FUNCS_ONCE([tzset])
26  AC_DEFINE([my_strftime], [nstrftime],
27    [Define to the name of the strftime replacement function.])