]> Savannah Git Hosting - gnulib.git/commitdiff
Recognize the *-*-windows* config triplets introduced on 2023-06-26.
authorBruno Haible <bruno@clisp.org>
Thu, 17 Aug 2023 13:04:43 +0000 (15:04 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 17 Aug 2023 13:39:25 +0000 (15:39 +0200)
* m4/*.m4: Treat windows* as equivalent to mingw*.
* modules/*: Likewise.

216 files changed:
ChangeLog
m4/absolute-header.m4
m4/access.m4
m4/btowc.m4
m4/build-to-host.m4
m4/calloc.m4
m4/canonicalize.m4
m4/cbrtf.m4
m4/cbrtl.m4
m4/ceil.m4
m4/ceilf.m4
m4/ceill.m4
m4/chmod.m4
m4/chown.m4
m4/clock_time.m4
m4/creat.m4
m4/csharpexec.m4
m4/ctime.m4
m4/d-ino.m4
m4/dirent_h.m4
m4/dup.m4
m4/dup2.m4
m4/execl.m4
m4/execle.m4
m4/execlp.m4
m4/execv.m4
m4/execve.m4
m4/execvp.m4
m4/execvpe.m4
m4/exp2.m4
m4/exp2l.m4
m4/expl.m4
m4/expm1.m4
m4/expm1f.m4
m4/expm1l.m4
m4/exponentl.m4
m4/fabsl.m4
m4/fchdir.m4
m4/fclose.m4
m4/fcntl-o.m4
m4/fdopen.m4
m4/fflush.m4
m4/ffsll.m4
m4/float_h.m4
m4/floor.m4
m4/floorf.m4
m4/fma.m4
m4/fmaf.m4
m4/fmal.m4
m4/fmod.m4
m4/fmodf.m4
m4/fmodl.m4
m4/fopen.m4
m4/freopen.m4
m4/frexp.m4
m4/frexpf.m4
m4/frexpl.m4
m4/fstat.m4
m4/ftello.m4
m4/ftruncate.m4
m4/getcwd.m4
m4/getlogin.m4
m4/getopt.m4
m4/getpagesize.m4
m4/getrandom.m4
m4/gettimeofday.m4
m4/host-os.m4
m4/hypot.m4
m4/hypotf.m4
m4/hypotl.m4
m4/ilogb.m4
m4/ilogbf.m4
m4/ilogbl.m4
m4/isatty.m4
m4/isfinite.m4
m4/isinf.m4
m4/isnanf.m4
m4/isnanl.m4
m4/iswdigit.m4
m4/iswxdigit.m4
m4/largefile.m4
m4/ldexpl.m4
m4/lib-ld.m4
m4/locale-ar.m4
m4/locale-fr.m4
m4/locale-ja.m4
m4/locale-tr.m4
m4/locale-zh.m4
m4/locale_h.m4
m4/localeconv.m4
m4/localtime.m4
m4/log.m4
m4/log10.m4
m4/log10f.m4
m4/log10l.m4
m4/log1p.m4
m4/log1pf.m4
m4/log1pl.m4
m4/log2.m4
m4/log2f.m4
m4/log2l.m4
m4/logb.m4
m4/logbf.m4
m4/logbl.m4
m4/logf.m4
m4/logl.m4
m4/lseek.m4
m4/lstat.m4
m4/malloc-align.m4
m4/malloc.m4
m4/mbrtoc16.m4
m4/mbrtoc32.m4
m4/mbrtowc.m4
m4/mbsinit.m4
m4/mbsrtowcs.m4
m4/memchr.m4
m4/mkdir.m4
m4/mkstemp.m4
m4/mktime.m4
m4/modf.m4
m4/modff.m4
m4/modfl.m4
m4/mprotect.m4
m4/nanosleep.m4
m4/nonblocking.m4
m4/open.m4
m4/perror.m4
m4/poll.m4
m4/popen.m4
m4/posix_spawn.m4
m4/printf.m4
m4/pthread-cond.m4
m4/pthread-mutex.m4
m4/pthread-once.m4
m4/pthread-rwlock.m4
m4/pthread-spin.m4
m4/pthread-thread.m4
m4/pthread-tss.m4
m4/pthread_h.m4
m4/pthread_rwlock_rdlock.m4
m4/ptsname_r.m4
m4/putenv.m4
m4/realloc.m4
m4/regex.m4
m4/relocatable.m4
m4/remainder.m4
m4/remainderf.m4
m4/remainderl.m4
m4/remove.m4
m4/rename.m4
m4/rintl.m4
m4/rmdir-errno.m4
m4/rmdir.m4
m4/round.m4
m4/roundf.m4
m4/roundl.m4
m4/sched_yield.m4
m4/select.m4
m4/setlocale.m4
m4/setlocale_null.m4
m4/signbit.m4
m4/sleep.m4
m4/sqrtl.m4
m4/stat.m4
m4/stdint.m4
m4/strerror.m4
m4/strftime-fixes.m4
m4/strncat.m4
m4/strtod.m4
m4/strtoimax.m4
m4/strtok_r.m4
m4/strtol.m4
m4/strtoll.m4
m4/strtoul.m4
m4/strtoull.m4
m4/threadlib.m4
m4/time.m4
m4/trunc.m4
m4/truncate.m4
m4/truncf.m4
m4/truncl.m4
m4/tsearch.m4
m4/tzset.m4
m4/ungetc.m4
m4/unlink-busy.m4
m4/unlink.m4
m4/unlinkdir.m4
m4/usleep.m4
m4/utime.m4
m4/utimes.m4
m4/waitpid.m4
m4/wcrtomb.m4
m4/wcsftime.m4
m4/wcsrtombs.m4
m4/wctob.m4
m4/wctype.m4
m4/windows-stat-inodes.m4
m4/windows-stat-timespec.m4
modules/at-internal
modules/fstat
modules/getloadavg
modules/getrandom
modules/stat
modules/windows-cond
modules/windows-mutex
modules/windows-once
modules/windows-recmutex
modules/windows-rwlock
modules/windows-spawn
modules/windows-spin
modules/windows-stat-override
modules/windows-thread
modules/windows-timedmutex
modules/windows-timedrecmutex
modules/windows-timedrwlock
modules/windows-tls

index 4adcb56ad880b3438b5ba2b6435ae1e227a22664..f09dd81ececa7ac732eb549433924003e76e7789 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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.
index e79476488817661a0b326cc33484be9db62a8989..0cab36454db65c6011eb0090ea1ed4107c123b18 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -66,7 +66,7 @@ AC_DEFUN([gl_ABSOLUTE_HEADER_ONE],
   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
index 0c8064f2ffc040a9c169e8b592b1c434e1d4f862..259e2221fa384abf1a6a5a3e6a1a2dfa43a75b98 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -11,6 +11,6 @@ AC_DEFUN([gl_FUNC_ACCESS],
   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
 ])
index 1cd100a2d7e8631d1e5c2f59676cf884d65713c0..c1d956b7555ba199d9949c86ee154e45c40042f2 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -40,12 +40,12 @@ int main ()
           [
 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
           ])
@@ -59,12 +59,12 @@ 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
@@ -116,17 +116,18 @@ int main ()
           [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
           ])
       ])
index 8964ee84a4bfb46f4602883a82b2ec687bb031e4..ad22a0a61ac65abe6171142976704658a3d1b2c6 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -41,7 +41,7 @@ AC_DEFUN([gl_BUILD_TO_HOST],
   case "$build_os" in
     cygwin*)
       case "$host_os" in
-        mingw*)
+        mingw* | windows*)
           gl_final_[$1]=`cygpath -w "$gl_final_[$1]"` ;;
       esac
       ;;
index 3789cbffbf5c3d3d7bc8006df2530c8519b109d5..e2f567755689813c328c1170d747f5382031cb09 100644 (file)
@@ -1,4 +1,4 @@
-# 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
@@ -41,7 +41,7 @@ AC_DEFUN([_AC_FUNC_CALLOC_IF],
                              # 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
index d319645fd3f562540873a5f2a53afd617b7f46ce..8a1522f61baf14e6fb8bcf7f589c1bb15a08c9f3 100644 (file)
@@ -1,4 +1,4 @@
-# canonicalize.m4 serial 38
+# canonicalize.m4 serial 39
 
 dnl Copyright (C) 2003-2007, 2009-2023 Free Software Foundation, Inc.
 
@@ -66,8 +66,8 @@ AC_DEFUN([gl_CANONICALIZE_LGPL_SEPARATE],
   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])
@@ -158,16 +158,16 @@ AC_DEFUN([gl_FUNC_REALPATH_WORKS],
       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
index 0e876a01f91b9a8a072401a59f01e40335647eb7..3b8b7c5148f5b4860bae8e28e08667727763f4b7 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -91,10 +91,10 @@ int main ()
         [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
         ])
     ])
index ff19b049b58d66b8a1a11494ea051685abb86f4f..f0b6102bd7b5ebe2820d7f9868ad38d1586a2b2b 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -77,7 +77,7 @@ int main (int argc, char *argv[])
                                      # 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
@@ -147,10 +147,10 @@ int main ()
         [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
         ])
     ])
index 1e66c9ecd05bf78bf53489586d7317692a0bd1b3..812497ac58ac0fc817ad9368eb2a3de93cd5406d 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -51,7 +51,7 @@ int main (int argc, char *argv[])
                                    # 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
index 8156c1d7e02ec7b15ed46f9d68c92f4986692cfc..e82dc1a093f9268ae947d9daf065032c40bcd32a 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -58,7 +58,7 @@ int main (int argc, char *argv[])
                                      # 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
index d7d708e28ea9e6bda926624a807c4312883fe469..d2f73ac6e90abb0b5bd2115f6e0ed3a004ddcf76 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -57,7 +57,7 @@ int main (int argc, char *argv[])
                                      # 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
@@ -89,9 +89,9 @@ long double d = 0.3L;]],
          [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"
index 464fbc3203b8187f644f1943d6bdc911888a5798..6413695056f52b24f44b78e1d0b662ff89f7438c 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -59,7 +59,7 @@ AC_DEFUN([gl_FUNC_CHMOD],
        [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*)
index 3e05f85a2d0e00b6dffa27e3936c67f6598b5909..9fde1d681d5affe8438d40dda8ee23bb6038ec2d 100644 (file)
@@ -1,4 +1,4 @@
-# serial 35
+# serial 36
 # Determine whether we need the chown wrapper.
 
 dnl Copyright (C) 1997-2001, 2003-2005, 2007, 2009-2023 Free Software
@@ -46,14 +46,14 @@ AC_DEFUN([AC_FUNC_CHOWN],
        [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
index 28534db1c76fdb7a7b63f3268bc0d6f70f7e7c70..7ed718c003e5cc178f4574b94714e2fdd7930dd7 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -32,7 +32,7 @@ AC_DEFUN([gl_CLOCK_TIME],
   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
index 0c2207cadd784acffa74bfdd91653ca6d5b44de5..fd7f9cae7259d4419d1a530aa9ad4992a0b564ad 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -8,7 +8,7 @@ AC_DEFUN([gl_FUNC_CREAT],
 [
   AC_REQUIRE([AC_CANONICAL_HOST])
   case "$host_os" in
-    mingw*)
+    mingw* | windows*)
       REPLACE_CREAT=1
       ;;
     *)
index 3c0ac492e18689fa16f5578f58252f88d672fe49..89fe824e30262b35d22c1c8305df3c3de8720036 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -44,7 +44,7 @@ AC_DEFUN([gt_CSHARPEXEC],
            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*)
index 4fe21b0c95df1bb8f72e6bead6ca9d367c86d158..199905ddfb3793ae8aecc0e58f939c53909213cb 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -9,6 +9,6 @@ AC_DEFUN([gl_FUNC_CTIME],
   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
 ])
index 58f33115358960e83dc8f02571c14e8c332c0139..a4c32003b0328a9d2354496c73adea87871e6a7b 100644 (file)
@@ -1,4 +1,4 @@
-# serial 21
+# serial 22
 
 dnl From Jim Meyering.
 dnl
@@ -40,16 +40,16 @@ AC_DEFUN([gl_CHECK_TYPE_STRUCT_DIRENT_D_INO],
            [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
index b6c189c0d9f2cec111995945b3f6021860d8701f..922dd77862fbe9e84a2d52db2a4c12be5783dbc6 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -38,8 +38,8 @@ AC_DEFUN_ONCE([gl_DIRENT_DIR],
   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])
 ])
index fc41c99c3e583bb977437636013557cb040d7f11..6243d5175149da2fa2c5ece7e6e7b789e0644976 100644 (file)
--- a/m4/dup.m4
+++ b/m4/dup.m4
@@ -1,4 +1,4 @@
-# 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,
@@ -36,9 +36,9 @@ AC_DEFUN([gl_FUNC_DUP],
       [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
       ])
     ])
index e1cc73e18dbb58a19cfc86de526a5b8e04c3e4a4..876e0d8bd2df702ff713986ae084b396d6b02069 100644 (file)
@@ -1,4 +1,4 @@
-#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,
@@ -67,7 +67,7 @@ AC_DEFUN([gl_FUNC_DUP2],
       ],
       [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" ;;
index 4ca7daf6f13ac94166e9d345237d5ccf632ea6f2..b80fbfbe2f3c7b7719f03cc5acefe91a6dbcc6ce 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -10,6 +10,6 @@ AC_DEFUN([gl_FUNC_EXECL],
   AC_REQUIRE([AC_CANONICAL_HOST])
 
   case "$host_os" in
-    mingw*) REPLACE_EXECL=1 ;;
+    mingw* | windows*) REPLACE_EXECL=1 ;;
   esac
 ])
index d72f0eb90cdc6997c4bbc39cb389c1c18829668d..df0aeefd1fdbad2d2405d19886110c04860dcc91 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -10,6 +10,6 @@ AC_DEFUN([gl_FUNC_EXECLE],
   AC_REQUIRE([AC_CANONICAL_HOST])
 
   case "$host_os" in
-    mingw*) REPLACE_EXECLE=1 ;;
+    mingw* | windows*) REPLACE_EXECLE=1 ;;
   esac
 ])
index ea60f0900996786bbfc86ad067e241f5e8b1105d..95c35c843a7f86b82fd9c0543fb430844be77e25 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -10,6 +10,6 @@ AC_DEFUN([gl_FUNC_EXECLP],
   AC_REQUIRE([AC_CANONICAL_HOST])
 
   case "$host_os" in
-    mingw*) REPLACE_EXECLP=1 ;;
+    mingw* | windows*) REPLACE_EXECLP=1 ;;
   esac
 ])
index 5dbacf62c65d4b76cd4e9f3df509421fc8e2ff8b..9f256e0bd0529fd5166e2e93c64079759928c78e 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -10,6 +10,6 @@ AC_DEFUN([gl_FUNC_EXECV],
   AC_REQUIRE([AC_CANONICAL_HOST])
 
   case "$host_os" in
-    mingw*) REPLACE_EXECV=1 ;;
+    mingw* | windows*) REPLACE_EXECV=1 ;;
   esac
 ])
index c94aacb6153ef54b29c2562c85e32bb1b120cabe..0e7914d29c8d073d2757c23c29363ddc7ce15820 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -10,6 +10,6 @@ AC_DEFUN([gl_FUNC_EXECVE],
   AC_REQUIRE([AC_CANONICAL_HOST])
 
   case "$host_os" in
-    mingw*) REPLACE_EXECVE=1 ;;
+    mingw* | windows*) REPLACE_EXECVE=1 ;;
   esac
 ])
index 69d11caebb5b559d0c984acdd65069e7b47c8e10..39c816303da5567004cf9c3b0c72518d8abe86bc 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -10,6 +10,6 @@ AC_DEFUN([gl_FUNC_EXECVP],
   AC_REQUIRE([AC_CANONICAL_HOST])
 
   case "$host_os" in
-    mingw*) REPLACE_EXECVP=1 ;;
+    mingw* | windows*) REPLACE_EXECVP=1 ;;
   esac
 ])
index 3f211049b8992684f3105d85c6e5e6a39c3ef69e..8992566ff53cc7d4b8c5e05b938ec1380bed843d 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -13,7 +13,7 @@ AC_DEFUN([gl_FUNC_EXECVPE],
   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
index 3b71f96bb5bed34833b3a07598768a35099812e5..cdd1f295d75ebd6c827a33fee1702ac88e82960e 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -136,10 +136,10 @@ int main ()
         [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
         ])
     ])
index 3d7d5d713a06a875492345d024f6fe09ee3819e9..fc0bcd1944cd9640fc40d039f2af0dec6b02019c 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -104,7 +104,7 @@ int main (int argc, char *argv[])
                                    # 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
@@ -159,7 +159,7 @@ int main (int argc, char *argv[])
                                      # 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
index 842d5a510134d3df68642968c1d1cbcceaf83304..1d9cc4b59a4442b7e4d0299b5f8d57f57f1a3024 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -153,7 +153,7 @@ int main (int argc, char *argv[])
                                    # 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
index 1a456e249d39cb206fc0fdfcb410664188b45c0e..a223de03d9cc9d926a1003d50c1454af3bc3d7af 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -90,7 +90,7 @@ int main (int argc, char *argv[])
                                      # 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
index 183b0e9801191c4b5001ba9ee918bc9bf7e34cb9..eeb789216e6c02a3dfed1299db472b059cd28937 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -82,7 +82,7 @@ int main (int argc, char *argv[])
                                      # 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.
@@ -132,10 +132,10 @@ int main ()
         [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
         ])
     ])
index 78c7a3d5794e1c2c2ad96aebce4b9238082a61e0..b6458ef95c2281b89475e1fc90b25f41cfb4a6f3 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -151,7 +151,7 @@ int main (int argc, char *argv[])
                                    # 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
index bc5638737e574db9b8c43a60987d617aa8d72876..c9ba2eae79cfc4685212ec28b3033995d3376662 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -82,8 +82,9 @@ int main ()
           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
index ecdb3ce8fba760a496b0f18089d374ff3355dd52..30a9348e6722a5aed5e1add10a7305ccfebf02dc 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -66,10 +66,10 @@ int main ()
         [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
         ])
     ])
index b587e0eadd0a38ba4a42f1cef6549d5d5b485e13..72206baf98ad433e30b7418711c000702765abfb 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -32,16 +32,16 @@ AC_DEFUN([gl_FUNC_FCHDIR],
          [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
index e9291f0bdabcf536b9feb0c0693b6b0b295307ce..f076a7b9631537f5d1fb905cfe090956abc259a3 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -88,7 +88,7 @@ AC_DEFUN([gl_FUNC_FCLOSE_STDIN],
                               # 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
index 59d558bdd4b3ceb9778ef64cbf5a6f34842a03b8..2fc3d09ad7786c1e3e4f04efa0e8d05f4879d0e2 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -117,9 +117,9 @@ AC_DEFUN([gl_FCNTL_O_FLAGS],
          *) 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
        ])
     ])
index 6b3909b8fc49de7e8980dbda8deb6522bd2c449f..328cfd249aae321dc85c56ec7eeeddc8060b9634 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -36,8 +36,8 @@ main (void)
           [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
           ])
       ])
index 3e3c8903aa5805528e2cd9120a7af091360fc7ac..6f819de36409e170d7c1730355daa3a1b4d4b682 100644 (file)
@@ -1,4 +1,4 @@
-# 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
@@ -79,9 +79,9 @@ AC_DEFUN([gl_FUNC_FFLUSH_STDIN],
        [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
index 0242dd9dad5a4f3e9c22ce5daaefa922beeda7df..9268f3a7bf8b0849cde7c605192b5dff56943f45 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -56,7 +56,7 @@ AC_DEFUN([gl_FUNC_FFSLL],
                                 # 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.
index 2f0c9c4ee9cc8889d4f8cefe189a95bf436c6fe8..95897cf17ba991ae03f887aab8eb41635fdd103d 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -84,9 +84,11 @@ int main ()
                [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
         ])
     ])
index ebab1e7bbe51b661781f4e6143faac676fd85027..d2fd3422b89a35764f1f3524717d0eab7106ff5b 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -47,7 +47,7 @@ int main (int argc, char *argv[])
                                    # 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
index 4ddb122de8057e69c5e7846650575bd8206bde64..2c3b0ccf377e68cd2b807e9c7d3e8a22f0bd4db7 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -54,7 +54,7 @@ int main (int argc, char *argv[])
                                      # 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
index 4fce225a30cc37528806b490e225428ed4bd5444..22755e801858efde7d72a504e2d6b4de7a21d338 100644 (file)
--- a/m4/fma.m4
+++ b/m4/fma.m4
@@ -1,4 +1,4 @@
-# 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,
@@ -171,7 +171,12 @@ int main()
          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
index 69e66747f50f040dc69d44645b19b5f0873e312c..1f7d2b79ebf6e3b1cf62c70f671b0e450e219bb9 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -190,7 +190,12 @@ int main()
          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
index 3ed7c2e97958848d0a7880ac201542d9caaef44d..8aade89fc7262f35bd4f5721909825a905f65192 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -388,7 +388,12 @@ int main()
          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
index fe7c8f41f8f49c6f660961678e2be0ac2cc2bb8b..16596c155340ad106def0ce6bd8503103f99a334 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -63,7 +63,7 @@ int main (int argc, char *argv[])
                                    # 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
index 33ea15887d6724a862e34ecf0dc66c703deff577..47592337b5362f7c01dbb0c4ad8e21d6b887c51a 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -64,7 +64,7 @@ int main (int argc, char *argv[])
                                      # 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
index 0096de3bcbb76991de462384939c10164fdd4d46..b8a7158d79266b14e57f2d04b93e6fa1c155d86e 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -75,7 +75,7 @@ int main (int argc, char *argv[])
                                      # 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
index 7daa4caec5b25e391c01ba8f5a29efee11b9f31d..ec009c91c2232a83b41f0aab84c24da0d5eb6295 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -9,7 +9,7 @@ AC_DEFUN([gl_FUNC_FOPEN_ITSELF],
   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.
@@ -136,7 +136,7 @@ int main ()
           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.
           *)
index 459f8c45fc7db68a098477996c100a0a594db03b..94a954ddf0d7c181761b8deaf07c4e411eefa9b3 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -9,7 +9,7 @@ AC_DEFUN([gl_FUNC_FREOPEN],
   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
       ;;
     *)
index 0480d98f304faa63945cfb695f1ae66cb0ea99d3..d38d1f422b9563fcf6e865a48b545a0e110b4662 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -165,7 +165,14 @@ int main()
         [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
index 94a7ef6801b98aee1000d89c35a1ab836ce7d449..2857dcc87588d5ad59406f7b7f02c8c576964d75 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -89,7 +89,14 @@ int main()
         [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
index b4cf0ca9ea1d203bf2ed4b6be6e6adb212292c2a..eb79aea520370fea0ffe9fe66022129946c86cf4 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -223,7 +223,7 @@ int main()
         [
 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
index 7cb2edb001611229d2a892909454b2eb9a15858b..382741f412dc6a8bc68fe88d39f266719fb10404 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -10,7 +10,7 @@ AC_DEFUN([gl_FUNC_FSTAT],
   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.
index e13fcd93d23f4e157ab3fabf05af6657993bb428..8efb49d2bb9b43e508b7139713abf44b475c29a5 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -46,7 +46,7 @@ AC_DEFUN([gl_FUNC_FTELLO],
       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
@@ -62,12 +62,12 @@ AC_DEFUN([gl_FUNC_FTELLO],
           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(
index cbb5f423de1ee04e64f96c0d4465ce554952ba65..e362832fb92792b38f93d84d2b03e674f823932f 100644 (file)
@@ -1,4 +1,4 @@
-# serial 23
+# serial 24
 
 # See if we need to emulate a missing ftruncate function using _chsize.
 
@@ -15,7 +15,7 @@ AC_DEFUN([gl_FUNC_FTRUNCATE],
     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
index e95db056b0d28bb13b1b6a3146bffbd2e087f523..7dda3edc7260a456649ac6f14a0deb226e25eeed 100644 (file)
@@ -6,7 +6,7 @@
 # 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],
   [
@@ -116,7 +116,7 @@ AC_DEFUN([gl_FUNC_GETCWD],
 
   gl_abort_bug=no
   case "$host_os" in
-    mingw*)
+    mingw* | windows*)
       gl_cv_func_getcwd_path_max=yes
       ;;
     *)
index 0686b5f079d5a3fb02782e50bd7f0e0a3e0b55dd..dc73946205b8f0d0486ba56beda74c1700b242e4 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -23,7 +23,7 @@ AC_DEFUN([gl_LIB_GETLOGIN],
 [
   AC_REQUIRE([AC_CANONICAL_HOST])
   case $host_os in
-    mingw*)
+    mingw* | windows*)
       GETLOGIN_LIB='-ladvapi32' ;;
     *)
       GETLOGIN_LIB= ;;
index 7981a09552ba92dee3c6cb678e9e145b48ec8213..b136ce9537c60ca38f655999b38a09c25d209a75 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -197,8 +197,8 @@ main ()
           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
       ])
index 79925a736bd5a4803e78245294763f09bb31452a..c603f6b59be2bfba87fd1cee00ab20c81302098b 100644 (file)
@@ -1,4 +1,4 @@
-# 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
@@ -22,7 +22,7 @@ AC_DEFUN([gl_FUNC_GETPAGESIZE],
     fi
   fi
   case "$host_os" in
-    mingw*)
+    mingw* | windows*)
       REPLACE_GETPAGESIZE=1
       ;;
   esac
index 7b7f9ce2ee87aeab9c284ce30854f669cc1acd09..fd73191b7b550ce83213bd7d454274b9ab393ea3 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -45,7 +45,7 @@ AC_DEFUN([gl_FUNC_GETRANDOM],
   fi
 
   case "$host_os" in
-    mingw*)
+    mingw* | windows*)
       AC_CHECK_HEADERS([bcrypt.h], [], [],
         [[#include <windows.h>
         ]])
index 5051d61cc87bdf3c2023e8b0d3935408979975fb..d3ffede638210554e50da61f60d6820637798bab 100644 (file)
@@ -1,4 +1,4 @@
-# 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
@@ -57,7 +57,7 @@ int gettimeofday (struct timeval *restrict, struct timezone *restrict);
     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],
index c4416c09e996bfef3d2a23cab66082a3eb30f83a..9b0506cb07fef72872bb029890dc242abbac2d7e 100644 (file)
@@ -1,4 +1,4 @@
-# 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
@@ -47,7 +47,7 @@ AC_DEFUN([gl_HOST_OS],
        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';;
index 7a44195784e15f1dd5326898ca21aa4f4c725dc8..82e29679bf3f0839463e3067628b0cc39a6057d5 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -60,7 +60,7 @@ int main (int argc, char *argv[])
                                    # 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
index 4817a96522c9704b4de276eba03bc02f2bf5b0df..80b83a4c6ed7326dba13f181a0c15379523511d4 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -76,7 +76,7 @@ int main (int argc, char *argv[])
                                      # 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
@@ -145,7 +145,7 @@ int main ()
         [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
         ])
index 209bf5ccb1ecc11ac18841e4156d26a8e24b8a57..4296f362f24c770d0d3f99f9e2c47e71653d2f74 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -76,7 +76,7 @@ int main (int argc, char *argv[])
                                      # 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
@@ -176,10 +176,10 @@ int main ()
         [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
         ])
     ])
index e31bd43544356a26801c9034fff3247da227260e..257272bda713b31dbb758778f30eda1168aa4bff 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -123,10 +123,11 @@ int main (int argc, char *argv[])
         [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
         ])
     ])
index a89d28561bb780eea07e4177ab7f1040961fea1a..005c35ef855fd0ee063d78c1d002c4378ef8ca98 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -108,10 +108,10 @@ int main (int argc, char *argv[])
         [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
         ])
     ])
index b25323e95f2cb9db9f06a2142dd22da8c18a7a4b..b47c9818205b482090ae349cbb9cc3c073effdd8 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -159,11 +159,10 @@ int main (int argc, char *argv[])
         [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
         ])
     ])
index c073ca4f057d077d8baf021a5879629f151c9e26..948ed30ec92dc8804c39673a3ac1d06421c2a788 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -11,7 +11,7 @@ AC_DEFUN([gl_FUNC_ISATTY],
   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
 ])
 
index 8f18ae8d6286c142c55652b4acc29a6a2a052d95..6170890d25f3a8547f339c7fc3aa926c5a81131c 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -153,9 +153,9 @@ int main ()
       [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
       ])
     ])
index 2b5ebdf9d4f16bc7bf3781e8a5d8a32bf7496da6..de274539330420a419c723196b72c71a57fbf0d0 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -160,7 +160,7 @@ int main ()
       [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
index 01f7bbd20d8cb286f6f6bc75cd5c3630f159f3ce..f96e5e206084a90e84b9c0a67a2d35a24140ae35 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -181,7 +181,7 @@ int main()
         [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
index bb39d02558f4f119ce8a682d1377596080e48aca..1b1c0356650a9e7a1ce03c9f8e1f81d4cbc958af 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -232,7 +232,7 @@ int main ()
         [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
index 54a2943ead4fd11af2e8e7a15d61e6bd1de24fe2..b0572819ce57ce06d3913b5bc62ee29d0da91708 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -25,7 +25,7 @@ AC_DEFUN([gl_FUNC_ISWDIGIT],
 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" ;;
index a16b10aed3df0e805838a0a054282ce07beb8962..7321807bc67635adf64a682f9a690027d28ee4f2 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -24,7 +24,7 @@ AC_DEFUN([gl_FUNC_ISWXDIGIT],
 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" ;;
index 8b051c0042b3fd6abb6f96f8d20ee9e051605942..7e65d72fea432cfef376161de13c0cb92cedfe46 100644 (file)
@@ -247,7 +247,7 @@ AC_DEFUN([_AC_SYS_LARGEFILE_PROBE],
     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]
       )
@@ -305,7 +305,7 @@ AC_DEFUN([gl_LARGEFILE],
 [
   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.
index f2785d67c5bbb72a7b25b0a39b6bb178816d540c..aecd89f49decdc2e8927fb262fa8197b7e7c7c6f 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -124,10 +124,10 @@ int main()
         [
 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
         ])
index acc61274357a49ec05559e5f9636673483364eb8..70ca4a2e1d01d65014aaa497ab8d773b3f5406b0 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -67,7 +67,7 @@ else
     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'` ;;
         *)
index 2a7f4918d59b68960ca31c5ad23858762894a0d7..4f1488996bacc748b3d33c65327b05d099960e70 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -69,7 +69,7 @@ int main () {
         # "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.
index 40b13aeaa790562d3472b7782e611994a7fd7159..ac1c7217da50f157e44e3ed844f4422370f6b866 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -86,7 +86,7 @@ int main () {
         # "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
@@ -228,7 +228,7 @@ int main () {
             # "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
index a400b75763b0edcfe1cdb8df239b23c1d10eaf71..4350010cba7cf91db8583ad4d24d192913dab586 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -90,7 +90,7 @@ int main ()
         # "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.
index eb51484ec6e8e2ec6c09683becebd0f6521627a1..67e77cd879b798ffaad9c60a6a54e2b927b435a3 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -83,7 +83,7 @@ int main () {
         # "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
index 8cb7b5e519d28f6d20dd70263640b98ade6683d7..10a2b5875a947c98281ad1b7cac7094590e1a641 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -91,7 +91,7 @@ int main ()
         # "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
index a33a0a46610226128e0db28072a0dabe3a54166a..f7281ac0c819db994b6618567e8ac5b785ed394f 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -59,7 +59,12 @@ AC_DEFUN_ONCE([gl_LOCALE_H],
     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
index 374dcbf54fe39f8fa4830c9e21ae6672b7b042ed..b9d8c1b11377e21e3a0ecc778b047cf944d87b7b 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -36,7 +36,7 @@ AC_DEFUN([gl_FUNC_LOCALECONV],
                                 # 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
index e74ca7d151790acb43e3d65ba557c5a684117fbe..b111ec737e98707c2277fefbaf82a6ddae9b403d 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -9,6 +9,6 @@ AC_DEFUN([gl_FUNC_LOCALTIME],
   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
 ])
index a0fcc3e4652db26923820b937eb418c3de1afa4a..8c37d4d0a4339835b1fb69d95f8ff9742e73845e 100644 (file)
--- a/m4/log.m4
+++ b/m4/log.m4
@@ -1,4 +1,4 @@
-# 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,
@@ -63,7 +63,7 @@ int main (int argc, char *argv[])
                                    # 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
@@ -103,10 +103,10 @@ int main ()
         [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
         ])
     ])
index e803a8e6b39274f04e7ac69cfa0197d168f5569e..748903e3974f11c26fb962f2bc8f04ddf87f3367 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -63,7 +63,7 @@ int main (int argc, char *argv[])
                                    # 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
@@ -103,10 +103,10 @@ int main ()
         [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
         ])
     ])
index 4d44c71dc6452c3a641a6da9953f8ee971ac7904..801634c6098332695f6bcf816c3c53fbe8e5f639 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -73,7 +73,7 @@ int main (int argc, char *argv[])
                                      # 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
@@ -127,10 +127,10 @@ int main ()
         [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
         ])
     ])
index 319c461a5def41916d091a2d2fd5db55da250c15..3c9caa7cb165ddf8be9324805a5e42a77728a624 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -150,7 +150,7 @@ int main (int argc, char *argv[])
                                # 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
index 9e065409503ba4f6d067f86be3bbc79091b4bd1a..c4c46e51a2e24159be433fa4c64c7c1f128295cd 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -57,7 +57,7 @@ int main (int argc, char *argv[])
                                      # 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
index 0cb6c7391fb91720d4e28a6a5f22f196913fe525..c3625b545e5ea1c1a7b4a90dfd05a1b2badf80fb 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -66,7 +66,7 @@ int main (int argc, char *argv[])
                                      # 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
@@ -114,10 +114,10 @@ int main ()
         [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
         ])
     ])
index 3519ce8e3827d717a4a37702d69e1fdb6299467f..759ef4358eac18d6dba8ffbf241ee9b9b8d06228 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -67,7 +67,7 @@ int main (int argc, char *argv[])
                                      # 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
@@ -192,7 +192,7 @@ int main (int argc, char *argv[])
                                # 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
index 86e39a237c1fa40245c434be88c1815feb53722a..9cf6d858e469524c195c2c3bbbdf72c147f93947 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -84,7 +84,7 @@ int main (int argc, char *argv[])
                                      # 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
@@ -168,10 +168,10 @@ int main ()
         [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
         ])
     ])
index 112cd8fcb952a9fc21b63268d50c2887a7193947..f0dc20eb3e35dc165b29b494a37b440e78a55157 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -85,7 +85,7 @@ int main (int argc, char *argv[])
                                      # 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
@@ -175,10 +175,10 @@ int main ()
         [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
         ])
     ])
index 5fede3f0674dc6a58818a59de0e7008753ed5798..f4d9983bf60051c11fba2bfdf910fab13026c27d 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -172,7 +172,7 @@ int main (int argc, char *argv[])
                                # 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
index 94ce725175a438e173d029da5ce738d6c34ee53f..8a4ad0d449114b09ef7aa986bb4ce7daa78174d9 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -134,7 +134,14 @@ int main ()
         [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
index fcb7f467632cc9fee9f17e304b6037cc837838a4..10fadaf11c82ae65cff3f0d8618a0ef9a8662266 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -75,7 +75,14 @@ int main ()
         [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
index ef38e80ba3f6510084be457a56258ef67bf4b56b..74884a1ad8d98af367b872838359900274ef61a8 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -108,10 +108,10 @@ int main ()
         [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
         ])
     ])
index d9fe5fdc71a806d47b6ee7927b9903a86bb71326..6747ce1c04dc69170a44b4f124ff1df3ad1eceed 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -73,7 +73,7 @@ int main (int argc, char *argv[])
                                      # 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
@@ -127,10 +127,10 @@ int main ()
         [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
         ])
     ])
index cc50f4d4d1f3982b29868be71b3ef4cb3829d4d6..0b33a596e36a9c59eae5ad3086a66c2fbc58e273 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -191,7 +191,7 @@ int main (int argc, char *argv[])
                                # 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
index 0da458804fb4cf618a80683c6c27bd2129beb4cc..e8e0bb8bd9f96ce37cc6892cda9cc3575c71c26a 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -13,7 +13,7 @@ AC_DEFUN([gl_FUNC_LSEEK],
   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)
index 2bc4669793469e90b8d5b59dec50743ad33f3ace..977386348adab81fcee06a648bc949b742fcbfdf 100644 (file)
@@ -1,4 +1,4 @@
-# serial 34
+# serial 35
 
 # Copyright (C) 1997-2001, 2003-2023 Free Software Foundation, Inc.
 #
@@ -62,7 +62,7 @@ AC_DEFUN([gl_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK],
           *-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" ;;
           *)
index 0bbe1d95be0cabf5405b6c2c17d39bb44cc666f1..961a6a8673b670ed83b272aec2f67fee9ab08d17 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -84,7 +84,7 @@ AC_DEFUN([gl_MALLOC_ALIGNMENT],
         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
index bc580176f5f010ccf1b210a021fb01d35a25d52b..096c262b17ee275aba0cb0b0b8722f84be7f2489 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -26,7 +26,7 @@ AC_DEFUN([_AC_FUNC_MALLOC_IF],
           # 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" ;;
@@ -128,7 +128,7 @@ AC_DEFUN([gl_CHECK_MALLOC_POSIX],
       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
index ceb8802a57cea68e5617629e95dea2aa5acef450..85bde5219d02512ee6c84aa07c2c23cda479c60c 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -138,12 +138,12 @@ AC_DEFUN([gl_MBRTOC16_RETVAL],
       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(
@@ -301,9 +301,9 @@ AC_DEFUN([gl_MBRTOC16_C_LOCALE],
        [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
        ])
     ])
@@ -331,7 +331,7 @@ AC_DEFUN([gl_MBRTOC16_SANITYCHECK],
 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.
index 25196039bbc094ef9560337cb8dbf72e1a465a23..361c9f83802a4f9a687485582f796cdfa4b50d2c 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -105,13 +105,13 @@ AC_DEFUN([gl_MBRTOC32_EMPTY_INPUT],
         [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
         ])
     ])
@@ -154,9 +154,9 @@ AC_DEFUN([gl_MBRTOC32_C_LOCALE],
        [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
        ])
     ])
@@ -184,7 +184,7 @@ AC_DEFUN([gl_MBRTOC32_SANITYCHECK],
 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.
index 430e9ad83225aa3d59c3c3a6ef0419e7c1e57d19..ea0789510f6a501a911af2f6b1cd0fe0499a5da0 100644 (file)
@@ -1,4 +1,4 @@
-# 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
@@ -91,7 +91,9 @@ AC_DEFUN([gl_FUNC_MBRTOWC],
   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
@@ -129,7 +131,7 @@ AC_DEFUN_ONCE([gl_MBSTATE_T_BROKEN],
   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
@@ -411,14 +413,16 @@ AC_DEFUN([gl_MBRTOWC_RETVAL],
       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>
@@ -582,13 +586,13 @@ AC_DEFUN([gl_MBRTOWC_STORES_INCOMPLETE],
      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>
@@ -700,7 +704,7 @@ AC_DEFUN([gl_MBRTOWC_EMPTY_INPUT],
                                 # 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
        ])
@@ -745,9 +749,9 @@ AC_DEFUN([gl_MBRTOWC_C_LOCALE],
        [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
        ])
     ])
index c388a8b9a1f3ea0ed123c1929e08e60512c0c5fb..8d10569f6468e7b74c1a8a0bf81d465b40b8b895 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -32,7 +32,7 @@ AC_DEFUN([gl_FUNC_MBSINIT],
       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
index 720f727f95ed4471f3b0d7611e5370235d949e8f..db78ee0edc64e4e82f11aa2365b08e020674655f 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -61,10 +61,12 @@ AC_DEFUN([gl_MBSRTOWCS_WORKS],
       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
index 4f1aed01675b400354be967aef09853a6e9b9eb5..1523f19e0956bff1c9af7a48f686fe817330292a 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -85,12 +85,12 @@ AC_DEFUN_ONCE([gl_FUNC_MEMCHR],
        [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
        ])
     ])
index c2bc4da7ca9cfb0868f6bf8e374b6bbd31787e89..79c5e2c740d936bd43345ecf27464d324090dd02 100644 (file)
@@ -1,4 +1,4 @@
-# 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
@@ -25,23 +25,25 @@ AC_DEFUN([gl_FUNC_MKDIR],
        [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
@@ -65,16 +67,16 @@ AC_DEFUN([gl_FUNC_MKDIR],
        [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
index d4a15ead33ac4392a8c279eff7358cf84033f257..40958a72c4adcf6cd7f12a77ad4c1b2a96db1fbb 100644 (file)
@@ -1,4 +1,4 @@
-#serial 29
+#serial 30
 
 # Copyright (C) 2001, 2003-2007, 2009-2023 Free Software Foundation, Inc.
 # This file is free software; the Free Software Foundation
@@ -63,7 +63,7 @@ AC_DEFUN([gl_FUNC_MKSTEMP],
                                  # 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
index 69cce86da5a9fc0964c1065b5ea83bdd0c759c92..cdb60cea50c1b5004dc76536c045692dd094320e 100644 (file)
@@ -1,4 +1,4 @@
-# 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
@@ -264,9 +264,9 @@ main ()
          [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
@@ -287,7 +287,7 @@ AC_DEFUN([gl_FUNC_MKTIME],
        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'
index 90671d137000bd7cb7887197bfca2954f60aeb76..7ed6e4f357e60c3c360a76d04ee515008058455f 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -66,7 +66,9 @@ int main (int argc, char *argv[])
                                    # 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
index 555bf4663494385e96ddf13da0be043385a44453..36752fdd28ba307e5edadb30835f2dd4a673cc61 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -74,7 +74,9 @@ int main (int argc, char *argv[])
                                      # 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
index 46f55bd911bdaee017d5760c03cd3b9ef2873cd6..ddefb07f6816f031fa961229e4948a378d674cc7 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -68,7 +68,9 @@ int main (int argc, char *argv[])
                                      # 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
index 5e3412e24653fcba5ac9234f647ae6e9866c36d2..f1aa4ba5c9cb83cfd19e34b83ce2b12464d62552 100644 (file)
@@ -1,4 +1,4 @@
-# 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;
@@ -144,7 +144,7 @@ AC_DEFUN([gl_FUNC_MPROTECT_WORKS],
            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.
index b7f22d7b6060c92f383c9266d3554dded6f8b718..63fe220037d9f233b1aefe36913879394eaf46aa 100644 (file)
@@ -1,4 +1,4 @@
-# serial 44
+# serial 45
 
 dnl From Jim Meyering.
 dnl Check for the nanosleep function.
@@ -116,11 +116,14 @@ AC_DEFUN([gl_FUNC_NANOSLEEP],
         *)     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
        ])
index f63d2aef4c5bbe341ead3f9a051db86ee7e846d6..3654b71d9d8c3e96aa1267a415e8d3eee00bcba1 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -19,11 +19,11 @@ AC_DEFUN([gl_NONBLOCKING_IO_BODY],
 [
   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
 ])
index 94fa2bb75308d12e2551c19d0d76b300bd0d38c2..b14fd013fc750065184d6ceedd2d375eba99c6d9 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -9,7 +9,7 @@ AC_DEFUN([gl_FUNC_OPEN],
   AC_REQUIRE([AC_CANONICAL_HOST])
   AC_REQUIRE([gl_PREPROC_O_CLOEXEC])
   case "$host_os" in
-    mingw* | pw*)
+    mingw* | windows* | pw*)
       REPLACE_OPEN=1
       ;;
     *)
index 9842b24c8e00f2ce2e07544054288c5e0c4f78e8..f5bfbff3cdefc1fd0a6402752e2c38b8ff028a51 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -51,7 +51,7 @@ AC_DEFUN([gl_FUNC_PERROR],
                                   # 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
index cfadbf24fdb513e9a7d3ef7859da00717e230bec..9aa8c428344b75ac91f067727880bb7ee0c25d9a 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -79,7 +79,7 @@ This is MacOSX or AIX
   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.
index e546548a46403c61e82563ad2d626467a30cc15d..56d1d9a9fc5de8c12160e0e4bd5ba3ca3a4febc3 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -32,11 +32,11 @@ AC_DEFUN([gl_FUNC_POPEN],
           [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
           ])
       ])
index 0a0dfe7685162f2e07d4335929e91c2c27c91933..63e3b7a8e211c67215c9da600c5d731eb8cf4bed 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -588,7 +588,7 @@ int main ()
             *-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
          ])
@@ -632,7 +632,7 @@ int main ()
             *-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
          ])
@@ -678,7 +678,7 @@ int main ()
             *-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
          ])
index 8b8f01067fc19a1353780b5a0cd3db62d585b68b..3be48277a655085898bcfbc86b3258cf4dbc147d 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -86,7 +86,9 @@ changequote(,)dnl
            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
@@ -179,7 +181,7 @@ int main ()
                                # 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
@@ -223,20 +225,22 @@ int main ()
         [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
         ])
     ])
@@ -354,7 +358,9 @@ changequote(,)dnl
            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
@@ -568,7 +574,9 @@ changequote(,)dnl
                    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
@@ -681,7 +689,7 @@ int main ()
                                  # 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
@@ -736,7 +744,7 @@ int main ()
                                # 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
@@ -791,7 +799,7 @@ int main ()
                                # 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
@@ -857,7 +865,9 @@ changequote(,)dnl
            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
@@ -923,21 +933,21 @@ int main ()
         [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
         ])
     ])
@@ -1007,18 +1017,18 @@ int main ()
         [
 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
         ])
@@ -1102,13 +1112,17 @@ int main ()
 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
         ])
@@ -1143,13 +1157,13 @@ int main ()
         [
 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
         ])
@@ -1186,16 +1200,16 @@ int main ()
         [
 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
         ])
@@ -1242,7 +1256,7 @@ 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
@@ -1297,12 +1311,12 @@ int main ()
 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
         ])
@@ -1518,7 +1532,7 @@ 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
@@ -1615,7 +1629,9 @@ changequote(,)dnl
            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
@@ -1719,7 +1735,7 @@ changequote(,)dnl
                                  # 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
@@ -1767,11 +1783,11 @@ int main()
         [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
         ])
     ])
@@ -1844,40 +1860,40 @@ int main()
         [
 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
         ])
@@ -1934,17 +1950,17 @@ int main()
         [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
         ])
     ])
@@ -1983,7 +1999,7 @@ int main ()
         [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>
@@ -1996,14 +2012,14 @@ int main ()
                [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
         ])
     ])
@@ -2040,16 +2056,16 @@ int main ()
         [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
         ])
     ])
index 4eddeb79143fe7ab39938aec9e02581e8c1c25d0..3328c5167d1b84f64304e395b716900ff1697cf1 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -9,7 +9,7 @@ AC_DEFUN([gl_PTHREAD_COND],
   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.
index 197c62ec6d396bbf3cb55d680b0541df9a7a5bff..5932b8b38b359a347ba4ce39593dcce02562f8de 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -9,7 +9,7 @@ AC_DEFUN([gl_PTHREAD_MUTEX],
   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.
index deac4609fc5e8362341868df9af012ffe289107e..a39785ce744a03ccf3a648f8e31351f04bf1f938 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -9,7 +9,7 @@ AC_DEFUN([gl_PTHREAD_ONCE],
   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.
index ac559e9ccef1a81b0eea93451ffc3b7bf202c571..681655a523342ff7460c7e1582aeb804c2ebcbf2 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -9,7 +9,7 @@ AC_DEFUN([gl_PTHREAD_RWLOCK],
   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.
index d64bb682fb5e6e40cd502e7435636f49752dd348..3e8971fcc8c74344518f435d623227fc81b7f307 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -9,7 +9,7 @@ AC_DEFUN([gl_PTHREAD_SPIN],
   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.
index aafd97938536555ddd8f8225b4649fd777236ec7..9c099dafe3e9280465f10ef9a1363dccbed88133 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -9,7 +9,7 @@ AC_DEFUN([gl_PTHREAD_THREAD],
   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.
index b1db2a624709b636bd8683d5b0aa8e427ef19a15..c9af7c42026924d10d83ab08b8df42b4b3c8a8ea 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -9,7 +9,7 @@ AC_DEFUN([gl_PTHREAD_TSS],
   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.
index 0d536fc97a81d984fe856f2001637d955c7056df..8f78bd273735e25de0f1457c662cbcc293d0b776 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -20,7 +20,7 @@ AC_DEFUN_ONCE([gl_PTHREAD_H],
     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
index 66b29f8963e0574cb7a9e37000b3fd79dc172e97..7cc650c49d14e00981d70a5f840fa24fd6135b89 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -164,7 +164,7 @@ main ()
           *-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"
index a62bb0196050b086b5e98dba408c98dd613986eb..27ea4fdca69269099e952b78b59ee8a70aefbc44 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -103,7 +103,8 @@ AC_DEFUN([gl_PREREQ_PTSNAME_R], [
        [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
index d37a60213fcc062581e9f3e68772e5164ab37541..97a57d845feed7a34eb32e54e3edf6a8a9573574 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -43,7 +43,7 @@ AC_DEFUN([gl_FUNC_PUTENV],
                               # 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
index 26053914cbe84355b357b2bd4c376e12e71d9214..fcd6253557b550d8549e3ac219ba17e9c378c8a9 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -26,7 +26,7 @@ AC_DEFUN([_AC_FUNC_REALLOC_IF],
           # 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" ;;
index 7acadc4834307ffaedddcff495ce32b84e2f5268..20082b89a878fbae965405dd4f7f15c603195e13 100644 (file)
@@ -1,4 +1,4 @@
-# serial 74
+# serial 75
 
 # Copyright (C) 1996-2001, 2003-2023 Free Software Foundation, Inc.
 #
@@ -327,10 +327,10 @@ AC_DEFUN([gl_REGEX],
         [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
         ])
       ])
index db3801a82cf0339cf750a0b281ed5421f53cc949..ba0ae821ea4e977c1011231ed6b93e8456535a1d 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -51,7 +51,7 @@ AC_DEFUN([gl_RELOCATABLE_BODY],
     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.
index 0e79bd7d03e1e8cae88a8a78ab4a1635881278bb..62c7556ae773cfcf9109d9761f34702472defd59 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -97,7 +97,7 @@ int main (int argc, char *argv[])
                                      # 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
index 10ed65a40581f91abd8442d57a0a881d95870e81..bae3d352cd6563435dc1029395ba31f40961a69f 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -100,7 +100,7 @@ int main (int argc, char *argv[])
                                      # 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
@@ -188,10 +188,10 @@ int main ()
         [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
         ])
     ])
index 3282cc86ce7499f34d499ad241b9cdfe8ef4f419..fcb4c91cf42c515ea1a3e6484cef61f11e2ffdb7 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -105,7 +105,7 @@ int main (int argc, char *argv[])
                                      # 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
@@ -246,7 +246,7 @@ int main (int argc, char *argv[])
                                # 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
index c76e097b4351c8c15887da3d01c236a204c4f745..9d80d5389622e3f9b481ff4f2c9c9e9dfd95eb9c 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -30,8 +30,8 @@ AC_DEFUN([gl_FUNC_REMOVE],
 ]], [[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
index efabf1a24b596f7a653965bd20903ef6817c288f..b41c3f3ac66d56bf6c592ca1ef3175813426f255 100644 (file)
@@ -1,4 +1,4 @@
-# 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
@@ -55,16 +55,16 @@ AC_DEFUN([gl_FUNC_RENAME],
       [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
@@ -113,16 +113,16 @@ AC_DEFUN([gl_FUNC_RENAME],
       [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
@@ -186,16 +186,16 @@ AC_DEFUN([gl_FUNC_RENAME],
        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
@@ -237,14 +237,14 @@ AC_DEFUN([gl_FUNC_RENAME],
       [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
index cb9bff55c27a93af26fa445eca3919ac91e0652b..c641569350e4fd7f4f133f74a7efab567812ce96 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -55,7 +55,7 @@ int main (int argc, char *argv[])
                                    # 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
index b1c38f10db5a84a5e25d717d0e67b4a456dbd690..002d0307849d86b5f4718949b344b3a5a8de132d 100644 (file)
@@ -1,4 +1,4 @@
-# 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
@@ -42,9 +42,9 @@ AC_DEFUN([gl_FUNC_RMDIR_NOTEMPTY],
         [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
         ])
     ]
index b19c8901875092c51f6ad943fce7f9a8d909df6c..c5552d598cfd340a4c580d950b8921252c0660e4 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -34,16 +34,16 @@ AC_DEFUN([gl_FUNC_RMDIR],
          ]])],
        [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])
index febc098ef9ac12c139ef4f9761c9fe788e0cabfe..4d6290fdb7a19b614ffe829087151050fedd11d6 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -60,17 +60,19 @@ int main()
   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"
@@ -118,7 +120,9 @@ int main (int argc, char *argv[])
                                      # 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
index ca8f6398b4ce50a2da08479380706509e508b4ff..b8959163cef3303af35813f20966519fd438a0a6 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -57,16 +57,25 @@ int main()
   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"
@@ -118,7 +127,9 @@ int main (int argc, char *argv[])
                                      # 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
index f23378cfb5227c990869b9332458728b79123493..ce3d359089a4e4a99d413898467c0f4d608851c8 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -69,7 +69,7 @@ int main (int argc, char *argv[])
                                      # 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
index a1cb91e713881349fd132ac16f313d5e583fd801..39d2bc1570c1589a74085fc3f3cd767ee06e8043 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -10,7 +10,7 @@ AC_DEFUN([gl_FUNC_SCHED_YIELD],
   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.
index 88861af48648db3ddea1950e1befe7fead0eb872..68510473c56604b74e46b5d7b963c65cab906678 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -96,7 +96,7 @@ changequote([,])dnl
   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.
index 2e8094dc9ac7820c50416d64aa4ff7f0a3ba8bc0..463dd9b33475aa57bb04015222f68faa63c52f40 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -15,7 +15,7 @@ AC_DEFUN([gl_FUNC_SETLOCALE],
   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*)
index 1105d693fe1966a2db852279e80487d1577d2fa3..bafc5be8eca21f30c306c4bb46ffb09d62f1c6ae 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -31,7 +31,7 @@ AC_DEFUN([gl_FUNC_SETLOCALE_NULL],
           [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.
        *)
@@ -40,7 +40,7 @@ AC_DEFUN([gl_FUNC_SETLOCALE_NULL],
     ])
   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"
@@ -62,7 +62,7 @@ AC_DEFUN([gl_FUNC_SETLOCALE_NULL],
        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.
        *)
@@ -71,7 +71,7 @@ AC_DEFUN([gl_FUNC_SETLOCALE_NULL],
     ])
   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"
@@ -88,7 +88,9 @@ AC_DEFUN([gl_FUNC_SETLOCALE_NULL],
   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
index 2fea73f854ca7cab5f116511c57b2f89a3b051e3..a3be0d79d8477b368cd1f147cccb305ccf7f0609 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -34,7 +34,7 @@ AC_DEFUN([gl_SIGNBIT],
                                # 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
@@ -68,7 +68,7 @@ AC_DEFUN([gl_SIGNBIT],
                                # 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"
index 269b73b9a16709d0d929f1c8c8ea5f247724fcf7..7b16aa970bf707e411007105232929b057906eb1 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -46,16 +46,16 @@ handle_alarm (int sig)
     ]])],
       [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
index d1a59564c5645cc675d5dfd85a9e17c22a4c5f20..eb1701f800bbef171aca8c51783f46568202455b 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -154,10 +154,10 @@ int main ()
         [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
         ])
     ])
index 6d1628c21776d799986744e0e748d0c68804c892..81bd16a8f4a67e7bfc27879d252e871deaf475bc 100644 (file)
@@ -1,4 +1,4 @@
-# serial 19
+# serial 20
 
 # Copyright (C) 2009-2023 Free Software Foundation, Inc.
 #
@@ -12,7 +12,7 @@ AC_DEFUN([gl_FUNC_STAT],
   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
@@ -80,7 +80,7 @@ AC_DEFUN([gl_PREREQ_STAT], [
 AC_DEFUN([gl_PREREQ_STAT_W32], [
   AC_REQUIRE([AC_CANONICAL_HOST])
   case "$host_os" in
-    mingw*)
+    mingw* | windows*)
       AC_CHECK_HEADERS([sdkddkver.h])
       ;;
   esac
index b9f764d4c1ca3700e6464bc067e38720130355c4..d5ff08b1b8ff9d7b7f2ef8152378225aa689130f 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -286,10 +286,10 @@ static const char *macro_values[] =
               [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
               ])
          ])
index 9f1dddd599f5ac26127623df3708b0a9c14842e0..0e1f7d73aa9db772b0686960670a635fb583f857 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -85,7 +85,7 @@ AC_DEFUN([gl_FUNC_STRERROR_0],
                              # 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
index 19136d03b95b878387fd5f889dd4ab7c6d931a31..5da9e6e6af73dc714da18372c7e541f9b86801ad 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -9,6 +9,6 @@ AC_DEFUN([gl_FUNC_STRFTIME],
   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
 ])
index 1cef7aade04ca43bdb3a6a488866f05853dbacf1..c6b4ccb8800d386d878dfd05053774b03dac571b 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -84,12 +84,12 @@ AC_DEFUN_ONCE([gl_FUNC_STRNCAT],
 ]])], [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
        ])
     ])
index ae7446c2fa6141447b4898ae01460c912a493606..771269def3d517f24121b6d4641494192e3fb65b 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -118,7 +118,7 @@ numeric_equal (double x, double y)
                                   # 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
            ])
index db5cfb7aa9d2f94badc5005cb7232e3dcdfa66f4..0787d0e26bdc37e24824d3c6d24107fa2fa00af0 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -61,12 +61,12 @@ int main ()
          [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
          ])
       ])
index 4c701ccc20dbb37cd574780cae8e99ca06972166..59f4701203c52c815c62ef672293e774d091af7d 100644 (file)
@@ -1,4 +1,4 @@
-# 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
@@ -42,11 +42,11 @@ AC_DEFUN([gl_FUNC_STRTOK_R],
          [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
          ])
       ])
index b5ea56f2294d0ad244d092a2e6dbfed06dd5deb8..17d00885e1946d2c18302f5c378c5ea3984dc5fc 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -44,7 +44,7 @@ AC_DEFUN([gl_FUNC_STRTOL],
          [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.
index a0cbc805bc9ae013c1c5b2107635bd33e0ceb51f..8dc7bf488b3f146b68de0bf333f3a4806a060694 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -44,7 +44,7 @@ AC_DEFUN([gl_FUNC_STRTOLL],
          [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.
index 9baa9729e6ec7a292d942d1416171bf64ce09618..200b85bd0e21ee44fd8061c082cc4b01787fdff5 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -38,7 +38,7 @@ AC_DEFUN([gl_FUNC_STRTOUL],
          [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.
index 4f895c76af8045a44b2086a0d87ec341ae54a8d0..297c8502fe0b3f5e2041223843a23c03ee7479dc 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -38,7 +38,7 @@ AC_DEFUN([gl_FUNC_STRTOULL],
          [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.
index 1fc5777e97343ac05892e2698c27c7b6b0c37357..303382881a21b4f7bf3f4558a2ef1fa3f75951b8 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -85,7 +85,7 @@ AC_DEFUN([gl_WEAK_SYMBOLS],
   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
@@ -344,7 +344,7 @@ AC_DEFUN([gl_STDTHREADLIB_BODY],
     AC_CHECK_HEADERS_ONCE([threads.h])
 
     case "$host_os" in
-      mingw*)
+      mingw* | windows*)
         LIBSTDTHREAD=
         ;;
       *)
@@ -465,7 +465,7 @@ changequote(,)dnl
                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 ;;
@@ -564,7 +564,7 @@ AC_DEFUN([gl_THREADLIB_BODY],
       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
index 4c4e411736e1424563bef73ef494833ec85dc749..3217a1a1ad62be9eff7c083d30f5ab12d3c35179 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -31,9 +31,9 @@ AC_DEFUN([gl_FUNC_TIME],
            [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
index 287fb6713366ac52b423bf391aac5f7bca6e9ca7..c7d4f8f687a578a4abbe2105f88ff1fb02e06460 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -77,7 +77,7 @@ int main (int argc, char *argv[])
                                      # 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
index fe9fdbf4086a4b18f62f50a84344c5c516e0d575..6d7db8943bfa7a7c29a821fca63415ab907108b7 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -18,7 +18,7 @@ AC_DEFUN([gl_FUNC_TRUNCATE],
   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
index 71469946ed79486f6a46b3690a8cf5600bad547b..768c3a1cdf0efef7da8f9dcd245603d567a9e3e1 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -77,7 +77,7 @@ int main (int argc, char *argv[])
                                      # 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
index 57bec00f0a65765aab19bb326e6dee01fd9bb11a..4e3351d574ccf728a268ff4c92fe9f27720e5e5b 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -64,10 +64,10 @@ int main()
           [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
           ])
       ])
@@ -110,7 +110,7 @@ int main (int argc, char *argv[])
                                      # 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
index c2ddc8a71e9b7a162768c5ac1b7c41a4244839ae..2213d56eef8f1f93958e6dbbde3591a938d47359 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -39,10 +39,10 @@ main ()
   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
             ])
       ])
index 45e92339713c3d356ce43aa8ab5c53b979b7dba6..0b87939373fea528b9b472647be48e447b1d3eeb 100644 (file)
@@ -1,4 +1,4 @@
-# serial 17
+# serial 18
 
 # Copyright (C) 2003, 2007, 2009-2023 Free Software Foundation, Inc.
 # This file is free software; the Free Software Foundation
@@ -12,6 +12,6 @@ AC_DEFUN([gl_FUNC_TZSET],
   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
 ])
index 77274778f31743c3299fd1c2e2242445c1d2163e..72bf4a7ffe2ff0c8fb635711e51b5ad4e0b6fb97 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -49,7 +49,7 @@ AC_DEFUN_ONCE([gl_FUNC_UNGETC_WORKS],
                                # 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
index 27f103e78ae42446ea178bf09f52daf4bc23b4df..b225c2a285196a4588c66930344429630a09c49a 100644 (file)
@@ -1,4 +1,4 @@
-#serial 15
+#serial 16
 
 dnl From J. David Anglin.
 
@@ -31,9 +31,9 @@ AC_DEFUN([gl_FUNC_UNLINK_BUSY_TEXT],
         [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
         ]
       )
index 1fecaac520f4a635ec7d216f2345e6beffb1a7be..13ca2d2af39506e8213d4208d890aa222693cd83 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -43,16 +43,16 @@ AC_DEFUN([gl_FUNC_UNLINK],
       [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])
index c3a9cfdaf7fc497b1e153ab37b2f55110e15dde1..b60646ef8ea20d000a5d8b07ba9cdd41bdc0e803 100644 (file)
@@ -1,4 +1,4 @@
-# serial 7
+# serial 8
 
 # Copyright (C) 2005-2007, 2009-2023 Free Software Foundation, Inc.
 #
@@ -25,7 +25,7 @@ AC_DEFUN([gl_UNLINKDIR],
   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
index d90422447f9a5fd5cbbb14dff0f9981f9b628b8e..9745fae8b28010fbb2b3278440d4b778b7c803ea 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -29,16 +29,16 @@ AC_DEFUN([gl_FUNC_USLEEP],
 ]], [[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
index 4c0443ae8a86684d4f8bc9fb1ba40b8071b46b9f..2a3b3909a4d7098933c876f6754523fbbe015294 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -10,7 +10,7 @@ AC_DEFUN([gl_FUNC_UTIME],
   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
index 73b9a2da34e29bfb48d2129bc69716f50ead2468..4d21f41dd48e62af81301bc703faceb76dc8e388 100644 (file)
@@ -1,5 +1,5 @@
 # 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
@@ -144,11 +144,11 @@ main ()
        [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
        ])
     ])
index b001062193753bffd260b1387761922c18ffc227..ff100b382c637884f3efd19bf23f44f5c7dd8790 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -9,6 +9,6 @@ AC_DEFUN([gl_FUNC_WAITPID],
   AC_REQUIRE([AC_CANONICAL_HOST])
   HAVE_WAITPID=1
   case $host_os in
-    mingw*) HAVE_WAITPID=0 ;;
+    mingw* | windows*) HAVE_WAITPID=0 ;;
   esac
 ])
index fa503b533543ae2fa78b7f9a38ad1a4a8710030c..3152b3756306a1bf4e05504d476e1da040119a42 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -82,9 +82,11 @@ int main ()
 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
index ce8a8f4caca4ec03518338954a3fb956661c8ab4..2a7be1a952c13cbf39374904a4ae3f76dff5df4e 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -13,7 +13,7 @@ AC_DEFUN([gl_FUNC_WCSFTIME],
     HAVE_WCSFTIME=0
   else
     case "$host_os" in
-      mingw*) REPLACE_WCSFTIME=1 ;;
+      mingw* | windows*) REPLACE_WCSFTIME=1 ;;
     esac
   fi
 ])
index 776f465156601efa9eff9708ad05f55cecb27322..c36e0fa3b644e7a62fcb22b644ec76580adac398 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -64,12 +64,12 @@ AC_DEFUN([gl_WCSRTOMBS_TERMINATION],
       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
@@ -121,12 +121,15 @@ AC_DEFUN([gl_WCSRTOMBS_NULL],
       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
index 90042a52b4ee91a8b54aada52cb4ed5e9f15e94d..c51b16f901aa965941a5737dd08c53c376e6a2c2 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -32,7 +32,7 @@ changequote(,)dnl
           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" ;;
index 321bd696fbaac5fe7f7a5ecbbb67d4e5053b53b6..ad78c8b166988ed22c29d52692b134cb2ee756db 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -30,10 +30,10 @@ AC_DEFUN_ONCE([gl_FUNC_WCTYPE],
          ]])],
          [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
          ])
       ])
index ac0d1e68ecb8f1d17b545cf964404a797ae3cc06..0651d076fe53da6217593d8da6384aca514c7cc4 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -13,7 +13,7 @@ AC_DEFUN([gl_WINDOWS_STAT_INODES],
 [
   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
 ])
index 2bb2ea93063bc9492bd6f0c6b48a929d42dc3bdf..10c358c4d378825275b8dc54424c40d7a4d307cb 100644 (file)
@@ -1,4 +1,4 @@
-# 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,
@@ -10,7 +10,7 @@ AC_DEFUN([gl_WINDOWS_STAT_TIMESPEC],
 [
   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
 ])
index 2a37779f7243e7ccbf95a765b759274d6fdbe86f..0d17b9339a458c9f5af7ce575975938ea9ae56ba 100644 (file)
@@ -9,7 +9,7 @@ Depends-on:
 errno
 fcntl-h
 intprops
-open       [case $host_os in mingw*) false;; *) :;; esac]
+open       [case $host_os in mingw* | windows*) false;; *) :;; esac]
 sys_stat
 unistd
 
index 394f2fa4ed351b5285718b0692a4952c463ff739..ddc26eb6f6ef58c8123e1944ae14cf1dea176938 100644 (file)
@@ -22,7 +22,7 @@ gl_FUNC_FSTAT
 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
index fcd4352d28203d485cb050945b1ea649e1495cd2..93b1d92e3838decba8878b5c6a983a820a33df01 100644 (file)
@@ -8,7 +8,7 @@ m4/getloadavg.m4
 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]
 
index a8b14781d00bcb7fae01534e97376700af554fac..d8503bae2aa99f8e73de1ec7b0237de57ff808f7 100644 (file)
@@ -10,7 +10,7 @@ sys_random
 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])
index 0d01ab60550ded1a6e7474eaef8843811de054fc..b6b7d28722136c80770755862900a7f358e78768 100644 (file)
@@ -22,7 +22,7 @@ gl_FUNC_STAT
 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
index d9c1aa6605fe327c300abbd77a026be60b3e83d3..e0335c3590de10703194389ebe797bd1c3c7c344 100644 (file)
@@ -15,7 +15,7 @@ gettimeofday
 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
index 67e54c1b8dcc2ce1b3d830e22085a63ecdaebfe9..a825ad85cd0add16d78c4859e3c38f3789227ac6 100644 (file)
@@ -11,7 +11,7 @@ Depends-on:
 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
index b41cfacbe0f29bdee98172b1e4414cdcde8e3c41..c5672e2125f3907dc42338069e57738cc5e6fc97 100644 (file)
@@ -10,7 +10,7 @@ Depends-on:
 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
index e1d858a327d5bd49d47c563017d69877ab0082d8..c7367fd1feda02c6d96bef7d0253700fd2b852a5 100644 (file)
@@ -11,7 +11,7 @@ Depends-on:
 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
index 28cc3b93dc8f4fa28646c883f0ddefb99c1d59f8..ef5f9388335bb8bf2c11e694ef5cc25572618623 100644 (file)
@@ -11,7 +11,7 @@ Depends-on:
 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
index d9415fcb8713c06171c7f75bcaba89944fd9f1d9..2b0c7ccf3cf9280e0b07f78180d479ab1f787ca5 100644 (file)
@@ -18,7 +18,7 @@ malloc-posix
 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
index ef7f9940200d120bf960c21d590e8e214e45618c..6718d6dff4420a9c968f5afeae492278b225c3d8 100644 (file)
@@ -10,7 +10,7 @@ Depends-on:
 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
index d8fb4eb032dcf7458dab5ce587611abf11fb25ca..5507bb8d93bf7faff2c66fd4d236b3027887153d 100644 (file)
@@ -15,7 +15,7 @@ configure.ac:
 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:
index b036c2c4a9450c437b8cee5498ade5e5c6ea6b11..ff10c396dccf1cf967b2facfec671d54b3036531 100644 (file)
@@ -12,7 +12,7 @@ windows-tls
 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
index c3ed4420b16d65e2bcf913edbfa9dcc283cb2b16..1d74bdf5ef0fb19a4809b85ae7afad97c43fcf47 100644 (file)
@@ -14,7 +14,7 @@ gettimeofday
 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
index f61c9e1d0f2dd58cf49e46a3e48f03787ad9d052..0bc73f4ab3ae5cb08dda0764bf71cffe5bd34d38 100644 (file)
@@ -14,7 +14,7 @@ gettimeofday
 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
index bd7775603334b2a5b4e94b2410f4677f1c3bb7ab..20242ed53c89d2669b239edc98f2cd9b88c70f7d 100644 (file)
@@ -15,7 +15,7 @@ gettimeofday
 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
index 2e229940ccaff32d03c0635aaaa0b48aec7df77b..3fe2137bac34006bbae1a2db69670a585a5994c5 100644 (file)
@@ -11,7 +11,7 @@ windows-once
 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