From: Bruno Haible Date: Fri, 17 Feb 2023 15:24:34 +0000 (+0100) Subject: Improve cross-compilation from midipix. X-Git-Tag: v1.0~1672 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=86a9695e5eb0c45509b806234d6d8bfeeabbb9ba;p=gnulib.git Improve cross-compilation from midipix. Reported by Ørjan Malde at . Since midipix consists of musl libc based on an emulation of Linux system calls, for pure libc functionality it can be treated like musl libc. * m4/calloc.m4 (_AC_FUNC_CALLOC_IF): Treat midipix like systems with musl libc. * m4/cbrtl.m4 (gl_FUNC_CBRTL): Likewise. * m4/ceil.m4 (gl_FUNC_CEIL): Likewise. * m4/ceilf.m4 (gl_FUNC_CEILF): Likewise. * m4/ceill.m4 (gl_FUNC_CEILL): Likewise. * m4/exp2l.m4 (gl_FUNC_EXP2L): Likewise. * m4/expl.m4 (gl_FUNC_EXPL): Likewise. * m4/expm1.m4 (gl_FUNC_EXPM1): Likewise. * m4/expm1f.m4 (gl_FUNC_EXPM1F): Likewise. * m4/expm1l.m4 (gl_FUNC_EXPM1L): Likewise. * m4/fclose.m4 (gl_FUNC_FCLOSE_STDIN): Likewise. * m4/fdopendir.m4 (gl_FUNC_FDOPENDIR): Likewise. * m4/ffsll.m4 (gl_FUNC_FFSLL): Likewise. * m4/floor.m4 (gl_FUNC_FLOOR): Likewise. * m4/floorf.m4 (gl_FUNC_FLOORF): Likewise. * m4/fmod.m4 (gl_FUNC_FMOD): Likewise. * m4/fmodf.m4 (gl_FUNC_FMODF): Likewise. * m4/fmodl.m4 (gl_FUNC_FMODL): Likewise. * m4/fnmatch.m4 (gl_FUNC_FNMATCH_POSIX): Likewise. * m4/fopen.m4 (gl_FUNC_FOPEN_GNU): Likewise. * m4/fpurge.m4 (gl_FUNC_FPURGE): Likewise. * m4/getdelim.m4 (gl_FUNC_GETDELIM): Likewise. * m4/getline.m4 (gl_FUNC_GETLINE): Likewise. * m4/hypot.m4 (gl_FUNC_HYPOT): Likewise. * m4/hypotf.m4 (gl_FUNC_HYPOTF): Likewise. * m4/hypotl.m4 (gl_FUNC_HYPOTL): Likewise. * m4/iconv_open-utf.m4 (gl_FUNC_ICONV_OPEN_UTF_SUPPORT): Likewise. * m4/log.m4 (gl_FUNC_LOG): Likewise. * m4/log10.m4 (gl_FUNC_LOG10): Likewise. * m4/log10f.m4 (gl_FUNC_LOG10F): Likewise. * m4/log10l.m4 (gl_FUNC_LOG10L_WORKS): Likewise. * m4/log1p.m4 (gl_FUNC_LOG1P): Likewise. * m4/log1pf.m4 (gl_FUNC_LOG1PF): Likewise. * m4/log1pl.m4 (gl_FUNC_LOG1PL, gl_FUNC_LOG1PL_WORKS): Likewise. * m4/log2.m4 (gl_FUNC_LOG2): Likewise. * m4/log2f.m4 (gl_FUNC_LOG2F): Likewise. * m4/log2l.m4 (gl_FUNC_LOG2L_WORKS): Likewise. * m4/logf.m4 (gl_FUNC_LOGF): Likewise. * m4/logl.m4 (gl_FUNC_LOGL_WORKS): Likewise. * m4/malloc.m4 (_AC_FUNC_MALLOC_IF): Likewise. * m4/mkstemp.m4 (gl_FUNC_MKSTEMP): Likewise. * m4/modf.m4 (gl_FUNC_MODF): Likewise. * m4/modff.m4 (gl_FUNC_MODFF): Likewise. * m4/modfl.m4 (gl_FUNC_MODFL): Likewise. * m4/musl.m4 (gl_MUSL_LIBC): Likewise. * m4/perror.m4 (gl_FUNC_PERROR): Likewise. * m4/posix_spawn.m4 (gl_POSIX_SPAWN_SECURE, gl_FUNC_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE, gl_FUNC_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2, gl_FUNC_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN): Likewise. * m4/printf.m4 (gl_PRINTF_SIZES_C99, gl_PRINTF_INFINITE, gl_PRINTF_INFINITE_LONG_DOUBLE, gl_PRINTF_DIRECTIVE_A, gl_PRINTF_DIRECTIVE_F, gl_PRINTF_FLAG_ZERO, gl_SNPRINTF_TRUNCATION_C99, gl_SNPRINTF_RETVAL_C99, gl_SNPRINTF_DIRECTIVE_N, gl_VSNPRINTF_ZEROSIZE_C99): Likewise. * m4/pthread_rwlock_rdlock.m4 (gl_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER): Likewise. * m4/putenv.m4 (gl_FUNC_PUTENV): Likewise. * m4/realloc.m4 (_AC_FUNC_REALLOC_IF): Likewise. * m4/remainder.m4 (gl_FUNC_REMAINDER): Likewise. * m4/remainderf.m4 (gl_FUNC_REMAINDERF): Likewise. * m4/remainderl.m4 (gl_FUNC_REMAINDERL, gl_FUNC_REMAINDERL_WORKS): Likewise. * m4/rintl.m4 (gl_FUNC_RINTL): Likewise. * m4/round.m4 (gl_FUNC_ROUND): Likewise. * m4/roundf.m4 (gl_FUNC_ROUNDF): Likewise. * m4/roundl.m4 (gl_FUNC_ROUNDL): Likewise. * m4/setenv.m4 (gl_FUNC_SETENV): Likewise. * m4/setlocale_null.m4 (gl_FUNC_SETLOCALE_NULL): Likewise. * m4/signbit.m4 (gl_SIGNBIT): Likewise. * m4/stpncpy.m4 (gl_FUNC_STPNCPY): Likewise. * m4/strerror.m4 (gl_FUNC_STRERROR, gl_FUNC_STRERROR_0): Likewise. * m4/strtod.m4 (gl_FUNC_STRTOD): Likewise. * m4/strtold.m4 (gl_FUNC_STRTOLD): Likewise. * m4/trunc.m4 (gl_FUNC_TRUNC): Likewise. * m4/truncf.m4 (gl_FUNC_TRUNCF): Likewise. * m4/truncl.m4 (gl_FUNC_TRUNCL): Likewise. * m4/ungetc.m4 (gl_FUNC_UNGETC_WORKS): Likewise. * m4/wcwidth.m4 (gl_FUNC_WCWIDTH): Likewise. --- diff --git a/ChangeLog b/ChangeLog index 31aa9fc6ca..386fe23846 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,91 @@ +2023-02-17 Bruno Haible + + Improve cross-compilation from midipix. + Reported by Ørjan Malde at + . + Since midipix consists of musl libc based on an emulation of Linux system + calls, for pure libc functionality it can be treated like musl libc. + * m4/calloc.m4 (_AC_FUNC_CALLOC_IF): Treat midipix like systems with + musl libc. + * m4/cbrtl.m4 (gl_FUNC_CBRTL): Likewise. + * m4/ceil.m4 (gl_FUNC_CEIL): Likewise. + * m4/ceilf.m4 (gl_FUNC_CEILF): Likewise. + * m4/ceill.m4 (gl_FUNC_CEILL): Likewise. + * m4/exp2l.m4 (gl_FUNC_EXP2L): Likewise. + * m4/expl.m4 (gl_FUNC_EXPL): Likewise. + * m4/expm1.m4 (gl_FUNC_EXPM1): Likewise. + * m4/expm1f.m4 (gl_FUNC_EXPM1F): Likewise. + * m4/expm1l.m4 (gl_FUNC_EXPM1L): Likewise. + * m4/fclose.m4 (gl_FUNC_FCLOSE_STDIN): Likewise. + * m4/fdopendir.m4 (gl_FUNC_FDOPENDIR): Likewise. + * m4/ffsll.m4 (gl_FUNC_FFSLL): Likewise. + * m4/floor.m4 (gl_FUNC_FLOOR): Likewise. + * m4/floorf.m4 (gl_FUNC_FLOORF): Likewise. + * m4/fmod.m4 (gl_FUNC_FMOD): Likewise. + * m4/fmodf.m4 (gl_FUNC_FMODF): Likewise. + * m4/fmodl.m4 (gl_FUNC_FMODL): Likewise. + * m4/fnmatch.m4 (gl_FUNC_FNMATCH_POSIX): Likewise. + * m4/fopen.m4 (gl_FUNC_FOPEN_GNU): Likewise. + * m4/fpurge.m4 (gl_FUNC_FPURGE): Likewise. + * m4/getdelim.m4 (gl_FUNC_GETDELIM): Likewise. + * m4/getline.m4 (gl_FUNC_GETLINE): Likewise. + * m4/hypot.m4 (gl_FUNC_HYPOT): Likewise. + * m4/hypotf.m4 (gl_FUNC_HYPOTF): Likewise. + * m4/hypotl.m4 (gl_FUNC_HYPOTL): Likewise. + * m4/iconv_open-utf.m4 (gl_FUNC_ICONV_OPEN_UTF_SUPPORT): Likewise. + * m4/log.m4 (gl_FUNC_LOG): Likewise. + * m4/log10.m4 (gl_FUNC_LOG10): Likewise. + * m4/log10f.m4 (gl_FUNC_LOG10F): Likewise. + * m4/log10l.m4 (gl_FUNC_LOG10L_WORKS): Likewise. + * m4/log1p.m4 (gl_FUNC_LOG1P): Likewise. + * m4/log1pf.m4 (gl_FUNC_LOG1PF): Likewise. + * m4/log1pl.m4 (gl_FUNC_LOG1PL, gl_FUNC_LOG1PL_WORKS): Likewise. + * m4/log2.m4 (gl_FUNC_LOG2): Likewise. + * m4/log2f.m4 (gl_FUNC_LOG2F): Likewise. + * m4/log2l.m4 (gl_FUNC_LOG2L_WORKS): Likewise. + * m4/logf.m4 (gl_FUNC_LOGF): Likewise. + * m4/logl.m4 (gl_FUNC_LOGL_WORKS): Likewise. + * m4/malloc.m4 (_AC_FUNC_MALLOC_IF): Likewise. + * m4/mkstemp.m4 (gl_FUNC_MKSTEMP): Likewise. + * m4/modf.m4 (gl_FUNC_MODF): Likewise. + * m4/modff.m4 (gl_FUNC_MODFF): Likewise. + * m4/modfl.m4 (gl_FUNC_MODFL): Likewise. + * m4/musl.m4 (gl_MUSL_LIBC): Likewise. + * m4/perror.m4 (gl_FUNC_PERROR): Likewise. + * m4/posix_spawn.m4 (gl_POSIX_SPAWN_SECURE, + gl_FUNC_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE, + gl_FUNC_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2, + gl_FUNC_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN): Likewise. + * m4/printf.m4 (gl_PRINTF_SIZES_C99, gl_PRINTF_INFINITE, + gl_PRINTF_INFINITE_LONG_DOUBLE, gl_PRINTF_DIRECTIVE_A, + gl_PRINTF_DIRECTIVE_F, gl_PRINTF_FLAG_ZERO, gl_SNPRINTF_TRUNCATION_C99, + gl_SNPRINTF_RETVAL_C99, gl_SNPRINTF_DIRECTIVE_N, + gl_VSNPRINTF_ZEROSIZE_C99): Likewise. + * m4/pthread_rwlock_rdlock.m4 (gl_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER): + Likewise. + * m4/putenv.m4 (gl_FUNC_PUTENV): Likewise. + * m4/realloc.m4 (_AC_FUNC_REALLOC_IF): Likewise. + * m4/remainder.m4 (gl_FUNC_REMAINDER): Likewise. + * m4/remainderf.m4 (gl_FUNC_REMAINDERF): Likewise. + * m4/remainderl.m4 (gl_FUNC_REMAINDERL, gl_FUNC_REMAINDERL_WORKS): + Likewise. + * m4/rintl.m4 (gl_FUNC_RINTL): Likewise. + * m4/round.m4 (gl_FUNC_ROUND): Likewise. + * m4/roundf.m4 (gl_FUNC_ROUNDF): Likewise. + * m4/roundl.m4 (gl_FUNC_ROUNDL): Likewise. + * m4/setenv.m4 (gl_FUNC_SETENV): Likewise. + * m4/setlocale_null.m4 (gl_FUNC_SETLOCALE_NULL): Likewise. + * m4/signbit.m4 (gl_SIGNBIT): Likewise. + * m4/stpncpy.m4 (gl_FUNC_STPNCPY): Likewise. + * m4/strerror.m4 (gl_FUNC_STRERROR, gl_FUNC_STRERROR_0): Likewise. + * m4/strtod.m4 (gl_FUNC_STRTOD): Likewise. + * m4/strtold.m4 (gl_FUNC_STRTOLD): Likewise. + * m4/trunc.m4 (gl_FUNC_TRUNC): Likewise. + * m4/truncf.m4 (gl_FUNC_TRUNCF): Likewise. + * m4/truncl.m4 (gl_FUNC_TRUNCL): Likewise. + * m4/ungetc.m4 (gl_FUNC_UNGETC_WORKS): Likewise. + * m4/wcwidth.m4 (gl_FUNC_WCWIDTH): Likewise. + 2023-02-13 ChuanGang Jiang (tiny change) hamt: Detect GCC version correctly. diff --git a/m4/calloc.m4 b/m4/calloc.m4 index 23c0dd9f3f..3789cbffbf 100644 --- a/m4/calloc.m4 +++ b/m4/calloc.m4 @@ -1,4 +1,4 @@ -# calloc.m4 serial 29 +# calloc.m4 serial 30 # Copyright (C) 2004-2023 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation @@ -36,14 +36,14 @@ AC_DEFUN([_AC_FUNC_CALLOC_IF], [ac_cv_func_calloc_0_nonnull=no]) else case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) ac_cv_func_calloc_0_nonnull="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) ac_cv_func_calloc_0_nonnull="guessing yes" ;; - # Guess yes on native Windows. - mingw*) 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" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) ac_cv_func_calloc_0_nonnull="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) ac_cv_func_calloc_0_nonnull="$gl_cross_guess_normal" ;; esac fi ]) diff --git a/m4/cbrtl.m4 b/m4/cbrtl.m4 index 12b6ff6159..ff19b049b5 100644 --- a/m4/cbrtl.m4 +++ b/m4/cbrtl.m4 @@ -1,4 +1,4 @@ -# cbrtl.m4 serial 10 +# cbrtl.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, @@ -72,14 +72,14 @@ int main (int argc, char *argv[]) [gl_cv_func_cbrtl_ieee=yes], [gl_cv_func_cbrtl_ieee=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_cbrtl_ieee="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_cbrtl_ieee="guessing yes" ;; - # Guess yes on native Windows. - mingw*) 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" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_cbrtl_ieee="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_cbrtl_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$save_LIBS" diff --git a/m4/ceil.m4 b/m4/ceil.m4 index 7ce6648fd8..1e66c9ecd0 100644 --- a/m4/ceil.m4 +++ b/m4/ceil.m4 @@ -1,4 +1,4 @@ -# ceil.m4 serial 15 +# ceil.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, @@ -46,14 +46,14 @@ int main (int argc, char *argv[]) [gl_cv_func_ceil_ieee=yes], [gl_cv_func_ceil_ieee=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_ceil_ieee="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_ceil_ieee="guessing yes" ;; - # Guess yes on native Windows. - mingw*) 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" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_ceil_ieee="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_ceil_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$save_LIBS" diff --git a/m4/ceilf.m4 b/m4/ceilf.m4 index 6979ce86e8..8156c1d7e0 100644 --- a/m4/ceilf.m4 +++ b/m4/ceilf.m4 @@ -1,4 +1,4 @@ -# ceilf.m4 serial 19 +# ceilf.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, @@ -53,14 +53,14 @@ int main (int argc, char *argv[]) [gl_cv_func_ceilf_ieee=yes], [gl_cv_func_ceilf_ieee=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_ceilf_ieee="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_ceilf_ieee="guessing yes" ;; - # Guess yes on native Windows. - mingw*) 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" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_ceilf_ieee="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_ceilf_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$save_LIBS" diff --git a/m4/ceill.m4 b/m4/ceill.m4 index 7f41b3abce..d7d708e28e 100644 --- a/m4/ceill.m4 +++ b/m4/ceill.m4 @@ -1,4 +1,4 @@ -# ceill.m4 serial 22 +# ceill.m4 serial 23 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, @@ -52,14 +52,14 @@ int main (int argc, char *argv[]) [gl_cv_func_ceill_ieee=yes], [gl_cv_func_ceill_ieee=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_ceill_ieee="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_ceill_ieee="guessing yes" ;; - # Guess yes on native Windows. - mingw*) 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" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_ceill_ieee="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_ceill_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$save_LIBS" diff --git a/m4/exp2l.m4 b/m4/exp2l.m4 index abf9397a39..3d7d5d713a 100644 --- a/m4/exp2l.m4 +++ b/m4/exp2l.m4 @@ -1,4 +1,4 @@ -# exp2l.m4 serial 10 +# exp2l.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, @@ -99,14 +99,14 @@ int main (int argc, char *argv[]) [gl_cv_func_exp2l_works=yes], [gl_cv_func_exp2l_works=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_exp2l_works="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_exp2l_works="guessing yes" ;; - # Guess yes on native Windows. - mingw*) 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" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_exp2l_works="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_exp2l_works="$gl_cross_guess_normal" ;; esac ]) LIBS="$save_LIBS" @@ -154,14 +154,14 @@ int main (int argc, char *argv[]) [gl_cv_func_exp2l_ieee=yes], [gl_cv_func_exp2l_ieee=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_exp2l_ieee="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_exp2l_ieee="guessing yes" ;; - # Guess yes on native Windows. - mingw*) 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" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_exp2l_ieee="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_exp2l_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$save_LIBS" diff --git a/m4/expl.m4 b/m4/expl.m4 index b5720798bb..842d5a5101 100644 --- a/m4/expl.m4 +++ b/m4/expl.m4 @@ -1,4 +1,4 @@ -# expl.m4 serial 18 +# expl.m4 serial 19 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, @@ -148,14 +148,14 @@ int main (int argc, char *argv[]) [gl_cv_func_expl_works=yes], [gl_cv_func_expl_works=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_expl_works="guessing yes" ;; - # Guess no on musl systems. - *-musl*) gl_cv_func_expl_works="guessing no" ;; - # Guess yes on native Windows. - mingw*) 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" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_expl_works="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_expl_works="$gl_cross_guess_normal" ;; esac ]) LIBS="$save_LIBS" diff --git a/m4/expm1.m4 b/m4/expm1.m4 index 2a3e291c50..1a456e249d 100644 --- a/m4/expm1.m4 +++ b/m4/expm1.m4 @@ -1,4 +1,4 @@ -# expm1.m4 serial 9 +# expm1.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, @@ -85,14 +85,14 @@ int main (int argc, char *argv[]) [gl_cv_func_expm1_ieee=yes], [gl_cv_func_expm1_ieee=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_expm1_ieee="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_expm1_ieee="guessing yes" ;; - # Guess yes on native Windows. - mingw*) 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" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_expm1_ieee="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_expm1_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$save_LIBS" diff --git a/m4/expm1f.m4 b/m4/expm1f.m4 index 7072af81a7..183b0e9801 100644 --- a/m4/expm1f.m4 +++ b/m4/expm1f.m4 @@ -1,4 +1,4 @@ -# expm1f.m4 serial 4 +# expm1f.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, @@ -77,16 +77,16 @@ int main (int argc, char *argv[]) [gl_cv_func_expm1f_ieee=yes], [gl_cv_func_expm1f_ieee=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_expm1f_ieee="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_expm1f_ieee="guessing yes" ;; - # Guess yes on native Windows. - mingw*) gl_cv_func_expm1f_ieee="guessing yes" ;; - # Guess no on AIX. - aix*) gl_cv_func_expm1f_ieee="guessing no" ;; - # If we don't know, obey --enable-cross-guesses. - *) gl_cv_func_expm1f_ieee="$gl_cross_guess_normal" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_expm1f_ieee="guessing yes" ;; + # 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" ;; + # Guess no on AIX. + aix*) gl_cv_func_expm1f_ieee="guessing no" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_expm1f_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$save_LIBS" diff --git a/m4/expm1l.m4 b/m4/expm1l.m4 index 62b9614583..78c7a3d579 100644 --- a/m4/expm1l.m4 +++ b/m4/expm1l.m4 @@ -1,4 +1,4 @@ -# expm1l.m4 serial 9 +# expm1l.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, @@ -146,14 +146,14 @@ int main (int argc, char *argv[]) [gl_cv_func_expm1l_works=yes], [gl_cv_func_expm1l_works=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_expm1l_works="guessing yes" ;; - # Guess no on musl systems. - *-musl*) gl_cv_func_expm1l_works="guessing no" ;; - # Guess yes on native Windows. - mingw*) 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" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_expm1l_works="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_expm1l_works="$gl_cross_guess_normal" ;; esac ]) LIBS="$save_LIBS" diff --git a/m4/fclose.m4 b/m4/fclose.m4 index 9751b6d876..dc021dd9f3 100644 --- a/m4/fclose.m4 +++ b/m4/fclose.m4 @@ -1,4 +1,4 @@ -# fclose.m4 serial 9 +# fclose.m4 serial 10 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, @@ -83,14 +83,14 @@ AC_DEFUN([gl_FUNC_FCLOSE_STDIN], [gl_cv_func_fclose_stdin=yes], [gl_cv_func_fclose_stdin=no], [case "$host_os" in - # Guess no on glibc systems. - *-gnu* | gnu*) gl_cv_func_fclose_stdin="guessing no" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_fclose_stdin="guessing yes" ;; - # Guess no on native Windows. - mingw*) 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" ;; + # Guess no on glibc systems. + *-gnu* | gnu*) gl_cv_func_fclose_stdin="guessing no" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_fclose_stdin="$gl_cross_guess_normal" ;; esac ]) rm conftest.txt diff --git a/m4/fdopendir.m4 b/m4/fdopendir.m4 index 2c97539711..dfcc46c03e 100644 --- a/m4/fdopendir.m4 +++ b/m4/fdopendir.m4 @@ -1,4 +1,4 @@ -# serial 14 +# serial 15 # See if we need to provide fdopendir. dnl Copyright (C) 2009-2023 Free Software Foundation, Inc. @@ -49,12 +49,12 @@ DIR *fdopendir (int); [gl_cv_func_fdopendir_works=yes], [gl_cv_func_fdopendir_works=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu*) gl_cv_func_fdopendir_works="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_fdopendir_works="guessing yes" ;; - # If we don't know, obey --enable-cross-guesses. - *) gl_cv_func_fdopendir_works="$gl_cross_guess_normal" ;; + # Guess yes on glibc systems. + *-gnu*) gl_cv_func_fdopendir_works="guessing yes" ;; + # Guess yes on musl systems. + *-musl* | midipix*) gl_cv_func_fdopendir_works="guessing yes" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_fdopendir_works="$gl_cross_guess_normal" ;; esac ])]) case "$gl_cv_func_fdopendir_works" in diff --git a/m4/ffsll.m4 b/m4/ffsll.m4 index d2bffe6e81..0242dd9dad 100644 --- a/m4/ffsll.m4 +++ b/m4/ffsll.m4 @@ -1,4 +1,4 @@ -# ffsll.m4 serial 4 +# ffsll.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, @@ -51,16 +51,16 @@ AC_DEFUN([gl_FUNC_FFSLL], [gl_cv_func_ffsll_works=yes], [gl_cv_func_ffsll_works=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_ffsll_works="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_ffsll_works="guessing yes" ;; - # Guess yes on native Windows. - mingw*) 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. - *) gl_cv_func_ffsll_works="$gl_cross_guess_normal" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_ffsll_works="guessing yes" ;; + # 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" ;; + # Guess no on AIX. + aix*) gl_cv_func_ffsll_works="guessing no" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_ffsll_works="$gl_cross_guess_normal" ;; esac ]) ]) diff --git a/m4/floor.m4 b/m4/floor.m4 index 63e56d3956..ebab1e7bbe 100644 --- a/m4/floor.m4 +++ b/m4/floor.m4 @@ -1,4 +1,4 @@ -# floor.m4 serial 14 +# floor.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, @@ -42,14 +42,14 @@ int main (int argc, char *argv[]) [gl_cv_func_floor_ieee=yes], [gl_cv_func_floor_ieee=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_floor_ieee="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_floor_ieee="guessing yes" ;; - # Guess yes on native Windows. - mingw*) 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" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_floor_ieee="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_floor_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$save_LIBS" diff --git a/m4/floorf.m4 b/m4/floorf.m4 index c49ffa6bec..4ddb122de8 100644 --- a/m4/floorf.m4 +++ b/m4/floorf.m4 @@ -1,4 +1,4 @@ -# floorf.m4 serial 18 +# floorf.m4 serial 19 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, @@ -49,14 +49,14 @@ int main (int argc, char *argv[]) [gl_cv_func_floorf_ieee=yes], [gl_cv_func_floorf_ieee=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_floorf_ieee="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_floorf_ieee="guessing yes" ;; - # Guess yes on native Windows. - mingw*) 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" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_floorf_ieee="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_floorf_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$save_LIBS" diff --git a/m4/fmod.m4 b/m4/fmod.m4 index 865374001f..fe7c8f41f8 100644 --- a/m4/fmod.m4 +++ b/m4/fmod.m4 @@ -1,4 +1,4 @@ -# fmod.m4 serial 9 +# fmod.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, @@ -58,14 +58,14 @@ int main (int argc, char *argv[]) [gl_cv_func_fmod_ieee=yes], [gl_cv_func_fmod_ieee=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_fmod_ieee="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_fmod_ieee="guessing yes" ;; - # Guess yes on native Windows. - mingw*) 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" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_fmod_ieee="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_fmod_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$save_LIBS" diff --git a/m4/fmodf.m4 b/m4/fmodf.m4 index 2dd7fbfc7e..33ea15887d 100644 --- a/m4/fmodf.m4 +++ b/m4/fmodf.m4 @@ -1,4 +1,4 @@ -# fmodf.m4 serial 11 +# fmodf.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, @@ -59,14 +59,14 @@ int main (int argc, char *argv[]) [gl_cv_func_fmodf_ieee=yes], [gl_cv_func_fmodf_ieee=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_fmodf_ieee="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_fmodf_ieee="guessing yes" ;; - # Guess yes on native Windows. - mingw*) 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" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_fmodf_ieee="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_fmodf_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$save_LIBS" diff --git a/m4/fmodl.m4 b/m4/fmodl.m4 index 51fae629cf..0096de3bcb 100644 --- a/m4/fmodl.m4 +++ b/m4/fmodl.m4 @@ -1,4 +1,4 @@ -# fmodl.m4 serial 11 +# fmodl.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, @@ -70,14 +70,14 @@ int main (int argc, char *argv[]) [gl_cv_func_fmodl_ieee=yes], [gl_cv_func_fmodl_ieee=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_fmodl_ieee="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_fmodl_ieee="guessing yes" ;; - # Guess yes on native Windows. - mingw*) 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" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_fmodl_ieee="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_fmodl_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$save_LIBS" diff --git a/m4/fnmatch.m4 b/m4/fnmatch.m4 index e6f39f991f..895db13a2d 100644 --- a/m4/fnmatch.m4 +++ b/m4/fnmatch.m4 @@ -1,4 +1,4 @@ -# Check for fnmatch - serial 15. -*- coding: utf-8 -*- +# Check for fnmatch - serial 16. -*- coding: utf-8 -*- # Copyright (C) 2000-2007, 2009-2023 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation @@ -119,10 +119,10 @@ AC_DEFUN([gl_FUNC_FNMATCH_POSIX], [eval "$gl_fnmatch_cache_var=yes"], [eval "$gl_fnmatch_cache_var=no"], [case "$host_os" in - # Guess yes on musl systems. - *-musl*) eval "$gl_fnmatch_cache_var=\"guessing yes\"" ;; - # Guess no otherwise, even on glibc systems. - *) eval "$gl_fnmatch_cache_var=\"guessing no\"" ;; + # Guess yes on musl systems. + *-musl* | midipix*) eval "$gl_fnmatch_cache_var=\"guessing yes\"" ;; + # Guess no otherwise, even on glibc systems. + *) eval "$gl_fnmatch_cache_var=\"guessing no\"" ;; esac ]) ]) diff --git a/m4/fopen.m4 b/m4/fopen.m4 index 9c39ff721b..6806394f8c 100644 --- a/m4/fopen.m4 +++ b/m4/fopen.m4 @@ -1,4 +1,4 @@ -# fopen.m4 serial 13 +# fopen.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, @@ -87,7 +87,7 @@ int main () [gl_cv_func_fopen_mode_x=no], [case "$host_os" in # Guess yes on glibc and musl systems. - linux*-gnu* | gnu* | kfreebsd*-gnu | *-musl*) + linux*-gnu* | gnu* | kfreebsd*-gnu | *-musl* | midipix*) gl_cv_func_fopen_mode_x="guessing yes" ;; # If we don't know, obey --enable-cross-guesses. *) @@ -124,7 +124,7 @@ int main () [gl_cv_func_fopen_mode_e=no], [case "$host_os" in # Guess yes on glibc and musl systems. - linux*-gnu* | gnu* | kfreebsd*-gnu | *-musl*) + linux*-gnu* | gnu* | kfreebsd*-gnu | *-musl* | midipix*) gl_cv_func_fopen_mode_e="guessing yes" ;; # Guess no on native Windows. mingw*) diff --git a/m4/fpurge.m4 b/m4/fpurge.m4 index 8208250ee5..fe25596313 100644 --- a/m4/fpurge.m4 +++ b/m4/fpurge.m4 @@ -1,4 +1,4 @@ -# fpurge.m4 serial 13 +# fpurge.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, @@ -53,10 +53,10 @@ AC_DEFUN([gl_FUNC_FPURGE], [gl_cv_func_fpurge_works=yes], [gl_cv_func_fpurge_works=no], [case "$host_os" in - # Guess yes on musl systems. - *-musl*) gl_cv_func_fpurge_works="guessing yes" ;; - # Otherwise obey --enable-cross-guesses. - *) gl_cv_func_fpurge_works="$gl_cross_guess_normal" ;; + # Guess yes on musl systems. + *-musl* | midipix*) gl_cv_func_fpurge_works="guessing yes" ;; + # Otherwise obey --enable-cross-guesses. + *) gl_cv_func_fpurge_works="$gl_cross_guess_normal" ;; esac ]) ]) diff --git a/m4/getdelim.m4 b/m4/getdelim.m4 index d89aae5dff..60555b9718 100644 --- a/m4/getdelim.m4 +++ b/m4/getdelim.m4 @@ -1,4 +1,4 @@ -# getdelim.m4 serial 18 +# getdelim.m4 serial 19 dnl Copyright (C) 2005-2007, 2009-2023 Free Software Foundation, Inc. dnl @@ -82,8 +82,8 @@ AC_DEFUN([gl_FUNC_GETDELIM], ], [gl_cv_func_working_getdelim="guessing yes"], [case "$host_os" in - *-musl*) gl_cv_func_working_getdelim="guessing yes" ;; - *) gl_cv_func_working_getdelim="$gl_cross_guess_normal" ;; + *-musl* | midipix*) gl_cv_func_working_getdelim="guessing yes" ;; + *) gl_cv_func_working_getdelim="$gl_cross_guess_normal" ;; esac ]) ]) diff --git a/m4/getline.m4 b/m4/getline.m4 index 1f2825c336..83e7e9315f 100644 --- a/m4/getline.m4 +++ b/m4/getline.m4 @@ -1,4 +1,4 @@ -# getline.m4 serial 32 +# getline.m4 serial 33 dnl Copyright (C) 1998-2003, 2005-2007, 2009-2023 Free Software Foundation, dnl Inc. @@ -76,8 +76,8 @@ AC_DEFUN([gl_FUNC_GETLINE], ], [am_cv_func_working_getline="guessing yes"], [case "$host_os" in - *-musl*) am_cv_func_working_getline="guessing yes" ;; - *) am_cv_func_working_getline="$gl_cross_guess_normal" ;; + *-musl* | midipix*) am_cv_func_working_getline="guessing yes" ;; + *) am_cv_func_working_getline="$gl_cross_guess_normal" ;; esac ]) ]) diff --git a/m4/hypot.m4 b/m4/hypot.m4 index c4ae9695ef..7a44195784 100644 --- a/m4/hypot.m4 +++ b/m4/hypot.m4 @@ -1,4 +1,4 @@ -# hypot.m4 serial 9 +# hypot.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, @@ -55,14 +55,14 @@ int main (int argc, char *argv[]) [gl_cv_func_hypot_ieee=yes], [gl_cv_func_hypot_ieee=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_hypot_ieee="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_hypot_ieee="guessing yes" ;; - # Guess yes on native Windows. - mingw*) 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" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_hypot_ieee="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_hypot_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$save_LIBS" diff --git a/m4/hypotf.m4 b/m4/hypotf.m4 index 519ca5cebf..4817a96522 100644 --- a/m4/hypotf.m4 +++ b/m4/hypotf.m4 @@ -1,4 +1,4 @@ -# hypotf.m4 serial 10 +# hypotf.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, @@ -71,14 +71,14 @@ int main (int argc, char *argv[]) [gl_cv_func_hypotf_ieee=yes], [gl_cv_func_hypotf_ieee=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_hypotf_ieee="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_hypotf_ieee="guessing yes" ;; - # Guess yes on native Windows. - mingw*) 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" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_hypotf_ieee="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_hypotf_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$save_LIBS" diff --git a/m4/hypotl.m4 b/m4/hypotl.m4 index e9291dd2b8..209bf5ccb1 100644 --- a/m4/hypotl.m4 +++ b/m4/hypotl.m4 @@ -1,4 +1,4 @@ -# hypotl.m4 serial 11 +# hypotl.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, @@ -71,14 +71,14 @@ int main (int argc, char *argv[]) [gl_cv_func_hypotl_ieee=yes], [gl_cv_func_hypotl_ieee=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_hypotl_ieee="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_hypotl_ieee="guessing yes" ;; - # Guess yes on native Windows. - mingw*) 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" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_hypotl_ieee="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_hypotl_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$save_LIBS" diff --git a/m4/iconv_open-utf.m4 b/m4/iconv_open-utf.m4 index 8f974bb85d..81fc393b22 100644 --- a/m4/iconv_open-utf.m4 +++ b/m4/iconv_open-utf.m4 @@ -1,4 +1,4 @@ -# iconv_open-utf.m4 serial 4 +# iconv_open-utf.m4 serial 5 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, @@ -220,9 +220,8 @@ int main () else changequote(,)dnl case "$host_os" in - *-musl*) gl_cv_func_iconv_supports_utf="guessing yes" ;; - solaris2.9 | solaris2.1[0-9]) - gl_cv_func_iconv_supports_utf="guessing yes" ;; + *-musl* | midipix*) gl_cv_func_iconv_supports_utf="guessing yes" ;; + solaris2.9 | solaris2.1[0-9]) gl_cv_func_iconv_supports_utf="guessing yes" ;; esac changequote([,])dnl fi diff --git a/m4/log.m4 b/m4/log.m4 index 3cffe6b7ca..a0fcc3e465 100644 --- a/m4/log.m4 +++ b/m4/log.m4 @@ -1,4 +1,4 @@ -# log.m4 serial 11 +# log.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, @@ -58,14 +58,14 @@ int main (int argc, char *argv[]) [gl_cv_func_log_ieee=yes], [gl_cv_func_log_ieee=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_log_ieee="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_log_ieee="guessing yes" ;; - # Guess yes on native Windows. - mingw*) 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" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_log_ieee="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_log_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$save_LIBS" diff --git a/m4/log10.m4 b/m4/log10.m4 index 2e79912ea2..e803a8e6b3 100644 --- a/m4/log10.m4 +++ b/m4/log10.m4 @@ -1,4 +1,4 @@ -# log10.m4 serial 11 +# log10.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, @@ -58,14 +58,14 @@ int main (int argc, char *argv[]) [gl_cv_func_log10_ieee=yes], [gl_cv_func_log10_ieee=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_log10_ieee="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_log10_ieee="guessing yes" ;; - # Guess yes on native Windows. - mingw*) 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" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_log10_ieee="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_log10_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$save_LIBS" diff --git a/m4/log10f.m4 b/m4/log10f.m4 index e5f952ccf3..4d44c71dc6 100644 --- a/m4/log10f.m4 +++ b/m4/log10f.m4 @@ -1,4 +1,4 @@ -# log10f.m4 serial 12 +# log10f.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, @@ -68,14 +68,14 @@ int main (int argc, char *argv[]) [gl_cv_func_log10f_ieee=yes], [gl_cv_func_log10f_ieee=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_log10f_ieee="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_log10f_ieee="guessing yes" ;; - # Guess yes on native Windows. - mingw*) 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" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_log10f_ieee="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_log10f_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$save_LIBS" diff --git a/m4/log10l.m4 b/m4/log10l.m4 index f67d89bfaf..319c461a5d 100644 --- a/m4/log10l.m4 +++ b/m4/log10l.m4 @@ -1,4 +1,4 @@ -# log10l.m4 serial 10 +# log10l.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, @@ -145,14 +145,14 @@ int main (int argc, char *argv[]) [gl_cv_func_log10l_works=yes], [gl_cv_func_log10l_works=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_log10l_works="guessing yes" ;; - # Guess no on musl systems. - *-musl*) gl_cv_func_log10l_works="guessing no" ;; - # Guess yes on native Windows. - mingw*) 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" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_log10l_works="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_log10l_works="$gl_cross_guess_normal" ;; esac ]) ]) diff --git a/m4/log1p.m4 b/m4/log1p.m4 index 56b11af0f0..9e06540950 100644 --- a/m4/log1p.m4 +++ b/m4/log1p.m4 @@ -1,4 +1,4 @@ -# log1p.m4 serial 8 +# log1p.m4 serial 9 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, @@ -52,14 +52,14 @@ int main (int argc, char *argv[]) [gl_cv_func_log1p_ieee=yes], [gl_cv_func_log1p_ieee=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_log1p_ieee="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_log1p_ieee="guessing yes" ;; - # Guess yes on native Windows. - mingw*) 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" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_log1p_ieee="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_log1p_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$save_LIBS" diff --git a/m4/log1pf.m4 b/m4/log1pf.m4 index 6a950a086a..0cb6c7391f 100644 --- a/m4/log1pf.m4 +++ b/m4/log1pf.m4 @@ -1,4 +1,4 @@ -# log1pf.m4 serial 8 +# log1pf.m4 serial 9 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, @@ -61,14 +61,14 @@ int main (int argc, char *argv[]) [gl_cv_func_log1pf_ieee=yes], [gl_cv_func_log1pf_ieee=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_log1pf_ieee="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_log1pf_ieee="guessing yes" ;; - # Guess yes on native Windows. - mingw*) 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" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_log1pf_ieee="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_log1pf_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$save_LIBS" diff --git a/m4/log1pl.m4 b/m4/log1pl.m4 index 280e629d89..3519ce8e38 100644 --- a/m4/log1pl.m4 +++ b/m4/log1pl.m4 @@ -1,4 +1,4 @@ -# log1pl.m4 serial 9 +# log1pl.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, @@ -62,14 +62,14 @@ int main (int argc, char *argv[]) [gl_cv_func_log1pl_ieee=yes], [gl_cv_func_log1pl_ieee=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_log1pl_ieee="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_log1pl_ieee="guessing yes" ;; - # Guess yes on native Windows. - mingw*) 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" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_log1pl_ieee="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_log1pl_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$save_LIBS" @@ -187,14 +187,14 @@ int main (int argc, char *argv[]) [gl_cv_func_log1pl_works=yes], [gl_cv_func_log1pl_works=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_log1pl_works="guessing yes" ;; - # Guess no on musl systems. - *-musl*) gl_cv_func_log1pl_works="guessing no" ;; - # Guess yes on native Windows. - mingw*) 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" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_log1pl_works="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_log1pl_works="$gl_cross_guess_normal" ;; esac ]) ]) diff --git a/m4/log2.m4 b/m4/log2.m4 index 809853ed3b..86e39a237c 100644 --- a/m4/log2.m4 +++ b/m4/log2.m4 @@ -1,4 +1,4 @@ -# log2.m4 serial 12 +# log2.m4 serial 13 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, @@ -79,14 +79,14 @@ int main (int argc, char *argv[]) [gl_cv_func_log2_ieee=yes], [gl_cv_func_log2_ieee=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_log2_ieee="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_log2_ieee="guessing yes" ;; - # Guess yes on native Windows. - mingw*) 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" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_log2_ieee="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_log2_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$save_LIBS" diff --git a/m4/log2f.m4 b/m4/log2f.m4 index 3c47f1aa87..112cd8fcb9 100644 --- a/m4/log2f.m4 +++ b/m4/log2f.m4 @@ -1,4 +1,4 @@ -# log2f.m4 serial 12 +# log2f.m4 serial 13 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, @@ -80,14 +80,14 @@ int main (int argc, char *argv[]) [gl_cv_func_log2f_ieee=yes], [gl_cv_func_log2f_ieee=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_log2f_ieee="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_log2f_ieee="guessing yes" ;; - # Guess yes on native Windows. - mingw*) 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" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_log2f_ieee="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_log2f_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$save_LIBS" diff --git a/m4/log2l.m4 b/m4/log2l.m4 index 57639a2af5..5fede3f067 100644 --- a/m4/log2l.m4 +++ b/m4/log2l.m4 @@ -1,4 +1,4 @@ -# log2l.m4 serial 5 +# log2l.m4 serial 6 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, @@ -165,16 +165,16 @@ int main (int argc, char *argv[]) [gl_cv_func_log2l_works=yes], [gl_cv_func_log2l_works=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_log2l_works="guessing yes" ;; - # Guess no on musl systems. - *-musl*) gl_cv_func_log2l_works="guessing no" ;; - # 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" ;; - # If we don't know, obey --enable-cross-guesses. - *) gl_cv_func_log2l_works="$gl_cross_guess_normal" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_log2l_works="guessing yes" ;; + # Guess no on musl systems. + *-musl* | midipix*) gl_cv_func_log2l_works="guessing no" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_log2l_works="$gl_cross_guess_normal" ;; esac ]) ]) diff --git a/m4/logf.m4 b/m4/logf.m4 index 2c546779a4..d9fe5fdc71 100644 --- a/m4/logf.m4 +++ b/m4/logf.m4 @@ -1,4 +1,4 @@ -# logf.m4 serial 12 +# logf.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, @@ -68,14 +68,14 @@ int main (int argc, char *argv[]) [gl_cv_func_logf_ieee=yes], [gl_cv_func_logf_ieee=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_logf_ieee="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_logf_ieee="guessing yes" ;; - # Guess yes on native Windows. - mingw*) 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" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_logf_ieee="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_logf_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$save_LIBS" diff --git a/m4/logl.m4 b/m4/logl.m4 index 316b24d161..cc50f4d4d1 100644 --- a/m4/logl.m4 +++ b/m4/logl.m4 @@ -1,4 +1,4 @@ -# logl.m4 serial 15 +# logl.m4 serial 16 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, @@ -186,14 +186,14 @@ int main (int argc, char *argv[]) [gl_cv_func_logl_works=yes], [gl_cv_func_logl_works=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_logl_works="guessing yes" ;; - # Guess no on musl systems. - *-musl*) gl_cv_func_logl_works="guessing no" ;; - # Guess yes on native Windows. - mingw*) 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" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_logl_works="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_logl_works="$gl_cross_guess_normal" ;; esac ]) ]) diff --git a/m4/malloc.m4 b/m4/malloc.m4 index 554029243d..bc580176f5 100644 --- a/m4/malloc.m4 +++ b/m4/malloc.m4 @@ -1,4 +1,4 @@ -# malloc.m4 serial 28 +# malloc.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, @@ -25,7 +25,7 @@ AC_DEFUN([_AC_FUNC_MALLOC_IF], [case "$host_os" in # Guess yes on platforms where we know the result. *-gnu* | freebsd* | netbsd* | openbsd* | bitrig* \ - | gnu* | *-musl* | midnightbsd* \ + | gnu* | *-musl* | midipix* | midnightbsd* \ | hpux* | solaris* | cygwin* | mingw* | msys* ) ac_cv_func_malloc_0_nonnull="guessing yes" ;; # If we don't know, obey --enable-cross-guesses. diff --git a/m4/mkstemp.m4 b/m4/mkstemp.m4 index 4a64045fea..d4a15ead33 100644 --- a/m4/mkstemp.m4 +++ b/m4/mkstemp.m4 @@ -1,4 +1,4 @@ -#serial 28 +#serial 29 # Copyright (C) 2001, 2003-2007, 2009-2023 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation @@ -58,14 +58,14 @@ AC_DEFUN([gl_FUNC_MKSTEMP], [gl_cv_func_working_mkstemp=yes], [gl_cv_func_working_mkstemp=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_working_mkstemp="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_working_mkstemp="guessing yes" ;; - # Guess no on native Windows. - mingw*) 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" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_working_mkstemp="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_working_mkstemp="$gl_cross_guess_normal" ;; esac ]) rm -rf conftest.mkstemp diff --git a/m4/modf.m4 b/m4/modf.m4 index f136ae5ffe..90671d1370 100644 --- a/m4/modf.m4 +++ b/m4/modf.m4 @@ -1,4 +1,4 @@ -# modf.m4 serial 9 +# modf.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, @@ -61,21 +61,21 @@ int main (int argc, char *argv[]) [gl_cv_func_modf_ieee=yes], [gl_cv_func_modf_ieee=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_modf_ieee="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_modf_ieee="guessing yes" ;; - # Guess yes on MSVC, no on mingw. - mingw*) AC_EGREP_CPP([Known], [ + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_modf_ieee="guessing yes" ;; + # 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], [ #ifdef _MSC_VER Known #endif - ], - [gl_cv_func_modf_ieee="guessing yes"], - [gl_cv_func_modf_ieee="guessing no"]) - ;; - # If we don't know, obey --enable-cross-guesses. - *) gl_cv_func_modf_ieee="$gl_cross_guess_normal" ;; + ], + [gl_cv_func_modf_ieee="guessing yes"], + [gl_cv_func_modf_ieee="guessing no"]) + ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_modf_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$save_LIBS" diff --git a/m4/modff.m4 b/m4/modff.m4 index fcf07bee9e..555bf46634 100644 --- a/m4/modff.m4 +++ b/m4/modff.m4 @@ -1,4 +1,4 @@ -# modff.m4 serial 11 +# modff.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, @@ -69,21 +69,21 @@ int main (int argc, char *argv[]) [gl_cv_func_modff_ieee=yes], [gl_cv_func_modff_ieee=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_modff_ieee="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_modff_ieee="guessing yes" ;; - # Guess yes on MSVC, no on mingw. - mingw*) AC_EGREP_CPP([Known], [ + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_modff_ieee="guessing yes" ;; + # 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], [ #ifdef _MSC_VER Known #endif - ], - [gl_cv_func_modff_ieee="guessing yes"], - [gl_cv_func_modff_ieee="guessing no"]) - ;; - # If we don't know, obey --enable-cross-guesses. - *) gl_cv_func_modff_ieee="$gl_cross_guess_normal" ;; + ], + [gl_cv_func_modff_ieee="guessing yes"], + [gl_cv_func_modff_ieee="guessing no"]) + ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_modff_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$save_LIBS" diff --git a/m4/modfl.m4 b/m4/modfl.m4 index 6fe9d0183e..46f55bd911 100644 --- a/m4/modfl.m4 +++ b/m4/modfl.m4 @@ -1,4 +1,4 @@ -# modfl.m4 serial 8 +# modfl.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, @@ -63,21 +63,21 @@ int main (int argc, char *argv[]) [gl_cv_func_modfl_ieee=yes], [gl_cv_func_modfl_ieee=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_modfl_ieee="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_modfl_ieee="guessing yes" ;; - # Guess yes on MSVC, no on mingw. - mingw*) AC_EGREP_CPP([Known], [ + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_modfl_ieee="guessing yes" ;; + # 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], [ #ifdef _MSC_VER Known #endif - ], - [gl_cv_func_modfl_ieee="guessing yes"], - [gl_cv_func_modfl_ieee="guessing no"]) - ;; - # If we don't know, obey --enable-cross-guesses. - *) gl_cv_func_modfl_ieee="$gl_cross_guess_normal" ;; + ], + [gl_cv_func_modfl_ieee="guessing yes"], + [gl_cv_func_modfl_ieee="guessing no"]) + ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_modfl_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$save_LIBS" diff --git a/m4/musl.m4 b/m4/musl.m4 index 73898f6934..e28a3fed67 100644 --- a/m4/musl.m4 +++ b/m4/musl.m4 @@ -1,4 +1,4 @@ -# musl.m4 serial 3 +# musl.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, @@ -13,6 +13,8 @@ AC_DEFUN_ONCE([gl_MUSL_LIBC], [ AC_REQUIRE([AC_CANONICAL_HOST]) case "$host_os" in - *-musl*) AC_DEFINE([MUSL_LIBC], [1], [Define to 1 on musl libc.]) ;; + *-musl* | midipix*) + AC_DEFINE([MUSL_LIBC], [1], [Define to 1 on musl libc.]) + ;; esac ]) diff --git a/m4/perror.m4 b/m4/perror.m4 index 2545cb3487..9842b24c8e 100644 --- a/m4/perror.m4 +++ b/m4/perror.m4 @@ -1,4 +1,4 @@ -# perror.m4 serial 11 +# perror.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, @@ -48,12 +48,12 @@ AC_DEFUN([gl_FUNC_PERROR], rm -rf conftest.txt1 conftest.txt2], [gl_cv_func_perror_works=no], [case "$host_os" in - # Guess yes on musl systems. - *-musl*) gl_cv_func_perror_works="guessing yes" ;; - # Guess yes on native Windows. - mingw*) gl_cv_func_perror_works="guessing yes" ;; - # Otherwise obey --enable-cross-guesses. - *) gl_cv_func_perror_works="$gl_cross_guess_normal" ;; + # 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" ;; + # Otherwise obey --enable-cross-guesses. + *) gl_cv_func_perror_works="$gl_cross_guess_normal" ;; esac ]) ]) diff --git a/m4/posix_spawn.m4 b/m4/posix_spawn.m4 index de0bd00c2a..0a0dfe7685 100644 --- a/m4/posix_spawn.m4 +++ b/m4/posix_spawn.m4 @@ -1,4 +1,4 @@ -# posix_spawn.m4 serial 22 +# posix_spawn.m4 serial 23 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, @@ -534,7 +534,7 @@ AC_DEFUN([gl_POSIX_SPAWN_SECURE], [case "$host_os" in # Guess yes on glibc systems (glibc >= 2.15 actually) except GNU/Hurd, # musl libc, NetBSD. - *-gnu* | *-musl* | netbsd*) + *-gnu* | *-musl* | midipix* | netbsd*) gl_cv_func_posix_spawnp_secure_exec="guessing yes" ;; # Guess no on GNU/Hurd, macOS, FreeBSD, OpenBSD, AIX, Solaris, Cygwin. gnu* | darwin* | freebsd* | dragonfly* | midnightbsd* | openbsd* | \ @@ -585,11 +585,11 @@ int main () [gl_cv_func_posix_spawn_file_actions_addclose_works=no], [# Guess no on musl libc and Solaris, yes otherwise. case "$host_os" in - *-musl*) 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" ;; - *) gl_cv_func_posix_spawn_file_actions_addclose_works="guessing yes" ;; + *-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" ;; + *) gl_cv_func_posix_spawn_file_actions_addclose_works="guessing yes" ;; esac ]) ]) @@ -629,11 +629,11 @@ int main () [gl_cv_func_posix_spawn_file_actions_adddup2_works=no], [# Guess no on musl libc and Solaris, yes otherwise. case "$host_os" in - *-musl*) 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" ;; - *) gl_cv_func_posix_spawn_file_actions_adddup2_works="guessing yes";; + *-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" ;; + *) gl_cv_func_posix_spawn_file_actions_adddup2_works="guessing yes";; esac ]) ]) @@ -675,11 +675,11 @@ int main () [gl_cv_func_posix_spawn_file_actions_addopen_works=no], [# Guess no on musl libc and Solaris, yes otherwise. case "$host_os" in - *-musl*) 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" ;; - *) gl_cv_func_posix_spawn_file_actions_addopen_works="guessing yes";; + *-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" ;; + *) gl_cv_func_posix_spawn_file_actions_addopen_works="guessing yes";; esac ]) ]) diff --git a/m4/printf.m4 b/m4/printf.m4 index 4e65abc6e6..de98a870e9 100644 --- a/m4/printf.m4 +++ b/m4/printf.m4 @@ -1,4 +1,4 @@ -# printf.m4 serial 73 +# printf.m4 serial 74 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, @@ -63,7 +63,7 @@ changequote(,)dnl # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_printf_sizes_c99="guessing yes";; # Guess yes on musl systems. - *-musl*) gl_cv_func_printf_sizes_c99="guessing yes";; + *-musl* | midipix*) gl_cv_func_printf_sizes_c99="guessing yes";; # Guess yes on FreeBSD >= 5. freebsd[1-4].*) gl_cv_func_printf_sizes_c99="guessing no";; freebsd* | kfreebsd*) gl_cv_func_printf_sizes_c99="guessing yes";; @@ -244,7 +244,7 @@ changequote(,)dnl # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_printf_infinite="guessing yes";; # Guess yes on musl systems. - *-musl*) gl_cv_func_printf_infinite="guessing yes";; + *-musl* | midipix*) gl_cv_func_printf_infinite="guessing yes";; # Guess yes on FreeBSD >= 6. freebsd[1-5].*) gl_cv_func_printf_infinite="guessing no";; freebsd* | kfreebsd*) gl_cv_func_printf_infinite="guessing yes";; @@ -467,7 +467,7 @@ changequote(,)dnl # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_printf_infinite_long_double="guessing yes";; # Guess yes on musl systems. - *-musl*) gl_cv_func_printf_infinite_long_double="guessing yes";; + *-musl* | midipix*) gl_cv_func_printf_infinite_long_double="guessing yes";; # Guess yes on FreeBSD >= 6. freebsd[1-5].*) gl_cv_func_printf_infinite_long_double="guessing no";; freebsd* | kfreebsd*) gl_cv_func_printf_infinite_long_double="guessing yes";; @@ -591,7 +591,7 @@ int main () [gl_cv_func_printf_directive_a="guessing no"]) ;; # Guess yes on musl systems. - *-musl*) gl_cv_func_printf_directive_a="guessing yes";; + *-musl* | midipix*) gl_cv_func_printf_directive_a="guessing yes";; # Guess no on Android. linux*-android*) gl_cv_func_printf_directive_a="guessing no";; # Guess no on native Windows. @@ -643,7 +643,7 @@ changequote(,)dnl # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_printf_directive_f="guessing yes";; # Guess yes on musl systems. - *-musl*) gl_cv_func_printf_directive_f="guessing yes";; + *-musl* | midipix*) gl_cv_func_printf_directive_f="guessing yes";; # Guess yes on FreeBSD >= 6. freebsd[1-5].*) gl_cv_func_printf_directive_f="guessing no";; freebsd* | kfreebsd*) gl_cv_func_printf_directive_f="guessing yes";; @@ -990,18 +990,18 @@ int main () [ changequote(,)dnl case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_printf_flag_zero="guessing yes";; - # Guess yes on musl systems. - *-musl*) gl_cv_func_printf_flag_zero="guessing yes";; - # Guess yes on BeOS. - beos*) gl_cv_func_printf_flag_zero="guessing yes";; - # 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";; - # If we don't know, obey --enable-cross-guesses. - *) gl_cv_func_printf_flag_zero="$gl_cross_guess_normal";; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_printf_flag_zero="guessing yes";; + # Guess yes on musl systems. + *-musl* | midipix*) gl_cv_func_printf_flag_zero="guessing yes";; + # Guess yes on BeOS. + beos*) gl_cv_func_printf_flag_zero="guessing yes";; + # 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";; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_printf_flag_zero="$gl_cross_guess_normal";; esac changequote([,])dnl ]) @@ -1239,7 +1239,7 @@ changequote(,)dnl # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on musl systems. - *-musl*) gl_cv_func_snprintf_truncation_c99="guessing yes";; + *-musl* | midipix*) gl_cv_func_snprintf_truncation_c99="guessing yes";; # Guess yes on FreeBSD >= 5. freebsd[1-4].*) gl_cv_func_snprintf_truncation_c99="guessing no";; freebsd* | kfreebsd*) gl_cv_func_snprintf_truncation_c99="guessing yes";; @@ -1344,7 +1344,7 @@ changequote(,)dnl # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on musl systems. - *-musl*) gl_cv_func_snprintf_retval_c99="guessing yes";; + *-musl* | midipix*) gl_cv_func_snprintf_retval_c99="guessing yes";; # Guess yes on FreeBSD >= 5. freebsd[1-4].*) gl_cv_func_snprintf_retval_c99="guessing no";; freebsd* | kfreebsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; @@ -1447,7 +1447,7 @@ int main () ;; changequote(,)dnl # Guess yes on musl systems. - *-musl*) gl_cv_func_snprintf_directive_n="guessing yes";; + *-musl* | midipix*) gl_cv_func_snprintf_directive_n="guessing yes";; # Guess yes on FreeBSD >= 5. freebsd[1-4].*) gl_cv_func_snprintf_directive_n="guessing no";; freebsd* | kfreebsd*) gl_cv_func_snprintf_directive_n="guessing yes";; @@ -1604,7 +1604,7 @@ changequote(,)dnl # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; # Guess yes on musl systems. - *-musl*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; + *-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";; diff --git a/m4/pthread_rwlock_rdlock.m4 b/m4/pthread_rwlock_rdlock.m4 index ae6a885326..66b29f8963 100644 --- a/m4/pthread_rwlock_rdlock.m4 +++ b/m4/pthread_rwlock_rdlock.m4 @@ -1,4 +1,4 @@ -# pthread_rwlock_rdlock.m4 serial 4 +# pthread_rwlock_rdlock.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, @@ -156,22 +156,22 @@ main () [gl_cv_pthread_rwlock_rdlock_prefer_writer=yes], [gl_cv_pthread_rwlock_rdlock_prefer_writer=no], [case "$host_os" in - # Guess no on glibc systems. - *-gnu* | gnu*) gl_cv_pthread_rwlock_rdlock_prefer_writer="guessing no" ;; - # Guess no on musl systems. - *-musl*) gl_cv_pthread_rwlock_rdlock_prefer_writer="guessing no" ;; - # Guess no on bionic systems. - *-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 - gl_cv_pthread_rwlock_rdlock_prefer_writer="guessing yes" - else - gl_cv_pthread_rwlock_rdlock_prefer_writer="guessing no" - fi - ;; - # If we don't know, obey --enable-cross-guesses. - *) gl_cv_pthread_rwlock_rdlock_prefer_writer="$gl_cross_guess_normal" ;; + # Guess no on glibc systems. + *-gnu* | gnu*) gl_cv_pthread_rwlock_rdlock_prefer_writer="guessing no" ;; + # Guess no on musl systems. + *-musl* | midipix*) gl_cv_pthread_rwlock_rdlock_prefer_writer="guessing no" ;; + # Guess no on bionic systems. + *-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 + gl_cv_pthread_rwlock_rdlock_prefer_writer="guessing yes" + else + gl_cv_pthread_rwlock_rdlock_prefer_writer="guessing no" + fi + ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_pthread_rwlock_rdlock_prefer_writer="$gl_cross_guess_normal" ;; esac ]) LIBS="$save_LIBS" diff --git a/m4/putenv.m4 b/m4/putenv.m4 index cc8c74c053..d37a60213f 100644 --- a/m4/putenv.m4 +++ b/m4/putenv.m4 @@ -1,4 +1,4 @@ -# putenv.m4 serial 25 +# putenv.m4 serial 26 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, @@ -38,14 +38,14 @@ AC_DEFUN([gl_FUNC_PUTENV], [gl_cv_func_svid_putenv=no], [dnl When crosscompiling, assume putenv is broken. case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_svid_putenv="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_svid_putenv="guessing yes" ;; - # Guess no on native Windows. - mingw*) 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" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_svid_putenv="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_svid_putenv="$gl_cross_guess_normal" ;; esac ]) ]) diff --git a/m4/realloc.m4 b/m4/realloc.m4 index d22138fc7a..26053914cb 100644 --- a/m4/realloc.m4 +++ b/m4/realloc.m4 @@ -1,4 +1,4 @@ -# realloc.m4 serial 26 +# realloc.m4 serial 27 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, @@ -25,7 +25,7 @@ AC_DEFUN([_AC_FUNC_REALLOC_IF], [case "$host_os" in # Guess yes on platforms where we know the result. *-gnu* | freebsd* | netbsd* | openbsd* | bitrig* \ - | gnu* | *-musl* | midnightbsd* \ + | gnu* | *-musl* | midipix* | midnightbsd* \ | hpux* | solaris* | cygwin* | mingw* | msys* ) ac_cv_func_realloc_0_nonnull="guessing yes" ;; # If we don't know, obey --enable-cross-guesses. diff --git a/m4/remainder.m4 b/m4/remainder.m4 index be81485c3c..0e79bd7d03 100644 --- a/m4/remainder.m4 +++ b/m4/remainder.m4 @@ -1,4 +1,4 @@ -# remainder.m4 serial 9 +# remainder.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, @@ -92,14 +92,14 @@ int main (int argc, char *argv[]) [gl_cv_func_remainder_ieee=yes], [gl_cv_func_remainder_ieee=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_remainder_ieee="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_remainder_ieee="guessing yes" ;; - # Guess yes on native Windows. - mingw*) 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" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_remainder_ieee="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_remainder_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$save_LIBS" diff --git a/m4/remainderf.m4 b/m4/remainderf.m4 index bc3dbc4b53..10ed65a405 100644 --- a/m4/remainderf.m4 +++ b/m4/remainderf.m4 @@ -1,4 +1,4 @@ -# remainderf.m4 serial 13 +# remainderf.m4 serial 14 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, @@ -95,14 +95,14 @@ int main (int argc, char *argv[]) [gl_cv_func_remainderf_ieee=yes], [gl_cv_func_remainderf_ieee=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_remainderf_ieee="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_remainderf_ieee="guessing yes" ;; - # Guess yes on native Windows. - mingw*) 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" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_remainderf_ieee="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_remainderf_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$save_LIBS" diff --git a/m4/remainderl.m4 b/m4/remainderl.m4 index e893250bae..3282cc86ce 100644 --- a/m4/remainderl.m4 +++ b/m4/remainderl.m4 @@ -1,4 +1,4 @@ -# remainderl.m4 serial 13 +# remainderl.m4 serial 14 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,14 +100,14 @@ int main (int argc, char *argv[]) [gl_cv_func_remainderl_ieee=yes], [gl_cv_func_remainderl_ieee=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_remainderl_ieee="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_remainderl_ieee="guessing yes" ;; - # Guess yes on native Windows. - mingw*) 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" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_remainderl_ieee="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_remainderl_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$save_LIBS" @@ -239,16 +239,16 @@ int main (int argc, char *argv[]) [gl_cv_func_remainderl_works=yes], [gl_cv_func_remainderl_works=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_remainderl_works="guessing yes" ;; - # Guess no on musl systems. - *-musl*) gl_cv_func_remainderl_works="guessing no" ;; - # 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" ;; - # If we don't know, obey --enable-cross-guesses. - *) gl_cv_func_remainderl_works="$gl_cross_guess_normal" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_remainderl_works="guessing yes" ;; + # Guess no on musl systems. + *-musl* | midipix*) gl_cv_func_remainderl_works="guessing no" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_remainderl_works="$gl_cross_guess_normal" ;; esac ]) ]) diff --git a/m4/rintl.m4 b/m4/rintl.m4 index 8841396395..cb9bff55c2 100644 --- a/m4/rintl.m4 +++ b/m4/rintl.m4 @@ -1,4 +1,4 @@ -# rintl.m4 serial 8 +# rintl.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, @@ -50,14 +50,14 @@ int main (int argc, char *argv[]) [gl_cv_func_rintl_works=yes], [gl_cv_func_rintl_works=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_rintl_works="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_rintl_works="guessing yes" ;; - # Guess yes on native Windows. - mingw*) 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" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_rintl_works="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_rintl_works="$gl_cross_guess_normal" ;; esac ]) LIBS="$save_LIBS" diff --git a/m4/round.m4 b/m4/round.m4 index 6e70a1fc06..febc098ef9 100644 --- a/m4/round.m4 +++ b/m4/round.m4 @@ -1,4 +1,4 @@ -# round.m4 serial 23 +# round.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, @@ -113,21 +113,21 @@ int main (int argc, char *argv[]) [gl_cv_func_round_ieee=yes], [gl_cv_func_round_ieee=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_round_ieee="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_round_ieee="guessing yes" ;; - # Guess yes on MSVC, no on mingw. - mingw*) AC_EGREP_CPP([Known], [ + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_round_ieee="guessing yes" ;; + # 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], [ #ifdef _MSC_VER Known #endif - ], - [gl_cv_func_round_ieee="guessing yes"], - [gl_cv_func_round_ieee="guessing no"]) - ;; - # If we don't know, obey --enable-cross-guesses. - *) gl_cv_func_round_ieee="$gl_cross_guess_normal" ;; + ], + [gl_cv_func_round_ieee="guessing yes"], + [gl_cv_func_round_ieee="guessing no"]) + ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_round_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$save_LIBS" diff --git a/m4/roundf.m4 b/m4/roundf.m4 index f5b0056964..ca8f6398b4 100644 --- a/m4/roundf.m4 +++ b/m4/roundf.m4 @@ -1,4 +1,4 @@ -# roundf.m4 serial 24 +# roundf.m4 serial 25 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, @@ -113,21 +113,21 @@ int main (int argc, char *argv[]) [gl_cv_func_roundf_ieee=yes], [gl_cv_func_roundf_ieee=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_roundf_ieee="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_roundf_ieee="guessing yes" ;; - # Guess yes on MSVC, no on mingw. - mingw*) AC_EGREP_CPP([Known], [ + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_roundf_ieee="guessing yes" ;; + # 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], [ #ifdef _MSC_VER Known #endif - ], - [gl_cv_func_roundf_ieee="guessing yes"], - [gl_cv_func_roundf_ieee="guessing no"]) - ;; - # If we don't know, obey --enable-cross-guesses. - *) gl_cv_func_roundf_ieee="$gl_cross_guess_normal" ;; + ], + [gl_cv_func_roundf_ieee="guessing yes"], + [gl_cv_func_roundf_ieee="guessing no"]) + ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_roundf_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$save_LIBS" diff --git a/m4/roundl.m4 b/m4/roundl.m4 index 9e9a8e1c06..f23378cfb5 100644 --- a/m4/roundl.m4 +++ b/m4/roundl.m4 @@ -1,4 +1,4 @@ -# roundl.m4 serial 20 +# roundl.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, @@ -64,14 +64,14 @@ int main (int argc, char *argv[]) [gl_cv_func_roundl_ieee=yes], [gl_cv_func_roundl_ieee=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_roundl_ieee="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_roundl_ieee="guessing yes" ;; - # Guess yes on native Windows. - mingw*) 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" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_roundl_ieee="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_roundl_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$save_LIBS" diff --git a/m4/setenv.m4 b/m4/setenv.m4 index c0b7475606..ef068ad879 100644 --- a/m4/setenv.m4 +++ b/m4/setenv.m4 @@ -1,4 +1,4 @@ -# setenv.m4 serial 31 +# setenv.m4 serial 32 dnl Copyright (C) 2001-2004, 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, @@ -35,12 +35,12 @@ AC_DEFUN([gl_FUNC_SETENV], ]])], [gl_cv_func_setenv_works=yes], [gl_cv_func_setenv_works=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_setenv_works="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_setenv_works="guessing yes" ;; - # If we don't know, obey --enable-cross-guesses. - *) gl_cv_func_setenv_works="$gl_cross_guess_normal" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_setenv_works="guessing yes" ;; + # Guess yes on musl systems. + *-musl* | midipix*) gl_cv_func_setenv_works="guessing yes" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_setenv_works="$gl_cross_guess_normal" ;; esac ])]) case "$gl_cv_func_setenv_works" in diff --git a/m4/setlocale_null.m4 b/m4/setlocale_null.m4 index b41df499a8..1105d693fe 100644 --- a/m4/setlocale_null.m4 +++ b/m4/setlocale_null.m4 @@ -1,4 +1,4 @@ -# setlocale_null.m4 serial 7 +# setlocale_null.m4 serial 8 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, @@ -14,7 +14,7 @@ AC_DEFUN([gl_FUNC_SETLOCALE_NULL], [gl_cv_func_setlocale_null_all_mtsafe], [case "$host_os" in # Guess no on musl libc, macOS, FreeBSD, NetBSD, OpenBSD, AIX, Haiku. - *-musl* | darwin* | freebsd* | midnightbsd* | netbsd* | openbsd* | aix* | haiku*) + *-musl* | midipix* | darwin* | freebsd* | midnightbsd* | netbsd* | openbsd* | aix* | haiku*) gl_cv_func_setlocale_null_all_mtsafe=no ;; # Guess no on Cygwin < 3.4.6. cygwin*) @@ -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* | darwin* | freebsd* | midnightbsd* | netbsd* | hpux* | irix* | solaris* | haiku* | cygwin* | mingw*) + *-gnu* | gnu* | *-musl* | midipix* | darwin* | freebsd* | midnightbsd* | netbsd* | hpux* | irix* | solaris* | haiku* | cygwin* | mingw*) gl_cv_func_setlocale_null_one_mtsafe=yes ;; # If we don't know, obey --enable-cross-guesses. *) diff --git a/m4/signbit.m4 b/m4/signbit.m4 index f957884340..2fea73f854 100644 --- a/m4/signbit.m4 +++ b/m4/signbit.m4 @@ -1,4 +1,4 @@ -# signbit.m4 serial 20 +# signbit.m4 serial 21 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, @@ -29,14 +29,14 @@ AC_DEFUN([gl_SIGNBIT], [gl_cv_func_signbit=yes], [gl_cv_func_signbit=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_signbit="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_signbit="guessing yes" ;; - # Guess yes on native Windows. - mingw*) gl_cv_func_signbit="guessing yes" ;; - # If we don't know, obey --enable-cross-guesses. - *) gl_cv_func_signbit="$gl_cross_guess_normal" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_signbit="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_signbit="$gl_cross_guess_normal" ;; esac ]) ]) @@ -63,19 +63,19 @@ AC_DEFUN([gl_SIGNBIT], [gl_cv_func_signbit_builtins=yes], [gl_cv_func_signbit_builtins=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_signbit_builtins="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_signbit_builtins="guessing yes" ;; - # Guess yes on mingw, no on MSVC. - mingw*) if test -n "$GCC"; then - gl_cv_func_signbit_builtins="guessing yes" - else - gl_cv_func_signbit_builtins="guessing no" - fi - ;; - # If we don't know, obey --enable-cross-guesses. - *) gl_cv_func_signbit_builtins="$gl_cross_guess_normal" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_signbit_builtins="guessing yes" ;; + # 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 + gl_cv_func_signbit_builtins="guessing yes" + else + gl_cv_func_signbit_builtins="guessing no" + fi + ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_signbit_builtins="$gl_cross_guess_normal" ;; esac ]) ]) diff --git a/m4/stpncpy.m4 b/m4/stpncpy.m4 index b9850364ed..073607004b 100644 --- a/m4/stpncpy.m4 +++ b/m4/stpncpy.m4 @@ -1,4 +1,4 @@ -# stpncpy.m4 serial 21 +# stpncpy.m4 serial 22 dnl Copyright (C) 2002-2003, 2005-2007, 2009-2023 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation @@ -79,8 +79,8 @@ int main () #endif ], [gl_cv_func_stpncpy="guessing yes"], [case "$host_os" in - *-musl*) gl_cv_func_stpncpy="guessing yes" ;; - *) gl_cv_func_stpncpy="$gl_cross_guess_normal" ;; + *-musl* | midipix*) gl_cv_func_stpncpy="guessing yes" ;; + *) gl_cv_func_stpncpy="$gl_cross_guess_normal" ;; esac ]) ]) diff --git a/m4/strerror.m4 b/m4/strerror.m4 index 8879eb08bb..9f1dddd599 100644 --- a/m4/strerror.m4 +++ b/m4/strerror.m4 @@ -1,4 +1,4 @@ -# strerror.m4 serial 23 +# strerror.m4 serial 24 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, @@ -24,12 +24,12 @@ AC_DEFUN([gl_FUNC_STRERROR], [gl_cv_func_working_strerror=yes], [gl_cv_func_working_strerror=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_working_strerror="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_working_strerror="guessing yes" ;; - # If we don't know, obey --enable-cross-guesses. - *) gl_cv_func_working_strerror="$gl_cross_guess_normal" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_working_strerror="guessing yes" ;; + # Guess yes on musl systems. + *-musl* | midipix*) gl_cv_func_working_strerror="guessing yes" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_working_strerror="$gl_cross_guess_normal" ;; esac ]) ]) @@ -80,14 +80,14 @@ AC_DEFUN([gl_FUNC_STRERROR_0], [gl_cv_func_strerror_0_works=yes], [gl_cv_func_strerror_0_works=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_strerror_0_works="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_strerror_0_works="guessing yes" ;; - # Guess yes on native Windows. - mingw*) 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" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_strerror_0_works="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_strerror_0_works="$gl_cross_guess_normal" ;; esac ]) ]) diff --git a/m4/strtod.m4 b/m4/strtod.m4 index e4e0f06dfb..ae7446c2fa 100644 --- a/m4/strtod.m4 +++ b/m4/strtod.m4 @@ -1,4 +1,4 @@ -# strtod.m4 serial 27 +# strtod.m4 serial 28 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, @@ -115,11 +115,11 @@ numeric_equal (double x, double y) ], [gl_cv_func_strtod_works="guessing yes"], [case "$host_os" in - # Guess yes on musl systems. - *-musl*) gl_cv_func_strtod_works="guessing yes" ;; - # Guess yes on native Windows. - mingw*) gl_cv_func_strtod_works="guessing yes" ;; - *) gl_cv_func_strtod_works="$gl_cross_guess_normal" ;; + # 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" ;; + *) gl_cv_func_strtod_works="$gl_cross_guess_normal" ;; esac ]) ]) diff --git a/m4/strtold.m4 b/m4/strtold.m4 index 08a722b199..4206fba36d 100644 --- a/m4/strtold.m4 +++ b/m4/strtold.m4 @@ -1,4 +1,4 @@ -# strtold.m4 serial 8 +# strtold.m4 serial 9 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, @@ -114,11 +114,11 @@ numeric_equal (long double x, long double y) ], [gl_cv_func_strtold_works="guessing yes"], [case "$host_os" in - # Guess yes on musl systems. - *-musl*) gl_cv_func_strtold_works="guessing yes" ;; - # Guess 'no (underflow problem)' on Cygwin. - cygwin*) gl_cv_func_strtold_works="guessing no (underflow problem)" ;; - *) gl_cv_func_strtold_works="$gl_cross_guess_normal" ;; + # Guess yes on musl systems. + *-musl* | midipix*) gl_cv_func_strtold_works="guessing yes" ;; + # Guess 'no (underflow problem)' on Cygwin. + cygwin*) gl_cv_func_strtold_works="guessing no (underflow problem)" ;; + *) gl_cv_func_strtold_works="$gl_cross_guess_normal" ;; esac ]) ]) diff --git a/m4/trunc.m4 b/m4/trunc.m4 index 154afc67da..287fb67133 100644 --- a/m4/trunc.m4 +++ b/m4/trunc.m4 @@ -1,4 +1,4 @@ -# trunc.m4 serial 15 +# trunc.m4 serial 16 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, @@ -72,14 +72,14 @@ int main (int argc, char *argv[]) [gl_cv_func_trunc_ieee=yes], [gl_cv_func_trunc_ieee=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_trunc_ieee="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_trunc_ieee="guessing yes" ;; - # Guess yes on native Windows. - mingw*) 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" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_trunc_ieee="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_trunc_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$save_LIBS" diff --git a/m4/truncf.m4 b/m4/truncf.m4 index e22e43cb45..71469946ed 100644 --- a/m4/truncf.m4 +++ b/m4/truncf.m4 @@ -1,4 +1,4 @@ -# truncf.m4 serial 15 +# truncf.m4 serial 16 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, @@ -72,14 +72,14 @@ int main (int argc, char *argv[]) [gl_cv_func_truncf_ieee=yes], [gl_cv_func_truncf_ieee=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_truncf_ieee="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_truncf_ieee="guessing yes" ;; - # Guess yes on native Windows. - mingw*) 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" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_truncf_ieee="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_truncf_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$save_LIBS" diff --git a/m4/truncl.m4 b/m4/truncl.m4 index 5cd5587c2f..57bec00f0a 100644 --- a/m4/truncl.m4 +++ b/m4/truncl.m4 @@ -1,4 +1,4 @@ -# truncl.m4 serial 17 +# truncl.m4 serial 18 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, @@ -105,14 +105,14 @@ int main (int argc, char *argv[]) [gl_cv_func_truncl_ieee=yes], [gl_cv_func_truncl_ieee=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_truncl_ieee="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_truncl_ieee="guessing yes" ;; - # Guess yes on native Windows. - mingw*) 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" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_truncl_ieee="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_truncl_ieee="$gl_cross_guess_normal" ;; esac ]) LIBS="$save_LIBS" diff --git a/m4/ungetc.m4 b/m4/ungetc.m4 index 8977a346dd..77274778f3 100644 --- a/m4/ungetc.m4 +++ b/m4/ungetc.m4 @@ -1,4 +1,4 @@ -# ungetc.m4 serial 10 +# ungetc.m4 serial 11 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, @@ -42,16 +42,16 @@ AC_DEFUN_ONCE([gl_FUNC_UNGETC_WORKS], ]])], [gl_cv_func_ungetc_works=yes], [gl_cv_func_ungetc_works=no], [case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_ungetc_works="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_ungetc_works="guessing yes" ;; - # 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" ;; - # If we don't know, obey --enable-cross-guesses. - *) gl_cv_func_ungetc_works="$gl_cross_guess_normal" ;; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_ungetc_works="guessing yes" ;; + # Guess yes on musl systems. + *-musl* | midipix*) gl_cv_func_ungetc_works="guessing yes" ;; + # 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" ;; + # If we don't know, obey --enable-cross-guesses. + *) gl_cv_func_ungetc_works="$gl_cross_guess_normal" ;; esac ]) ]) diff --git a/m4/wcwidth.m4 b/m4/wcwidth.m4 index f204f3d845..93a7fa329c 100644 --- a/m4/wcwidth.m4 +++ b/m4/wcwidth.m4 @@ -1,4 +1,4 @@ -# wcwidth.m4 serial 34 +# wcwidth.m4 serial 35 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, @@ -86,13 +86,13 @@ int main () [ changequote(,)dnl case "$host_os" in - # Guess yes on glibc systems. - *-gnu* | gnu*) gl_cv_func_wcwidth_works="guessing yes";; - # Guess yes on musl systems. - *-musl*) gl_cv_func_wcwidth_works="guessing yes";; - # Guess yes on AIX 7 systems. - aix[7-9]*) gl_cv_func_wcwidth_works="guessing yes";; - *) gl_cv_func_wcwidth_works="$gl_cross_guess_normal";; + # Guess yes on glibc systems. + *-gnu* | gnu*) gl_cv_func_wcwidth_works="guessing yes";; + # Guess yes on musl systems. + *-musl* | midipix*) gl_cv_func_wcwidth_works="guessing yes";; + # Guess yes on AIX 7 systems. + aix[7-9]*) gl_cv_func_wcwidth_works="guessing yes";; + *) gl_cv_func_wcwidth_works="$gl_cross_guess_normal";; esac changequote([,])dnl ])