strftime.m4 741 B

1234567891011121314151617181920212223242526272829
  1. # serial 33
  2. # Copyright (C) 1996-1997, 1999-2007, 2009-2014 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. # This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE.
  16. AC_REQUIRE([AC_STRUCT_TIMEZONE])
  17. AC_REQUIRE([gl_TM_GMTOFF])
  18. AC_CHECK_FUNCS_ONCE([tzset])
  19. AC_DEFINE([my_strftime], [nstrftime],
  20. [Define to the name of the strftime replacement function.])
  21. ])