]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Recognize the *-*-windows* config triplets introduced on 2023-06-26.
authorBruno Haible <bruno@clisp.org>
Thu, 17 Aug 2023 13:44:05 +0000 (15:44 +0200)
committerZack Weinberg <zack@owlfolio.org>
Fri, 1 Dec 2023 13:25:07 +0000 (08:25 -0500)
* lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Treat windows* as
equivalent to mingw*.
* lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF, _AC_FUNC_REALLOC_IF):
Likewise.
* lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_PROBE): Likewise.

lib/autoconf/fortran.m4
lib/autoconf/functions.m4
lib/autoconf/specific.m4

index d672450dcf3fbfc2111ac3f83c49dde74b873495..cdc197bd67f4abab036cfe6a3a59d16aa712a386 100644 (file)
@@ -668,7 +668,7 @@ while test $[@%:@] != 1; do
        -lkernel32 | -lmingw* | -lmoldname)
          # Ignore this library only on Windows-like systems.
          case $host_os in
-         cygwin* | msys* | mingw*) ;;
+         cygwin* | msys* | mingw* | windows*) ;;
          *)
          _AC_LIST_MEMBER_IF($ac_arg, $ac_cv_[]_AC_LANG_ABBREV[]_libs, ,
                             ac_cv_[]_AC_LANG_ABBREV[]_libs="$ac_cv_[]_AC_LANG_ABBREV[]_libs $ac_arg")
index 54d04cc382432ecbba0c95d1b64b62b55fb43cf0..4cfb5142ce9e670b94d9f2d11ca88a99836f18b2 100644 (file)
@@ -985,7 +985,7 @@ AC_CACHE_CHECK([for GNU libc compatible malloc], ac_cv_func_malloc_0_nonnull,
               [case "$host_os" in # ((
                  # Guess yes on platforms where we know the result.
                  *-gnu* | freebsd* | netbsd* | openbsd* | bitrig* \
-                 | hpux* | solaris* | cygwin* | mingw* | msys* )
+                 | hpux* | solaris* | cygwin* | mingw* | windows* | msys* )
                    ac_cv_func_malloc_0_nonnull=yes ;;
                  # If we don't know, assume the worst.
                  *) ac_cv_func_malloc_0_nonnull=no ;;
@@ -1490,7 +1490,7 @@ AC_CACHE_CHECK([for GNU libc compatible realloc], ac_cv_func_realloc_0_nonnull,
               [case "$host_os" in # ((
                  # Guess yes on platforms where we know the result.
                  *-gnu* | freebsd* | netbsd* | openbsd* | bitrig* \
-                 | hpux* | solaris* | cygwin* | mingw* | msys* )
+                 | hpux* | solaris* | cygwin* | mingw* | windows* | msys* )
                    ac_cv_func_realloc_0_nonnull=yes ;;
                  # If we don't know, assume the worst.
                  *) ac_cv_func_realloc_0_nonnull=no ;;
index 9d59745483685eef8357b03688c66045c24c30db..97b6a5a3d941cd300587ccd3773ef91420aa84c9 100644 (file)
@@ -304,7 +304,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]
       )