strftime.m4 765 B

12345678910111213141516171819202122232425262728293031
  1. # serial 32
  2. # Copyright (C) 1996-1997, 1999-2007, 2009-2011 Free Software Foundation, Inc.
  3. #
  4. # This file is free software; the Free Software Foundation
  5. # gives unlimited permission to copy and/or distribute it,
  6. # with or without modifications, as long as this notice is preserved.
  7. # Written by Jim Meyering and Paul Eggert.
  8. AC_DEFUN([gl_FUNC_GNU_STRFTIME],
  9. [
  10. gl_FUNC_STRFTIME
  11. ])
  12. # These are the prerequisite macros for GNU's strftime.c replacement.
  13. AC_DEFUN([gl_FUNC_STRFTIME],
  14. [
  15. AC_LIBOBJ([strftime])
  16. # This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE.
  17. AC_REQUIRE([AC_STRUCT_TIMEZONE])
  18. AC_REQUIRE([gl_TM_GMTOFF])
  19. AC_CHECK_FUNCS_ONCE([tzset])
  20. AC_DEFINE([my_strftime], [nstrftime],
  21. [Define to the name of the strftime replacement function.])
  22. ])