* m4/*.m4: Don't recognize windows*-gnu* as equivalent to mingw*.
+2023-10-03 Bruno Haible <bruno@clisp.org>
+
+ Update re *-*-windows*-gnu* config triplets, withdrawn on 2023-09-19.
+ * m4/*.m4: Don't recognize windows*-gnu* as equivalent to mingw*.
+
2023-10-03 Bruno Haible <bruno@clisp.org>
string-c++-tests, uchar-c++-tests: Fix link errors on Mac OS X.
-# fma.m4 serial 5
+# fma.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,
dnl Otherwise guess no, even on glibc systems.
gl_cv_func_fma_works="$gl_cross_guess_normal"
case "$host_os" in
- windows*-gnu*)
- ;;
windows*-msvc*)
gl_cv_func_fma_works="guessing yes"
;;
-# fmaf.m4 serial 7
+# fmaf.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,
dnl Otherwise guess no, even on glibc systems.
gl_cv_func_fmaf_works="$gl_cross_guess_normal"
case "$host_os" in
- windows*-gnu*)
- ;;
windows*-msvc*)
gl_cv_func_fmaf_works="guessing yes"
;;
-# fmal.m4 serial 9
+# fmal.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,
dnl Otherwise guess no, even on glibc systems.
gl_cv_func_fmal_works="$gl_cross_guess_normal"
case "$host_os" in
- windows*-gnu*)
- ;;
windows*-msvc*)
gl_cv_func_fmal_works="guessing yes"
;;
-# frexp.m4 serial 17
+# frexp.m4 serial 18
dnl Copyright (C) 2007-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[gl_cv_func_frexp_works=no],
[case "$host_os" in
netbsd* | irix*) gl_cv_func_frexp_works="guessing no" ;;
- # Guess yes with MSVC, no with mingw.
- windows*-gnu*)
- gl_cv_func_frexp_works="guessing no"
- ;;
+ # Guess yes with MSVC, no with mingw.
windows*-msvc*)
gl_cv_func_frexp_works="guessing yes"
;;
-# frexpf.m4 serial 7
+# frexpf.m4 serial 8
dnl Copyright (C) 2011-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[gl_cv_func_frexpf_works=no],
[case "$host_os" in
irix*) gl_cv_func_frexpf_works="guessing no" ;;
- # Guess yes with MSVC, no with mingw.
- windows*-gnu*)
- gl_cv_func_frexpf_works="guessing no"
- ;;
+ # Guess yes with MSVC, no with mingw.
windows*-msvc*)
gl_cv_func_frexpf_works="guessing yes"
;;
-# locale_h.m4 serial 29
+# locale_h.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,
dnl On native Windows with MSVC, merely define these member names as macros.
dnl This avoids trouble in C++ mode.
case "$host_os" in
- windows*-gnu*)
- REPLACE_STRUCT_LCONV=1
- ;;
windows*-msvc*)
;;
mingw* | windows*)
[case "$host_os" in
*gnu* | solaris* | cygwin*) gl_cv_func_logb_works="guessing no" ;;
# 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"
;;
-# logbf.m4 serial 4
+# logbf.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,
[case "$host_os" in
*gnu* | solaris*) gl_cv_func_logbf_works="guessing no" ;;
# 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"
;;
-# serial 19
+# serial 20
# Copyright (C) 2001, 2003-2004, 2006, 2008-2023 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# 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
-# modf.m4 serial 11
+# modf.m4 serial 12
dnl Copyright (C) 2011-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_modf_ieee="guessing yes" ;;
# Guess yes on MSVC, no on mingw.
- 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
-# modff.m4 serial 13
+# modff.m4 serial 14
dnl Copyright (C) 2011-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_modff_ieee="guessing yes" ;;
# Guess yes on MSVC, no on mingw.
- 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
-# modfl.m4 serial 10
+# modfl.m4 serial 11
dnl Copyright (C) 2011-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_modfl_ieee="guessing yes" ;;
# Guess yes on MSVC, no on mingw.
- 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
-# printf.m4 serial 85
+# printf.m4 serial 86
dnl Copyright (C) 2003, 2007-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
linux*-android*) gl_cv_func_printf_sizes_c99="guessing yes";;
changequote([,])dnl
# Guess yes on MSVC, no on mingw.
- 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
# 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
linux*-android*) gl_cv_func_printf_infinite="guessing no";;
changequote([,])dnl
# Guess yes on MSVC, no on mingw.
- 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
linux*-android*) gl_cv_func_printf_infinite_long_double="guessing no";;
changequote([,])dnl
# Guess yes on MSVC, no on mingw.
- 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
linux*-android*) gl_cv_func_printf_directive_f="guessing no";;
changequote([,])dnl
# Guess yes on MSVC, no on mingw.
- 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
linux*-android*) gl_cv_func_snprintf_retval_c99="guessing yes";;
changequote([,])dnl
# Guess yes on MSVC, no on mingw.
- 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
-# round.m4 serial 25
+# round.m4 serial 26
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,
[case "$host_os" in
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
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_round_ieee="guessing yes" ;;
# Guess yes on MSVC, no on mingw.
- 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
-# roundf.m4 serial 26
+# roundf.m4 serial 27
dnl Copyright (C) 2007-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
return (x < 0.5f && roundf (x) != 0.0f);
}]])], [gl_cv_func_roundf_works=yes], [gl_cv_func_roundf_works=no],
[case "$host_os" in
- # Guess yes on MSVC, no on mingw.
- windows*-gnu*)
- gl_cv_func_roundf_works="guessing no"
- ;;
+ # Guess yes on MSVC, no on mingw.
windows*-msvc*)
gl_cv_func_roundf_works="guessing yes"
;;
# Guess yes on musl systems.
*-musl* | midipix*) gl_cv_func_roundf_ieee="guessing yes" ;;
# Guess yes on MSVC, no on mingw.
- 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