From: Bruno Haible Date: Thu, 17 Aug 2023 13:44:05 +0000 (+0200) Subject: Recognize the *-*-windows* config triplets introduced on 2023-06-26. X-Git-Tag: v2.72e~17 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=544875cc6e9599e6a36706203f51922f12310b9c;p=thirdparty%2Fautoconf.git Recognize the *-*-windows* config triplets introduced on 2023-06-26. * 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. --- diff --git a/lib/autoconf/fortran.m4 b/lib/autoconf/fortran.m4 index d672450dc..cdc197bd6 100644 --- a/lib/autoconf/fortran.m4 +++ b/lib/autoconf/fortran.m4 @@ -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") diff --git a/lib/autoconf/functions.m4 b/lib/autoconf/functions.m4 index 54d04cc38..4cfb5142c 100644 --- a/lib/autoconf/functions.m4 +++ b/lib/autoconf/functions.m4 @@ -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 ;; diff --git a/lib/autoconf/specific.m4 b/lib/autoconf/specific.m4 index 9d5974548..97b6a5a3d 100644 --- a/lib/autoconf/specific.m4 +++ b/lib/autoconf/specific.m4 @@ -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] )