| 1 |
# localtime-buffer.m4 serial 1 |
| 2 |
dnl Copyright (C) 2017-2020 Free Software Foundation, Inc. |
| 3 |
dnl This file is free software; the Free Software Foundation |
| 4 |
dnl gives unlimited permission to copy and/or distribute it, |
| 5 |
dnl with or without modifications, as long as this notice is preserved. |
| 6 |
|
| 7 |
AC_DEFUN([gl_LOCALTIME_BUFFER_DEFAULTS], |
| 8 |
[ |
| 9 |
NEED_LOCALTIME_BUFFER=0 |
| 10 |
]) |
| 11 |
|
| 12 |
dnl Macro invoked from other modules, to signal that the compilation of |
| 13 |
dnl module 'localtime-buffer' is needed. |
| 14 |
AC_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 |
]) |