summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2020-08-14 20:02:07 +0200
committerBruno Haible <bruno@clisp.org>2020-08-14 20:02:07 +0200
commit424bb97793e96c63c090e9dbf2d442a38e367c94 (patch)
tree10787e0a67239c0034003185e3dfd53a105641a1 /m4
parentefbd8572b569730fefffd469a123ca864baeae60 (diff)
downloadgnulib-424bb97793e96c63c090e9dbf2d442a38e367c94.tar.gz
mktime, mktime-internal: Assume tzset exists.
* lib/mktime.c (my_tzset): Assume HAVE_TZSET is 1. * m4/mktime.m4 (gl_FUNC_MKTIME_WORKS): Don't test for tzset.
Diffstat (limited to 'm4')
-rw-r--r--m4/mktime.m43
1 files changed, 1 insertions, 2 deletions
diff --git a/m4/mktime.m4 b/m4/mktime.m4
index 8d9b827fe2..afc8a8762d 100644
--- a/m4/mktime.m4
+++ b/m4/mktime.m4
@@ -1,4 +1,4 @@
-# serial 32
+# serial 33
dnl Copyright (C) 2002-2003, 2005-2007, 2009-2020 Free Software Foundation,
dnl Inc.
dnl This file is free software; the Free Software Foundation
@@ -31,7 +31,6 @@ AC_DEFUN([gl_FUNC_MKTIME_WORKS],
dnl in Autoconf and because it invokes AC_LIBOBJ.
AC_CHECK_HEADERS_ONCE([unistd.h])
AC_CHECK_DECLS_ONCE([alarm])
- AC_CHECK_FUNCS_ONCE([tzset])
AC_REQUIRE([gl_MULTIARCH])
AC_CACHE_CHECK([for working mktime], [gl_cv_func_working_mktime],
[if test $APPLE_UNIVERSAL_BUILD = 1; then