* admin/update_autogen (commit): Prepend "# " to commit message.
[emacs.git] / m4 / strftime.m4
blobdafcbaa733b90f7e68dde959b397e0d9d16d5224
1 # serial 33
3 # Copyright (C) 1996-1997, 1999-2007, 2009-2015 Free Software
4 # Foundation, Inc.
6 # This file is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
10 # Written by Jim Meyering and Paul Eggert.
12 AC_DEFUN([gl_FUNC_GNU_STRFTIME],
14   gl_FUNC_STRFTIME
17 # These are the prerequisite macros for GNU's strftime.c replacement.
18 AC_DEFUN([gl_FUNC_STRFTIME],
20  # This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE.
21  AC_REQUIRE([AC_STRUCT_TIMEZONE])
23  AC_REQUIRE([gl_TM_GMTOFF])
25  AC_CHECK_FUNCS_ONCE([tzset])
27  AC_DEFINE([my_strftime], [nstrftime],
28    [Define to the name of the strftime replacement function.])