Improve responsiveness while in 'replace-buffer-contents'
[emacs.git] / m4 / time_rz.m4
blob437814897860c7a66bea9e02b52a4cef26c482e9
1 dnl Time zone functions: tzalloc, localtime_rz, etc.
3 dnl Copyright (C) 2015-2018 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.
8 dnl Written by Paul Eggert.
10 AC_DEFUN([gl_TIME_RZ],
12   AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
13   AC_REQUIRE([gl_HEADER_TIME_H_DEFAULTS])
14   AC_REQUIRE([AC_STRUCT_TIMEZONE])
16   AC_CHECK_TYPES([timezone_t], [], [], [[#include <time.h>]])
17   if test "$ac_cv_type_timezone_t" = yes; then
18     HAVE_TIMEZONE_T=1
19   fi