* m4/*.m4: Treat windows* as equivalent to mingw*.
* modules/*: Likewise.
+2023-08-17 Bruno Haible <bruno@clisp.org>
+
+ Recognize the *-*-windows* config triplets introduced on 2023-06-26.
+ * m4/*.m4: Treat windows* as equivalent to mingw*.
+ * modules/*: Likewise.
+
2023-08-16 Bruno Haible <bruno@clisp.org>
mbrtoc32-regular: Make it work as expected on glibc 2.12.
-# absolute-header.m4 serial 17
+# absolute-header.m4 serial 18
dnl Copyright (C) 2006-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
esac
changequote(,)
case "$host_os" in
- mingw*)
+ mingw* | windows*)
dnl For the sake of native Windows compilers (excluding gcc),
dnl treat backslash as a directory separator, like /.
dnl Actually, these compilers use a double-backslash as
-# access.m4 serial 1
+# access.m4 serial 2
dnl Copyright (C) 2019-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl On native Windows, access (= _access) does not support the X_OK mode.
dnl It works by chance on some versions of mingw.
case "$host_os" in
- mingw*) REPLACE_ACCESS=1 ;;
+ mingw* | windows*) REPLACE_ACCESS=1 ;;
esac
])
-# btowc.m4 serial 13
+# btowc.m4 serial 14
dnl Copyright (C) 2008-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[
changequote(,)dnl
case "$host_os" in
- # Guess no on Cygwin.
- cygwin*) gl_cv_func_btowc_nul="guessing no" ;;
- # Guess yes on native Windows.
- mingw*) gl_cv_func_btowc_nul="guessing yes" ;;
- # Guess yes otherwise.
- *) gl_cv_func_btowc_nul="guessing yes" ;;
+ # Guess no on Cygwin.
+ cygwin*) gl_cv_func_btowc_nul="guessing no" ;;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_func_btowc_nul="guessing yes" ;;
+ # Guess yes otherwise.
+ *) gl_cv_func_btowc_nul="guessing yes" ;;
esac
changequote([,])dnl
])
dnl is present.
changequote(,)dnl
case "$host_os" in
- # Guess no on IRIX.
- irix*) gl_cv_func_btowc_eof="guessing no" ;;
- # Guess yes on native Windows.
- mingw*) gl_cv_func_btowc_eof="guessing yes" ;;
- # Guess yes otherwise.
- *) gl_cv_func_btowc_eof="guessing yes" ;;
+ # Guess no on IRIX.
+ irix*) gl_cv_func_btowc_eof="guessing no" ;;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_func_btowc_eof="guessing yes" ;;
+ # Guess yes otherwise.
+ *) gl_cv_func_btowc_eof="guessing yes" ;;
esac
changequote([,])dnl
if test $LOCALE_FR != none; then
[gl_cv_func_btowc_consistent=yes],
[gl_cv_func_btowc_consistent=no],
[case "$host_os" in
- # Guess no on mingw.
- mingw*) AC_EGREP_CPP([Problem], [
+ # Guess no on mingw.
+ mingw* | windows*)
+ AC_EGREP_CPP([Problem], [
#ifdef __MINGW32__
Problem
#endif
- ],
- [gl_cv_func_btowc_consistent="guessing no"],
- [gl_cv_func_btowc_consistent="guessing yes"])
- ;;
- # Guess yes otherwise.
- *) gl_cv_func_btowc_consistent="guessing yes" ;;
+ ],
+ [gl_cv_func_btowc_consistent="guessing no"],
+ [gl_cv_func_btowc_consistent="guessing yes"])
+ ;;
+ # Guess yes otherwise.
+ *) gl_cv_func_btowc_consistent="guessing yes" ;;
esac
])
])
-# build-to-host.m4 serial 2
+# build-to-host.m4 serial 3
dnl Copyright (C) 2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
case "$build_os" in
cygwin*)
case "$host_os" in
- mingw*)
+ mingw* | windows*)
gl_final_[$1]=`cygpath -w "$gl_final_[$1]"` ;;
esac
;;
-# calloc.m4 serial 30
+# calloc.m4 serial 31
# Copyright (C) 2004-2023 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# Guess yes on musl systems.
*-musl* | midipix*) ac_cv_func_calloc_0_nonnull="guessing yes" ;;
# Guess yes on native Windows.
- mingw*) ac_cv_func_calloc_0_nonnull="guessing yes" ;;
+ mingw* | windows*) ac_cv_func_calloc_0_nonnull="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) ac_cv_func_calloc_0_nonnull="$gl_cross_guess_normal" ;;
esac
-# canonicalize.m4 serial 38
+# canonicalize.m4 serial 39
dnl Copyright (C) 2003-2007, 2009-2023 Free Software Foundation, Inc.
dnl available through the linker option '-loldnames'.
AC_REQUIRE([AC_CANONICAL_HOST])
case "$host_os" in
- mingw*) ;;
- *) AC_CHECK_FUNCS([getcwd]) ;;
+ mingw* | windows*) ;;
+ *) AC_CHECK_FUNCS([getcwd]) ;;
esac
AC_REQUIRE([gl_DOUBLE_SLASH_ROOT])
esac
],
[case "$host_os" in
- # Guess yes on glibc systems.
- *-gnu* | gnu*) gl_cv_func_realpath_works="guessing yes" ;;
- # Guess 'nearly' on musl systems.
- *-musl*) gl_cv_func_realpath_works="guessing nearly" ;;
- # Guess no on Cygwin.
- cygwin*) gl_cv_func_realpath_works="guessing no" ;;
- # Guess no on native Windows.
- mingw*) gl_cv_func_realpath_works="guessing no" ;;
- # If we don't know, obey --enable-cross-guesses.
- *) gl_cv_func_realpath_works="$gl_cross_guess_normal" ;;
+ # Guess yes on glibc systems.
+ *-gnu* | gnu*) gl_cv_func_realpath_works="guessing yes" ;;
+ # Guess 'nearly' on musl systems.
+ *-musl*) gl_cv_func_realpath_works="guessing nearly" ;;
+ # Guess no on Cygwin.
+ cygwin*) gl_cv_func_realpath_works="guessing no" ;;
+ # Guess no on native Windows.
+ mingw* | windows*) gl_cv_func_realpath_works="guessing no" ;;
+ # If we don't know, obey --enable-cross-guesses.
+ *) gl_cv_func_realpath_works="$gl_cross_guess_normal" ;;
esac
])
rm -rf conftest.a conftest.l conftest.d
-# cbrtf.m4 serial 4
+# cbrtf.m4 serial 5
dnl Copyright (C) 2012-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[gl_cv_func_cbrtf_works=yes],
[gl_cv_func_cbrtf_works=no],
[case "$host_os" in
- irix*) gl_cv_func_cbrtf_works="guessing no";;
- # Guess yes on native Windows.
- mingw*) gl_cv_func_cbrtf_works="guessing yes";;
- *) gl_cv_func_cbrtf_works="guessing yes";;
+ irix*) gl_cv_func_cbrtf_works="guessing no";;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_func_cbrtf_works="guessing yes";;
+ *) gl_cv_func_cbrtf_works="guessing yes";;
esac
])
])
-# cbrtl.m4 serial 11
+# cbrtl.m4 serial 12
dnl Copyright (C) 2012-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_cbrtl_ieee="guessing yes" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_cbrtl_ieee="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_cbrtl_ieee="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_cbrtl_ieee="$gl_cross_guess_normal" ;;
esac
[gl_cv_func_cbrtl_works=yes],
[gl_cv_func_cbrtl_works=no],
[case "$host_os" in
- openbsd*) gl_cv_func_cbrtl_works="guessing no";;
- # Guess yes on native Windows.
- mingw*) gl_cv_func_cbrtl_works="guessing yes";;
- *) gl_cv_func_cbrtl_works="guessing yes";;
+ openbsd*) gl_cv_func_cbrtl_works="guessing no";;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_func_cbrtl_works="guessing yes";;
+ *) gl_cv_func_cbrtl_works="guessing yes";;
esac
])
])
-# ceil.m4 serial 16
+# ceil.m4 serial 17
dnl Copyright (C) 2007, 2009-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_ceil_ieee="guessing yes" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_ceil_ieee="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_ceil_ieee="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_ceil_ieee="$gl_cross_guess_normal" ;;
esac
-# ceilf.m4 serial 20
+# ceilf.m4 serial 21
dnl Copyright (C) 2007, 2009-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_ceilf_ieee="guessing yes" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_ceilf_ieee="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_ceilf_ieee="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_ceilf_ieee="$gl_cross_guess_normal" ;;
esac
-# ceill.m4 serial 23
+# ceill.m4 serial 24
dnl Copyright (C) 2007, 2009-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_ceill_ieee="guessing yes" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_ceill_ieee="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_ceill_ieee="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_ceill_ieee="$gl_cross_guess_normal" ;;
esac
[gl_cv_func_ceill_works=no],
[case "$host_os" in
openbsd*) gl_cv_func_ceill_works="guessing no" ;;
- # Guess yes on native Windows.
- mingw*) gl_cv_func_ceill_works="guessing yes" ;;
- *) gl_cv_func_ceill_works="guessing yes" ;;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_func_ceill_works="guessing yes" ;;
+ *) gl_cv_func_ceill_works="guessing yes" ;;
esac
])
LIBS="$save_LIBS"
-# chmod.m4 serial 2
+# chmod.m4 serial 3
dnl Copyright (C) 2004-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[gl_cv_func_chmod_works=no],
[case "$host_os" in
# Guess no on AIX, IRIX, native Windows.
- aix* | irix* | mingw*)
+ aix* | irix* | mingw* | windows*)
gl_cv_func_chmod_works="guessing no" ;;
# Guess yes on glibc, musl libc, macOS, FreeBSD, NetBSD, OpenBSD, Solaris, Haiku, Cygwin.
*-gnu* | gnu* | *-musl* | darwin* | freebsd* | midnightbsd* | netbsd* | openbsd* | solaris* | haiku* | cygwin*)
-# serial 35
+# serial 36
# Determine whether we need the chown wrapper.
dnl Copyright (C) 1997-2001, 2003-2005, 2007, 2009-2023 Free Software
[ac_cv_func_chown_works=yes],
[ac_cv_func_chown_works=no],
[case "$host_os" in # ((
- # Guess yes on Linux systems.
- linux-* | linux) ac_cv_func_chown_works="guessing yes" ;;
- # Guess yes on glibc systems.
- *-gnu* | gnu*) ac_cv_func_chown_works="guessing yes" ;;
- # Guess no on native Windows.
- mingw*) ac_cv_func_chown_works="guessing no" ;;
- # If we don't know, obey --enable-cross-guesses.
- *) ac_cv_func_chown_works="$gl_cross_guess_normal" ;;
+ # Guess yes on Linux systems.
+ linux-* | linux) ac_cv_func_chown_works="guessing yes" ;;
+ # Guess yes on glibc systems.
+ *-gnu* | gnu*) ac_cv_func_chown_works="guessing yes" ;;
+ # Guess no on native Windows.
+ mingw* | windows*) ac_cv_func_chown_works="guessing no" ;;
+ # If we don't know, obey --enable-cross-guesses.
+ *) ac_cv_func_chown_works="$gl_cross_guess_normal" ;;
esac
])
rm -f conftest.chown
-# clock_time.m4 serial 13
+# clock_time.m4 serial 14
dnl Copyright (C) 2002-2006, 2009-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
CLOCK_TIME_LIB=
AC_SUBST([CLOCK_TIME_LIB])
case "$host_os" in
- mingw*)
+ mingw* | windows*)
ac_cv_func_clock_getres=no
ac_cv_func_clock_gettime=no
ac_cv_func_clock_settime=no
-# creat.m4 serial 1
+# creat.m4 serial 2
dnl Copyright (C) 2019-2023 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_REQUIRE([AC_CANONICAL_HOST])
case "$host_os" in
- mingw*)
+ mingw* | windows*)
REPLACE_CREAT=1
;;
*)
-# csharpexec.m4 serial 8
+# csharpexec.m4 serial 9
dnl Copyright (C) 2003-2005, 2009-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
m4_if([$1], , , [&& clix $2/$1 >/dev/null 2>/dev/null]); then
HAVE_CLIX=1
case $host_os in
- cygwin* | mingw* | pw32*)
+ cygwin* | mingw* | windows* | pw32*)
CLIX_PATH_VAR=PATH
;;
darwin* | rhapsody*)
-# ctime.m4 serial 3
+# ctime.m4 serial 4
dnl Copyright (C) 2017-2023 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_REQUIRE([gl_TIME_H_DEFAULTS])
AC_REQUIRE([AC_CANONICAL_HOST])
case "$host_os" in
- mingw*) REPLACE_CTIME=1 ;;
+ mingw* | windows*) REPLACE_CTIME=1 ;;
esac
])
-# serial 21
+# serial 22
dnl From Jim Meyering.
dnl
[gl_cv_struct_dirent_d_ino=yes],
[gl_cv_struct_dirent_d_ino=no],
[case "$host_os" in
- # Guess yes on glibc systems with Linux kernel.
- linux*-gnu*) gl_cv_struct_dirent_d_ino="guessing yes" ;;
- # Guess yes on musl systems with Linux kernel.
- linux*-musl*) gl_cv_struct_dirent_d_ino="guessing yes" ;;
- # Guess yes on systems that emulate the Linux system calls.
- midipix*) gl_cv_struct_dirent_d_ino="guessing yes" ;;
- # Guess no on native Windows.
- mingw*) gl_cv_struct_dirent_d_ino="guessing no" ;;
- # If we don't know, obey --enable-cross-guesses.
- *) gl_cv_struct_dirent_d_ino="$gl_cross_guess_normal" ;;
+ # Guess yes on glibc systems with Linux kernel.
+ linux*-gnu*) gl_cv_struct_dirent_d_ino="guessing yes" ;;
+ # Guess yes on musl systems with Linux kernel.
+ linux*-musl*) gl_cv_struct_dirent_d_ino="guessing yes" ;;
+ # Guess yes on systems that emulate the Linux system calls.
+ midipix*) gl_cv_struct_dirent_d_ino="guessing yes" ;;
+ # Guess no on native Windows.
+ mingw* | windows*) gl_cv_struct_dirent_d_ino="guessing no" ;;
+ # If we don't know, obey --enable-cross-guesses.
+ *) gl_cv_struct_dirent_d_ino="$gl_cross_guess_normal" ;;
esac
])])
case "$gl_cv_struct_dirent_d_ino" in
-# dirent_h.m4 serial 20
+# dirent_h.m4 serial 21
dnl Copyright (C) 2008-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl it's simpler since we know the affected platforms.
AC_REQUIRE([AC_CANONICAL_HOST])
case "$host_os" in
- mingw*) DIR_HAS_FD_MEMBER=0 ;;
- *) DIR_HAS_FD_MEMBER=1 ;;
+ mingw* | windows*) DIR_HAS_FD_MEMBER=0 ;;
+ *) DIR_HAS_FD_MEMBER=1 ;;
esac
AC_SUBST([DIR_HAS_FD_MEMBER])
])
-# dup.m4 serial 7
+# dup.m4 serial 8
dnl Copyright (C) 2011-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[gl_cv_func_dup_works=yes],
[gl_cv_func_dup_works=no],
[case "$host_os" in
- # Guess no on native Windows.
- mingw*) gl_cv_func_dup_works="guessing no" ;;
- *) gl_cv_func_dup_works="guessing yes" ;;
+ # Guess no on native Windows.
+ mingw* | windows*) gl_cv_func_dup_works="guessing no" ;;
+ *) gl_cv_func_dup_works="guessing yes" ;;
esac
])
])
-#serial 27
+#serial 28
dnl Copyright (C) 2002, 2005, 2007, 2009-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
],
[gl_cv_func_dup2_works=yes], [gl_cv_func_dup2_works=no],
[case "$host_os" in
- mingw*) # on this platform, dup2 always returns 0 for success
+ mingw* | windows*) # on this platform, dup2 always returns 0 for success
gl_cv_func_dup2_works="guessing no" ;;
cygwin*) # on cygwin 1.5.x, dup2(1,1) returns 0
gl_cv_func_dup2_works="guessing no" ;;
-# execl.m4 serial 1
+# execl.m4 serial 2
dnl Copyright (C) 2020-2023 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_REQUIRE([AC_CANONICAL_HOST])
case "$host_os" in
- mingw*) REPLACE_EXECL=1 ;;
+ mingw* | windows*) REPLACE_EXECL=1 ;;
esac
])
-# execle.m4 serial 1
+# execle.m4 serial 2
dnl Copyright (C) 2020-2023 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_REQUIRE([AC_CANONICAL_HOST])
case "$host_os" in
- mingw*) REPLACE_EXECLE=1 ;;
+ mingw* | windows*) REPLACE_EXECLE=1 ;;
esac
])
-# execlp.m4 serial 1
+# execlp.m4 serial 2
dnl Copyright (C) 2020-2023 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_REQUIRE([AC_CANONICAL_HOST])
case "$host_os" in
- mingw*) REPLACE_EXECLP=1 ;;
+ mingw* | windows*) REPLACE_EXECLP=1 ;;
esac
])
-# execv.m4 serial 1
+# execv.m4 serial 2
dnl Copyright (C) 2020-2023 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_REQUIRE([AC_CANONICAL_HOST])
case "$host_os" in
- mingw*) REPLACE_EXECV=1 ;;
+ mingw* | windows*) REPLACE_EXECV=1 ;;
esac
])
-# execve.m4 serial 1
+# execve.m4 serial 2
dnl Copyright (C) 2020-2023 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_REQUIRE([AC_CANONICAL_HOST])
case "$host_os" in
- mingw*) REPLACE_EXECVE=1 ;;
+ mingw* | windows*) REPLACE_EXECVE=1 ;;
esac
])
-# execvp.m4 serial 1
+# execvp.m4 serial 2
dnl Copyright (C) 2020-2023 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_REQUIRE([AC_CANONICAL_HOST])
case "$host_os" in
- mingw*) REPLACE_EXECVP=1 ;;
+ mingw* | windows*) REPLACE_EXECVP=1 ;;
esac
])
-# execvpe.m4 serial 3
+# execvpe.m4 serial 4
dnl Copyright (C) 2020-2023 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_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
case "$host_os" in
- mingw*) REPLACE_EXECVPE=1 ;;
+ mingw* | windows*) REPLACE_EXECVPE=1 ;;
*)
gl_CHECK_FUNCS_ANDROID([execvpe], [[#include <unistd.h>]])
if test $ac_cv_func_execvpe != yes; then
-# exp2.m4 serial 3
+# exp2.m4 serial 4
dnl Copyright (C) 2010-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[gl_cv_func_exp2_works=yes],
[gl_cv_func_exp2_works=no],
[case "$host_os" in
- openbsd*) gl_cv_func_exp2_works="guessing no" ;;
- # Guess yes on native Windows.
- mingw*) gl_cv_func_exp2_works="guessing yes" ;;
- *) gl_cv_func_exp2_works="guessing yes" ;;
+ openbsd*) gl_cv_func_exp2_works="guessing no" ;;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_func_exp2_works="guessing yes" ;;
+ *) gl_cv_func_exp2_works="guessing yes" ;;
esac
])
])
-# exp2l.m4 serial 11
+# exp2l.m4 serial 12
dnl Copyright (C) 2010-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_exp2l_works="guessing yes" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_exp2l_works="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_exp2l_works="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_exp2l_works="$gl_cross_guess_normal" ;;
esac
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_exp2l_ieee="guessing yes" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_exp2l_ieee="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_exp2l_ieee="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_exp2l_ieee="$gl_cross_guess_normal" ;;
esac
-# expl.m4 serial 19
+# expl.m4 serial 20
dnl Copyright (C) 2010-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess no on musl systems.
*-musl* | midipix*) gl_cv_func_expl_works="guessing no" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_expl_works="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_expl_works="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_expl_works="$gl_cross_guess_normal" ;;
esac
-# expm1.m4 serial 10
+# expm1.m4 serial 11
dnl Copyright (C) 2010-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_expm1_ieee="guessing yes" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_expm1_ieee="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_expm1_ieee="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_expm1_ieee="$gl_cross_guess_normal" ;;
esac
-# expm1f.m4 serial 5
+# expm1f.m4 serial 6
dnl Copyright (C) 2011-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_expm1f_ieee="guessing yes" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_expm1f_ieee="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_expm1f_ieee="guessing yes" ;;
# Guess no on AIX.
aix*) gl_cv_func_expm1f_ieee="guessing no" ;;
# If we don't know, obey --enable-cross-guesses.
[gl_cv_func_expm1f_works=yes],
[gl_cv_func_expm1f_works=no],
[case "$host_os" in
- irix*) gl_cv_func_expm1f_works="guessing no" ;;
- # Guess yes on native Windows.
- mingw*) gl_cv_func_expm1f_works="guessing yes" ;;
- *) gl_cv_func_expm1f_works="guessing yes" ;;
+ irix*) gl_cv_func_expm1f_works="guessing no" ;;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_func_expm1f_works="guessing yes" ;;
+ *) gl_cv_func_expm1f_works="guessing yes" ;;
esac
])
])
-# expm1l.m4 serial 10
+# expm1l.m4 serial 11
dnl Copyright (C) 2010-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess no on musl systems.
*-musl* | midipix*) gl_cv_func_expm1l_works="guessing no" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_expm1l_works="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_expm1l_works="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_expm1l_works="$gl_cross_guess_normal" ;;
esac
-# exponentl.m4 serial 6
+# exponentl.m4 serial 7
dnl Copyright (C) 2007-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl ABI and compiler version. There are too many cases.
gl_cv_cc_long_double_expbit0="unknown"
case "$host_os" in
- mingw*) # On native Windows (little-endian), we know the result
- # in two cases: mingw, MSVC.
+ mingw* | windows*)
+ # On native Windows (little-endian), we know the result
+ # in two cases: mingw, MSVC.
AC_EGREP_CPP([Known], [
#ifdef __MINGW32__
Known
-# fabsl.m4 serial 3
+# fabsl.m4 serial 4
dnl Copyright (C) 2011-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[gl_cv_func_fabsl_works=yes],
[gl_cv_func_fabsl_works=no],
[case "$host_os" in
- irix*) gl_cv_func_fabsl_works="guessing no" ;;
- # Guess yes on native Windows.
- mingw*) gl_cv_func_fabsl_works="guessing yes" ;;
- *) gl_cv_func_fabsl_works="guessing yes" ;;
+ irix*) gl_cv_func_fabsl_works="guessing no" ;;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_func_fabsl_works="guessing yes" ;;
+ *) gl_cv_func_fabsl_works="guessing yes" ;;
esac
])
])
-# fchdir.m4 serial 28
+# fchdir.m4 serial 29
dnl Copyright (C) 2006-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[gl_cv_func_open_directory_works=yes],
[gl_cv_func_open_directory_works=no],
[case "$host_os" in
- # Guess yes on Linux systems.
- linux-* | linux) gl_cv_func_open_directory_works="guessing yes" ;;
- # Guess yes on systems that emulate the Linux system calls.
- midipix*) gl_cv_func_open_directory_works="guessing yes" ;;
- # Guess yes on glibc systems.
- *-gnu* | gnu*) gl_cv_func_open_directory_works="guessing yes" ;;
- # Guess no on native Windows.
- mingw*) gl_cv_func_open_directory_works="guessing no" ;;
- # If we don't know, obey --enable-cross-guesses.
- *) gl_cv_func_open_directory_works="$gl_cross_guess_normal" ;;
+ # Guess yes on Linux systems.
+ linux-* | linux) gl_cv_func_open_directory_works="guessing yes" ;;
+ # Guess yes on systems that emulate the Linux system calls.
+ midipix*) gl_cv_func_open_directory_works="guessing yes" ;;
+ # Guess yes on glibc systems.
+ *-gnu* | gnu*) gl_cv_func_open_directory_works="guessing yes" ;;
+ # Guess no on native Windows.
+ mingw* | windows*) gl_cv_func_open_directory_works="guessing no" ;;
+ # If we don't know, obey --enable-cross-guesses.
+ *) gl_cv_func_open_directory_works="$gl_cross_guess_normal" ;;
esac
])])
case "$gl_cv_func_open_directory_works" in
-# fclose.m4 serial 11
+# fclose.m4 serial 12
dnl Copyright (C) 2008-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_fclose_stdin="guessing yes" ;;
# Guess no on native Windows.
- mingw*) gl_cv_func_fclose_stdin="guessing no" ;;
+ mingw* | windows*) gl_cv_func_fclose_stdin="guessing no" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_fclose_stdin="$gl_cross_guess_normal" ;;
esac
-# fcntl-o.m4 serial 7
+# fcntl-o.m4 serial 8
dnl Copyright (C) 2006, 2009-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
*) gl_cv_header_working_fcntl_h='no';;
esac],
[case "$host_os" in
- # Guess 'no' on native Windows.
- mingw*) gl_cv_header_working_fcntl_h='no' ;;
- *) gl_cv_header_working_fcntl_h=cross-compiling ;;
+ # Guess 'no' on native Windows.
+ mingw* | windows*) gl_cv_header_working_fcntl_h='no' ;;
+ *) gl_cv_header_working_fcntl_h=cross-compiling ;;
esac
])
])
-# fdopen.m4 serial 5
+# fdopen.m4 serial 6
dnl Copyright (C) 2011-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[gl_cv_func_fdopen_works=yes],
[gl_cv_func_fdopen_works=no],
[case "$host_os" in
- mingw*) gl_cv_func_fdopen_works="guessing no" ;;
- *) gl_cv_func_fdopen_works="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_fdopen_works="guessing no" ;;
+ *) gl_cv_func_fdopen_works="guessing yes" ;;
esac
])
])
-# fflush.m4 serial 18
+# fflush.m4 serial 19
# Copyright (C) 2007-2023 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
[gl_cv_func_fflush_stdin=yes],
[gl_cv_func_fflush_stdin=no],
[case "$host_os" in
- # Guess no on native Windows.
- mingw*) gl_cv_func_fflush_stdin="guessing no" ;;
- *) gl_cv_func_fflush_stdin=cross ;;
+ # Guess no on native Windows.
+ mingw* | windows*) gl_cv_func_fflush_stdin="guessing no" ;;
+ *) gl_cv_func_fflush_stdin=cross ;;
esac
])
rm conftest.txt
-# ffsll.m4 serial 5
+# ffsll.m4 serial 6
dnl Copyright (C) 2011-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_ffsll_works="guessing yes" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_ffsll_works="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_ffsll_works="guessing yes" ;;
# Guess no on AIX.
aix*) gl_cv_func_ffsll_works="guessing no" ;;
# If we don't know, obey --enable-cross-guesses.
-# float_h.m4 serial 13
+# float_h.m4 serial 14
dnl Copyright (C) 2007, 2009-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[gl_cv_func_itold_works="guessing no"],
[gl_cv_func_itold_works="guessing yes"])
;;
- # Guess yes on native Windows.
- mingw*) gl_cv_func_itold_works="guessing yes" ;;
- *) gl_cv_func_itold_works="guessing yes" ;;
+ # Guess yes on native Windows.
+ mingw* | windows*)
+ gl_cv_func_itold_works="guessing yes" ;;
+ *)
+ gl_cv_func_itold_works="guessing yes" ;;
esac
])
])
-# floor.m4 serial 15
+# floor.m4 serial 16
dnl Copyright (C) 2007, 2009-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_floor_ieee="guessing yes" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_floor_ieee="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_floor_ieee="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_floor_ieee="$gl_cross_guess_normal" ;;
esac
-# floorf.m4 serial 19
+# floorf.m4 serial 20
dnl Copyright (C) 2007, 2009-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_floorf_ieee="guessing yes" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_floorf_ieee="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_floorf_ieee="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_floorf_ieee="$gl_cross_guess_normal" ;;
esac
-# fma.m4 serial 4
+# fma.m4 serial 5
dnl Copyright (C) 2011-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl Otherwise guess no, even on glibc systems.
gl_cv_func_fma_works="$gl_cross_guess_normal"
case "$host_os" in
- mingw*)
+ windows*-gnu*)
+ ;;
+ windows*-msvc*)
+ gl_cv_func_fma_works="guessing yes"
+ ;;
+ mingw* | windows*)
AC_EGREP_CPP([Known], [
#ifdef _MSC_VER
Known
-# fmaf.m4 serial 6
+# fmaf.m4 serial 7
dnl Copyright (C) 2011-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl Otherwise guess no, even on glibc systems.
gl_cv_func_fmaf_works="$gl_cross_guess_normal"
case "$host_os" in
- mingw*)
+ windows*-gnu*)
+ ;;
+ windows*-msvc*)
+ gl_cv_func_fmaf_works="guessing yes"
+ ;;
+ mingw* | windows*)
AC_EGREP_CPP([Known], [
#ifdef _MSC_VER
Known
-# fmal.m4 serial 8
+# fmal.m4 serial 9
dnl Copyright (C) 2011-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl Otherwise guess no, even on glibc systems.
gl_cv_func_fmal_works="$gl_cross_guess_normal"
case "$host_os" in
- mingw*)
+ windows*-gnu*)
+ ;;
+ windows*-msvc*)
+ gl_cv_func_fmal_works="guessing yes"
+ ;;
+ mingw* | windows*)
AC_EGREP_CPP([Known], [
#ifdef _MSC_VER
Known
-# fmod.m4 serial 10
+# fmod.m4 serial 11
dnl Copyright (C) 2011-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_fmod_ieee="guessing yes" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_fmod_ieee="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_fmod_ieee="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_fmod_ieee="$gl_cross_guess_normal" ;;
esac
-# fmodf.m4 serial 12
+# fmodf.m4 serial 13
dnl Copyright (C) 2011-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_fmodf_ieee="guessing yes" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_fmodf_ieee="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_fmodf_ieee="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_fmodf_ieee="$gl_cross_guess_normal" ;;
esac
-# fmodl.m4 serial 12
+# fmodl.m4 serial 13
dnl Copyright (C) 2011-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_fmodl_ieee="guessing yes" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_fmodl_ieee="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_fmodl_ieee="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_fmodl_ieee="$gl_cross_guess_normal" ;;
esac
-# fopen.m4 serial 15
+# fopen.m4 serial 16
dnl Copyright (C) 2007-2023 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_REQUIRE([gl_STDIO_H_DEFAULTS])
AC_REQUIRE([AC_CANONICAL_HOST])
case "$host_os" in
- mingw* | pw*)
+ mingw* | windows* | pw*)
dnl Replace fopen, for handling of "/dev/null".
REPLACE_FOPEN=1
dnl fopen on mingw also has the trailing slash bug.
linux*-gnu* | gnu* | kfreebsd*-gnu | *-musl* | midipix*)
gl_cv_func_fopen_mode_e="guessing yes" ;;
# Guess no on native Windows.
- mingw*)
+ mingw* | windows*)
gl_cv_func_fopen_mode_e="guessing no" ;;
# If we don't know, obey --enable-cross-guesses.
*)
-# freopen.m4 serial 7
+# freopen.m4 serial 8
dnl Copyright (C) 2007-2023 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_REQUIRE([gl_STDIO_H_DEFAULTS])
AC_REQUIRE([AC_CANONICAL_HOST])
case "$host_os" in
- mingw* | pw* | os2*)
+ mingw* | windows* | pw* | os2*)
REPLACE_FREOPEN=1
;;
*)
-# frexp.m4 serial 16
+# frexp.m4 serial 17
dnl Copyright (C) 2007-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[gl_cv_func_frexp_works=no],
[case "$host_os" in
netbsd* | irix*) gl_cv_func_frexp_works="guessing no" ;;
- mingw*) # Guess yes with MSVC, no with mingw.
+ # Guess yes with MSVC, no with mingw.
+ windows*-gnu*)
+ gl_cv_func_frexp_works="guessing no"
+ ;;
+ windows*-msvc*)
+ gl_cv_func_frexp_works="guessing yes"
+ ;;
+ mingw* | windows*)
AC_EGREP_CPP([Good], [
#ifdef _MSC_VER
Good
-# frexpf.m4 serial 6
+# frexpf.m4 serial 7
dnl Copyright (C) 2011-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[gl_cv_func_frexpf_works=no],
[case "$host_os" in
irix*) gl_cv_func_frexpf_works="guessing no" ;;
- mingw*) # Guess yes with MSVC, no with mingw.
+ # Guess yes with MSVC, no with mingw.
+ windows*-gnu*)
+ gl_cv_func_frexpf_works="guessing no"
+ ;;
+ windows*-msvc*)
+ gl_cv_func_frexpf_works="guessing yes"
+ ;;
+ mingw* | windows*)
AC_EGREP_CPP([Good], [
#ifdef _MSC_VER
Good
-# frexpl.m4 serial 22
+# frexpl.m4 serial 23
dnl Copyright (C) 2007-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[
changequote(,)dnl
case "$host_os" in
- aix | aix[3-6]* | beos* | darwin* | irix* | mingw* | pw*)
+ aix | aix[3-6]* | beos* | darwin* | irix* | mingw* | windows* | pw*)
gl_cv_func_frexpl_works="guessing no";;
*) gl_cv_func_frexpl_works="guessing yes";;
esac
-# fstat.m4 serial 8
+# fstat.m4 serial 9
dnl Copyright (C) 2011-2023 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_REQUIRE([gl_SYS_STAT_H_DEFAULTS])
case "$host_os" in
- mingw* | solaris*)
+ mingw* | windows* | solaris*)
dnl On MinGW, the original stat() returns st_atime, st_mtime,
dnl st_ctime values that are affected by the time zone.
dnl Solaris stat can return a negative tv_nsec.
-# ftello.m4 serial 15
+# ftello.m4 serial 16
dnl Copyright (C) 2007-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl designates a pipe. See also
dnl https://github.com/python/cpython/issues/78961#issuecomment-1093800325
case "$host_os" in
- mingw*) REPLACE_FTELLO=1 ;;
+ mingw* | windows*) REPLACE_FTELLO=1 ;;
esac
fi
if test $REPLACE_FTELLO = 0; then
dnl be opened.
changequote(,)dnl
case "$host_os" in
- # Guess no on Solaris.
- solaris*) gl_cv_func_ftello_works="guessing no" ;;
- # Guess yes on native Windows.
- mingw*) gl_cv_func_ftello_works="guessing yes" ;;
- # Guess yes otherwise.
- *) gl_cv_func_ftello_works="guessing yes" ;;
+ # Guess no on Solaris.
+ solaris*) gl_cv_func_ftello_works="guessing no" ;;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_func_ftello_works="guessing yes" ;;
+ # Guess yes otherwise.
+ *) gl_cv_func_ftello_works="guessing yes" ;;
esac
changequote([,])dnl
AC_RUN_IFELSE(
-# serial 23
+# serial 24
# See if we need to emulate a missing ftruncate function using _chsize.
m4_ifdef([gl_LARGEFILE], [
AC_REQUIRE([AC_CANONICAL_HOST])
case "$host_os" in
- mingw*)
+ mingw* | windows*)
dnl Native Windows, and Large File Support is requested.
dnl The MSVCRT _chsize() function only accepts a 32-bit file size,
dnl and the mingw64 ftruncate64() function is unreliable (it may
# with or without modifications, as long as this notice is preserved.
# Written by Paul Eggert.
-# serial 20
+# serial 21
AC_DEFUN([gl_FUNC_GETCWD_NULL],
[
gl_abort_bug=no
case "$host_os" in
- mingw*)
+ mingw* | windows*)
gl_cv_func_getcwd_path_max=yes
;;
*)
-# getlogin.m4 serial 6
+# getlogin.m4 serial 7
dnl Copyright (C) 2010-2023 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_REQUIRE([AC_CANONICAL_HOST])
case $host_os in
- mingw*)
+ mingw* | windows*)
GETLOGIN_LIB='-ladvapi32' ;;
*)
GETLOGIN_LIB= ;;
-# getopt.m4 serial 48
+# getopt.m4 serial 49
dnl Copyright (C) 2002-2006, 2008-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
fi
else
case "$host_os" in
- darwin* | aix* | mingw*) gl_cv_func_getopt_posix="guessing no";;
- *) gl_cv_func_getopt_posix="guessing yes";;
+ darwin* | aix* | mingw* | windows*) gl_cv_func_getopt_posix="guessing no";;
+ *) gl_cv_func_getopt_posix="guessing yes";;
esac
fi
])
-# getpagesize.m4 serial 10
+# getpagesize.m4 serial 11
dnl Copyright (C) 2002, 2004-2005, 2007, 2009-2023 Free Software Foundation,
dnl Inc.
dnl This file is free software; the Free Software Foundation
fi
fi
case "$host_os" in
- mingw*)
+ mingw* | windows*)
REPLACE_GETPAGESIZE=1
;;
esac
-# getrandom.m4 serial 11
+# getrandom.m4 serial 12
dnl Copyright 2020-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
fi
case "$host_os" in
- mingw*)
+ mingw* | windows*)
AC_CHECK_HEADERS([bcrypt.h], [], [],
[[#include <windows.h>
]])
-# serial 29
+# serial 30
# Copyright (C) 2001-2003, 2005, 2007, 2009-2023 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
dnl On mingw, the original gettimeofday has only a precision of 15.6
dnl milliseconds. So override it.
case "$host_os" in
- mingw*) REPLACE_GETTIMEOFDAY=1 ;;
+ mingw* | windows*) REPLACE_GETTIMEOFDAY=1 ;;
esac
fi
AC_DEFINE_UNQUOTED([GETTIMEOFDAY_TIMEZONE], [$gl_gettimeofday_timezone],
-# serial 12
+# serial 13
# Copyright (C) 2001, 2003-2004, 2006, 2009-2023 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
msdosdjgpp*) os='DJGPP';;
mpeix*) os='MPE/iX';;
mint*) os='MiNT';;
- mingw*) os='MinGW';;
+ mingw* | windows*) os='MinGW';;
lynxos*) os='LynxOS';;
linux*) os='GNU/Linux';;
hpux*) os='HP-UX';;
-# hypot.m4 serial 10
+# hypot.m4 serial 11
dnl Copyright (C) 2012-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_hypot_ieee="guessing yes" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_hypot_ieee="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_hypot_ieee="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_hypot_ieee="$gl_cross_guess_normal" ;;
esac
-# hypotf.m4 serial 11
+# hypotf.m4 serial 12
dnl Copyright (C) 2012-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_hypotf_ieee="guessing yes" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_hypotf_ieee="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_hypotf_ieee="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_hypotf_ieee="$gl_cross_guess_normal" ;;
esac
[case "$host_os" in
netbsd* | openbsd*) gl_cv_func_hypotf_works="guessing no" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_hypotf_works="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_hypotf_works="guessing yes" ;;
*) gl_cv_func_hypotf_works="guessing yes" ;;
esac
])
-# hypotl.m4 serial 12
+# hypotl.m4 serial 13
dnl Copyright (C) 2012-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_hypotl_ieee="guessing yes" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_hypotl_ieee="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_hypotl_ieee="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_hypotl_ieee="$gl_cross_guess_normal" ;;
esac
[gl_cv_func_hypotl_works=yes],
[gl_cv_func_hypotl_works=no],
[case "$host_os" in
- openbsd*) gl_cv_func_hypotl_works="guessing no" ;;
- # Guess yes on native Windows.
- mingw*) gl_cv_func_hypotl_works="guessing yes" ;;
- *) gl_cv_func_hypotl_works="guessing yes" ;;
+ openbsd*) gl_cv_func_hypotl_works="guessing no" ;;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_func_hypotl_works="guessing yes" ;;
+ *) gl_cv_func_hypotl_works="guessing yes" ;;
esac
])
])
-# ilogb.m4 serial 7
+# ilogb.m4 serial 8
dnl Copyright (C) 2010-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[gl_cv_func_ilogb_works=no],
[case "$host_os" in
aix* | openbsd* | netbsd* | solaris*)
- gl_cv_func_ilogb_works="guessing no" ;;
- # Guess yes on native Windows.
- mingw*) gl_cv_func_ilogb_works="guessing yes" ;;
- *) gl_cv_func_ilogb_works="guessing yes" ;;
+ gl_cv_func_ilogb_works="guessing no" ;;
+ # Guess yes on native Windows.
+ mingw* | windows*)
+ gl_cv_func_ilogb_works="guessing yes" ;;
+ *) gl_cv_func_ilogb_works="guessing yes" ;;
esac
])
])
-# ilogbf.m4 serial 6
+# ilogbf.m4 serial 7
dnl Copyright (C) 2010-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[gl_cv_func_ilogbf_works=no],
[case "$host_os" in
openbsd* | netbsd*)
- gl_cv_func_ilogbf_works="guessing no" ;;
- # Guess yes on native Windows.
- mingw*) gl_cv_func_ilogbf_works="guessing yes" ;;
- *) gl_cv_func_ilogbf_works="guessing yes" ;;
+ gl_cv_func_ilogbf_works="guessing no" ;;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_func_ilogbf_works="guessing yes" ;;
+ *) gl_cv_func_ilogbf_works="guessing yes" ;;
esac
])
])
-# ilogbl.m4 serial 6
+# ilogbl.m4 serial 7
dnl Copyright (C) 2010-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[gl_cv_func_ilogbl_works=yes],
[gl_cv_func_ilogbl_works=no],
[case "$host_os" in
- aix* | haiku*)
- gl_cv_func_ilogbl_works="guessing no" ;;
- # Guess yes on native Windows.
- mingw*) gl_cv_func_ilogbl_works="guessing yes" ;;
- *) gl_cv_func_ilogbl_works="guessing yes" ;;
+ aix* | haiku*) gl_cv_func_ilogbl_works="guessing no" ;;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_func_ilogbl_works="guessing yes" ;;
+ *) gl_cv_func_ilogbl_works="guessing yes" ;;
esac
])
])
-# isatty.m4 serial 3
+# isatty.m4 serial 4
dnl Copyright (C) 2012-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl On native Windows, the system's isatty(), defined as an alias of _isatty()
dnl in the "oldnames" library, returns true for the NUL device.
case $host_os in
- mingw*) REPLACE_ISATTY=1 ;;
+ mingw* | windows*) REPLACE_ISATTY=1 ;;
esac
])
-# isfinite.m4 serial 17
+# isfinite.m4 serial 18
dnl Copyright (C) 2007-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[gl_cv_func_isfinitel_works=yes],
[gl_cv_func_isfinitel_works=no],
[case "$host_os" in
- # Guess no on native Windows.
- mingw*) gl_cv_func_isfinitel_works="guessing no" ;;
- *) gl_cv_func_isfinitel_works="guessing yes" ;;
+ # Guess no on native Windows.
+ mingw* | windows*) gl_cv_func_isfinitel_works="guessing no" ;;
+ *) gl_cv_func_isfinitel_works="guessing yes" ;;
esac
])
])
-# isinf.m4 serial 13
+# isinf.m4 serial 14
dnl Copyright (C) 2007-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[gl_cv_func_isinfl_works=yes],
[gl_cv_func_isinfl_works=no],
[case "$host_os" in
- mingw*) # Guess yes on mingw, no on MSVC.
+ mingw* | windows*) # Guess yes on mingw, no on MSVC.
AC_EGREP_CPP([Known], [
#ifdef __MINGW32__
Known
-# isnanf.m4 serial 18
+# isnanf.m4 serial 19
dnl Copyright (C) 2007-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[gl_cv_func_isnanf_works=no],
[case "$host_os" in
irix* | solaris*) gl_cv_func_isnanf_works="guessing no" ;;
- mingw*) # Guess yes on mingw, no on MSVC.
+ mingw* | windows*) # Guess yes on mingw, no on MSVC.
AC_EGREP_CPP([Known], [
#ifdef __MINGW32__
Known
-# isnanl.m4 serial 22
+# isnanl.m4 serial 23
dnl Copyright (C) 2007-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[gl_cv_func_isnanl_works=yes],
[gl_cv_func_isnanl_works=no],
[case "$host_os" in
- mingw*) # Guess yes on mingw, no on MSVC.
+ mingw* | windows*) # Guess yes on mingw, no on MSVC.
AC_EGREP_CPP([Known], [
#ifdef __MINGW32__
Known
-# iswdigit.m4 serial 4
+# iswdigit.m4 serial 5
dnl Copyright (C) 2020-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
changequote(,)dnl
case "$host_os" in
# Guess no on FreeBSD, NetBSD, Solaris, native Windows.
- freebsd* | dragonfly* | netbsd* | solaris* | mingw*)
+ freebsd* | dragonfly* | netbsd* | solaris* | mingw* | windows*)
gl_cv_func_iswdigit_works="guessing no" ;;
# Guess yes otherwise.
*) gl_cv_func_iswdigit_works="guessing yes" ;;
-# iswxdigit.m4 serial 4
+# iswxdigit.m4 serial 5
dnl Copyright (C) 2020-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
changequote(,)dnl
case "$host_os" in
# Guess no on FreeBSD, NetBSD, Solaris, native Windows.
- freebsd* | dragonfly* | netbsd* | solaris* | mingw*)
+ freebsd* | dragonfly* | netbsd* | solaris* | mingw* | windows*)
gl_cv_func_iswxdigit_works="guessing no" ;;
# Guess yes otherwise.
*) gl_cv_func_iswxdigit_works="guessing yes" ;;
AC_REQUIRE([AC_CANONICAL_HOST])
if test $ac_opt_found != yes; then
AS_CASE([$host_os],
- [mingw*],
+ [mingw* | windows*],
[ac_cv_sys_largefile_opts="supported through gnulib"
ac_opt_found=yes]
)
[
AC_REQUIRE([AC_CANONICAL_HOST])
case "$host_os" in
- mingw*)
+ mingw* | windows*)
dnl Native Windows.
dnl mingw64 defines off_t to a 64-bit type already, if
dnl _FILE_OFFSET_BITS=64, which is ensured by AC_SYS_LARGEFILE.
-# ldexpl.m4 serial 17
+# ldexpl.m4 serial 18
dnl Copyright (C) 2007-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[
changequote(,)dnl
case "$host_os" in
- aix | aix[3-6]*) gl_cv_func_ldexpl_works="guessing no" ;;
- # Guess yes on native Windows.
- mingw*) gl_cv_func_ldexpl_works="guessing yes" ;;
- *) gl_cv_func_ldexpl_works="guessing yes" ;;
+ aix | aix[3-6]*) gl_cv_func_ldexpl_works="guessing no" ;;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_func_ldexpl_works="guessing yes" ;;
+ *) gl_cv_func_ldexpl_works="guessing yes" ;;
esac
changequote([,])dnl
])
-# lib-ld.m4 serial 11
+# lib-ld.m4 serial 12
dnl Copyright (C) 1996-2003, 2009-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
if test "$GCC" = yes; then
# Check if gcc -print-prog-name=ld gives a path.
case $host in
- *-*-mingw*)
+ *-*-mingw* | windows*)
# gcc leaves a trailing carriage return which upsets mingw
acl_output=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
*)
-# locale-ar.m4 serial 10
+# locale-ar.m4 serial 11
dnl Copyright (C) 2003, 2005-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
# "ja" as "Japanese" or "Japanese_Japan.932",
# and similar.
- mingw*)
+ mingw* | windows*)
# Note that on native Windows, the Arabic locale is
# "Arabic_Saudi Arabia.1256", and CP1256 is very different from
# ISO-8859-6, so we cannot use it here.
-# locale-fr.m4 serial 22
+# locale-fr.m4 serial 23
dnl Copyright (C) 2003, 2005-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
# "ja" as "Japanese" or "Japanese_Japan.932",
# and similar.
- mingw*)
+ mingw* | windows*)
# Test for the native Windows locale name.
if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
gt_cv_locale_fr=French_France.1252
# "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
# "ja" as "Japanese" or "Japanese_Japan.932",
# and similar.
- mingw*)
+ mingw* | windows*)
# Test for the hypothetical native Windows locale name.
if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
gt_cv_locale_fr_utf8=French_France.65001
-# locale-ja.m4 serial 17
+# locale-ja.m4 serial 18
dnl Copyright (C) 2003, 2005-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
# "ja" as "Japanese" or "Japanese_Japan.932",
# and similar.
- mingw*)
+ mingw* | windows*)
# Note that on native Windows, the Japanese locale is
# Japanese_Japan.932, and CP932 is very different from EUC-JP, so we
# cannot use it here.
-# locale-tr.m4 serial 14
+# locale-tr.m4 serial 15
dnl Copyright (C) 2003, 2005-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
# "ja" as "Japanese" or "Japanese_Japan.932",
# and similar.
- mingw*)
+ mingw* | windows*)
# Test for the hypothetical native Windows locale name.
if (LC_ALL=Turkish_Turkey.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
gt_cv_locale_tr_utf8=Turkish_Turkey.65001
-# locale-zh.m4 serial 17
+# locale-zh.m4 serial 18
dnl Copyright (C) 2003, 2005-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
# "ja" as "Japanese" or "Japanese_Japan.932",
# and similar.
- mingw*)
+ mingw* | windows*)
# Test for the hypothetical native Windows locale name.
if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
gt_cv_locale_zh_CN=Chinese_China.54936
-# locale_h.m4 serial 28
+# locale_h.m4 serial 29
dnl Copyright (C) 2007, 2009-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl On native Windows with MSVC, merely define these member names as macros.
dnl This avoids trouble in C++ mode.
case "$host_os" in
- mingw*)
+ windows*-gnu*)
+ REPLACE_STRUCT_LCONV=1
+ ;;
+ windows*-msvc*)
+ ;;
+ mingw* | windows*)
AC_EGREP_CPP([Special], [
#ifdef _MSC_VER
Special
-# localeconv.m4 serial 2
+# localeconv.m4 serial 3
dnl Copyright (C) 2012-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_localeconv_works="guessing yes" ;;
# Guess no on native Windows.
- mingw*) gl_cv_func_localeconv_works="guessing no" ;;
+ mingw* | windows*) gl_cv_func_localeconv_works="guessing no" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_localeconv_works="$gl_cross_guess_normal" ;;
esac
-# localtime.m4 serial 2
+# localtime.m4 serial 3
dnl Copyright (C) 2017-2023 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_REQUIRE([gl_TIME_H_DEFAULTS])
AC_REQUIRE([AC_CANONICAL_HOST])
case "$host_os" in
- mingw*) REPLACE_LOCALTIME=1 ;;
+ mingw* | windows*) REPLACE_LOCALTIME=1 ;;
esac
])
-# log.m4 serial 12
+# log.m4 serial 13
dnl Copyright (C) 2011-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_log_ieee="guessing yes" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_log_ieee="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_log_ieee="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_log_ieee="$gl_cross_guess_normal" ;;
esac
[gl_cv_func_log_works=yes],
[gl_cv_func_log_works=no],
[case "$host_os" in
- osf*) gl_cv_func_log_works="guessing no" ;;
- # Guess yes on native Windows.
- mingw*) gl_cv_func_log_works="guessing yes" ;;
- *) gl_cv_func_log_works="guessing yes" ;;
+ osf*) gl_cv_func_log_works="guessing no" ;;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_func_log_works="guessing yes" ;;
+ *) gl_cv_func_log_works="guessing yes" ;;
esac
])
])
-# log10.m4 serial 12
+# log10.m4 serial 13
dnl Copyright (C) 2011-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_log10_ieee="guessing yes" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_log10_ieee="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_log10_ieee="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_log10_ieee="$gl_cross_guess_normal" ;;
esac
[gl_cv_func_log10_works=yes],
[gl_cv_func_log10_works=no],
[case "$host_os" in
- osf*) gl_cv_func_log10_works="guessing no" ;;
- # Guess yes on native Windows.
- mingw*) gl_cv_func_log10_works="guessing yes" ;;
- *) gl_cv_func_log10_works="guessing yes" ;;
+ osf*) gl_cv_func_log10_works="guessing no" ;;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_func_log10_works="guessing yes" ;;
+ *) gl_cv_func_log10_works="guessing yes" ;;
esac
])
])
-# log10f.m4 serial 13
+# log10f.m4 serial 14
dnl Copyright (C) 2011-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_log10f_ieee="guessing yes" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_log10f_ieee="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_log10f_ieee="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_log10f_ieee="$gl_cross_guess_normal" ;;
esac
[gl_cv_func_log10f_works=yes],
[gl_cv_func_log10f_works=no],
[case "$host_os" in
- osf*) gl_cv_func_log10f_works="guessing no" ;;
- # Guess yes on native Windows.
- mingw*) gl_cv_func_log10f_works="guessing yes" ;;
- *) gl_cv_func_log10f_works="guessing yes" ;;
+ osf*) gl_cv_func_log10f_works="guessing no" ;;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_func_log10f_works="guessing yes" ;;
+ *) gl_cv_func_log10f_works="guessing yes" ;;
esac
])
])
-# log10l.m4 serial 11
+# log10l.m4 serial 12
dnl Copyright (C) 2011-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess no on musl systems.
*-musl* | midipix*) gl_cv_func_log10l_works="guessing no" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_log10l_works="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_log10l_works="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_log10l_works="$gl_cross_guess_normal" ;;
esac
-# log1p.m4 serial 9
+# log1p.m4 serial 10
dnl Copyright (C) 2012-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_log1p_ieee="guessing yes" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_log1p_ieee="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_log1p_ieee="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_log1p_ieee="$gl_cross_guess_normal" ;;
esac
-# log1pf.m4 serial 9
+# log1pf.m4 serial 10
dnl Copyright (C) 2012-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_log1pf_ieee="guessing yes" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_log1pf_ieee="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_log1pf_ieee="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_log1pf_ieee="$gl_cross_guess_normal" ;;
esac
[gl_cv_func_log1pf_works=yes],
[gl_cv_func_log1pf_works=no],
[case "$host_os" in
- irix*) gl_cv_func_log1pf_works="guessing no" ;;
- # Guess yes on native Windows.
- mingw*) gl_cv_func_log1pf_works="guessing yes" ;;
- *) gl_cv_func_log1pf_works="guessing yes" ;;
+ irix*) gl_cv_func_log1pf_works="guessing no" ;;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_func_log1pf_works="guessing yes" ;;
+ *) gl_cv_func_log1pf_works="guessing yes" ;;
esac
])
])
-# log1pl.m4 serial 10
+# log1pl.m4 serial 11
dnl Copyright (C) 2012-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_log1pl_ieee="guessing yes" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_log1pl_ieee="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_log1pl_ieee="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_log1pl_ieee="$gl_cross_guess_normal" ;;
esac
# Guess no on musl systems.
*-musl* | midipix*) gl_cv_func_log1pl_works="guessing no" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_log1pl_works="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_log1pl_works="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_log1pl_works="$gl_cross_guess_normal" ;;
esac
-# log2.m4 serial 13
+# log2.m4 serial 14
dnl Copyright (C) 2010-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_log2_ieee="guessing yes" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_log2_ieee="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_log2_ieee="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_log2_ieee="$gl_cross_guess_normal" ;;
esac
[gl_cv_func_log2_works=yes],
[gl_cv_func_log2_works=no],
[case "$host_os" in
- cygwin* | osf*) gl_cv_func_log2_works="guessing no" ;;
- # Guess yes on native Windows.
- mingw*) gl_cv_func_log2_works="guessing yes" ;;
- *) gl_cv_func_log2_works="guessing yes" ;;
+ cygwin* | osf*) gl_cv_func_log2_works="guessing no" ;;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_func_log2_works="guessing yes" ;;
+ *) gl_cv_func_log2_works="guessing yes" ;;
esac
])
])
-# log2f.m4 serial 13
+# log2f.m4 serial 14
dnl Copyright (C) 2010-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_log2f_ieee="guessing yes" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_log2f_ieee="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_log2f_ieee="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_log2f_ieee="$gl_cross_guess_normal" ;;
esac
[gl_cv_func_log2f_works=yes],
[gl_cv_func_log2f_works=no],
[case "$host_os" in
- cygwin* | osf*) gl_cv_func_log2f_works="guessing no" ;;
- # Guess yes on native Windows.
- mingw*) gl_cv_func_log2f_works="guessing yes" ;;
- *) gl_cv_func_log2f_works="guessing yes" ;;
+ cygwin* | osf*) gl_cv_func_log2f_works="guessing no" ;;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_func_log2f_works="guessing yes" ;;
+ *) gl_cv_func_log2f_works="guessing yes" ;;
esac
])
])
-# log2l.m4 serial 6
+# log2l.m4 serial 7
dnl Copyright (C) 2010-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess no on OSF/1.
osf*) gl_cv_func_log2l_works="guessing no" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_log2l_works="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_log2l_works="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_log2l_works="$gl_cross_guess_normal" ;;
esac
-# logb.m4 serial 9
+# logb.m4 serial 10
dnl Copyright (C) 2010-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[gl_cv_func_logb_works=no],
[case "$host_os" in
*gnu* | solaris* | cygwin*) gl_cv_func_logb_works="guessing no" ;;
- mingw*) # Guess yes on MSVC, no on mingw.
+ # Guess yes on MSVC, no on mingw.
+ windows*-gnu*)
+ gl_cv_func_logb_works="guessing no"
+ ;;
+ windows*-msvc*)
+ gl_cv_func_logb_works="guessing yes"
+ ;;
+ mingw* | windows*)
AC_EGREP_CPP([Known], [
#ifdef _MSC_VER
Known
-# logbf.m4 serial 3
+# logbf.m4 serial 4
dnl Copyright (C) 2012-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[gl_cv_func_logbf_works=no],
[case "$host_os" in
*gnu* | solaris*) gl_cv_func_logbf_works="guessing no" ;;
- mingw*) # Guess yes on MSVC, no on mingw.
+ # Guess yes on MSVC, no on mingw.
+ windows*-gnu*)
+ gl_cv_func_logbf_works="guessing no"
+ ;;
+ windows*-msvc*)
+ gl_cv_func_logbf_works="guessing yes"
+ ;;
+ mingw* | windows*)
AC_EGREP_CPP([Known], [
#ifdef _MSC_VER
Known
-# logbl.m4 serial 5
+# logbl.m4 serial 6
dnl Copyright (C) 2012-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[gl_cv_func_logbl_works=yes],
[gl_cv_func_logbl_works=no],
[case "$host_os" in
- *gnu* | solaris*) gl_cv_func_logbl_works="guessing no" ;;
- # Guess yes on native Windows.
- mingw*) gl_cv_func_logbl_works="guessing yes" ;;
- *) gl_cv_func_logbl_works="guessing yes" ;;
+ *gnu* | solaris*) gl_cv_func_logbl_works="guessing no" ;;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_func_logbl_works="guessing yes" ;;
+ *) gl_cv_func_logbl_works="guessing yes" ;;
esac
])
])
-# logf.m4 serial 13
+# logf.m4 serial 14
dnl Copyright (C) 2011-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_logf_ieee="guessing yes" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_logf_ieee="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_logf_ieee="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_logf_ieee="$gl_cross_guess_normal" ;;
esac
[gl_cv_func_logf_works=yes],
[gl_cv_func_logf_works=no],
[case "$host_os" in
- osf*) gl_cv_func_logf_works="guessing no" ;;
- # Guess yes on native Windows.
- mingw*) gl_cv_func_logf_works="guessing yes" ;;
- *) gl_cv_func_logf_works="guessing yes" ;;
+ osf*) gl_cv_func_logf_works="guessing no" ;;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_func_logf_works="guessing yes" ;;
+ *) gl_cv_func_logf_works="guessing yes" ;;
esac
])
])
-# logl.m4 serial 16
+# logl.m4 serial 17
dnl Copyright (C) 2010-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess no on musl systems.
*-musl* | midipix*) gl_cv_func_logl_works="guessing no" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_logl_works="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_logl_works="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_logl_works="$gl_cross_guess_normal" ;;
esac
-# lseek.m4 serial 14
+# lseek.m4 serial 15
dnl Copyright (C) 2007, 2009-2023 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_CHECK_HEADERS_ONCE([unistd.h])
AC_CACHE_CHECK([whether lseek detects pipes], [gl_cv_func_lseek_pipe],
[case "$host_os" in
- mingw*)
+ mingw* | windows*)
dnl Native Windows.
dnl The result of lseek (fd, (off_t)0, SEEK_CUR) or
dnl SetFilePointer(handle, 0, NULL, FILE_CURRENT)
-# serial 34
+# serial 35
# Copyright (C) 1997-2001, 2003-2023 Free Software Foundation, Inc.
#
*-gnu* | gnu*)
# Guess yes on glibc systems.
gl_cv_func_lstat_dereferences_slashed_symlink="guessing yes" ;;
- mingw*)
+ mingw* | windows*)
# Guess no on native Windows.
gl_cv_func_lstat_dereferences_slashed_symlink="guessing no" ;;
*)
-# malloc-align.m4 serial 2
+# malloc-align.m4 serial 3
dnl Copyright (C) 2020-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl a smaller value (e.g. 4 instead of 8 or 16).
gl_cv_malloc_alignment="unknown"
case "$host_os" in
- linux* | mingw*)
+ linux* | mingw* | windows*)
dnl On Linux:
dnl - It's 8 on most 32-bit platforms, except 16 on x86_64-x32 and
dnl (with newer versions of glibc) on i386 and powerpc. 8 is a
-# malloc.m4 serial 29
+# malloc.m4 serial 30
dnl Copyright (C) 2007, 2009-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on platforms where we know the result.
*-gnu* | freebsd* | netbsd* | openbsd* | bitrig* \
| gnu* | *-musl* | midipix* | midnightbsd* \
- | hpux* | solaris* | cygwin* | mingw* | msys* )
+ | hpux* | solaris* | cygwin* | mingw* | windows* | msys* )
ac_cv_func_malloc_0_nonnull="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) ac_cv_func_malloc_0_nonnull="$gl_cross_guess_normal" ;;
dnl except on those platforms where we have seen 'test-malloc-gnu',
dnl 'test-realloc-gnu', 'test-calloc-gnu' fail.
case "$host_os" in
- mingw*)
+ mingw* | windows*)
gl_cv_func_malloc_posix=no ;;
irix* | solaris*)
dnl On IRIX 6.5, the three functions return NULL with errno unset
-# mbrtoc16.m4 serial 1
+# mbrtoc16.m4 serial 2
dnl Copyright (C) 2014-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl is present.
changequote(,)dnl
case "$host_os" in
- # Guess no on Android.
- linux*-android*) gl_cv_func_mbrtoc16_retval="guessing no" ;;
- # Guess no on native Windows.
- mingw*) gl_cv_func_mbrtoc16_retval="guessing no" ;;
- # Guess yes otherwise.
- *) gl_cv_func_mbrtoc16_retval="guessing yes" ;;
+ # Guess no on Android.
+ linux*-android*) gl_cv_func_mbrtoc16_retval="guessing no" ;;
+ # Guess no on native Windows.
+ mingw* | windows*) gl_cv_func_mbrtoc16_retval="guessing no" ;;
+ # Guess yes otherwise.
+ *) gl_cv_func_mbrtoc16_retval="guessing yes" ;;
esac
changequote([,])dnl
AC_RUN_IFELSE(
[gl_cv_func_mbrtoc16_C_locale_sans_EILSEQ=yes],
[gl_cv_func_mbrtoc16_C_locale_sans_EILSEQ=no],
[case "$host_os" in
- # Guess yes on native Windows.
- mingw*) gl_cv_func_mbrtoc16_C_locale_sans_EILSEQ="guessing yes" ;;
- *) gl_cv_func_mbrtoc16_C_locale_sans_EILSEQ="$gl_cross_guess_normal" ;;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_func_mbrtoc16_C_locale_sans_EILSEQ="guessing yes" ;;
+ *) gl_cv_func_mbrtoc16_C_locale_sans_EILSEQ="$gl_cross_guess_normal" ;;
esac
])
])
changequote(,)dnl
case "$host_os" in
# Guess no on FreeBSD, Solaris, native Windows.
- freebsd* | midnightbsd* | solaris* | mingw*)
+ freebsd* | midnightbsd* | solaris* | mingw* | windows*)
gl_cv_func_mbrtoc16_sanitycheck="guessing no"
;;
# Guess yes otherwise.
-# mbrtoc32.m4 serial 17
+# mbrtoc32.m4 serial 18
dnl Copyright (C) 2014-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[gl_cv_func_mbrtoc32_empty_input=yes],
[gl_cv_func_mbrtoc32_empty_input=no],
[case "$host_os" in
- # Guess no on glibc systems.
- *-gnu* | gnu*) gl_cv_func_mbrtoc32_empty_input="guessing no" ;;
- # Guess no on Android.
- linux*-android*) gl_cv_func_mbrtoc32_empty_input="guessing no" ;;
- # Guess no on native Windows.
- mingw*) gl_cv_func_mbrtoc32_empty_input="guessing no" ;;
- *) gl_cv_func_mbrtoc32_empty_input="guessing yes" ;;
+ # Guess no on glibc systems.
+ *-gnu* | gnu*) gl_cv_func_mbrtoc32_empty_input="guessing no" ;;
+ # Guess no on Android.
+ linux*-android*) gl_cv_func_mbrtoc32_empty_input="guessing no" ;;
+ # Guess no on native Windows.
+ mingw* | windows*) gl_cv_func_mbrtoc32_empty_input="guessing no" ;;
+ *) gl_cv_func_mbrtoc32_empty_input="guessing yes" ;;
esac
])
])
[gl_cv_func_mbrtoc32_C_locale_sans_EILSEQ=yes],
[gl_cv_func_mbrtoc32_C_locale_sans_EILSEQ=no],
[case "$host_os" in
- # Guess yes on native Windows.
- mingw*) gl_cv_func_mbrtoc32_C_locale_sans_EILSEQ="guessing yes" ;;
- *) gl_cv_func_mbrtoc32_C_locale_sans_EILSEQ="$gl_cross_guess_normal" ;;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_func_mbrtoc32_C_locale_sans_EILSEQ="guessing yes" ;;
+ *) gl_cv_func_mbrtoc32_C_locale_sans_EILSEQ="$gl_cross_guess_normal" ;;
esac
])
])
changequote(,)dnl
case "$host_os" in
# Guess no on FreeBSD, Solaris, native Windows.
- freebsd* | midnightbsd* | solaris* | mingw*)
+ freebsd* | midnightbsd* | solaris* | mingw* | windows*)
gl_cv_func_mbrtoc32_sanitycheck="guessing no"
;;
# Guess yes otherwise.
-# mbrtowc.m4 serial 43 -*- coding: utf-8 -*-
+# mbrtowc.m4 serial 44 -*- coding: utf-8 -*-
dnl Copyright (C) 2001-2002, 2004-2005, 2008-2023 Free Software Foundation,
dnl Inc.
dnl This file is free software; the Free Software Foundation
fi
if test $REPLACE_MBSTATE_T = 1; then
case "$host_os" in
- mingw*) MBRTOWC_LIB= ;;
+ mingw* | windows*)
+ MBRTOWC_LIB=
+ ;;
*)
gl_WEAK_SYMBOLS
case "$gl_cv_have_weak" in
dnl to override it, even if - like on MSVC - mbsinit() is only defined as
dnl an inline function, not as a global function.
if case "$host_os" in
- mingw*) true ;;
+ mingw* | windows*) true ;;
*) test $ac_cv_func_mbsinit = yes ;;
esac \
&& test $ac_cv_func_mbrtowc = yes; then
dnl is present.
changequote(,)dnl
case "$host_os" in
- # Guess no on HP-UX, Solaris, native Windows.
- hpux* | solaris* | mingw*) gl_cv_func_mbrtowc_retval="guessing no" ;;
- # Guess yes otherwise.
- *) gl_cv_func_mbrtowc_retval="guessing yes" ;;
+ # Guess no on HP-UX, Solaris, native Windows.
+ hpux* | solaris* | mingw* | windows*)
+ gl_cv_func_mbrtowc_retval="guessing no" ;;
+ # Guess yes otherwise.
+ *)
+ gl_cv_func_mbrtowc_retval="guessing yes" ;;
esac
changequote([,])dnl
if test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none \
- || { case "$host_os" in mingw*) true;; *) false;; esac; }; then
+ || { case "$host_os" in mingw* | windows*) true;; *) false;; esac; }; then
AC_RUN_IFELSE(
[AC_LANG_SOURCE([[
#include <locale.h>
dnl is present.
changequote(,)dnl
case "$host_os" in
- # Guess yes on native Windows.
- mingw*) gl_cv_func_mbrtowc_stores_incomplete="guessing yes" ;;
- *) gl_cv_func_mbrtowc_stores_incomplete="guessing no" ;;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_func_mbrtowc_stores_incomplete="guessing yes" ;;
+ *) gl_cv_func_mbrtowc_stores_incomplete="guessing no" ;;
esac
changequote([,])dnl
case "$host_os" in
- mingw*)
+ mingw* | windows*)
AC_RUN_IFELSE(
[AC_LANG_SOURCE([[
#include <locale.h>
# Guess no on Android.
linux*-android*) gl_cv_func_mbrtowc_empty_input="guessing no" ;;
# Guess no on native Windows.
- mingw*) gl_cv_func_mbrtowc_empty_input="guessing no" ;;
+ mingw* | windows*) gl_cv_func_mbrtowc_empty_input="guessing no" ;;
*) gl_cv_func_mbrtowc_empty_input="guessing yes" ;;
esac
])
[gl_cv_func_mbrtowc_C_locale_sans_EILSEQ=yes],
[gl_cv_func_mbrtowc_C_locale_sans_EILSEQ=no],
[case "$host_os" in
- # Guess yes on native Windows.
- mingw*) gl_cv_func_mbrtowc_C_locale_sans_EILSEQ="guessing yes" ;;
- *) gl_cv_func_mbrtowc_C_locale_sans_EILSEQ="$gl_cross_guess_normal" ;;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_func_mbrtowc_C_locale_sans_EILSEQ="guessing yes" ;;
+ *) gl_cv_func_mbrtowc_C_locale_sans_EILSEQ="$gl_cross_guess_normal" ;;
esac
])
])
-# mbsinit.m4 serial 9
+# mbsinit.m4 serial 10
dnl Copyright (C) 2008, 2010-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl states produced by mbrtowc() for an incomplete multibyte character
dnl in multibyte locales.
case "$host_os" in
- mingw*) REPLACE_MBSINIT=1 ;;
+ mingw* | windows*) REPLACE_MBSINIT=1 ;;
esac
fi
fi
-# mbsrtowcs.m4 serial 16
+# mbsrtowcs.m4 serial 17
dnl Copyright (C) 2008-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl is present.
changequote(,)dnl
case "$host_os" in
- # Guess no on HP-UX, Solaris, mingw.
- hpux* | solaris* | mingw*) gl_cv_func_mbsrtowcs_works="guessing no" ;;
- # Guess yes otherwise.
- *) gl_cv_func_mbsrtowcs_works="guessing yes" ;;
+ # Guess no on HP-UX, Solaris, mingw.
+ hpux* | solaris* | mingw* | windows*)
+ gl_cv_func_mbsrtowcs_works="guessing no" ;;
+ # Guess yes otherwise.
+ *)
+ gl_cv_func_mbsrtowcs_works="guessing yes" ;;
esac
changequote([,])dnl
if test $LOCALE_FR != none || test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none || test $LOCALE_ZH_CN != none; then
-# memchr.m4 serial 18
+# memchr.m4 serial 19
dnl Copyright (C) 2002-2004, 2009-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[gl_cv_func_memchr_works=yes],
[gl_cv_func_memchr_works=no],
[case "$host_os" in
- # Guess no on Android.
- linux*-android*) gl_cv_func_memchr_works="guessing no" ;;
- # Guess yes on native Windows.
- mingw*) gl_cv_func_memchr_works="guessing yes" ;;
- # If we don't know, obey --enable-cross-guesses.
- *) gl_cv_func_memchr_works="$gl_cross_guess_normal" ;;
+ # Guess no on Android.
+ linux*-android*) gl_cv_func_memchr_works="guessing no" ;;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_func_memchr_works="guessing yes" ;;
+ # If we don't know, obey --enable-cross-guesses.
+ *) gl_cv_func_memchr_works="$gl_cross_guess_normal" ;;
esac
])
])
-# serial 18
+# serial 19
# Copyright (C) 2001, 2003-2004, 2006, 2008-2023 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
[gl_cv_func_mkdir_trailing_slash_works=yes],
[gl_cv_func_mkdir_trailing_slash_works=no],
[case "$host_os" in
- # Guess yes on Linux systems.
- linux-* | linux) gl_cv_func_mkdir_trailing_slash_works="guessing yes" ;;
- # Guess yes on systems that emulate the Linux system calls.
- midipix*) gl_cv_func_mkdir_trailing_slash_works="guessing yes" ;;
- # Guess yes on glibc systems.
- *-gnu* | gnu*) gl_cv_func_mkdir_trailing_slash_works="guessing yes" ;;
- # Guess yes on MSVC, no on mingw.
- mingw*) AC_EGREP_CPP([Known], [
+ # Guess yes on Linux systems.
+ linux-* | linux) gl_cv_func_mkdir_trailing_slash_works="guessing yes" ;;
+ # Guess yes on systems that emulate the Linux system calls.
+ midipix*) gl_cv_func_mkdir_trailing_slash_works="guessing yes" ;;
+ # Guess yes on glibc systems.
+ *-gnu* | gnu*) gl_cv_func_mkdir_trailing_slash_works="guessing yes" ;;
+ # Guess yes on MSVC, no on mingw.
+ windows*-gnu*) gl_cv_func_mkdir_trailing_slash_works="guessing no" ;;
+ windows*-msvc*) gl_cv_func_mkdir_trailing_slash_works="guessing yes" ;;
+ mingw* | windows*) AC_EGREP_CPP([Known], [
#ifdef _MSC_VER
Known
#endif
- ],
- [gl_cv_func_mkdir_trailing_slash_works="guessing yes"],
- [gl_cv_func_mkdir_trailing_slash_works="guessing no"])
- ;;
- # If we don't know, obey --enable-cross-guesses.
- *) gl_cv_func_mkdir_trailing_slash_works="$gl_cross_guess_normal" ;;
+ ],
+ [gl_cv_func_mkdir_trailing_slash_works="guessing yes"],
+ [gl_cv_func_mkdir_trailing_slash_works="guessing no"])
+ ;;
+ # If we don't know, obey --enable-cross-guesses.
+ *) gl_cv_func_mkdir_trailing_slash_works="$gl_cross_guess_normal" ;;
esac
])
rm -rf conftest.dir
[gl_cv_func_mkdir_trailing_dot_works=yes],
[gl_cv_func_mkdir_trailing_dot_works=no],
[case "$host_os" in
- # Guess yes on glibc systems.
- *-gnu* | gnu*) gl_cv_func_mkdir_trailing_dot_works="guessing yes" ;;
- # Guess yes on musl systems.
- *-musl*) gl_cv_func_mkdir_trailing_dot_works="guessing yes" ;;
- # Guess yes on systems that emulate the Linux system calls.
- midipix*) gl_cv_func_mkdir_trailing_dot_works="guessing yes" ;;
- # Guess no on native Windows.
- mingw*) gl_cv_func_mkdir_trailing_dot_works="guessing no" ;;
- # If we don't know, obey --enable-cross-guesses.
- *) gl_cv_func_mkdir_trailing_dot_works="$gl_cross_guess_normal" ;;
+ # Guess yes on glibc systems.
+ *-gnu* | gnu*) gl_cv_func_mkdir_trailing_dot_works="guessing yes" ;;
+ # Guess yes on musl systems.
+ *-musl*) gl_cv_func_mkdir_trailing_dot_works="guessing yes" ;;
+ # Guess yes on systems that emulate the Linux system calls.
+ midipix*) gl_cv_func_mkdir_trailing_dot_works="guessing yes" ;;
+ # Guess no on native Windows.
+ mingw* | windows*) gl_cv_func_mkdir_trailing_dot_works="guessing no" ;;
+ # If we don't know, obey --enable-cross-guesses.
+ *) gl_cv_func_mkdir_trailing_dot_works="$gl_cross_guess_normal" ;;
esac
])
rm -rf conftest.dir
-#serial 29
+#serial 30
# Copyright (C) 2001, 2003-2007, 2009-2023 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_working_mkstemp="guessing yes" ;;
# Guess no on native Windows.
- mingw*) gl_cv_func_working_mkstemp="guessing no" ;;
+ mingw* | windows*) gl_cv_func_working_mkstemp="guessing no" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_working_mkstemp="$gl_cross_guess_normal" ;;
esac
-# serial 38
+# serial 39
dnl Copyright (C) 2002-2003, 2005-2007, 2009-2023 Free Software Foundation,
dnl Inc.
dnl This file is free software; the Free Software Foundation
[gl_cv_func_working_mktime=yes],
[gl_cv_func_working_mktime=no],
[case "$host_os" in
- # Guess no on native Windows.
- mingw*) gl_cv_func_working_mktime="guessing no" ;;
- *) gl_cv_func_working_mktime="$gl_cross_guess_normal" ;;
+ # Guess no on native Windows.
+ mingw* | windows*) gl_cv_func_working_mktime="guessing no" ;;
+ *) gl_cv_func_working_mktime="$gl_cross_guess_normal" ;;
esac
])
fi
with the algorithmic workarounds.])
fi
case "$host_os" in
- mingw*)
+ mingw* | windows*)
REPLACE_MKTIME=1
AC_DEFINE([NEED_MKTIME_WINDOWS], [1],
[Define if the compilation of mktime.c should define 'mktime'
-# modf.m4 serial 10
+# modf.m4 serial 11
dnl Copyright (C) 2011-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_modf_ieee="guessing yes" ;;
# Guess yes on MSVC, no on mingw.
- mingw*) AC_EGREP_CPP([Known], [
+ windows*-gnu*) gl_cv_func_modf_ieee="guessing no" ;;
+ windows*-msvc*) gl_cv_func_modf_ieee="guessing yes" ;;
+ mingw* | windows*) AC_EGREP_CPP([Known], [
#ifdef _MSC_VER
Known
#endif
-# modff.m4 serial 12
+# modff.m4 serial 13
dnl Copyright (C) 2011-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_modff_ieee="guessing yes" ;;
# Guess yes on MSVC, no on mingw.
- mingw*) AC_EGREP_CPP([Known], [
+ windows*-gnu*) gl_cv_func_modff_ieee="guessing no" ;;
+ windows*-msvc*) gl_cv_func_modff_ieee="guessing yes" ;;
+ mingw* | windows*) AC_EGREP_CPP([Known], [
#ifdef _MSC_VER
Known
#endif
-# modfl.m4 serial 9
+# modfl.m4 serial 10
dnl Copyright (C) 2011-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_modfl_ieee="guessing yes" ;;
# Guess yes on MSVC, no on mingw.
- mingw*) AC_EGREP_CPP([Known], [
+ windows*-gnu*) gl_cv_func_modfl_ieee="guessing no" ;;
+ windows*-msvc*) gl_cv_func_modfl_ieee="guessing yes" ;;
+ mingw* | windows*) AC_EGREP_CPP([Known], [
#ifdef _MSC_VER
Known
#endif
-# mprotect.m4 serial 2
+# mprotect.m4 serial 3
dnl Copyright (C) 1993-2023 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License as published by the Free Software Foundation;
darwin* | freebsd* | dragonfly* | midnightbsd* | netbsd* | openbsd* | \
aix* | hpux* | irix* | solaris* | cygwin*)
gl_cv_func_mprotect_works="guessing yes" ;;
- mingw*)
+ mingw* | windows*)
gl_cv_func_mprotect_works="guessing no" ;;
*)
dnl If we don't know, obey --enable-cross-guesses.
-# serial 44
+# serial 45
dnl From Jim Meyering.
dnl Check for the nanosleep function.
*) gl_cv_func_nanosleep=no ;;
esac],
[case "$host_os" in
- linux*) # Guess it halfway works when the kernel is Linux.
+ # Guess it halfway works when the kernel is Linux.
+ linux*)
gl_cv_func_nanosleep='guessing no (mishandles large arguments)' ;;
- mingw*) # Guess no on native Windows.
+ # Guess no on native Windows.
+ mingw* | windows*)
gl_cv_func_nanosleep='guessing no' ;;
- *) # If we don't know, obey --enable-cross-guesses.
+ # If we don't know, obey --enable-cross-guesses.
+ *)
gl_cv_func_nanosleep="$gl_cross_guess_normal" ;;
esac
])
-# nonblocking.m4 serial 3
+# nonblocking.m4 serial 4
dnl Copyright (C) 2011-2023 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_REQUIRE([AC_CANONICAL_HOST])
case "$host_os" in
- mingw*) gl_cv_have_nonblocking=no ;;
- *) gl_cv_have_nonblocking=yes ;;
+ mingw* | windows*) gl_cv_have_nonblocking=no ;;
+ *) gl_cv_have_nonblocking=yes ;;
esac
case "$host_os" in
- mingw*) gl_cv_have_open_O_NONBLOCK=no ;;
- *) gl_cv_have_open_O_NONBLOCK=yes ;;
+ mingw* | windows*) gl_cv_have_open_O_NONBLOCK=no ;;
+ *) gl_cv_have_open_O_NONBLOCK=yes ;;
esac
])
-# open.m4 serial 15
+# open.m4 serial 16
dnl Copyright (C) 2007-2023 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_REQUIRE([AC_CANONICAL_HOST])
AC_REQUIRE([gl_PREPROC_O_CLOEXEC])
case "$host_os" in
- mingw* | pw*)
+ mingw* | windows* | pw*)
REPLACE_OPEN=1
;;
*)
-# perror.m4 serial 12
+# perror.m4 serial 13
dnl Copyright (C) 2008-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_perror_works="guessing yes" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_perror_works="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_perror_works="guessing yes" ;;
# Otherwise obey --enable-cross-guesses.
*) gl_cv_func_perror_works="$gl_cross_guess_normal" ;;
esac
-# poll.m4 serial 21
+# poll.m4 serial 22
dnl Copyright (c) 2003, 2005-2007, 2009-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
POLL_LIB="$LIBSOCKET"
if test $HAVE_POLL = 0 || test $REPLACE_POLL = 1; then
case "$host_os" in
- mingw*)
+ mingw* | windows*)
dnl On the MSVC platform, the function MsgWaitForMultipleObjects
dnl (used in lib/poll.c) requires linking with -luser32. On mingw,
dnl it is implicit.
-# popen.m4 serial 6
+# popen.m4 serial 7
dnl Copyright (C) 2009-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[gl_cv_func_popen_works=yes],
[gl_cv_func_popen_works=no],
[case "$host_os" in
- # For now, only cygwin 1.5 or older is known to be broken.
- cygwin*) gl_cv_func_popen_works="guessing no" ;;
- # Guess yes on native Windows.
- mingw*) gl_cv_func_popen_works="guessing yes" ;;
- *) gl_cv_func_popen_works="guessing yes" ;;
+ # For now, only cygwin 1.5 or older is known to be broken.
+ cygwin*) gl_cv_func_popen_works="guessing no" ;;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_func_popen_works="guessing yes" ;;
+ *) gl_cv_func_popen_works="guessing yes" ;;
esac
])
])
-# posix_spawn.m4 serial 23
+# posix_spawn.m4 serial 24
dnl Copyright (C) 2008-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
*-musl* | midipix*) gl_cv_func_posix_spawn_file_actions_addclose_works="guessing no" ;;
solaris*) gl_cv_func_posix_spawn_file_actions_addclose_works="guessing no" ;;
# Guess no on native Windows.
- mingw*) gl_cv_func_posix_spawn_file_actions_addclose_works="guessing no" ;;
+ mingw* | windows*) gl_cv_func_posix_spawn_file_actions_addclose_works="guessing no" ;;
*) gl_cv_func_posix_spawn_file_actions_addclose_works="guessing yes" ;;
esac
])
*-musl* | midipix*) gl_cv_func_posix_spawn_file_actions_adddup2_works="guessing no";;
solaris*) gl_cv_func_posix_spawn_file_actions_adddup2_works="guessing no";;
# Guess no on native Windows.
- mingw*) gl_cv_func_posix_spawn_file_actions_adddup2_works="guessing no" ;;
+ mingw* | windows*) gl_cv_func_posix_spawn_file_actions_adddup2_works="guessing no" ;;
*) gl_cv_func_posix_spawn_file_actions_adddup2_works="guessing yes";;
esac
])
*-musl* | midipix*) gl_cv_func_posix_spawn_file_actions_addopen_works="guessing no";;
solaris*) gl_cv_func_posix_spawn_file_actions_addopen_works="guessing no";;
# Guess no on native Windows.
- mingw*) gl_cv_func_posix_spawn_file_actions_addopen_works="guessing no" ;;
+ mingw* | windows*) gl_cv_func_posix_spawn_file_actions_addopen_works="guessing no" ;;
*) gl_cv_func_posix_spawn_file_actions_addopen_works="guessing yes";;
esac
])
-# printf.m4 serial 84
+# printf.m4 serial 85
dnl Copyright (C) 2003, 2007-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
linux*-android*) gl_cv_func_printf_sizes_c99="guessing yes";;
changequote([,])dnl
# Guess yes on MSVC, no on mingw.
- mingw*) AC_EGREP_CPP([Known], [
+ windows*-gnu*) gl_cv_func_printf_sizes_c99="guessing no" ;;
+ windows*-msvc*) gl_cv_func_printf_sizes_c99="guessing yes" ;;
+ mingw* | windows*) AC_EGREP_CPP([Known], [
#ifdef _MSC_VER
Known
#endif
# Guess no on Android.
linux*-android*) gl_cv_func_printf_sizes_c23="guessing no";;
# Guess no on native Windows.
- mingw*) gl_cv_func_printf_sizes_c23="guessing no";;
+ mingw* | windows*) gl_cv_func_printf_sizes_c23="guessing no";;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_printf_sizes_c23="$gl_cross_guess_normal";;
esac
[gl_cv_func_printf_long_double=yes],
[gl_cv_func_printf_long_double=no],
[case "$host_os" in
- # Guess no on BeOS.
- beos*) gl_cv_func_printf_long_double="guessing no";;
- # Guess yes on Android.
- linux*-android*) gl_cv_func_printf_long_double="guessing yes";;
- # Guess yes on MSVC, no on mingw.
- mingw*) AC_EGREP_CPP([Known], [
+ # Guess no on BeOS.
+ beos*) gl_cv_func_printf_long_double="guessing no";;
+ # Guess yes on Android.
+ linux*-android*) gl_cv_func_printf_long_double="guessing yes";;
+ # Guess yes on MSVC, no on mingw.
+ windows*-gnu*) gl_cv_func_printf_long_double="guessing no" ;;
+ windows*-msvc*) gl_cv_func_printf_long_double="guessing yes" ;;
+ mingw* | windows*) AC_EGREP_CPP([Known], [
#ifdef _MSC_VER
Known
#endif
- ],
- [gl_cv_func_printf_long_double="guessing yes"],
- [gl_cv_func_printf_long_double="guessing no"])
- ;;
- *) gl_cv_func_printf_long_double="guessing yes";;
+ ],
+ [gl_cv_func_printf_long_double="guessing yes"],
+ [gl_cv_func_printf_long_double="guessing no"])
+ ;;
+ *) gl_cv_func_printf_long_double="guessing yes";;
esac
])
])
linux*-android*) gl_cv_func_printf_infinite="guessing no";;
changequote([,])dnl
# Guess yes on MSVC, no on mingw.
- mingw*) AC_EGREP_CPP([Known], [
+ windows*-gnu*) gl_cv_func_printf_infinite="guessing no" ;;
+ windows*-msvc*) gl_cv_func_printf_infinite="guessing yes" ;;
+ mingw* | windows*) AC_EGREP_CPP([Known], [
#ifdef _MSC_VER
Known
#endif
linux*-android*) gl_cv_func_printf_infinite_long_double="guessing no";;
changequote([,])dnl
# Guess yes on MSVC, no on mingw.
- mingw*) AC_EGREP_CPP([Known], [
+ windows*-gnu*) gl_cv_func_printf_infinite_long_double="guessing no" ;;
+ windows*-msvc*) gl_cv_func_printf_infinite_long_double="guessing yes" ;;
+ mingw* | windows*) AC_EGREP_CPP([Known], [
#ifdef _MSC_VER
Known
#endif
# Guess no on Android.
linux*-android*) gl_cv_func_printf_directive_a="guessing no";;
# Guess no on native Windows.
- mingw*) gl_cv_func_printf_directive_a="guessing no";;
+ mingw* | windows*) gl_cv_func_printf_directive_a="guessing no";;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_printf_directive_a="$gl_cross_guess_normal";;
esac
# Guess no on Android.
linux*-android*) gl_cv_func_printf_directive_b="guessing no";;
# Guess no on native Windows.
- mingw*) gl_cv_func_printf_directive_b="guessing no";;
+ mingw* | windows*) gl_cv_func_printf_directive_b="guessing no";;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_printf_directive_b="$gl_cross_guess_normal";;
esac
# Guess no on Android.
linux*-android*) gl_cv_func_printf_directive_uppercase_b="guessing no";;
# Guess no on native Windows.
- mingw*) gl_cv_func_printf_directive_uppercase_b="guessing no";;
+ mingw* | windows*) gl_cv_func_printf_directive_uppercase_b="guessing no";;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_printf_directive_uppercase_b="$gl_cross_guess_normal";;
esac
linux*-android*) gl_cv_func_printf_directive_f="guessing no";;
changequote([,])dnl
# Guess yes on MSVC, no on mingw.
- mingw*) AC_EGREP_CPP([Known], [
+ windows*-gnu*) gl_cv_func_printf_directive_f="guessing no" ;;
+ windows*-msvc*) gl_cv_func_printf_directive_f="guessing yes" ;;
+ mingw* | windows*) AC_EGREP_CPP([Known], [
#ifdef _MSC_VER
Known
#endif
[gl_cv_func_printf_directive_n=yes],
[gl_cv_func_printf_directive_n=no],
[case "$host_os" in
- # Guess no on glibc when _FORTIFY_SOURCE >= 2.
- *-gnu* | gnu*) AC_COMPILE_IFELSE(
- [AC_LANG_SOURCE(
- [[#if _FORTIFY_SOURCE >= 2
- error fail
- #endif
- ]])],
- [gl_cv_func_printf_directive_n="guessing yes"],
- [gl_cv_func_printf_directive_n="guessing no"])
- ;;
- # Guess no on Android.
- linux*-android*) gl_cv_func_printf_directive_n="guessing no";;
- # Guess no on native Windows.
- mingw*) gl_cv_func_printf_directive_n="guessing no";;
- *) gl_cv_func_printf_directive_n="guessing yes";;
+ # Guess no on glibc when _FORTIFY_SOURCE >= 2.
+ *-gnu* | gnu*) AC_COMPILE_IFELSE(
+ [AC_LANG_SOURCE(
+ [[#if _FORTIFY_SOURCE >= 2
+ error fail
+ #endif
+ ]])],
+ [gl_cv_func_printf_directive_n="guessing yes"],
+ [gl_cv_func_printf_directive_n="guessing no"])
+ ;;
+ # Guess no on Android.
+ linux*-android*) gl_cv_func_printf_directive_n="guessing no";;
+ # Guess no on native Windows.
+ mingw* | windows*) gl_cv_func_printf_directive_n="guessing no";;
+ *) gl_cv_func_printf_directive_n="guessing yes";;
esac
])
])
[
changequote(,)dnl
case "$host_os" in
- # Guess yes on OpenBSD >= 6.0.
- openbsd[1-5].*) gl_cv_func_printf_directive_ls="guessing no";;
- openbsd*) gl_cv_func_printf_directive_ls="guessing yes";;
- irix*) gl_cv_func_printf_directive_ls="guessing no";;
- solaris*) gl_cv_func_printf_directive_ls="guessing no";;
- cygwin*) gl_cv_func_printf_directive_ls="guessing no";;
- beos* | haiku*) gl_cv_func_printf_directive_ls="guessing no";;
- # Guess no on Android.
- linux*-android*) gl_cv_func_printf_directive_ls="guessing no";;
- # Guess yes on native Windows.
- mingw*) gl_cv_func_printf_directive_ls="guessing yes";;
- *) gl_cv_func_printf_directive_ls="guessing yes";;
+ # Guess yes on OpenBSD >= 6.0.
+ openbsd[1-5].*) gl_cv_func_printf_directive_ls="guessing no";;
+ openbsd*) gl_cv_func_printf_directive_ls="guessing yes";;
+ irix*) gl_cv_func_printf_directive_ls="guessing no";;
+ solaris*) gl_cv_func_printf_directive_ls="guessing no";;
+ cygwin*) gl_cv_func_printf_directive_ls="guessing no";;
+ beos* | haiku*) gl_cv_func_printf_directive_ls="guessing no";;
+ # Guess no on Android.
+ linux*-android*) gl_cv_func_printf_directive_ls="guessing no";;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_func_printf_directive_ls="guessing yes";;
+ *) gl_cv_func_printf_directive_ls="guessing yes";;
esac
changequote([,])dnl
])
changequote(,)dnl
case "$host_os" in
netbsd[1-3]* | netbsdelf[1-3]* | netbsdaout[1-3]* | netbsdcoff[1-3]*)
- gl_cv_func_printf_positions="guessing no";;
- beos*) gl_cv_func_printf_positions="guessing no";;
- # Guess yes on Android.
- linux*-android*) gl_cv_func_printf_positions="guessing yes";;
- # Guess no on native Windows.
- mingw* | pw*) gl_cv_func_printf_positions="guessing no";;
- *) gl_cv_func_printf_positions="guessing yes";;
+ gl_cv_func_printf_positions="guessing no";;
+ beos*)
+ gl_cv_func_printf_positions="guessing no";;
+ # Guess yes on Android.
+ linux*-android*)
+ gl_cv_func_printf_positions="guessing yes";;
+ # Guess no on native Windows.
+ mingw* | windows* | pw*)
+ gl_cv_func_printf_positions="guessing no";;
+ *)
+ gl_cv_func_printf_positions="guessing yes";;
esac
changequote([,])dnl
])
[
changequote(,)dnl
case "$host_os" in
- cygwin*) gl_cv_func_printf_flag_grouping="guessing no";;
- netbsd*) gl_cv_func_printf_flag_grouping="guessing no";;
- # Guess no on Android.
- linux*-android*) gl_cv_func_printf_flag_grouping="guessing no";;
- # Guess no on native Windows.
- mingw* | pw*) gl_cv_func_printf_flag_grouping="guessing no";;
- *) gl_cv_func_printf_flag_grouping="guessing yes";;
+ cygwin*) gl_cv_func_printf_flag_grouping="guessing no";;
+ netbsd*) gl_cv_func_printf_flag_grouping="guessing no";;
+ # Guess no on Android.
+ linux*-android*) gl_cv_func_printf_flag_grouping="guessing no";;
+ # Guess no on native Windows.
+ mingw* | windows* | pw*) gl_cv_func_printf_flag_grouping="guessing no";;
+ *) gl_cv_func_printf_flag_grouping="guessing yes";;
esac
changequote([,])dnl
])
[
changequote(,)dnl
case "$host_os" in
- # Guess yes on HP-UX 11.
- hpux11*) gl_cv_func_printf_flag_leftadjust="guessing yes";;
- # Guess no on HP-UX 10 and older.
- hpux*) gl_cv_func_printf_flag_leftadjust="guessing no";;
- # Guess yes on Android.
- linux*-android*) gl_cv_func_printf_flag_leftadjust="guessing yes";;
- # Guess yes on native Windows.
- mingw*) gl_cv_func_printf_flag_leftadjust="guessing yes";;
- # Guess yes otherwise.
- *) gl_cv_func_printf_flag_leftadjust="guessing yes";;
+ # Guess yes on HP-UX 11.
+ hpux11*) gl_cv_func_printf_flag_leftadjust="guessing yes";;
+ # Guess no on HP-UX 10 and older.
+ hpux*) gl_cv_func_printf_flag_leftadjust="guessing no";;
+ # Guess yes on Android.
+ linux*-android*) gl_cv_func_printf_flag_leftadjust="guessing yes";;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_func_printf_flag_leftadjust="guessing yes";;
+ # Guess yes otherwise.
+ *) gl_cv_func_printf_flag_leftadjust="guessing yes";;
esac
changequote([,])dnl
])
# Guess no on Android.
linux*-android*) gl_cv_func_printf_flag_zero="guessing no";;
# Guess no on native Windows.
- mingw*) gl_cv_func_printf_flag_zero="guessing no";;
+ mingw* | windows*) gl_cv_func_printf_flag_zero="guessing no";;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_printf_flag_zero="$gl_cross_guess_normal";;
esac
changequote(,)dnl
case "$host_os" in
# Guess no only on Solaris, native Windows, and BeOS systems.
- solaris*) gl_cv_func_printf_precision="guessing no" ;;
- mingw* | pw*) gl_cv_func_printf_precision="guessing no" ;;
- beos*) gl_cv_func_printf_precision="guessing no" ;;
- # Guess yes on Android.
- linux*-android*) gl_cv_func_printf_precision="guessing yes" ;;
- *) gl_cv_func_printf_precision="guessing yes" ;;
+ solaris*) gl_cv_func_printf_precision="guessing no" ;;
+ mingw* | windows* | pw*) gl_cv_func_printf_precision="guessing no" ;;
+ beos*) gl_cv_func_printf_precision="guessing no" ;;
+ # Guess yes on Android.
+ linux*-android*) gl_cv_func_printf_precision="guessing yes" ;;
+ *) gl_cv_func_printf_precision="guessing yes" ;;
esac
changequote([,])dnl
])
# Guess yes on Android.
linux*-android*) gl_cv_func_snprintf_truncation_c99="guessing yes";;
# Guess no on native Windows.
- mingw*) gl_cv_func_snprintf_truncation_c99="guessing no";;
+ mingw* | windows*) gl_cv_func_snprintf_truncation_c99="guessing no";;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_snprintf_truncation_c99="$gl_cross_guess_normal";;
esac
linux*-android*) gl_cv_func_snprintf_retval_c99="guessing yes";;
changequote([,])dnl
# Guess yes on MSVC, no on mingw.
- mingw*) AC_EGREP_CPP([Known], [
+ windows*-gnu*) gl_cv_func_snprintf_retval_c99="guessing no" ;;
+ windows*-msvc*) gl_cv_func_snprintf_retval_c99="guessing yes" ;;
+ mingw* | windows*) AC_EGREP_CPP([Known], [
#ifdef _MSC_VER
Known
#endif
# Guess no on Android.
linux*-android*) gl_cv_func_snprintf_directive_n="guessing no";;
# Guess no on native Windows.
- mingw*) gl_cv_func_snprintf_directive_n="guessing no";;
+ mingw* | windows*) gl_cv_func_snprintf_directive_n="guessing no";;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_snprintf_directive_n="$gl_cross_guess_normal";;
changequote([,])dnl
[gl_cv_func_snprintf_size1=yes],
[gl_cv_func_snprintf_size1=no],
[case "$host_os" in
- # Guess yes on Android.
- linux*-android*) gl_cv_func_snprintf_size1="guessing yes" ;;
- # Guess yes on native Windows.
- mingw*) gl_cv_func_snprintf_size1="guessing yes" ;;
- *) gl_cv_func_snprintf_size1="guessing yes" ;;
+ # Guess yes on Android.
+ linux*-android*) gl_cv_func_snprintf_size1="guessing yes" ;;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_func_snprintf_size1="guessing yes" ;;
+ *) gl_cv_func_snprintf_size1="guessing yes" ;;
esac
])
])
[
changequote(,)dnl
case "$host_os" in
- # Guess yes on glibc systems.
- *-gnu* | gnu*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
- # Guess yes on musl systems.
- *-musl* | midipix*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
- # Guess yes on FreeBSD >= 5.
- freebsd[1-4].*) gl_cv_func_vsnprintf_zerosize_c99="guessing no";;
- freebsd* | kfreebsd*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
- midnightbsd*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
- # Guess yes on Mac OS X >= 10.3.
- darwin[1-6].*) gl_cv_func_vsnprintf_zerosize_c99="guessing no";;
- darwin*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
- # Guess yes on Cygwin.
- cygwin*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
- # Guess yes on Solaris >= 2.6.
+ # Guess yes on glibc systems.
+ *-gnu* | gnu*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
+ # Guess yes on musl systems.
+ *-musl* | midipix*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
+ # Guess yes on FreeBSD >= 5.
+ freebsd[1-4].*) gl_cv_func_vsnprintf_zerosize_c99="guessing no";;
+ freebsd* | kfreebsd*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
+ midnightbsd*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
+ # Guess yes on Mac OS X >= 10.3.
+ darwin[1-6].*) gl_cv_func_vsnprintf_zerosize_c99="guessing no";;
+ darwin*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
+ # Guess yes on Cygwin.
+ cygwin*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
+ # Guess yes on Solaris >= 2.6.
solaris2.[0-5] | solaris2.[0-5].*)
- gl_cv_func_vsnprintf_zerosize_c99="guessing no";;
- solaris*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
- # Guess yes on AIX >= 4.
- aix[1-3]*) gl_cv_func_vsnprintf_zerosize_c99="guessing no";;
- aix*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
- # Guess yes on IRIX >= 6.5.
- irix6.5) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
- # Guess yes on NetBSD >= 3.
+ gl_cv_func_vsnprintf_zerosize_c99="guessing no";;
+ solaris*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
+ # Guess yes on AIX >= 4.
+ aix[1-3]*) gl_cv_func_vsnprintf_zerosize_c99="guessing no";;
+ aix*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
+ # Guess yes on IRIX >= 6.5.
+ irix6.5) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
+ # Guess yes on NetBSD >= 3.
netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*)
- gl_cv_func_vsnprintf_zerosize_c99="guessing no";;
- netbsd*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
- # Guess yes on BeOS.
- beos*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
- # Guess yes on Android.
- linux*-android*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
- # Guess yes on native Windows.
- mingw* | pw*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
- # If we don't know, obey --enable-cross-guesses.
- *) gl_cv_func_vsnprintf_zerosize_c99="$gl_cross_guess_normal";;
+ gl_cv_func_vsnprintf_zerosize_c99="guessing no";;
+ netbsd*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
+ # Guess yes on BeOS.
+ beos*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
+ # Guess yes on Android.
+ linux*-android*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
+ # Guess yes on native Windows.
+ mingw* | windows* | pw*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
+ # If we don't know, obey --enable-cross-guesses.
+ *) gl_cv_func_vsnprintf_zerosize_c99="$gl_cross_guess_normal";;
esac
changequote([,])dnl
])
[gl_cv_func_swprintf_works=yes],
[gl_cv_func_swprintf_works=no],
[case "$host_os" in
- # Guess yes on glibc systems.
- *-gnu* | gnu*) gl_cv_func_swprintf_works="guessing yes";;
- # Guess no on musl systems.
- *-musl* | midipix*) gl_cv_func_swprintf_works="guessing no";;
- # Guess no on FreeBSD, NetBSD, OpenBSD, macOS, AIX.
+ # Guess yes on glibc systems.
+ *-gnu* | gnu*) gl_cv_func_swprintf_works="guessing yes";;
+ # Guess no on musl systems.
+ *-musl* | midipix*) gl_cv_func_swprintf_works="guessing no";;
+ # Guess no on FreeBSD, NetBSD, OpenBSD, macOS, AIX.
freebsd* | midnightbsd* | netbsd* | openbsd* | darwin* | aix*)
- gl_cv_func_swprintf_works="guessing no";;
- # Guess no on native Windows.
- mingw* | pw*) gl_cv_func_swprintf_works="guessing no";;
- # If we don't know, obey --enable-cross-guesses.
- *) gl_cv_func_swprintf_works="$gl_cross_guess_normal";;
+ gl_cv_func_swprintf_works="guessing no";;
+ # Guess no on native Windows.
+ mingw* | windows* | pw*) gl_cv_func_swprintf_works="guessing no";;
+ # If we don't know, obey --enable-cross-guesses.
+ *) gl_cv_func_swprintf_works="$gl_cross_guess_normal";;
esac
])
])
[gl_cv_func_swprintf_directive_la=yes],
[gl_cv_func_swprintf_directive_la=no],
[case "$host_os" in
- # Guess yes on glibc >= 2.17 systems.
+ # Guess yes on glibc >= 2.17 systems.
*-gnu* | gnu*)
AC_EGREP_CPP([Unlucky], [
#include <features.h>
[gl_cv_func_swprintf_directive_la="guessing yes"],
[gl_cv_func_swprintf_directive_la="guessing no"])
;;
- # Guess yes on musl systems.
- *-musl* | midipix*) gl_cv_func_swprintf_directive_la="guessing yes";;
- # Guess yes on Android.
- linux*-android*) gl_cv_func_swprintf_directive_la="guessing yes";;
- # Guess no on native Windows.
- mingw*) gl_cv_func_swprintf_directive_la="guessing no";;
- # If we don't know, obey --enable-cross-guesses.
- *) gl_cv_func_swprintf_directive_la="$gl_cross_guess_normal";;
+ # Guess yes on musl systems.
+ *-musl* | midipix*) gl_cv_func_swprintf_directive_la="guessing yes";;
+ # Guess yes on Android.
+ linux*-android*) gl_cv_func_swprintf_directive_la="guessing yes";;
+ # Guess no on native Windows.
+ mingw* | windows*) gl_cv_func_swprintf_directive_la="guessing no";;
+ # If we don't know, obey --enable-cross-guesses.
+ *) gl_cv_func_swprintf_directive_la="$gl_cross_guess_normal";;
esac
])
])
[gl_cv_func_swprintf_directive_lc=yes],
[gl_cv_func_swprintf_directive_lc=no],
[case "$host_os" in
- # Guess yes on glibc systems.
- *-gnu* | gnu*) gl_cv_func_swprintf_directive_lc="guessing yes";;
- # Guess no on musl systems.
- *-musl* | midipix*) gl_cv_func_swprintf_directive_lc="guessing no";;
- # Guess no on Android.
- linux*-android*) gl_cv_func_swprintf_directive_lc="guessing no";;
- # Guess yes on native Windows.
- mingw*) gl_cv_func_swprintf_directive_lc="guessing yes";;
- # If we don't know, obey --enable-cross-guesses.
- *) gl_cv_func_swprintf_directive_lc="$gl_cross_guess_normal";;
+ # Guess yes on glibc systems.
+ *-gnu* | gnu*) gl_cv_func_swprintf_directive_lc="guessing yes";;
+ # Guess no on musl systems.
+ *-musl* | midipix*) gl_cv_func_swprintf_directive_lc="guessing no";;
+ # Guess no on Android.
+ linux*-android*) gl_cv_func_swprintf_directive_lc="guessing no";;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_func_swprintf_directive_lc="guessing yes";;
+ # If we don't know, obey --enable-cross-guesses.
+ *) gl_cv_func_swprintf_directive_lc="$gl_cross_guess_normal";;
esac
])
])
-# pthread-cond.m4 serial 2
+# pthread-cond.m4 serial 3
dnl Copyright (C) 2019-2023 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_REQUIRE([gl_PTHREAD_H])
AC_REQUIRE([AC_CANONICAL_HOST])
- if { case "$host_os" in mingw*) true;; *) false;; esac; } \
+ if { case "$host_os" in mingw* | windows*) true;; *) false;; esac; } \
&& test $gl_threads_api = windows; then
dnl Choose function names that don't conflict with the mingw-w64 winpthreads
dnl library.
-# pthread-mutex.m4 serial 3
+# pthread-mutex.m4 serial 4
dnl Copyright (C) 2019-2023 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_REQUIRE([gl_PTHREAD_H])
AC_REQUIRE([AC_CANONICAL_HOST])
- if { case "$host_os" in mingw*) true;; *) false;; esac; } \
+ if { case "$host_os" in mingw* | windows*) true;; *) false;; esac; } \
&& test $gl_threads_api = windows; then
dnl Choose function names that don't conflict with the mingw-w64 winpthreads
dnl library.
-# pthread-once.m4 serial 1
+# pthread-once.m4 serial 2
dnl Copyright (C) 2019-2023 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_REQUIRE([gl_PTHREAD_H])
AC_REQUIRE([AC_CANONICAL_HOST])
- if { case "$host_os" in mingw*) true;; *) false;; esac; } \
+ if { case "$host_os" in mingw* | windows*) true;; *) false;; esac; } \
&& test $gl_threads_api = windows; then
dnl Choose function names that don't conflict with the mingw-w64 winpthreads
dnl library.
-# pthread-rwlock.m4 serial 2
+# pthread-rwlock.m4 serial 3
dnl Copyright (C) 2019-2023 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_REQUIRE([gl_PTHREAD_H])
AC_REQUIRE([AC_CANONICAL_HOST])
- if { case "$host_os" in mingw*) true;; *) false;; esac; } \
+ if { case "$host_os" in mingw* | windows*) true;; *) false;; esac; } \
&& test $gl_threads_api = windows; then
dnl Choose function names that don't conflict with the mingw-w64 winpthreads
dnl library.
-# pthread-spin.m4 serial 2
+# pthread-spin.m4 serial 3
dnl Copyright (C) 2019-2023 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_REQUIRE([gl_PTHREAD_H])
AC_REQUIRE([AC_CANONICAL_HOST])
- if { case "$host_os" in mingw*) true;; *) false;; esac; } \
+ if { case "$host_os" in mingw* | windows*) true;; *) false;; esac; } \
&& test $gl_threads_api = windows; then
dnl Choose function names that don't conflict with the mingw-w64 winpthreads
dnl library.
-# pthread-thread.m4 serial 2
+# pthread-thread.m4 serial 3
dnl Copyright (C) 2019-2023 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_REQUIRE([gl_PTHREAD_H])
AC_REQUIRE([AC_CANONICAL_HOST])
- if { case "$host_os" in mingw*) true;; *) false;; esac; } \
+ if { case "$host_os" in mingw* | windows*) true;; *) false;; esac; } \
&& test $gl_threads_api = windows; then
dnl Choose function names that don't conflict with the mingw-w64 winpthreads
dnl library.
-# pthread-tss.m4 serial 1
+# pthread-tss.m4 serial 2
dnl Copyright (C) 2019-2023 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_REQUIRE([gl_PTHREAD_H])
AC_REQUIRE([AC_CANONICAL_HOST])
- if { case "$host_os" in mingw*) true;; *) false;; esac; } \
+ if { case "$host_os" in mingw* | windows*) true;; *) false;; esac; } \
&& test $gl_threads_api = windows; then
dnl Choose function names that don't conflict with the mingw-w64 winpthreads
dnl library.
-# pthread_h.m4 serial 8
+# pthread_h.m4 serial 9
dnl Copyright (C) 2009-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl ignore the <pthread.h> from the mingw-w64 winpthreads library.
m4_ifdef([gl_][THREADLIB], [
AC_REQUIRE([gl_][THREADLIB])
- if { case "$host_os" in mingw*) true;; *) false;; esac; } \
+ if { case "$host_os" in mingw* | windows*) true;; *) false;; esac; } \
&& test $gl_threads_api = windows; then
HAVE_PTHREAD_H=0
fi
-# pthread_rwlock_rdlock.m4 serial 5
+# pthread_rwlock_rdlock.m4 serial 6
dnl Copyright (C) 2017-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
*-android*) gl_cv_pthread_rwlock_rdlock_prefer_writer="guessing no" ;;
# Guess yes on native Windows with the mingw-w64 winpthreads library.
# Guess no on native Windows with the gnulib windows-rwlock module.
- mingw*) if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then
+ mingw* | windows*) if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then
gl_cv_pthread_rwlock_rdlock_prefer_writer="guessing yes"
else
gl_cv_pthread_rwlock_rdlock_prefer_writer="guessing no"
-# ptsname_r.m4 serial 8
+# ptsname_r.m4 serial 9
dnl Copyright (C) 2010-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[case "$host_os" in
irix* | solaris*)
gl_cv_func_isatty_sets_errno="guessing no" ;;
- mingw*) # Guess yes on mingw, no on MSVC.
+ # Guess yes on mingw, no on MSVC.
+ mingw* | windows*)
AC_EGREP_CPP([Known], [
#ifdef __MINGW32__
Known
-# putenv.m4 serial 26
+# putenv.m4 serial 27
dnl Copyright (C) 2002-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_svid_putenv="guessing yes" ;;
# Guess no on native Windows.
- mingw*) gl_cv_func_svid_putenv="guessing no" ;;
+ mingw* | windows*) gl_cv_func_svid_putenv="guessing no" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_svid_putenv="$gl_cross_guess_normal" ;;
esac
-# realloc.m4 serial 27
+# realloc.m4 serial 28
dnl Copyright (C) 2007, 2009-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on platforms where we know the result.
*-gnu* | freebsd* | netbsd* | openbsd* | bitrig* \
| gnu* | *-musl* | midipix* | midnightbsd* \
- | hpux* | solaris* | cygwin* | mingw* | msys* )
+ | hpux* | solaris* | cygwin* | mingw* | windows* | msys* )
ac_cv_func_realloc_0_nonnull="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) ac_cv_func_realloc_0_nonnull="$gl_cross_guess_normal" ;;
-# serial 74
+# serial 75
# Copyright (C) 1996-2001, 2003-2023 Free Software Foundation, Inc.
#
[gl_cv_func_re_compile_pattern_working=yes],
[gl_cv_func_re_compile_pattern_working=no],
[case "$host_os" in
- # Guess no on native Windows.
- mingw*) gl_cv_func_re_compile_pattern_working="guessing no" ;;
- # Otherwise obey --enable-cross-guesses.
- *) gl_cv_func_re_compile_pattern_working="$gl_cross_guess_normal" ;;
+ # Guess no on native Windows.
+ mingw* | windows*) gl_cv_func_re_compile_pattern_working="guessing no" ;;
+ # Otherwise obey --enable-cross-guesses.
+ *) gl_cv_func_re_compile_pattern_working="$gl_cross_guess_normal" ;;
esac
])
])
-# relocatable.m4 serial 24
+# relocatable.m4 serial 25
dnl Copyright (C) 2003, 2005-2007, 2009-2023 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_CHECK_HEADERS([mach-o/dyld.h])
AC_CHECK_FUNCS([_NSGetExecutablePath])
case "$host_os" in
- mingw*) is_noop=yes ;;
+ mingw* | windows*) is_noop=yes ;;
# For the platforms that support $ORIGIN, see
# <https://lekensteyn.nl/rpath.html>.
# glibc systems, Linux with musl libc: yes. Android: no.
-# remainder.m4 serial 10
+# remainder.m4 serial 11
dnl Copyright (C) 2012-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_remainder_ieee="guessing yes" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_remainder_ieee="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_remainder_ieee="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_remainder_ieee="$gl_cross_guess_normal" ;;
esac
-# remainderf.m4 serial 14
+# remainderf.m4 serial 15
dnl Copyright (C) 2012-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_remainderf_ieee="guessing yes" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_remainderf_ieee="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_remainderf_ieee="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_remainderf_ieee="$gl_cross_guess_normal" ;;
esac
[gl_cv_func_remainderf_works=yes],
[gl_cv_func_remainderf_works=no],
[case "$host_os" in
- irix*) gl_cv_func_remainderf_works="guessing no" ;;
- # Guess yes on native Windows.
- mingw*) gl_cv_func_remainderf_works="guessing yes" ;;
- *) gl_cv_func_remainderf_works="guessing yes" ;;
+ irix*) gl_cv_func_remainderf_works="guessing no" ;;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_func_remainderf_works="guessing yes" ;;
+ *) gl_cv_func_remainderf_works="guessing yes" ;;
esac
])
])
-# remainderl.m4 serial 14
+# remainderl.m4 serial 15
dnl Copyright (C) 2012-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_remainderl_ieee="guessing yes" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_remainderl_ieee="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_remainderl_ieee="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_remainderl_ieee="$gl_cross_guess_normal" ;;
esac
# Guess no on OpenBSD.
openbsd*) gl_cv_func_remainderl_works="guessing no" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_remainderl_works="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_remainderl_works="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_remainderl_works="$gl_cross_guess_normal" ;;
esac
-# remove.m4 serial 5
+# remove.m4 serial 6
dnl Copyright (C) 2009-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
]], [[return remove ("conftest.dir");]])],
[gl_cv_func_remove_dir_works=yes], [gl_cv_func_remove_dir_works=no],
[case $host_os in
- mingw*) gl_cv_func_remove_dir_works="guessing no";;
- *) gl_cv_func_remove_dir_works="guessing yes";;
+ mingw* | windows*) gl_cv_func_remove_dir_works="guessing no" ;;
+ *) gl_cv_func_remove_dir_works="guessing yes" ;;
esac])
rm -rf conftest.dir])
case $gl_cv_func_remove_dir_works in
-# serial 34
+# serial 35
# Copyright (C) 2001, 2003, 2005-2006, 2009-2023 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
[gl_cv_func_rename_slash_dst_works=no],
dnl When crosscompiling, assume rename is broken.
[case "$host_os" in
- # Guess yes on Linux systems.
- linux-* | linux) gl_cv_func_rename_slash_dst_works="guessing yes" ;;
- # Guess yes on systems that emulate the Linux system calls.
- midipix*) gl_cv_func_rename_slash_dst_works="guessing yes" ;;
- # Guess yes on glibc systems.
- *-gnu*) gl_cv_func_rename_slash_dst_works="guessing yes" ;;
- # Guess no on native Windows.
- mingw*) gl_cv_func_rename_slash_dst_works="guessing no" ;;
- # If we don't know, obey --enable-cross-guesses.
- *) gl_cv_func_rename_slash_dst_works="$gl_cross_guess_normal" ;;
+ # Guess yes on Linux systems.
+ linux-* | linux) gl_cv_func_rename_slash_dst_works="guessing yes" ;;
+ # Guess yes on systems that emulate the Linux system calls.
+ midipix*) gl_cv_func_rename_slash_dst_works="guessing yes" ;;
+ # Guess yes on glibc systems.
+ *-gnu*) gl_cv_func_rename_slash_dst_works="guessing yes" ;;
+ # Guess no on native Windows.
+ mingw* | windows*) gl_cv_func_rename_slash_dst_works="guessing no" ;;
+ # If we don't know, obey --enable-cross-guesses.
+ *) gl_cv_func_rename_slash_dst_works="$gl_cross_guess_normal" ;;
esac
])
rm -rf conftest.f conftest.f1 conftest.f2 conftest.d1 conftest.d2 conftest.lnk
[gl_cv_func_rename_slash_src_works=no],
dnl When crosscompiling, assume rename is broken.
[case "$host_os" in
- # Guess yes on Linux systems.
- linux-* | linux) gl_cv_func_rename_slash_src_works="guessing yes" ;;
- # Guess yes on systems that emulate the Linux system calls.
- midipix*) gl_cv_func_rename_slash_src_works="guessing yes" ;;
- # Guess yes on glibc systems.
- *-gnu*) gl_cv_func_rename_slash_src_works="guessing yes" ;;
- # Guess yes on native Windows.
- mingw*) gl_cv_func_rename_slash_src_works="guessing yes" ;;
- # If we don't know, obey --enable-cross-guesses.
- *) gl_cv_func_rename_slash_src_works="$gl_cross_guess_normal" ;;
+ # Guess yes on Linux systems.
+ linux-* | linux) gl_cv_func_rename_slash_src_works="guessing yes" ;;
+ # Guess yes on systems that emulate the Linux system calls.
+ midipix*) gl_cv_func_rename_slash_src_works="guessing yes" ;;
+ # Guess yes on glibc systems.
+ *-gnu*) gl_cv_func_rename_slash_src_works="guessing yes" ;;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_func_rename_slash_src_works="guessing yes" ;;
+ # If we don't know, obey --enable-cross-guesses.
+ *) gl_cv_func_rename_slash_src_works="$gl_cross_guess_normal" ;;
esac
])
rm -rf conftest.f conftest.f1 conftest.d1 conftest.d2 conftest.d3 conftest.lnk
else
dnl When crosscompiling, assume rename is broken.
case "$host_os" in
- # Guess yes on Linux systems.
- linux-* | linux) gl_cv_func_rename_link_works="guessing yes" ;;
- # Guess yes on systems that emulate the Linux system calls.
- midipix*) gl_cv_func_rename_link_works="guessing yes" ;;
- # Guess yes on glibc systems.
- *-gnu*) gl_cv_func_rename_link_works="guessing yes" ;;
- # Guess yes on native Windows.
- mingw*) gl_cv_func_rename_link_works="guessing yes" ;;
- # If we don't know, obey --enable-cross-guesses.
- *) gl_cv_func_rename_link_works="$gl_cross_guess_normal" ;;
+ # Guess yes on Linux systems.
+ linux-* | linux) gl_cv_func_rename_link_works="guessing yes" ;;
+ # Guess yes on systems that emulate the Linux system calls.
+ midipix*) gl_cv_func_rename_link_works="guessing yes" ;;
+ # Guess yes on glibc systems.
+ *-gnu*) gl_cv_func_rename_link_works="guessing yes" ;;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_func_rename_link_works="guessing yes" ;;
+ # If we don't know, obey --enable-cross-guesses.
+ *) gl_cv_func_rename_link_works="$gl_cross_guess_normal" ;;
esac
fi
else
[gl_cv_func_rename_dest_works=no],
dnl When crosscompiling, assume rename is broken.
[case "$host_os" in
- # Guess yes on Linux systems.
- linux-* | linux) gl_cv_func_rename_dest_works="guessing yes" ;;
- # Guess yes on glibc systems.
- *-gnu*) gl_cv_func_rename_dest_works="guessing yes" ;;
- # Guess no on native Windows.
- mingw*) gl_cv_func_rename_dest_works="guessing no" ;;
- # If we don't know, obey --enable-cross-guesses.
- *) gl_cv_func_rename_dest_works="$gl_cross_guess_normal" ;;
+ # Guess yes on Linux systems.
+ linux-* | linux) gl_cv_func_rename_dest_works="guessing yes" ;;
+ # Guess yes on glibc systems.
+ *-gnu*) gl_cv_func_rename_dest_works="guessing yes" ;;
+ # Guess no on native Windows.
+ mingw* | windows*) gl_cv_func_rename_dest_works="guessing no" ;;
+ # If we don't know, obey --enable-cross-guesses.
+ *) gl_cv_func_rename_dest_works="$gl_cross_guess_normal" ;;
esac
])
rm -rf conftest.f conftest.d1 conftest.d2
-# rintl.m4 serial 9
+# rintl.m4 serial 10
dnl Copyright (C) 2011-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_rintl_works="guessing yes" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_rintl_works="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_rintl_works="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_rintl_works="$gl_cross_guess_normal" ;;
esac
-# serial 15
+# serial 16
# Copyright (C) 2000-2001, 2005-2006, 2009-2023 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
[gl_cv_func_rmdir_errno_not_empty=`cat confdir2/errno`],
[gl_cv_func_rmdir_errno_not_empty='configure error in rmdir-errno.m4'],
[case "$host_os" in
- # Guess ENOTEMPTY = 41 on native Windows.
- mingw*) gl_cv_func_rmdir_errno_not_empty=ENOTEMPTY ;;
- *) gl_cv_func_rmdir_errno_not_empty=ENOTEMPTY ;;
+ # Guess ENOTEMPTY = 41 on native Windows.
+ mingw* | windows*) gl_cv_func_rmdir_errno_not_empty=ENOTEMPTY ;;
+ *) gl_cv_func_rmdir_errno_not_empty=ENOTEMPTY ;;
esac
])
]
-# rmdir.m4 serial 18
+# rmdir.m4 serial 19
dnl Copyright (C) 2002, 2005, 2009-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
]])],
[gl_cv_func_rmdir_works=yes], [gl_cv_func_rmdir_works=no],
[case "$host_os" in
- # Guess yes on Linux systems.
- linux-* | linux) gl_cv_func_rmdir_works="guessing yes" ;;
- # Guess yes on systems that emulate the Linux system calls.
- midipix*) gl_cv_func_rmdir_works="guessing yes" ;;
- # Guess yes on glibc systems.
- *-gnu* | gnu*) gl_cv_func_rmdir_works="guessing yes" ;;
- # Guess no on native Windows.
- mingw*) gl_cv_func_rmdir_works="guessing no" ;;
- # If we don't know, obey --enable-cross-guesses.
- *) gl_cv_func_rmdir_works="$gl_cross_guess_normal" ;;
+ # Guess yes on Linux systems.
+ linux-* | linux) gl_cv_func_rmdir_works="guessing yes" ;;
+ # Guess yes on systems that emulate the Linux system calls.
+ midipix*) gl_cv_func_rmdir_works="guessing yes" ;;
+ # Guess yes on glibc systems.
+ *-gnu* | gnu*) gl_cv_func_rmdir_works="guessing yes" ;;
+ # Guess no on native Windows.
+ mingw* | windows*) gl_cv_func_rmdir_works="guessing no" ;;
+ # If we don't know, obey --enable-cross-guesses.
+ *) gl_cv_func_rmdir_works="$gl_cross_guess_normal" ;;
esac
])
rm -rf conftest.dir conftest.file])
-# round.m4 serial 24
+# round.m4 serial 25
dnl Copyright (C) 2007, 2009-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
return (x < 0.5 && round (x) != 0.0);
}]])], [gl_cv_func_round_works=yes], [gl_cv_func_round_works=no],
[case "$host_os" in
- netbsd* | aix*) gl_cv_func_round_works="guessing no" ;;
- # Guess yes on MSVC, no on mingw.
- mingw*) AC_EGREP_CPP([Known], [
+ netbsd* | aix*) gl_cv_func_round_works="guessing no" ;;
+ # Guess yes on MSVC, no on mingw.
+ windows*-gnu*) gl_cv_func_round_works="guessing no" ;;
+ windows*-msvc*) gl_cv_func_round_works="guessing yes" ;;
+ mingw* | windows*) AC_EGREP_CPP([Known], [
#ifdef _MSC_VER
Known
#endif
- ],
- [gl_cv_func_round_works="guessing yes"],
- [gl_cv_func_round_works="guessing no"])
- ;;
- *) gl_cv_func_round_works="guessing yes" ;;
+ ],
+ [gl_cv_func_round_works="guessing yes"],
+ [gl_cv_func_round_works="guessing no"])
+ ;;
+ *) gl_cv_func_round_works="guessing yes" ;;
esac
])
LIBS="$save_LIBS"
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_round_ieee="guessing yes" ;;
# Guess yes on MSVC, no on mingw.
- mingw*) AC_EGREP_CPP([Known], [
+ windows*-gnu*) gl_cv_func_round_ieee="guessing no" ;;
+ windows*-msvc*) gl_cv_func_round_ieee="guessing yes" ;;
+ mingw* | windows*) AC_EGREP_CPP([Known], [
#ifdef _MSC_VER
Known
#endif
-# roundf.m4 serial 25
+# roundf.m4 serial 26
dnl Copyright (C) 2007-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
return (x < 0.5f && roundf (x) != 0.0f);
}]])], [gl_cv_func_roundf_works=yes], [gl_cv_func_roundf_works=no],
[case "$host_os" in
- # Guess yes on MSVC, no on mingw.
- mingw*) AC_EGREP_CPP([Known], [
+ # Guess yes on MSVC, no on mingw.
+ windows*-gnu*)
+ gl_cv_func_roundf_works="guessing no"
+ ;;
+ windows*-msvc*)
+ gl_cv_func_roundf_works="guessing yes"
+ ;;
+ mingw* | windows*)
+ AC_EGREP_CPP([Known], [
#ifdef _MSC_VER
Known
#endif
- ],
- [gl_cv_func_roundf_works="guessing yes"],
- [gl_cv_func_roundf_works="guessing no"])
- ;;
- *) gl_cv_func_roundf_works="guessing yes" ;;
+ ],
+ [gl_cv_func_roundf_works="guessing yes"],
+ [gl_cv_func_roundf_works="guessing no"])
+ ;;
+ *)
+ gl_cv_func_roundf_works="guessing yes"
+ ;;
esac
])
LIBS="$save_LIBS"
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_roundf_ieee="guessing yes" ;;
# Guess yes on MSVC, no on mingw.
- mingw*) AC_EGREP_CPP([Known], [
+ windows*-gnu*) gl_cv_func_roundf_ieee="guessing no" ;;
+ windows*-msvc*) gl_cv_func_roundf_ieee="guessing yes" ;;
+ mingw* | windows*) AC_EGREP_CPP([Known], [
#ifdef _MSC_VER
Known
#endif
-# roundl.m4 serial 21
+# roundl.m4 serial 22
dnl Copyright (C) 2007, 2009-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_roundl_ieee="guessing yes" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_roundl_ieee="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_roundl_ieee="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_roundl_ieee="$gl_cross_guess_normal" ;;
esac
-# sched_yield.m4 serial 2
+# sched_yield.m4 serial 3
dnl Copyright (C) 2019-2023 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_REQUIRE([gl_PTHREADLIB])
AC_REQUIRE([AC_CANONICAL_HOST])
- if { case "$host_os" in mingw*) true;; *) false;; esac; } \
+ if { case "$host_os" in mingw* | windows*) true;; *) false;; esac; } \
&& test $gl_threads_api = windows; then
dnl Choose function names that don't conflict with the mingw-w64 winpthreads
dnl library.
-# select.m4 serial 15
+# select.m4 serial 16
dnl Copyright (C) 2009-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
SELECT_LIB="$LIBSOCKET"
if test $REPLACE_SELECT = 1; then
case "$host_os" in
- mingw*)
+ mingw* | windows*)
dnl On the MSVC platform, the function MsgWaitForMultipleObjects
dnl (used in lib/select.c) requires linking with -luser32. On mingw,
dnl it is implicit.
-# setlocale.m4 serial 9
+# setlocale.m4 serial 10
dnl Copyright (C) 2011-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
case "$host_os" in
dnl On native Windows systems, setlocale(category,NULL) does not look at
dnl the environment variables LC_ALL, category, and LANG.
- mingw*) NEED_SETLOCALE_IMPROVED=1 ;;
+ mingw* | windows*) NEED_SETLOCALE_IMPROVED=1 ;;
dnl On Cygwin 1.5.x, setlocale always succeeds but setlocale(LC_CTYPE,NULL)
dnl is then still "C".
cygwin*)
-# setlocale_null.m4 serial 8
+# setlocale_null.m4 serial 9
dnl Copyright (C) 2019-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[gl_cv_func_setlocale_null_all_mtsafe=no])
;;
# Guess yes on glibc, HP-UX, IRIX, Solaris, native Windows.
- *-gnu* | gnu* | hpux* | irix* | solaris* | mingw*)
+ *-gnu* | gnu* | hpux* | irix* | solaris* | mingw* | windows*)
gl_cv_func_setlocale_null_all_mtsafe=yes ;;
# If we don't know, obey --enable-cross-guesses.
*)
])
dnl On platforms without multithreading, there is no issue.
case "$host_os" in
- mingw*) ;;
+ mingw* | windows*) ;;
*)
if test $gl_pthread_api = no && test $ac_cv_header_threads_h = no; then
gl_cv_func_setlocale_null_all_mtsafe="trivially yes"
openbsd* | aix*)
gl_cv_func_setlocale_null_one_mtsafe=no ;;
# Guess yes on glibc, musl libc, macOS, FreeBSD, NetBSD, HP-UX, IRIX, Solaris, Haiku, Cygwin, native Windows.
- *-gnu* | gnu* | *-musl* | midipix* | darwin* | freebsd* | midnightbsd* | netbsd* | hpux* | irix* | solaris* | haiku* | cygwin* | mingw*)
+ *-gnu* | gnu* | *-musl* | midipix* | darwin* | freebsd* | midnightbsd* | netbsd* | hpux* | irix* | solaris* | haiku* | cygwin* | mingw* | windows*)
gl_cv_func_setlocale_null_one_mtsafe=yes ;;
# If we don't know, obey --enable-cross-guesses.
*)
])
dnl On platforms without multithreading, there is no issue.
case "$host_os" in
- mingw*) ;;
+ mingw* | windows*) ;;
*)
if test $gl_pthread_api = no && test $ac_cv_header_threads_h = no; then
gl_cv_func_setlocale_null_one_mtsafe="trivially yes"
dnl Determine link dependencies of lib/setlocale_null.c and lib/setlocale-lock.c.
if test $SETLOCALE_NULL_ALL_MTSAFE = 0 || test $SETLOCALE_NULL_ONE_MTSAFE = 0; then
case "$host_os" in
- mingw*) SETLOCALE_NULL_LIB= ;;
+ mingw* | windows*)
+ SETLOCALE_NULL_LIB=
+ ;;
*)
gl_WEAK_SYMBOLS
case "$gl_cv_have_weak" in
-# signbit.m4 serial 21
+# signbit.m4 serial 22
dnl Copyright (C) 2007-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_signbit="guessing yes" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_signbit="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_signbit="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_signbit="$gl_cross_guess_normal" ;;
esac
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_signbit_builtins="guessing yes" ;;
# Guess yes on mingw, no on MSVC.
- mingw*) if test -n "$GCC"; then
+ mingw* | windows*) if test -n "$GCC"; then
gl_cv_func_signbit_builtins="guessing yes"
else
gl_cv_func_signbit_builtins="guessing no"
-# sleep.m4 serial 12
+# sleep.m4 serial 13
dnl Copyright (C) 2007-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
]])],
[gl_cv_func_sleep_works=yes], [gl_cv_func_sleep_works=no],
[case "$host_os" in
- # Guess yes on glibc systems.
- *-gnu* | gnu*) gl_cv_func_sleep_works="guessing yes" ;;
- # Guess yes on musl systems.
- *-musl*) gl_cv_func_sleep_works="guessing yes" ;;
- # Guess yes on systems that emulate the Linux system calls.
- midipix*) gl_cv_func_sleep_works="guessing yes" ;;
- # Guess no on native Windows.
- mingw*) gl_cv_func_sleep_works="guessing no" ;;
- # If we don't know, obey --enable-cross-guesses.
- *) gl_cv_func_sleep_works="$gl_cross_guess_normal" ;;
+ # Guess yes on glibc systems.
+ *-gnu* | gnu*) gl_cv_func_sleep_works="guessing yes" ;;
+ # Guess yes on musl systems.
+ *-musl*) gl_cv_func_sleep_works="guessing yes" ;;
+ # Guess yes on systems that emulate the Linux system calls.
+ midipix*) gl_cv_func_sleep_works="guessing yes" ;;
+ # Guess no on native Windows.
+ mingw* | windows*) gl_cv_func_sleep_works="guessing no" ;;
+ # If we don't know, obey --enable-cross-guesses.
+ *) gl_cv_func_sleep_works="$gl_cross_guess_normal" ;;
esac
])])
case "$gl_cv_func_sleep_works" in
-# sqrtl.m4 serial 11
+# sqrtl.m4 serial 12
dnl Copyright (C) 2010-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[gl_cv_func_sqrtl_works=yes],
[gl_cv_func_sqrtl_works=no],
[case "$host_os" in
- openbsd*) gl_cv_func_sqrtl_works="guessing no" ;;
- # Guess yes on native Windows.
- mingw*) gl_cv_func_sqrtl_works="guessing yes" ;;
- *) gl_cv_func_sqrtl_works="guessing yes" ;;
+ openbsd*) gl_cv_func_sqrtl_works="guessing no" ;;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_func_sqrtl_works="guessing yes" ;;
+ *) gl_cv_func_sqrtl_works="guessing yes" ;;
esac
])
])
-# serial 19
+# serial 20
# Copyright (C) 2009-2023 Free Software Foundation, Inc.
#
AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS])
AC_CHECK_FUNCS_ONCE([lstat])
case "$host_os" in
- mingw*)
+ mingw* | windows*)
dnl On this platform, the original stat() returns st_atime, st_mtime,
dnl st_ctime values that are affected by the time zone.
REPLACE_STAT=1
AC_DEFUN([gl_PREREQ_STAT_W32], [
AC_REQUIRE([AC_CANONICAL_HOST])
case "$host_os" in
- mingw*)
+ mingw* | windows*)
AC_CHECK_HEADERS([sdkddkver.h])
;;
esac
-# stdint.m4 serial 62
+# stdint.m4 serial 63
dnl Copyright (C) 2001-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[gl_cv_header_working_stdint_h=yes],
[],
[case "$host_os" in
- # Guess yes on native Windows.
- mingw*) gl_cv_header_working_stdint_h="guessing yes" ;;
- # In general, assume it works.
- *) gl_cv_header_working_stdint_h="guessing yes" ;;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_header_working_stdint_h="guessing yes" ;;
+ # In general, assume it works.
+ *) gl_cv_header_working_stdint_h="guessing yes" ;;
esac
])
])
-# strerror.m4 serial 24
+# strerror.m4 serial 25
dnl Copyright (C) 2002, 2007-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_strerror_0_works="guessing yes" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_strerror_0_works="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_strerror_0_works="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_strerror_0_works="$gl_cross_guess_normal" ;;
esac
-# strftime-fixes.m4 serial 3
+# strftime-fixes.m4 serial 4
dnl Copyright (C) 2017-2023 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_REQUIRE([gl_TIME_H_DEFAULTS])
AC_REQUIRE([AC_CANONICAL_HOST])
case "$host_os" in
- mingw*) REPLACE_STRFTIME=1 ;;
+ mingw* | windows*) REPLACE_STRFTIME=1 ;;
esac
])
-# strncat.m4 serial 7
+# strncat.m4 serial 8
dnl Copyright (C) 2002-2004, 2009-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
]])], [gl_cv_func_strncat_works=yes], [gl_cv_func_strncat_works=no],
[
case "$host_os" in
- # Guess no on Solaris.
- solaris*) gl_cv_func_strncat_works="guessing no" ;;
- # Guess yes on native Windows.
- mingw*) gl_cv_func_strncat_works="guessing yes" ;;
- # Guess yes otherwise.
- *) gl_cv_func_strncat_works="guessing yes" ;;
+ # Guess no on Solaris.
+ solaris*) gl_cv_func_strncat_works="guessing no" ;;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_func_strncat_works="guessing yes" ;;
+ # Guess yes otherwise.
+ *) gl_cv_func_strncat_works="guessing yes" ;;
esac
])
])
-# strtod.m4 serial 28
+# strtod.m4 serial 29
dnl Copyright (C) 2002-2003, 2006-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_strtod_works="guessing yes" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_strtod_works="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_strtod_works="guessing yes" ;;
*) gl_cv_func_strtod_works="$gl_cross_guess_normal" ;;
esac
])
-# strtoimax.m4 serial 16
+# strtoimax.m4 serial 17
dnl Copyright (C) 2002-2004, 2006, 2009-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[gl_cv_func_strtoimax=yes],
[gl_cv_func_strtoimax=no],
[case "$host_os" in
- # Guess no on AIX 5.
- aix5*) gl_cv_func_strtoimax="guessing no" ;;
- # Guess yes on native Windows.
- mingw*) gl_cv_func_strtoimax="guessing yes" ;;
- # Guess yes otherwise.
- *) gl_cv_func_strtoimax="guessing yes" ;;
+ # Guess no on AIX 5.
+ aix5*) gl_cv_func_strtoimax="guessing no" ;;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_func_strtoimax="guessing yes" ;;
+ # Guess yes otherwise.
+ *) gl_cv_func_strtoimax="guessing yes" ;;
esac
])
])
-# strtok_r.m4 serial 16
+# strtok_r.m4 serial 17
dnl Copyright (C) 2002-2004, 2006-2007, 2009-2023 Free Software Foundation,
dnl Inc.
dnl This file is free software; the Free Software Foundation
[gl_cv_func_strtok_r_works=yes],
[gl_cv_func_strtok_r_works=no],
[case "$host_os" in
- # Guess no on glibc systems.
- *-gnu* | gnu*) gl_cv_func_strtok_r_works="guessing no" ;;
- # Guess yes on native Windows.
- mingw*) gl_cv_func_strtok_r_works="guessing yes" ;;
- *) gl_cv_func_strtok_r_works="guessing yes" ;;
+ # Guess no on glibc systems.
+ *-gnu* | gnu*) gl_cv_func_strtok_r_works="guessing no" ;;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_func_strtok_r_works="guessing yes" ;;
+ *) gl_cv_func_strtok_r_works="guessing yes" ;;
esac
])
])
-# strtol.m4 serial 9
+# strtol.m4 serial 10
dnl Copyright (C) 2002-2003, 2006, 2009-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[gl_cv_func_strtol_works=no],
[case "$host_os" in
# Guess no on native Windows.
- mingw*) gl_cv_func_strtol_works="guessing no" ;;
+ mingw* | windows*) gl_cv_func_strtol_works="guessing no" ;;
# Guess no on glibc systems.
*-gnu* | gnu*) gl_cv_func_strtol_works="guessing no" ;;
# Guess no on musl systems.
-# strtoll.m4 serial 11
+# strtoll.m4 serial 12
dnl Copyright (C) 2002, 2004, 2006, 2008-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[gl_cv_func_strtoll_works=no],
[case "$host_os" in
# Guess no on native Windows.
- mingw*) gl_cv_func_strtoll_works="guessing no" ;;
+ mingw* | windows*) gl_cv_func_strtoll_works="guessing no" ;;
# Guess no on glibc systems.
*-gnu* | gnu*) gl_cv_func_strtoll_works="guessing no" ;;
# Guess no on musl systems.
-# strtoul.m4 serial 7
+# strtoul.m4 serial 8
dnl Copyright (C) 2002, 2006, 2009-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[gl_cv_func_strtoul_works=no],
[case "$host_os" in
# Guess no on native Windows.
- mingw*) gl_cv_func_strtoul_works="guessing no" ;;
+ mingw* | windows*) gl_cv_func_strtoul_works="guessing no" ;;
# Guess no on glibc systems.
*-gnu* | gnu*) gl_cv_func_strtoul_works="guessing no" ;;
# Guess no on musl systems.
-# strtoull.m4 serial 10
+# strtoull.m4 serial 11
dnl Copyright (C) 2002, 2004, 2006, 2008-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[gl_cv_func_strtoull_works=no],
[case "$host_os" in
# Guess no on native Windows.
- mingw*) gl_cv_func_strtoull_works="guessing no" ;;
+ mingw* | windows*) gl_cv_func_strtoull_works="guessing no" ;;
# Guess no on glibc systems.
*-gnu* | gnu*) gl_cv_func_strtoull_works="guessing no" ;;
# Guess no on musl systems.
-# threadlib.m4 serial 38
+# threadlib.m4 serial 39
dnl Copyright (C) 2005-2023 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_CACHE_CHECK([whether imported symbols can be declared weak],
[gl_cv_have_weak],
[case "$host_os" in
- cygwin* | mingw*)
+ cygwin* | mingw* | windows*)
dnl On Cygwin 3.2.0 with gcc 10.2, and likewise on mingw 10.0.0 with
dnl gcc 11.3, the test below would succeed, but programs that use
dnl pthread_in_use() with weak symbol references crash miserably at
AC_CHECK_HEADERS_ONCE([threads.h])
case "$host_os" in
- mingw*)
+ mingw* | windows*)
LIBSTDTHREAD=
;;
*)
esac
;;
dnl Obey gl_AVOID_WINPTHREAD on mingw.
- mingw*)
+ mingw* | windows*)
case "$gl_use_winpthreads_default" in
yes) gl_use_threads=posix ;;
no) gl_use_threads=windows ;;
case "$gl_use_threads" in
yes | windows | win32) # The 'win32' is for backward compatibility.
if { case "$host_os" in
- mingw*) true;;
+ mingw* | windows*) true;;
*) false;;
esac
}; then
-# time.m4 serial 3
+# time.m4 serial 4
dnl Copyright (C) 2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[gl_cv_func_time_works="guessing no"],
[gl_cv_func_time_works="guessing yes"])
;;
- aix*) gl_cv_func_time_works="guessing no";;
- mingw*) gl_cv_func_time_works="guessing no";;
- *) gl_cv_func_time_works="guessing yes";;
+ aix*) gl_cv_func_time_works="guessing no";;
+ mingw* | windows*) gl_cv_func_time_works="guessing no";;
+ *) gl_cv_func_time_works="guessing yes";;
esac
])
case "$gl_cv_func_time_works" in
-# trunc.m4 serial 16
+# trunc.m4 serial 17
dnl Copyright (C) 2007, 2010-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_trunc_ieee="guessing yes" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_trunc_ieee="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_trunc_ieee="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_trunc_ieee="$gl_cross_guess_normal" ;;
esac
-# truncate.m4 serial 5 -*- Autoconf -*-
+# truncate.m4 serial 6 -*- Autoconf -*-
dnl Copyright (C) 2017-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
if test $ac_cv_have_decl_truncate = yes; then
m4_ifdef([gl_LARGEFILE], [
case "$host_os" in
- mingw*)
+ mingw* | windows*)
dnl Native Windows, and Large File Support is requested.
dnl The mingw64 truncate64() function is based on ftruncate64(),
dnl which is unreliable (it may delete the file, see
-# truncf.m4 serial 16
+# truncf.m4 serial 17
dnl Copyright (C) 2007, 2010-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_truncf_ieee="guessing yes" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_truncf_ieee="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_truncf_ieee="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_truncf_ieee="$gl_cross_guess_normal" ;;
esac
-# truncl.m4 serial 18
+# truncl.m4 serial 19
dnl Copyright (C) 2007-2008, 2010-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[gl_cv_func_truncl_works=yes],
[gl_cv_func_truncl_works=no],
[case "$host_os" in
- osf4*) gl_cv_func_truncl_works="guessing no" ;;
- # Guess yes on native Windows.
- mingw*) gl_cv_func_truncl_works="guessing yes" ;;
- *) gl_cv_func_truncl_works="guessing yes" ;;
+ osf4*) gl_cv_func_truncl_works="guessing no" ;;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_func_truncl_works="guessing yes" ;;
+ *) gl_cv_func_truncl_works="guessing yes" ;;
esac
])
])
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_truncl_ieee="guessing yes" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_truncl_ieee="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_truncl_ieee="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_truncl_ieee="$gl_cross_guess_normal" ;;
esac
-# tsearch.m4 serial 12
+# tsearch.m4 serial 13
dnl Copyright (C) 2006-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
return result;
}]])], [gl_cv_func_tdelete_works=yes], [gl_cv_func_tdelete_works=no],
[case "$host_os" in
- openbsd*) gl_cv_func_tdelete_works="guessing no" ;;
- # Guess yes on native Windows.
- mingw*) gl_cv_func_tdelete_works="guessing yes" ;;
- *) gl_cv_func_tdelete_works="guessing yes" ;;
+ openbsd*) gl_cv_func_tdelete_works="guessing no" ;;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_func_tdelete_works="guessing yes" ;;
+ *) gl_cv_func_tdelete_works="guessing yes" ;;
esac
])
])
-# serial 17
+# serial 18
# Copyright (C) 2003, 2007, 2009-2023 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
AC_REQUIRE([gl_TIME_H_DEFAULTS])
AC_REQUIRE([AC_CANONICAL_HOST])
case "$host_os" in
- mingw*) REPLACE_TZSET=1 ;;
+ mingw* | windows*) REPLACE_TZSET=1 ;;
esac
])
-# ungetc.m4 serial 11
+# ungetc.m4 serial 12
dnl Copyright (C) 2009-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on bionic systems.
*-android*) gl_cv_func_ungetc_works="guessing yes" ;;
# Guess yes on native Windows.
- mingw*) gl_cv_func_ungetc_works="guessing yes" ;;
+ mingw* | windows*) gl_cv_func_ungetc_works="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_ungetc_works="$gl_cross_guess_normal" ;;
esac
-#serial 15
+#serial 16
dnl From J. David Anglin.
[gl_cv_func_unlink_busy_text=yes],
[gl_cv_func_unlink_busy_text=no],
[case "$host_os" in
- # Guess no on native Windows.
- mingw*) gl_cv_func_unlink_busy_text="guessing no" ;;
- *) gl_cv_func_unlink_busy_text="guessing no" ;;
+ # Guess no on native Windows.
+ mingw* | windows*) gl_cv_func_unlink_busy_text="guessing no" ;;
+ *) gl_cv_func_unlink_busy_text="guessing no" ;;
esac
]
)
-# unlink.m4 serial 16
+# unlink.m4 serial 17
dnl Copyright (C) 2009-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[gl_cv_func_unlink_honors_slashes=yes],
[gl_cv_func_unlink_honors_slashes=no],
[case "$host_os" in
- # Guess yes on Linux systems.
- linux-* | linux) gl_cv_func_unlink_honors_slashes="guessing yes" ;;
- # Guess yes on systems that emulate the Linux system calls.
- midipix*) gl_cv_func_unlink_honors_slashes="guessing yes" ;;
- # Guess yes on glibc systems.
- *-gnu*) gl_cv_func_unlink_honors_slashes="guessing yes" ;;
- # Guess no on native Windows.
- mingw*) gl_cv_func_unlink_honors_slashes="guessing no" ;;
- # If we don't know, obey --enable-cross-guesses.
- *) gl_cv_func_unlink_honors_slashes="$gl_cross_guess_normal" ;;
+ # Guess yes on Linux systems.
+ linux-* | linux) gl_cv_func_unlink_honors_slashes="guessing yes" ;;
+ # Guess yes on systems that emulate the Linux system calls.
+ midipix*) gl_cv_func_unlink_honors_slashes="guessing yes" ;;
+ # Guess yes on glibc systems.
+ *-gnu*) gl_cv_func_unlink_honors_slashes="guessing yes" ;;
+ # Guess no on native Windows.
+ mingw* | windows*) gl_cv_func_unlink_honors_slashes="guessing no" ;;
+ # If we don't know, obey --enable-cross-guesses.
+ *) gl_cv_func_unlink_honors_slashes="$gl_cross_guess_normal" ;;
esac
])
rm -f conftest.file conftest.lnk])
-# serial 7
+# serial 8
# Copyright (C) 2005-2007, 2009-2023 Free Software Foundation, Inc.
#
linux-* | linux | \
freebsd2.2* | freebsd[[3-9]]* | freebsd[[1-9]][[0-9]]* | \
cygwin | \
- mingw*)
+ mingw* | windows*)
AC_DEFINE([UNLINK_CANNOT_UNLINK_DIR], [1],
[Define to 1 if unlink (dir) cannot possibly succeed.]);;
esac
-# usleep.m4 serial 8
+# usleep.m4 serial 9
dnl Copyright (C) 2009-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
]], [[return !!usleep (1000000);]])],
[gl_cv_func_usleep_works=yes], [gl_cv_func_usleep_works=no],
[case "$host_os" in
- # Guess yes on glibc systems.
- *-gnu* | gnu*) gl_cv_func_usleep_works="guessing yes" ;;
- # Guess yes on musl systems.
- *-musl*) gl_cv_func_usleep_works="guessing yes" ;;
- # Guess yes on systems that emulate the Linux system calls.
- midipix*) gl_cv_func_usleep_works="guessing yes" ;;
- # Guess no on native Windows.
- mingw*) gl_cv_func_usleep_works="guessing no" ;;
- # If we don't know, obey --enable-cross-guesses.
- *) gl_cv_func_usleep_works="$gl_cross_guess_normal" ;;
+ # Guess yes on glibc systems.
+ *-gnu* | gnu*) gl_cv_func_usleep_works="guessing yes" ;;
+ # Guess yes on musl systems.
+ *-musl*) gl_cv_func_usleep_works="guessing yes" ;;
+ # Guess yes on systems that emulate the Linux system calls.
+ midipix*) gl_cv_func_usleep_works="guessing yes" ;;
+ # Guess no on native Windows.
+ mingw* | windows*) gl_cv_func_usleep_works="guessing no" ;;
+ # If we don't know, obey --enable-cross-guesses.
+ *) gl_cv_func_usleep_works="$gl_cross_guess_normal" ;;
esac
])])
case "$gl_cv_func_usleep_works" in
-# utime.m4 serial 4
+# utime.m4 serial 5
dnl Copyright (C) 2017-2023 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_REQUIRE([AC_CANONICAL_HOST])
AC_CHECK_FUNCS_ONCE([lstat])
case "$host_os" in
- mingw*)
+ mingw* | windows*)
dnl On this platform, the original utime() or _utime() produces
dnl timestamps that are affected by the time zone.
dnl Use the function name 'rpl_utime' always, in order to avoid a
# Detect some bugs in glibc's implementation of utimes.
-# serial 8
+# serial 9
dnl Copyright (C) 2003-2005, 2009-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
[gl_cv_func_working_utimes=yes],
[gl_cv_func_working_utimes=no],
[case "$host_os" in
- # Guess yes on musl systems.
- *-musl*) gl_cv_func_working_utimes="guessing yes" ;;
- # Guess no on native Windows.
- mingw*) gl_cv_func_working_utimes="guessing no" ;;
- *) gl_cv_func_working_utimes="$gl_cross_guess_normal" ;;
+ # Guess yes on musl systems.
+ *-musl*) gl_cv_func_working_utimes="guessing yes" ;;
+ # Guess no on native Windows.
+ mingw* | windows*) gl_cv_func_working_utimes="guessing no" ;;
+ *) gl_cv_func_working_utimes="$gl_cross_guess_normal" ;;
esac
])
])
-# waitpid.m4 serial 2
+# waitpid.m4 serial 3
dnl Copyright (C) 2010-2023 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_REQUIRE([AC_CANONICAL_HOST])
HAVE_WAITPID=1
case $host_os in
- mingw*) HAVE_WAITPID=0 ;;
+ mingw* | windows*) HAVE_WAITPID=0 ;;
esac
])
-# wcrtomb.m4 serial 18
+# wcrtomb.m4 serial 19
dnl Copyright (C) 2008-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
changequote(,)dnl
case "$host_os" in
# Guess no on AIX 4, OSF/1, Solaris, native Windows.
- aix4* | osf* | solaris* | mingw*) gl_cv_func_wcrtomb_retval="guessing no" ;;
+ aix4* | osf* | solaris* | mingw* | windows*)
+ gl_cv_func_wcrtomb_retval="guessing no" ;;
# Guess yes otherwise.
- *) gl_cv_func_wcrtomb_retval="guessing yes" ;;
+ *)
+ gl_cv_func_wcrtomb_retval="guessing yes" ;;
esac
changequote([,])dnl
if test $LOCALE_FR != none || test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none || test $LOCALE_ZH_CN != none; then
-# wcsftime.m4 serial 1
+# wcsftime.m4 serial 2
dnl Copyright (C) 2017-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
HAVE_WCSFTIME=0
else
case "$host_os" in
- mingw*) REPLACE_WCSFTIME=1 ;;
+ mingw* | windows*) REPLACE_WCSFTIME=1 ;;
esac
fi
])
-# wcsrtombs.m4 serial 13
+# wcsrtombs.m4 serial 14
dnl Copyright (C) 2008-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl is present.
changequote(,)dnl
case "$host_os" in
- # Guess no on OSF/1.
- osf*) gl_cv_func_wcsrtombs_termination="guessing no" ;;
- # Guess yes on native Windows.
- mingw*) gl_cv_func_wcsrtombs_termination="guessing yes" ;;
- # Guess yes otherwise.
- *) gl_cv_func_wcsrtombs_termination="guessing yes" ;;
+ # Guess no on OSF/1.
+ osf*) gl_cv_func_wcsrtombs_termination="guessing no" ;;
+ # Guess yes on native Windows.
+ mingw* | windows*) gl_cv_func_wcsrtombs_termination="guessing yes" ;;
+ # Guess yes otherwise.
+ *) gl_cv_func_wcsrtombs_termination="guessing yes" ;;
esac
changequote([,])dnl
if test $LOCALE_FR != none; then
dnl is present.
changequote(,)dnl
case "$host_os" in
- # Guess no on HP-UX, OSF/1, mingw.
- hpux* | osf* | mingw*) gl_cv_func_wcsrtombs_null="guessing no" ;;
- # Guess yes on native Windows.
- mingw*) gl_cv_func_wcsrtombs_null="guessing yes" ;;
- # Guess yes otherwise.
- *) gl_cv_func_wcsrtombs_null="guessing yes" ;;
+ # Guess no on HP-UX, OSF/1, mingw.
+ hpux* | osf* | mingw* | windows*)
+ gl_cv_func_wcsrtombs_null="guessing no" ;;
+ # Guess yes on native Windows.
+ mingw* | windows*)
+ gl_cv_func_wcsrtombs_null="guessing yes" ;;
+ # Guess yes otherwise.
+ *)
+ gl_cv_func_wcsrtombs_null="guessing yes" ;;
esac
changequote([,])dnl
if test $LOCALE_FR != none; then
-# wctob.m4 serial 13
+# wctob.m4 serial 14
dnl Copyright (C) 2008-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
solaris2.[1-9] | solaris2.[1-9].* | cygwin*)
gl_cv_func_wctob_works="guessing no" ;;
# Guess no on native Windows.
- mingw*)
+ mingw* | windows*)
gl_cv_func_wctob_works="guessing no" ;;
# Guess yes otherwise.
*) gl_cv_func_wctob_works="guessing yes" ;;
-# wctype.m4 serial 4
+# wctype.m4 serial 5
dnl Copyright (C) 2011-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
]])],
[gl_cv_func_wctype_works=yes], [gl_cv_func_wctype_works=no],
[case "$host_os" in
- # Guess no on native Windows.
- mingw*) gl_cv_func_wctype_works="guessing no" ;;
- # Guess yes otherwise.
- *) gl_cv_func_wctype_works="guessing yes" ;;
+ # Guess no on native Windows.
+ mingw* | windows*) gl_cv_func_wctype_works="guessing no" ;;
+ # Guess yes otherwise.
+ *) gl_cv_func_wctype_works="guessing yes" ;;
esac
])
])
-# windows-stat-inodes.m4 serial 1
+# windows-stat-inodes.m4 serial 2
dnl Copyright (C) 2017-2023 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_REQUIRE([AC_CANONICAL_HOST])
case "$host_os" in
- mingw*) WINDOWS_STAT_INODES=1 ;;
- *) WINDOWS_STAT_INODES=0 ;;
+ mingw* | windows*) WINDOWS_STAT_INODES=1 ;;
+ *) WINDOWS_STAT_INODES=0 ;;
esac
])
-# windows-stat-timespec.m4 serial 1
+# windows-stat-timespec.m4 serial 2
dnl Copyright (C) 2017-2023 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_REQUIRE([AC_CANONICAL_HOST])
case "$host_os" in
- mingw*) WINDOWS_STAT_TIMESPEC=1 ;;
- *) WINDOWS_STAT_TIMESPEC=0 ;;
+ mingw* | windows*) WINDOWS_STAT_TIMESPEC=1 ;;
+ *) WINDOWS_STAT_TIMESPEC=0 ;;
esac
])
errno
fcntl-h
intprops
-open [case $host_os in mingw*) false;; *) :;; esac]
+open [case $host_os in mingw* | windows*) false;; *) :;; esac]
sys_stat
unistd
gl_CONDITIONAL([GL_COND_OBJ_FSTAT], [test $REPLACE_FSTAT = 1])
AM_COND_IF([GL_COND_OBJ_FSTAT], [
case "$host_os" in
- mingw*)
+ mingw* | windows*)
AC_LIBOBJ([stat-w32])
;;
esac
Depends-on:
extensions
intprops [test $HAVE_GETLOADAVG = 0 || test $REPLACE_GETLOADAVG = 1]
-open [case $host_os in mingw*) false;; *) test $HAVE_GETLOADAVG = 0 || test $REPLACE_GETLOADAVG = 1;; esac]
+open [case $host_os in mingw* | windows*) false;; *) test $HAVE_GETLOADAVG = 0 || test $REPLACE_GETLOADAVG = 1;; esac]
stdbool [test $HAVE_GETLOADAVG = 0 || test $REPLACE_GETLOADAVG = 1]
stdlib [test $HAVE_GETLOADAVG = 0 || test $REPLACE_GETLOADAVG = 1]
fcntl-h [test $HAVE_GETRANDOM = 0 || test $REPLACE_GETRANDOM = 1]
minmax [test $HAVE_GETRANDOM = 0 || test $REPLACE_GETRANDOM = 1]
stdbool [test $HAVE_GETRANDOM = 0 || test $REPLACE_GETRANDOM = 1]
-open [case $host_os in mingw*) false;; *) test $HAVE_GETRANDOM = 0 || test $REPLACE_GETRANDOM = 1;; esac]
+open [case $host_os in mingw* | windows*) false;; *) test $HAVE_GETRANDOM = 0 || test $REPLACE_GETRANDOM = 1;; esac]
configure.ac:
AC_REQUIRE([AC_CANONICAL_HOST])
gl_CONDITIONAL([GL_COND_OBJ_STAT], [test $REPLACE_STAT = 1])
AM_COND_IF([GL_COND_OBJ_STAT], [
case "$host_os" in
- mingw*)
+ mingw* | windows*)
AC_LIBOBJ([stat-w32])
;;
esac
configure.ac:
AC_REQUIRE([AC_CANONICAL_HOST])
gl_CONDITIONAL([GL_COND_OBJ_WINDOWS_COND],
- [case "$host_os" in mingw*) true;; *) false;; esac])
+ [case "$host_os" in mingw* | windows*) true;; *) false;; esac])
Makefile.am:
if GL_COND_OBJ_WINDOWS_COND
configure.ac:
AC_REQUIRE([AC_CANONICAL_HOST])
gl_CONDITIONAL([GL_COND_OBJ_WINDOWS_MUTEX],
- [case "$host_os" in mingw*) true;; *) false;; esac])
+ [case "$host_os" in mingw* | windows*) true;; *) false;; esac])
Makefile.am:
if GL_COND_OBJ_WINDOWS_MUTEX
configure.ac:
AC_REQUIRE([AC_CANONICAL_HOST])
gl_CONDITIONAL([GL_COND_OBJ_WINDOWS_ONCE],
- [case "$host_os" in mingw*) true;; *) false;; esac])
+ [case "$host_os" in mingw* | windows*) true;; *) false;; esac])
Makefile.am:
if GL_COND_OBJ_WINDOWS_ONCE
configure.ac:
AC_REQUIRE([AC_CANONICAL_HOST])
gl_CONDITIONAL([GL_COND_OBJ_WINDOWS_RECMUTEX],
- [case "$host_os" in mingw*) true;; *) false;; esac])
+ [case "$host_os" in mingw* | windows*) true;; *) false;; esac])
Makefile.am:
if GL_COND_OBJ_WINDOWS_RECMUTEX
configure.ac:
AC_REQUIRE([AC_CANONICAL_HOST])
gl_CONDITIONAL([GL_COND_OBJ_WINDOWS_RWLOCK],
- [case "$host_os" in mingw*) true;; *) false;; esac])
+ [case "$host_os" in mingw* | windows*) true;; *) false;; esac])
Makefile.am:
if GL_COND_OBJ_WINDOWS_RWLOCK
configure.ac:
AC_REQUIRE([AC_CANONICAL_HOST])
gl_CONDITIONAL([GL_COND_OBJ_WINDOWS_SPAWN],
- [case "$host_os" in mingw*) true;; *) false;; esac])
+ [case "$host_os" in mingw* | windows*) true;; *) false;; esac])
Makefile.am:
if GL_COND_OBJ_WINDOWS_SPAWN
configure.ac:
AC_REQUIRE([AC_CANONICAL_HOST])
gl_CONDITIONAL([GL_COND_OBJ_WINDOWS_SPIN],
- [case "$host_os" in mingw*) true;; *) false;; esac])
+ [case "$host_os" in mingw* | windows*) true;; *) false;; esac])
Makefile.am:
if GL_COND_OBJ_WINDOWS_SPIN
gl_SYS_STAT_H_REQUIRE_DEFAULTS
AC_REQUIRE([AC_CANONICAL_HOST])
case "$host_os" in
- mingw*) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_OVERRIDES_STRUCT_STAT], [1]) ;;
+ mingw* | windows*) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_OVERRIDES_STRUCT_STAT], [1]) ;;
esac
Makefile.am:
configure.ac:
AC_REQUIRE([AC_CANONICAL_HOST])
gl_CONDITIONAL([GL_COND_OBJ_WINDOWS_THREAD],
- [case "$host_os" in mingw*) true;; *) false;; esac])
+ [case "$host_os" in mingw* | windows*) true;; *) false;; esac])
Makefile.am:
if GL_COND_OBJ_WINDOWS_THREAD
configure.ac:
AC_REQUIRE([AC_CANONICAL_HOST])
gl_CONDITIONAL([GL_COND_OBJ_WINDOWS_TIMEDMUTEX],
- [case "$host_os" in mingw*) true;; *) false;; esac])
+ [case "$host_os" in mingw* | windows*) true;; *) false;; esac])
Makefile.am:
if GL_COND_OBJ_WINDOWS_TIMEDMUTEX
configure.ac:
AC_REQUIRE([AC_CANONICAL_HOST])
gl_CONDITIONAL([GL_COND_OBJ_WINDOWS_TIMEDRECMUTEX],
- [case "$host_os" in mingw*) true;; *) false;; esac])
+ [case "$host_os" in mingw* | windows*) true;; *) false;; esac])
Makefile.am:
if GL_COND_OBJ_WINDOWS_TIMEDRECMUTEX
configure.ac:
AC_REQUIRE([AC_CANONICAL_HOST])
gl_CONDITIONAL([GL_COND_OBJ_WINDOWS_TIMEDRWLOCK],
- [case "$host_os" in mingw*) true;; *) false;; esac])
+ [case "$host_os" in mingw* | windows*) true;; *) false;; esac])
Makefile.am:
if GL_COND_OBJ_WINDOWS_TIMEDRWLOCK
configure.ac:
AC_REQUIRE([AC_CANONICAL_HOST])
gl_CONDITIONAL([GL_COND_OBJ_WINDOWS_TLS],
- [case "$host_os" in mingw*) true;; *) false;; esac])
+ [case "$host_os" in mingw* | windows*) true;; *) false;; esac])
Makefile.am:
if GL_COND_OBJ_WINDOWS_TLS