X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=m4%2Fstrftime.m4;h=356224009d99cc2bb67785ba043d2da840bbd8a3;hb=3b905e0ad791b750d0a471c90ecaacf2345a39c3;hp=ea93042dbb33ef00020ebd97b29939c56253956e;hpb=f1c279d96850fa83f5688a25210ceeb379516f59;p=gnulib.git diff --git a/m4/strftime.m4 b/m4/strftime.m4 index ea93042db..356224009 100644 --- a/m4/strftime.m4 +++ b/m4/strftime.m4 @@ -1,7 +1,6 @@ -#serial 27 +# serial 32 -# Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 -# Free Software Foundation, Inc. +# Copyright (C) 1996-1997, 1999-2007, 2009-2010 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -10,24 +9,23 @@ # Written by Jim Meyering and Paul Eggert. AC_DEFUN([gl_FUNC_GNU_STRFTIME], -[AC_REQUIRE([gl_FUNC_STRFTIME])dnl +[ + gl_FUNC_STRFTIME ]) # These are the prerequisite macros for GNU's strftime.c replacement. AC_DEFUN([gl_FUNC_STRFTIME], [ - AC_LIBSOURCES([strftime.c, strftime.h]) AC_LIBOBJ([strftime]) # This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE. AC_REQUIRE([AC_STRUCT_TIMEZONE]) - AC_REQUIRE([AC_HEADER_TIME]) AC_REQUIRE([AC_TYPE_MBSTATE_T]) AC_REQUIRE([gl_TM_GMTOFF]) - AC_CHECK_FUNCS_ONCE(mblen mbrlen mempcpy tzset) - AC_CHECK_HEADERS_ONCE(sys/time.h wchar.h) + AC_CHECK_FUNCS_ONCE([tzset]) + AC_CHECK_HEADERS_ONCE([wchar.h]) AC_DEFINE([my_strftime], [nstrftime], [Define to the name of the strftime replacement function.])