]> code.delx.au - gnu-emacs/blob - m4/time_rz.m4
Remove now-inaccurate bytecode comments
[gnu-emacs] / m4 / time_rz.m4
1 dnl Time zone functions: tzalloc, localtime_rz, etc.
2
3 dnl Copyright (C) 2015-2016 Free Software Foundation, Inc.
4 dnl This file is free software; the Free Software Foundation
5 dnl gives unlimited permission to copy and/or distribute it,
6 dnl with or without modifications, as long as this notice is preserved.
7
8 dnl Written by Paul Eggert.
9
10 AC_DEFUN([gl_TIME_RZ],
11 [
12 AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
13 AC_REQUIRE([gl_HEADER_SYS_TIME_H_DEFAULTS])
14 AC_REQUIRE([AC_STRUCT_TIMEZONE])
15 AC_CHECK_FUNCS_ONCE([tzset])
16
17 AC_CHECK_TYPES([timezone_t], [], [], [[#include <time.h>]])
18 if test "$ac_cv_type_timezone_t" = yes; then
19 HAVE_TIMEZONE_T=1
20 fi
21 ])