1# localtime-buffer.m4 serial 1
2dnl Copyright (C) 2017-2020 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it,
5dnl with or without modifications, as long as this notice is preserved.
6
7AC_DEFUN([gl_LOCALTIME_BUFFER_DEFAULTS],
8[
9  NEED_LOCALTIME_BUFFER=0
10])
11
12dnl Macro invoked from other modules, to signal that the compilation of
13dnl module 'localtime-buffer' is needed.
14AC_DEFUN([gl_LOCALTIME_BUFFER_NEEDED],
15[
16  AC_REQUIRE([gl_LOCALTIME_BUFFER_DEFAULTS])
17  AC_REQUIRE([gl_HEADER_TIME_H_DEFAULTS])
18  NEED_LOCALTIME_BUFFER=1
19  REPLACE_GMTIME=1
20  REPLACE_LOCALTIME=1
21])
22