+2024-10-05 Paul Eggert <eggert@cs.ucla.edu>
+
+ mktime: fix daylight default
+ Problem for FreeBSD 14 reported by Bruno Haible in:
+ https://lists.gnu.org/r/bug-gnulib/2024-10/msg00026.html
+ * m4/mktime.m4 (gl_PREREQ_MKTIME): Default daylight to 1, not 0.
+
2024-10-04 Paul Eggert <eggert@cs.ucla.edu>
mktime: improve thread-safety
# mktime.m4
-# serial 40
+# serial 41
dnl Copyright (C) 2002-2003, 2005-2007, 2009-2024 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
AC_DEFUN([gl_PREREQ_MKTIME], [
AC_CACHE_CHECK([spelling of daylight variable],
[gl_cv_var___daylight],
- [for gl_cv_var___daylight in __daylight daylight _daylight 0; do
- test $gl_cv_var___daylight = 0 && break
+ [for gl_cv_var___daylight in __daylight daylight _daylight 1; do
+ test $gl_cv_var___daylight = 1 && break
AC_LINK_IFELSE(
[AC_LANG_PROGRAM(
[[#include <time.h>