Merge from gnulib
This incorporates:
2017-04-30 strftime-fixes: New module
2017-04-30 mktime: Work around TZ problem on native Windows
2017-04-30 ctime, localtime: New modules
2017-04-30 gettimeofday: Provide higher resolution on native Windows
2017-04-29 utime-h: Modernize handling of 'struct utimbuf'
2017-04-29 Make use of module 'utime-h'
2017-04-30 Fix a few typos
* admin/merge-gnulib (AVOIDED_MODULES): Avoid utime-h, too.
* lib/gettimeofday.c, lib/mktime.c, lib/time.in.h, lib/utimens.c:
* m4/gettimeofday.m4, m4/include_next.m4, m4/mktime.m4:
* m4/strftime.m4, m4/time_h.m4, m4/timegm.m4, m4/utimens.m4:
Copy from gnulib.
* lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
2017-04-30 21:52:10 +00:00
|
|
|
# serial 34
|
2011-01-30 23:34:18 +00:00
|
|
|
|
2018-01-01 01:19:57 +00:00
|
|
|
# Copyright (C) 1996-1997, 1999-2007, 2009-2018 Free Software Foundation, Inc.
|
2011-01-30 23:34:18 +00:00
|
|
|
#
|
|
|
|
# This file is free software; the Free Software Foundation
|
|
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
|
|
# with or without modifications, as long as this notice is preserved.
|
|
|
|
|
|
|
|
# Written by Jim Meyering and Paul Eggert.
|
|
|
|
|
|
|
|
AC_DEFUN([gl_FUNC_GNU_STRFTIME],
|
|
|
|
[
|
|
|
|
# This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE.
|
|
|
|
AC_REQUIRE([AC_STRUCT_TIMEZONE])
|
|
|
|
|
|
|
|
AC_REQUIRE([gl_TM_GMTOFF])
|
|
|
|
|
|
|
|
AC_CHECK_FUNCS_ONCE([tzset])
|
|
|
|
|
|
|
|
AC_DEFINE([my_strftime], [nstrftime],
|
|
|
|
[Define to the name of the strftime replacement function.])
|
|
|
|
])
|