Add script for determining the set of symbols to export from a library.
[gnulib.git] / m4 / nstrftime.m4
blob546c240827760a8eeb649f4d8f107027724a4f74
1 # serial 34
3 # Copyright (C) 1996-1997, 1999-2007, 2009-2019 Free Software Foundation, Inc.
5 # This file is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
9 # Written by Jim Meyering and Paul Eggert.
11 AC_DEFUN([gl_FUNC_GNU_STRFTIME],
13  # This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE.
14  AC_REQUIRE([AC_STRUCT_TIMEZONE])
16  AC_REQUIRE([gl_TM_GMTOFF])
18  AC_CHECK_FUNCS_ONCE([tzset])
20  AC_DEFINE([my_strftime], [nstrftime],
21    [Define to the name of the strftime replacement function.])