* [PATCH] Add cross-compilation guesses for Midipix
@ 2023-02-15 15:10 Red
2023-02-15 22:16 ` Bruno Haible
0 siblings, 1 reply; 10+ messages in thread
From: Red @ 2023-02-15 15:10 UTC (permalink / raw)
To: bug-gnulib@gnu.org
* m4/calloc.m4: When cross-compiling, use the
result from native compilation.
* m4/canonicalize.m4: Likewise.
* m4/cbrtl.m4: Likewise.
* m4/ceil.m4: Likewise.
* m4/ceilf.m4: Likewise.
* m4/ceill.m4: Likewise.
* m4/chmod.m4: Likewise.
* m4/d-ino.m4: Likewise.
* m4/exp2l.m4: Likewise.
* m4/expm1.m4: Likewise.
* m4/expm1f.m4: Likewise.
* m4/fchdir.m4: Likewise.
* m4/fclose.m4: Likewise.
* m4/fdopendir.m4: Likewise.
* m4/ffsll.m4: Likewise.
* m4/floor.m4: Likewise.
* m4/floorf.m4: Likewise.
* m4/fmod.m4: Likewise.
* m4/fmodf.m4: Likewise.
* m4/fmodl.m4: Likewise.
* m4/fopen.m4: Likewise.
* m4/fpurge.m4: Likewise.
* m4/getcwd.m4: Likewise.
* m4/getdelim.m4: Likewise.
* m4/getline.m4: Likewise.
* m4/hypot.m4: Likewise.
* m4/hypotf.m4: Likewise.
* m4/hypotl.m4: Likewise.
* m4/iconv_open-utf.m4: Likewise.
* m4/link.m4: Likewise.
* m4/linkat.m4: Likewise.
* m4/log.m4: Likewise.
* m4/log10.m4: Likewise.
* m4/log10f.m4: Likewise.
* m4/log1p.m4: Likewise.
* m4/log1pf.m4: Likewise.
* m4/log1pl.m4: Likewise.
* m4/log2.m4: Likewise.
* m4/log2f.m4: Likewise.
* m4/logf.m4: Likewise.
* m4/lstat.m4: Likewise.
* m4/malloc.m4: Likewise.
* m4/mkdir.m4: Likewise.
* m4/mkstemp.m4: Likewise.
* m4/modf.m4: Likewise.
* m4/modff.m4: Likewise.
* m4/modfl.m4: Likewise.
* m4/perror.m4: Likewise.
* m4/printf.m4: Likewise.
* m4/pselect.m4: Likewise.
* m4/ptsname.m4: Likewise.
* m4/putenv.m4: Likewise.
* m4/readlink.m4: Likewise.
* m4/realloc.m4: Likewise.
* m4/remainder.m4: Likewise.
* m4/remainderf.m4: Likewise.
* m4/remainderl.m4: Likewise.
* m4/rename.m4: Likewise.
* m4/rintl.m4: Likewise.
* m4/rmdir.m4: Likewise.
* m4/round.m4: Likewise.
* m4/roundf.m4: Likewise.
* m4/roundl.m4: Likewise.
* m4/select.m4: Likewise.
* m4/setenv.m4: Likewise.
* m4/sleep.m4: Likewise.
* m4/stat.m4: Likewise.
* m4/stpncpy.m4: Likewise.
* m4/strerror.m4: Likewise.
* m4/strtod.m4: Likewise.
* m4/strtold.m4: Likewise.
* m4/symlink.m4: Likewise.
* m4/symlinkat.m4: Likewise.
* m4/trunc.m4: Likewise.
* m4/truncf.m4: Likewise.
* m4/truncl.m4: Likewise.
* m4/ungetc.m4: Likewise.
* m4/unlink.m4: Likewise.
* m4/usleep.m4: Likewise.
* m4/wcwidth.m4: Likewise.
---
m4/calloc.m4 | 2 ++
m4/canonicalize.m4 | 2 ++
m4/cbrtl.m4 | 2 ++
m4/ceil.m4 | 2 ++
m4/ceilf.m4 | 2 ++
m4/ceill.m4 | 2 ++
m4/chmod.m4 | 4 ++--
m4/d-ino.m4 | 2 ++
m4/exp2l.m4 | 4 ++++
m4/expm1.m4 | 2 ++
m4/expm1f.m4 | 2 ++
m4/fchdir.m4 | 2 ++
m4/fclose.m4 | 2 ++
m4/fdopendir.m4 | 14 ++++++++------
m4/ffsll.m4 | 2 ++
m4/floor.m4 | 2 ++
m4/floorf.m4 | 2 ++
m4/fmod.m4 | 2 ++
m4/fmodf.m4 | 2 ++
m4/fmodl.m4 | 2 ++
m4/fopen.m4 | 4 ++--
m4/fpurge.m4 | 10 ++++++----
m4/getcwd.m4 | 2 ++
m4/getdelim.m4 | 5 +++--
m4/getline.m4 | 5 +++--
m4/hypot.m4 | 2 ++
m4/hypotf.m4 | 2 ++
m4/hypotl.m4 | 2 ++
m4/iconv_open-utf.m4 | 1 +
m4/link.m4 | 2 ++
m4/linkat.m4 | 2 ++
m4/log.m4 | 2 ++
m4/log10.m4 | 2 ++
m4/log10f.m4 | 2 ++
m4/log1p.m4 | 2 ++
m4/log1pf.m4 | 2 ++
m4/log1pl.m4 | 2 ++
m4/log2.m4 | 2 ++
m4/log2f.m4 | 2 ++
m4/logf.m4 | 2 ++
m4/lstat.m4 | 3 +++
m4/malloc.m4 | 2 +-
m4/mkdir.m4 | 4 ++++
m4/mkstemp.m4 | 2 ++
m4/modf.m4 | 2 ++
m4/modff.m4 | 2 ++
m4/modfl.m4 | 2 ++
m4/perror.m4 | 14 ++++++++------
m4/printf.m4 | 20 ++++++++++++++++++++
m4/pselect.m4 | 2 ++
m4/ptsname.m4 | 2 ++
m4/putenv.m4 | 2 ++
m4/readlink.m4 | 6 ++++++
m4/realloc.m4 | 2 +-
m4/remainder.m4 | 2 ++
m4/remainderf.m4 | 2 ++
m4/remainderl.m4 | 2 ++
m4/rename.m4 | 6 ++++++
m4/rintl.m4 | 2 ++
m4/rmdir.m4 | 2 ++
m4/round.m4 | 2 ++
m4/roundf.m4 | 2 ++
m4/roundl.m4 | 2 ++
m4/select.m4 | 2 ++
m4/setenv.m4 | 12 ++++++++----
m4/sleep.m4 | 2 ++
m4/stat.m4 | 2 ++
m4/stpncpy.m4 | 5 +++--
m4/strerror.m4 | 4 ++++
m4/strtod.m4 | 12 +++++++-----
m4/strtold.m4 | 12 +++++++-----
m4/symlink.m4 | 2 ++
m4/symlinkat.m4 | 2 ++
m4/trunc.m4 | 2 ++
m4/truncf.m4 | 2 ++
m4/truncl.m4 | 2 ++
m4/ungetc.m4 | 2 ++
m4/unlink.m4 | 2 ++
m4/usleep.m4 | 2 ++
m4/wcwidth.m4 | 2 ++
80 files changed, 225 insertions(+), 42 deletions(-)
diff --git a/m4/calloc.m4 b/m4/calloc.m4
index 23c0dd9f3f..c63edcc47c 100644
--- a/m4/calloc.m4
+++ b/m4/calloc.m4
@@ -40,6 +40,8 @@ AC_DEFUN([_AC_FUNC_CALLOC_IF],
*-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 midipix.
+ *-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.
diff --git a/m4/canonicalize.m4 b/m4/canonicalize.m4
index d319645fd3..ac8236382f 100644
--- a/m4/canonicalize.m4
+++ b/m4/canonicalize.m4
@@ -162,6 +162,8 @@ AC_DEFUN([gl_FUNC_REALPATH_WORKS],
*-gnu* | gnu*) gl_cv_func_realpath_works="guessing yes" ;;
# Guess 'nearly' on musl systems.
*-musl*) gl_cv_func_realpath_works="guessing nearly" ;;
+ # Guess yes on midipix.
+ *-midipix*) gl_cv_func_realpath_works="guessing yes" ;;
# Guess no on Cygwin.
cygwin*) gl_cv_func_realpath_works="guessing no" ;;
# Guess no on native Windows.
diff --git a/m4/cbrtl.m4 b/m4/cbrtl.m4
index 12b6ff6159..634218a5da 100644
--- a/m4/cbrtl.m4
+++ b/m4/cbrtl.m4
@@ -76,6 +76,8 @@ int main (int argc, char *argv[])
*-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 midipix.
+ *-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.
diff --git a/m4/ceil.m4 b/m4/ceil.m4
index 7ce6648fd8..189da73598 100644
--- a/m4/ceil.m4
+++ b/m4/ceil.m4
@@ -50,6 +50,8 @@ int main (int argc, char *argv[])
*-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 midipix.
+ *-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.
diff --git a/m4/ceilf.m4 b/m4/ceilf.m4
index 6979ce86e8..a888665ddd 100644
--- a/m4/ceilf.m4
+++ b/m4/ceilf.m4
@@ -57,6 +57,8 @@ int main (int argc, char *argv[])
*-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 midipix.
+ *-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.
diff --git a/m4/ceill.m4 b/m4/ceill.m4
index 7f41b3abce..3c379ace51 100644
--- a/m4/ceill.m4
+++ b/m4/ceill.m4
@@ -56,6 +56,8 @@ int main (int argc, char *argv[])
*-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 midipix.
+ *-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.
diff --git a/m4/chmod.m4 b/m4/chmod.m4
index ef2d0d7016..8ca730141b 100644
--- a/m4/chmod.m4
+++ b/m4/chmod.m4
@@ -61,8 +61,8 @@ AC_DEFUN([gl_FUNC_CHMOD],
# Guess no on AIX, IRIX, native Windows.
aix* | irix* | mingw*)
gl_cv_func_chmod_works="guessing no" ;;
- # Guess yes on glibc, musl libc, macOS, FreeBSD, NetBSD, OpenBSD, Solaris, Haiku, Cygwin.
- *-gnu* | gnu* | *-musl* | darwin* | freebsd* | midnightbsd* | netbsd* | openbsd* | solaris* | haiku* | cygwin*)
+ # Guess yes on glibc, musl libc, midipix, macOS, FreeBSD, NetBSD, OpenBSD, Solaris, Haiku, Cygwin.
+ *-gnu* | gnu* | *-musl* | *-midipix* | darwin* | freebsd* | midnightbsd* | netbsd* | openbsd* | solaris* | haiku* | cygwin*)
gl_cv_func_chmod_works="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*)
diff --git a/m4/d-ino.m4 b/m4/d-ino.m4
index 7305fce4be..d113c7c980 100644
--- a/m4/d-ino.m4
+++ b/m4/d-ino.m4
@@ -44,6 +44,8 @@ AC_DEFUN([gl_CHECK_TYPE_STRUCT_DIRENT_D_INO],
linux*-gnu*) gl_cv_struct_dirent_d_ino="guessing yes" ;;
# Guess yes on musl systems with Linux kernel.
linux*-musl*) gl_cv_struct_dirent_d_ino="guessing yes" ;;
+ # Guess yes on midipix.
+ midipix*) gl_cv_struct_dirent_d_ino="guessing yes" ;;
# Guess no on native Windows.
mingw*) gl_cv_struct_dirent_d_ino="guessing no" ;;
# If we don't know, obey --enable-cross-guesses.
diff --git a/m4/exp2l.m4 b/m4/exp2l.m4
index abf9397a39..7234958cd2 100644
--- a/m4/exp2l.m4
+++ b/m4/exp2l.m4
@@ -103,6 +103,8 @@ int main (int argc, char *argv[])
*-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 midipix.
+ *-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.
@@ -158,6 +160,8 @@ int main (int argc, char *argv[])
*-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 midipix.
+ *-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.
diff --git a/m4/expm1.m4 b/m4/expm1.m4
index 2a3e291c50..75959036d7 100644
--- a/m4/expm1.m4
+++ b/m4/expm1.m4
@@ -89,6 +89,8 @@ int main (int argc, char *argv[])
*-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 midipix.
+ *-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.
diff --git a/m4/expm1f.m4 b/m4/expm1f.m4
index 7072af81a7..f6a35857ed 100644
--- a/m4/expm1f.m4
+++ b/m4/expm1f.m4
@@ -81,6 +81,8 @@ int main (int argc, char *argv[])
*-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 midipix.
+ *-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.
diff --git a/m4/fchdir.m4 b/m4/fchdir.m4
index 45fa11a683..2a16019a70 100644
--- a/m4/fchdir.m4
+++ b/m4/fchdir.m4
@@ -36,6 +36,8 @@ AC_DEFUN([gl_FUNC_FCHDIR],
linux-* | linux) gl_cv_func_open_directory_works="guessing yes" ;;
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_open_directory_works="guessing yes" ;;
+ # Guess yes on midipix.
+ *-midipix*) gl_cv_func_open_directory_works="guessing yes" ;;
# Guess no on native Windows.
mingw*) gl_cv_func_open_directory_works="guessing no" ;;
# If we don't know, obey --enable-cross-guesses.
diff --git a/m4/fclose.m4 b/m4/fclose.m4
index 9751b6d876..112fc7775d 100644
--- a/m4/fclose.m4
+++ b/m4/fclose.m4
@@ -87,6 +87,8 @@ AC_DEFUN([gl_FUNC_FCLOSE_STDIN],
*-gnu* | gnu*) gl_cv_func_fclose_stdin="guessing no" ;;
# Guess yes on musl systems.
*-musl*) gl_cv_func_fclose_stdin="guessing yes" ;;
+ # Guess yes on midipix.
+ *-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.
diff --git a/m4/fdopendir.m4 b/m4/fdopendir.m4
index 2c97539711..a53f54a692 100644
--- a/m4/fdopendir.m4
+++ b/m4/fdopendir.m4
@@ -49,12 +49,14 @@ 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*) gl_cv_func_fdopendir_works="guessing yes" ;;
+ # Guess yes on midipix.
+ *-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..c8eeff1259 100644
--- a/m4/ffsll.m4
+++ b/m4/ffsll.m4
@@ -55,6 +55,8 @@ AC_DEFUN([gl_FUNC_FFSLL],
*-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 midipix.
+ *-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.
diff --git a/m4/floor.m4 b/m4/floor.m4
index 63e56d3956..f7c0215ad4 100644
--- a/m4/floor.m4
+++ b/m4/floor.m4
@@ -46,6 +46,8 @@ int main (int argc, char *argv[])
*-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 midipix.
+ *-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.
diff --git a/m4/floorf.m4 b/m4/floorf.m4
index c49ffa6bec..b1010b1ae0 100644
--- a/m4/floorf.m4
+++ b/m4/floorf.m4
@@ -53,6 +53,8 @@ int main (int argc, char *argv[])
*-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 midipix.
+ *-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.
diff --git a/m4/fmod.m4 b/m4/fmod.m4
index 865374001f..c327de6265 100644
--- a/m4/fmod.m4
+++ b/m4/fmod.m4
@@ -62,6 +62,8 @@ int main (int argc, char *argv[])
*-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 midipix.
+ *-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.
diff --git a/m4/fmodf.m4 b/m4/fmodf.m4
index 2dd7fbfc7e..8e2ca49b4c 100644
--- a/m4/fmodf.m4
+++ b/m4/fmodf.m4
@@ -63,6 +63,8 @@ int main (int argc, char *argv[])
*-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 midipix.
+ *-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.
diff --git a/m4/fmodl.m4 b/m4/fmodl.m4
index 51fae629cf..fb5bdd1199 100644
--- a/m4/fmodl.m4
+++ b/m4/fmodl.m4
@@ -74,6 +74,8 @@ int main (int argc, char *argv[])
*-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 midipix.
+ *-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.
diff --git a/m4/fopen.m4 b/m4/fopen.m4
index 9c39ff721b..75e70bf748 100644
--- a/m4/fopen.m4
+++ b/m4/fopen.m4
@@ -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..5426b65db5 100644
--- a/m4/fpurge.m4
+++ b/m4/fpurge.m4
@@ -53,10 +53,12 @@ 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*) gl_cv_func_fpurge_works="guessing yes" ;;
+ # Guess yes on midipix.
+ *-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/getcwd.m4 b/m4/getcwd.m4
index c2e67d2e57..0d13186312 100644
--- a/m4/getcwd.m4
+++ b/m4/getcwd.m4
@@ -53,6 +53,8 @@ AC_DEFUN([gl_FUNC_GETCWD_NULL],
*-gnu* | gnu*) gl_cv_func_getcwd_null="guessing yes";;
# Guess yes on musl systems.
*-musl*) gl_cv_func_getcwd_null="guessing yes";;
+ # Guess yes on midipix.
+ *-midipix*) gl_cv_func_getcwd_null="guessing yes";;
# Guess yes on Cygwin.
cygwin*) gl_cv_func_getcwd_null="guessing yes";;
# If we don't know, obey --enable-cross-guesses.
diff --git a/m4/getdelim.m4 b/m4/getdelim.m4
index d89aae5dff..4540a54189 100644
--- a/m4/getdelim.m4
+++ b/m4/getdelim.m4
@@ -82,8 +82,9 @@ 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*) gl_cv_func_working_getdelim="guessing yes" ;;
+ *-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..001201e566 100644
--- a/m4/getline.m4
+++ b/m4/getline.m4
@@ -76,8 +76,9 @@ 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*) am_cv_func_working_getline="guessing yes" ;;
+ *-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..c9d83cd232 100644
--- a/m4/hypot.m4
+++ b/m4/hypot.m4
@@ -59,6 +59,8 @@ int main (int argc, char *argv[])
*-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 midipix.
+ *-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.
diff --git a/m4/hypotf.m4 b/m4/hypotf.m4
index 519ca5cebf..07f83c4acd 100644
--- a/m4/hypotf.m4
+++ b/m4/hypotf.m4
@@ -75,6 +75,8 @@ int main (int argc, char *argv[])
*-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 midipix.
+ *-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.
diff --git a/m4/hypotl.m4 b/m4/hypotl.m4
index e9291dd2b8..fa40d8af70 100644
--- a/m4/hypotl.m4
+++ b/m4/hypotl.m4
@@ -75,6 +75,8 @@ int main (int argc, char *argv[])
*-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 midipix.
+ *-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.
diff --git a/m4/iconv_open-utf.m4 b/m4/iconv_open-utf.m4
index 8f974bb85d..8498810ac3 100644
--- a/m4/iconv_open-utf.m4
+++ b/m4/iconv_open-utf.m4
@@ -221,6 +221,7 @@ int main ()
changequote(,)dnl
case "$host_os" in
*-musl*) gl_cv_func_iconv_supports_utf="guessing yes" ;;
+ *-midipix*) gl_cv_func_iconv_supports_utf="guessing yes" ;;
solaris2.9 | solaris2.1[0-9])
gl_cv_func_iconv_supports_utf="guessing yes" ;;
esac
diff --git a/m4/link.m4 b/m4/link.m4
index 5da2ae008e..9479ea182f 100644
--- a/m4/link.m4
+++ b/m4/link.m4
@@ -43,6 +43,8 @@ AC_DEFUN([gl_FUNC_LINK],
linux-* | linux) gl_cv_func_link_works="guessing yes" ;;
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_link_works="guessing yes" ;;
+ # Guess yes on midipix.
+ *-midipix*) gl_cv_func_link_works="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_link_works="$gl_cross_guess_normal" ;;
esac
diff --git a/m4/linkat.m4 b/m4/linkat.m4
index 032e89bb54..fdc4a63779 100644
--- a/m4/linkat.m4
+++ b/m4/linkat.m4
@@ -105,6 +105,8 @@ AC_DEFUN([gl_FUNC_LINKAT],
linux-* | linux) gl_cv_func_linkat_slash="guessing yes";;
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_linkat_slash="guessing yes";;
+ # Guess yes on midipix.
+ *-midipix*) gl_cv_func_linkat_slash="guessing yes";;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_linkat_slash="$gl_cross_guess_normal";;
esac
diff --git a/m4/log.m4 b/m4/log.m4
index 3cffe6b7ca..46de41cc29 100644
--- a/m4/log.m4
+++ b/m4/log.m4
@@ -62,6 +62,8 @@ int main (int argc, char *argv[])
*-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 midipix.
+ *-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.
diff --git a/m4/log10.m4 b/m4/log10.m4
index 2e79912ea2..0a7d9d87e1 100644
--- a/m4/log10.m4
+++ b/m4/log10.m4
@@ -62,6 +62,8 @@ int main (int argc, char *argv[])
*-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 midipix.
+ *-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.
diff --git a/m4/log10f.m4 b/m4/log10f.m4
index e5f952ccf3..d588d055ca 100644
--- a/m4/log10f.m4
+++ b/m4/log10f.m4
@@ -72,6 +72,8 @@ int main (int argc, char *argv[])
*-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 midipix.
+ *-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.
diff --git a/m4/log1p.m4 b/m4/log1p.m4
index 56b11af0f0..a0a7cf45d1 100644
--- a/m4/log1p.m4
+++ b/m4/log1p.m4
@@ -56,6 +56,8 @@ int main (int argc, char *argv[])
*-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 midipix.
+ *-midipix*) gl_cv_fuc_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.
diff --git a/m4/log1pf.m4 b/m4/log1pf.m4
index 6a950a086a..9c7dbc7c69 100644
--- a/m4/log1pf.m4
+++ b/m4/log1pf.m4
@@ -65,6 +65,8 @@ int main (int argc, char *argv[])
*-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 midipix.
+ *-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.
diff --git a/m4/log1pl.m4 b/m4/log1pl.m4
index 280e629d89..3532ece953 100644
--- a/m4/log1pl.m4
+++ b/m4/log1pl.m4
@@ -66,6 +66,8 @@ int main (int argc, char *argv[])
*-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 midipix.
+ *-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.
diff --git a/m4/log2.m4 b/m4/log2.m4
index 809853ed3b..03ac881176 100644
--- a/m4/log2.m4
+++ b/m4/log2.m4
@@ -83,6 +83,8 @@ int main (int argc, char *argv[])
*-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 midipix.
+ *-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.
diff --git a/m4/log2f.m4 b/m4/log2f.m4
index 3c47f1aa87..caa049cf9e 100644
--- a/m4/log2f.m4
+++ b/m4/log2f.m4
@@ -84,6 +84,8 @@ int main (int argc, char *argv[])
*-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 midipix.
+ *-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.
diff --git a/m4/logf.m4 b/m4/logf.m4
index 2c546779a4..9641030a41 100644
--- a/m4/logf.m4
+++ b/m4/logf.m4
@@ -72,6 +72,8 @@ int main (int argc, char *argv[])
*-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 midipix.
+ *-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.
diff --git a/m4/lstat.m4 b/m4/lstat.m4
index 7e667fb187..5dcd85b867 100644
--- a/m4/lstat.m4
+++ b/m4/lstat.m4
@@ -59,6 +59,9 @@ AC_DEFUN([gl_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK],
*-gnu* | gnu*)
# Guess yes on glibc systems.
gl_cv_func_lstat_dereferences_slashed_symlink="guessing yes" ;;
+ *-midipix*)
+ # Guess yes on midipix.
+ gl_cv_func_lstat_dereferences_slashed_symlink="guessing yes" ;;
mingw*)
# Guess no on native Windows.
gl_cv_func_lstat_dereferences_slashed_symlink="guessing no" ;;
diff --git a/m4/malloc.m4 b/m4/malloc.m4
index 554029243d..0ba81072a9 100644
--- a/m4/malloc.m4
+++ b/m4/malloc.m4
@@ -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/mkdir.m4 b/m4/mkdir.m4
index adbca8efd2..678b98cec7 100644
--- a/m4/mkdir.m4
+++ b/m4/mkdir.m4
@@ -29,6 +29,8 @@ AC_DEFUN([gl_FUNC_MKDIR],
linux-* | linux) gl_cv_func_mkdir_trailing_slash_works="guessing yes" ;;
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_mkdir_trailing_slash_works="guessing yes" ;;
+ # Guess yes on midipix.
+ *-midipix*) gl_cv-func_mkdir_trailing_slash_works="guessing yes" ;;
# Guess yes on MSVC, no on mingw.
mingw*) AC_EGREP_CPP([Known], [
#ifdef _MSC_VER
@@ -67,6 +69,8 @@ AC_DEFUN([gl_FUNC_MKDIR],
*-gnu* | gnu*) gl_cv_func_mkdir_trailing_dot_works="guessing yes" ;;
# Guess yes on musl systems.
*-musl*) gl_cv_func_mkdir_trailing_dot_works="guessing yes" ;;
+ # Guess yes on midipix.
+ *-midipix*) gl_cv_func_mkdir_trailing_dot_works="guessing yes" ;;
# Guess no on native Windows.
mingw*) gl_cv_func_mkdir_trailing_dot_works="guessing no" ;;
# If we don't know, obey --enable-cross-guesses.
diff --git a/m4/mkstemp.m4 b/m4/mkstemp.m4
index 4a64045fea..2d5f752d91 100644
--- a/m4/mkstemp.m4
+++ b/m4/mkstemp.m4
@@ -62,6 +62,8 @@ AC_DEFUN([gl_FUNC_MKSTEMP],
*-gnu* | gnu*) gl_cv_func_working_mkstemp="guessing yes" ;;
# Guess yes on musl systems.
*-musl*) gl_cv_func_working_mkstemp="guessing yes" ;;
+ # Guess yes on midipix.
+ *-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.
diff --git a/m4/modf.m4 b/m4/modf.m4
index f136ae5ffe..4137c657d6 100644
--- a/m4/modf.m4
+++ b/m4/modf.m4
@@ -65,6 +65,8 @@ int main (int argc, char *argv[])
*-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 midipix.
+ *-midipix*) gl_cv_func_modf_ieee="guessing yes" ;;
# Guess yes on MSVC, no on mingw.
mingw*) AC_EGREP_CPP([Known], [
#ifdef _MSC_VER
diff --git a/m4/modff.m4 b/m4/modff.m4
index fcf07bee9e..09d69cc1b0 100644
--- a/m4/modff.m4
+++ b/m4/modff.m4
@@ -73,6 +73,8 @@ int main (int argc, char *argv[])
*-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 midipix.
+ *-midipix*) gl_cv_func_modff_ieee="guessing yes" ;;
# Guess yes on MSVC, no on mingw.
mingw*) AC_EGREP_CPP([Known], [
#ifdef _MSC_VER
diff --git a/m4/modfl.m4 b/m4/modfl.m4
index 6fe9d0183e..724c3eaf7a 100644
--- a/m4/modfl.m4
+++ b/m4/modfl.m4
@@ -67,6 +67,8 @@ int main (int argc, char *argv[])
*-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 midipix.
+ *-midipix*) gl_cv_func_modfl_ieee="guessing yes" ;;
# Guess yes on MSVC, no on mingw.
mingw*) AC_EGREP_CPP([Known], [
#ifdef _MSC_VER
diff --git a/m4/perror.m4 b/m4/perror.m4
index 2545cb3487..21ad907e7f 100644
--- a/m4/perror.m4
+++ b/m4/perror.m4
@@ -48,12 +48,14 @@ 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*) gl_cv_func_perror_works="guessing yes" ;;
+ # Guess yes on midipix.
+ *-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/printf.m4 b/m4/printf.m4
index 4e65abc6e6..b0e5e48477 100644
--- a/m4/printf.m4
+++ b/m4/printf.m4
@@ -64,6 +64,8 @@ changequote(,)dnl
*-gnu* | gnu*) gl_cv_func_printf_sizes_c99="guessing yes";;
# Guess yes on musl systems.
*-musl*) gl_cv_func_printf_sizes_c99="guessing yes";;
+ # Guess yes on midipix.
+ *-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";;
@@ -245,6 +247,8 @@ changequote(,)dnl
*-gnu* | gnu*) gl_cv_func_printf_infinite="guessing yes";;
# Guess yes on musl systems.
*-musl*) gl_cv_func_printf_infinite="guessing yes";;
+ # Guess yes on midipix.
+ *-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";;
@@ -468,6 +472,8 @@ changequote(,)dnl
*-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";;
+ # Guess yes on midipix.
+ *-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";;
@@ -592,6 +598,8 @@ int main ()
;;
# Guess yes on musl systems.
*-musl*) gl_cv_func_printf_directive_a="guessing yes";;
+ # Guess yes on midipix.
+ *-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.
@@ -644,6 +652,8 @@ changequote(,)dnl
*-gnu* | gnu*) gl_cv_func_printf_directive_f="guessing yes";;
# Guess yes on musl systems.
*-musl*) gl_cv_func_printf_directive_f="guessing yes";;
+ # Guess yes on midipix.
+ *-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";;
@@ -994,6 +1004,8 @@ changequote(,)dnl
*-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 midipix.
+ *-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.
@@ -1240,6 +1252,8 @@ changequote(,)dnl
*-gnu* | gnu*) gl_cv_func_snprintf_truncation_c99="guessing yes";;
# Guess yes on musl systems.
*-musl*) gl_cv_func_snprintf_truncation_c99="guessing yes";;
+ # Guess yes on midipix.
+ *-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";;
@@ -1345,6 +1359,8 @@ changequote(,)dnl
*-gnu* | gnu*) gl_cv_func_snprintf_retval_c99="guessing yes";;
# Guess yes on musl systems.
*-musl*) gl_cv_func_snprintf_retval_c99="guessing yes";;
+ # Guess yes on midipix.
+ *-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";;
@@ -1448,6 +1464,8 @@ int main ()
changequote(,)dnl
# Guess yes on musl systems.
*-musl*) gl_cv_func_snprintf_directive_n="guessing yes";;
+ # Guess yes on midipix.
+ *-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";;
@@ -1605,6 +1623,8 @@ changequote(,)dnl
*-gnu* | gnu*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
# Guess yes on musl systems.
*-musl*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
+ # Guess yes on midipix.
+ *-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/pselect.m4 b/m4/pselect.m4
index 9f2b282cee..1cf4466b20 100644
--- a/m4/pselect.m4
+++ b/m4/pselect.m4
@@ -56,6 +56,8 @@ AC_DEFUN([gl_FUNC_PSELECT],
linux-* | linux) gl_cv_func_pselect_detects_ebadf="guessing yes" ;;
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_pselect_detects_ebadf="guessing yes" ;;
+ # Guess yes on midipix.
+ *-midipix*) gl_cv_func_pselect_detects_ebadf="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_pselect_detects_ebadf="$gl_cross_guess_normal" ;;
esac
diff --git a/m4/ptsname.m4 b/m4/ptsname.m4
index dd3768a6a8..f8745098b8 100644
--- a/m4/ptsname.m4
+++ b/m4/ptsname.m4
@@ -32,6 +32,8 @@ AC_DEFUN([gl_FUNC_PTSNAME],
*-gnu* | gnu*) gl_cv_func_ptsname_sets_errno="guessing yes" ;;
# Guess yes on musl systems.
*-musl*) gl_cv_func_ptsname_sets_errno="guessing yes" ;;
+ # Guess yes on midipix.
+ *-midipix*) gl_cv_func_ptsname_sets_errno="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_ptsname_sets_errno="$gl_cross_guess_normal" ;;
esac
diff --git a/m4/putenv.m4 b/m4/putenv.m4
index cc8c74c053..b06429389b 100644
--- a/m4/putenv.m4
+++ b/m4/putenv.m4
@@ -42,6 +42,8 @@ AC_DEFUN([gl_FUNC_PUTENV],
*-gnu* | gnu*) gl_cv_func_svid_putenv="guessing yes" ;;
# Guess yes on musl systems.
*-musl*) gl_cv_func_svid_putenv="guessing yes" ;;
+ # Guess yes on midipix.
+ *-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.
diff --git a/m4/readlink.m4 b/m4/readlink.m4
index 078b93aa9d..46e6819f9f 100644
--- a/m4/readlink.m4
+++ b/m4/readlink.m4
@@ -38,6 +38,9 @@ AC_DEFUN([gl_FUNC_READLINK],
# Guess yes on Linux or glibc systems.
linux-* | linux | *-gnu* | gnu*)
gl_cv_func_readlink_trailing_slash="guessing yes" ;;
+ # Guess yes on midipix.
+ midipix*)
+ gl_cv_func_readlink_trailing_slash="guessing yes" ;;
# Guess no on AIX or HP-UX.
aix* | hpux*)
gl_cv_func_readlink_trailing_slash="guessing no" ;;
@@ -75,6 +78,9 @@ AC_DEFUN([gl_FUNC_READLINK],
# Guess yes on Linux or glibc systems.
linux-* | linux | *-gnu* | gnu*)
gl_cv_func_readlink_truncate="guessing yes" ;;
+ # Guess yes on midipix.
+ midipix*)
+ gl_cv_func_readlink_truncate="guessing yes" ;;
# Guess no on AIX or HP-UX.
aix* | hpux*)
gl_cv_func_readlink_truncate="guessing no" ;;
diff --git a/m4/realloc.m4 b/m4/realloc.m4
index d22138fc7a..3807befbec 100644
--- a/m4/realloc.m4
+++ b/m4/realloc.m4
@@ -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..44dedc14cd 100644
--- a/m4/remainder.m4
+++ b/m4/remainder.m4
@@ -96,6 +96,8 @@ int main (int argc, char *argv[])
*-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 midipix.
+ *-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.
diff --git a/m4/remainderf.m4 b/m4/remainderf.m4
index bc3dbc4b53..61c11e931e 100644
--- a/m4/remainderf.m4
+++ b/m4/remainderf.m4
@@ -99,6 +99,8 @@ int main (int argc, char *argv[])
*-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 midipix.
+ *-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.
diff --git a/m4/remainderl.m4 b/m4/remainderl.m4
index e893250bae..8350b67974 100644
--- a/m4/remainderl.m4
+++ b/m4/remainderl.m4
@@ -104,6 +104,8 @@ int main (int argc, char *argv[])
*-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 midipix.
+ *-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.
diff --git a/m4/rename.m4 b/m4/rename.m4
index c6359d8922..8562d6fa91 100644
--- a/m4/rename.m4
+++ b/m4/rename.m4
@@ -59,6 +59,8 @@ AC_DEFUN([gl_FUNC_RENAME],
linux-* | linux) gl_cv_func_rename_slash_dst_works="guessing yes" ;;
# Guess yes on glibc systems.
*-gnu*) gl_cv_func_rename_slash_dst_works="guessing yes" ;;
+ # Guess yes on midipix.
+ *-midipix*) gl_cv_func_rename_slash_dst_works="guessing yes" ;;
# Guess no on native Windows.
mingw*) gl_cv_func_rename_slash_dst_works="guessing no" ;;
# If we don't know, obey --enable-cross-guesses.
@@ -115,6 +117,8 @@ AC_DEFUN([gl_FUNC_RENAME],
linux-* | linux) gl_cv_func_rename_slash_src_works="guessing yes" ;;
# Guess yes on glibc systems.
*-gnu*) gl_cv_func_rename_slash_src_works="guessing yes" ;;
+ # Guess yes on midipix.
+ *-midipix*) gl_cv_func_rename_slash_src_works="guessing yes" ;;
# Guess yes on native Windows.
mingw*) gl_cv_func_rename_slash_src_works="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
@@ -186,6 +190,8 @@ AC_DEFUN([gl_FUNC_RENAME],
linux-* | linux) gl_cv_func_rename_link_works="guessing yes" ;;
# Guess yes on glibc systems.
*-gnu*) gl_cv_func_rename_link_works="guessing yes" ;;
+ # Guess yes on midipix.
+ *-midipix*) gl_cv_func_rename_link_works="guessing yes" ;;
# Guess yes on native Windows.
mingw*) gl_cv_func_rename_link_works="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
diff --git a/m4/rintl.m4 b/m4/rintl.m4
index 8841396395..aa1eab7ccf 100644
--- a/m4/rintl.m4
+++ b/m4/rintl.m4
@@ -54,6 +54,8 @@ int main (int argc, char *argv[])
*-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 midipix.
+ *-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.
diff --git a/m4/rmdir.m4 b/m4/rmdir.m4
index 5cb88c8b62..ee668c41d6 100644
--- a/m4/rmdir.m4
+++ b/m4/rmdir.m4
@@ -38,6 +38,8 @@ AC_DEFUN([gl_FUNC_RMDIR],
linux-* | linux) gl_cv_func_rmdir_works="guessing yes" ;;
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_rmdir_works="guessing yes" ;;
+ # Guess yes on midipix.
+ *-midipix*) gl_cv_func_rmdir_works="guessing yes" ;;
# Guess no on native Windows.
mingw*) gl_cv_func_rmdir_works="guessing no" ;;
# If we don't know, obey --enable-cross-guesses.
diff --git a/m4/round.m4 b/m4/round.m4
index 6e70a1fc06..7eac379964 100644
--- a/m4/round.m4
+++ b/m4/round.m4
@@ -117,6 +117,8 @@ int main (int argc, char *argv[])
*-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 midipix.
+ *-midipix*) gl_cv_func_round_ieee="guessing yes" ;;
# Guess yes on MSVC, no on mingw.
mingw*) AC_EGREP_CPP([Known], [
#ifdef _MSC_VER
diff --git a/m4/roundf.m4 b/m4/roundf.m4
index f5b0056964..9d4957c673 100644
--- a/m4/roundf.m4
+++ b/m4/roundf.m4
@@ -117,6 +117,8 @@ int main (int argc, char *argv[])
*-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 midipix.
+ *-midipix*) gl_cv_func_roundf_ieee="guessing yes" ;;
# Guess yes on MSVC, no on mingw.
mingw*) AC_EGREP_CPP([Known], [
#ifdef _MSC_VER
diff --git a/m4/roundl.m4 b/m4/roundl.m4
index 9e9a8e1c06..a10011f89c 100644
--- a/m4/roundl.m4
+++ b/m4/roundl.m4
@@ -68,6 +68,8 @@ int main (int argc, char *argv[])
*-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 midipix.
+ *-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.
diff --git a/m4/select.m4 b/m4/select.m4
index b5cffd6055..c309ba116c 100644
--- a/m4/select.m4
+++ b/m4/select.m4
@@ -79,6 +79,8 @@ changequote([,])dnl
linux-* | linux) gl_cv_func_select_detects_ebadf="guessing yes" ;;
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_select_detects_ebadf="guessing yes" ;;
+ # Guess yes on midipix.
+ *-midipix*) gl_cv_func_select_detects_ebadf="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_select_detects_ebadf="$gl_cross_guess_normal" ;;
esac
diff --git a/m4/setenv.m4 b/m4/setenv.m4
index c0b7475606..9505e65ec6 100644
--- a/m4/setenv.m4
+++ b/m4/setenv.m4
@@ -39,6 +39,8 @@ AC_DEFUN([gl_FUNC_SETENV],
*-gnu* | gnu*) gl_cv_func_setenv_works="guessing yes" ;;
# Guess yes on musl systems.
*-musl*) gl_cv_func_setenv_works="guessing yes" ;;
+ # Guess yes on midipix.
+ *-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
@@ -132,10 +134,12 @@ int unsetenv (const char *name);
[gl_cv_func_unsetenv_works=yes],
[gl_cv_func_unsetenv_works=no],
[case "$host_os" in
- # Guess yes on glibc systems.
- *-gnu*) gl_cv_func_unsetenv_works="guessing yes" ;;
- # If we don't know, obey --enable-cross-guesses.
- *) gl_cv_func_unsetenv_works="$gl_cross_guess_normal" ;;
+ # Guess yes on glibc systems.
+ *-gnu*) gl_cv_func_unsetenv_works="guessing yes" ;;
+ # Guess yes on midipix.
+ *-midipix*) gl_cv_func_unsetenv_works="guessing yes" ;;
+ # If we don't know, obey --enable-cross-guesses.
+ *) gl_cv_func_unsetenv_works="$gl_cross_guess_normal" ;;
esac
])
])
diff --git a/m4/sleep.m4 b/m4/sleep.m4
index 4e566a1ddd..07f256a671 100644
--- a/m4/sleep.m4
+++ b/m4/sleep.m4
@@ -50,6 +50,8 @@ handle_alarm (int sig)
*-gnu* | gnu*) gl_cv_func_sleep_works="guessing yes" ;;
# Guess yes on musl systems.
*-musl*) gl_cv_func_sleep_works="guessing yes" ;;
+ # Guess yes on midipix.
+ *-midipix*) gl_cv_func_sleep_works="guessing yes" ;;
# Guess no on native Windows.
mingw*) gl_cv_func_sleep_works="guessing no" ;;
# If we don't know, obey --enable-cross-guesses.
diff --git a/m4/stat.m4 b/m4/stat.m4
index 4d241e27a1..216ff2897e 100644
--- a/m4/stat.m4
+++ b/m4/stat.m4
@@ -47,6 +47,8 @@ AC_DEFUN([gl_FUNC_STAT],
linux-* | linux) gl_cv_func_stat_file_slash="guessing yes" ;;
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_stat_file_slash="guessing yes" ;;
+ # Guess yes on midipix.
+ *-midipix*) gl_cv_func_stat_file_slash="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_stat_file_slash="$gl_cross_guess_normal" ;;
esac
diff --git a/m4/stpncpy.m4 b/m4/stpncpy.m4
index b9850364ed..bae5739e32 100644
--- a/m4/stpncpy.m4
+++ b/m4/stpncpy.m4
@@ -79,8 +79,9 @@ 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*) gl_cv_func_stpncpy="guessing yes" ;;
+ *-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..af64b75be4 100644
--- a/m4/strerror.m4
+++ b/m4/strerror.m4
@@ -28,6 +28,8 @@ AC_DEFUN([gl_FUNC_STRERROR],
*-gnu* | gnu*) gl_cv_func_working_strerror="guessing yes" ;;
# Guess yes on musl systems.
*-musl*) gl_cv_func_working_strerror="guessing yes" ;;
+ # Guess yes on midipix.
+ *-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
@@ -84,6 +86,8 @@ AC_DEFUN([gl_FUNC_STRERROR_0],
*-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 midipix.
+ *-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.
diff --git a/m4/strtod.m4 b/m4/strtod.m4
index e4e0f06dfb..2d31991158 100644
--- a/m4/strtod.m4
+++ b/m4/strtod.m4
@@ -115,11 +115,13 @@ 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*) gl_cv_func_strtod_works="guessing yes" ;;
+ # Guess yes on midipix.
+ *-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..a96e18de00 100644
--- a/m4/strtold.m4
+++ b/m4/strtold.m4
@@ -114,11 +114,13 @@ 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*) gl_cv_func_strtold_works="guessing yes" ;;
+ # Guess yes on midipix.
+ *-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/symlink.m4 b/m4/symlink.m4
index 7796ec8bbc..0108574da8 100644
--- a/m4/symlink.m4
+++ b/m4/symlink.m4
@@ -40,6 +40,8 @@ AC_DEFUN([gl_FUNC_SYMLINK],
linux-* | linux) gl_cv_func_symlink_works="guessing yes" ;;
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_symlink_works="guessing yes" ;;
+ # Guess yes on midipix.
+ *-midipix*) gl_cv_func_symlink_works="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_symlink_works="$gl_cross_guess_normal" ;;
esac
diff --git a/m4/symlinkat.m4 b/m4/symlinkat.m4
index dc3dd323aa..fee3ea09c7 100644
--- a/m4/symlinkat.m4
+++ b/m4/symlinkat.m4
@@ -44,6 +44,8 @@ AC_DEFUN([gl_FUNC_SYMLINKAT],
linux-* | linux) gl_cv_func_symlinkat_works="guessing yes" ;;
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_symlinkat_works="guessing yes" ;;
+ # Guess yes on midipix.
+ *-midipix*) gl_cv_func_symlinkat_works="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_symlinkat_works="$gl_cross_guess_normal" ;;
esac
diff --git a/m4/trunc.m4 b/m4/trunc.m4
index 154afc67da..02d0797809 100644
--- a/m4/trunc.m4
+++ b/m4/trunc.m4
@@ -76,6 +76,8 @@ int main (int argc, char *argv[])
*-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 midipix.
+ *-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.
diff --git a/m4/truncf.m4 b/m4/truncf.m4
index e22e43cb45..1210b4d31a 100644
--- a/m4/truncf.m4
+++ b/m4/truncf.m4
@@ -76,6 +76,8 @@ int main (int argc, char *argv[])
*-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 midipix.
+ *-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.
diff --git a/m4/truncl.m4 b/m4/truncl.m4
index 5cd5587c2f..a1b12db842 100644
--- a/m4/truncl.m4
+++ b/m4/truncl.m4
@@ -109,6 +109,8 @@ int main (int argc, char *argv[])
*-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 midipix.
+ *-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.
diff --git a/m4/ungetc.m4 b/m4/ungetc.m4
index 8977a346dd..1a3d481648 100644
--- a/m4/ungetc.m4
+++ b/m4/ungetc.m4
@@ -46,6 +46,8 @@ AC_DEFUN_ONCE([gl_FUNC_UNGETC_WORKS],
*-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 midipix.
+ *-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.
diff --git a/m4/unlink.m4 b/m4/unlink.m4
index d74d55006e..64ebc10507 100644
--- a/m4/unlink.m4
+++ b/m4/unlink.m4
@@ -47,6 +47,8 @@ AC_DEFUN([gl_FUNC_UNLINK],
linux-* | linux) gl_cv_func_unlink_honors_slashes="guessing yes" ;;
# Guess yes on glibc systems.
*-gnu*) gl_cv_func_unlink_honors_slashes="guessing yes" ;;
+ # Guess yes on midipix.
+ *-midipix*) gl_cv_func_unlink_honors_slashes="guessing yes" ;;
# Guess no on native Windows.
mingw*) gl_cv_func_unlink_honors_slashes="guessing no" ;;
# If we don't know, obey --enable-cross-guesses.
diff --git a/m4/usleep.m4 b/m4/usleep.m4
index b25e7ceb7e..2c4460c955 100644
--- a/m4/usleep.m4
+++ b/m4/usleep.m4
@@ -33,6 +33,8 @@ AC_DEFUN([gl_FUNC_USLEEP],
*-gnu* | gnu*) gl_cv_func_usleep_works="guessing yes" ;;
# Guess yes on musl systems.
*-musl*) gl_cv_func_usleep_works="guessing yes" ;;
+ # Guess yes on midipix.
+ *-midipix*) gl_cv_func_usleep_works="guessing yes" ;;
# Guess no on native Windows.
mingw*) gl_cv_func_usleep_works="guessing no" ;;
# If we don't know, obey --enable-cross-guesses.
diff --git a/m4/wcwidth.m4 b/m4/wcwidth.m4
index f204f3d845..243d04cd39 100644
--- a/m4/wcwidth.m4
+++ b/m4/wcwidth.m4
@@ -90,6 +90,8 @@ changequote(,)dnl
*-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 midipix.
+ *-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";;
--
2.39.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH] Add cross-compilation guesses for Midipix
2023-02-15 15:10 [PATCH] Add cross-compilation guesses for Midipix Red
@ 2023-02-15 22:16 ` Bruno Haible
2023-02-15 22:57 ` Ørjan Malde
0 siblings, 1 reply; 10+ messages in thread
From: Bruno Haible @ 2023-02-15 22:16 UTC (permalink / raw)
To: bug-gnulib, Red
Hi,
Red wrote:
> * m4/calloc.m4: When cross-compiling, use the
> result from native compilation.
> * m4/canonicalize.m4: Likewise.
> ...
1) First, a formal remark. I'm not very inclined to take patch contributions
from a pseudonymial identity.
- Whoever contributes a patch should take responsibility for it. That
means, accept a negative impact on their reputation if the patch is
wrong. This requirement cannot be fulfilled by a pseudonymial identity,
except for very well-known ones (like "Willy Brandt" was in Germany).
- We are now in a world where fake contents can be easily generated, see
GitHub co-pilot, ChatGPT, Bing, Google Bard, etc., and we need to start
now, to protect us against such fake contents, like we learned to
identify classical spam in the past. Identity is an element in any
defense against fake contents (since it's too easy to set up fake
accounts automatically).
So, please use your real name, be it Ørjan Malde, Rumpelstilzchen, or
whatever.
2) I understand from [1] that midipix is based on musl libc, with the
Linux kernel replaced with a 'psxscl' layer that is based on Windows
native libraries.
But your patch appears to be inserting only "guessing yes" values for
midipix, even in those areas where musl's configure results are not "yes"
(e.g. in canonicalize.m4), and in those areas where the previously
known configure results are derived from the Linux kernel's behaviour
(such as fchdir.m4 and rename.m4).
If your configure guesses are just optimistic guesses, then you can
achieve the same effect by passing the configure option
--enable-cross-guesses=risky
each time you build a package.
I'm saying this because I get the feeling that 'midipix' is work-in-
progress, given the secret nature of internals of the project [2][3]
and the lack of 'psxscl' in [4]. And if it's work-in-progress, the
configure results will certainly change until the first release.
It seems safer, instead, to treat 'midipix*' like 'musl*' everywhere.
Not only in the cross-compilation guesses but also in m4/musl.m4,
m4/pthread_rwlock_rdlock.m4, m4/setlocale_null.m4 and so on. Do you
agree?
Bruno
[1] https://midipix.org/
[2] https://github.com/midipix-project
"This organization has no public members."
[3] https://gist.github.com/DavidEGrayson/65cfc653e6d0aeb08afc
-> [1] ->
"To view the most recent changes, please join the project's libera
irc channel (#midipix) and ask for the address of the internal
repositories."
[4] https://dev.midipix.org/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] Add cross-compilation guesses for Midipix
2023-02-15 22:16 ` Bruno Haible
@ 2023-02-15 22:57 ` Ørjan Malde
2023-02-16 7:51 ` Ørjan Malde
2023-02-16 21:55 ` Bruno Haible
0 siblings, 2 replies; 10+ messages in thread
From: Ørjan Malde @ 2023-02-15 22:57 UTC (permalink / raw)
To: Bruno Haible; +Cc: bug-gnulib
------- Original Message -------
On Wednesday, February 15th, 2023 at 11:16 PM, Bruno Haible <bruno@clisp.org> wrote:
> Hi,
>
> Red wrote:
>
> > * m4/calloc.m4: When cross-compiling, use the
> > result from native compilation.
> > * m4/canonicalize.m4: Likewise.
> > ...
>
>
> 1) First, a formal remark. I'm not very inclined to take patch contributions
> from a pseudonymial identity.
>
> - Whoever contributes a patch should take responsibility for it. That
> means, accept a negative impact on their reputation if the patch is
> wrong. This requirement cannot be fulfilled by a pseudonymial identity,
> except for very well-known ones (like "Willy Brandt" was in Germany).
>
> - We are now in a world where fake contents can be easily generated, see
> GitHub co-pilot, ChatGPT, Bing, Google Bard, etc., and we need to start
> now, to protect us against such fake contents, like we learned to
> identify classical spam in the past. Identity is an element in any
> defense against fake contents (since it's too easy to set up fake
> accounts automatically).
>
> So, please use your real name, be it Ørjan Malde, Rumpelstilzchen, or
> whatever.
>
Argh, email mis-configuration. I think I have fixed that now...
I had no intention of hiding my name:-)
> 2) I understand from [1] that midipix is based on musl libc, with the
> Linux kernel replaced with a 'psxscl' layer that is based on Windows
> native libraries.
>
Midipix provides the runtime libraries ala cygwin1.dll, but unlike cygwin
we rely on musl for the C library, theoretically another libc could be ported
but I don't see that happening.
the runtime libraries only depend on the NT kernel
> But your patch appears to be inserting only "guessing yes" values for
> midipix, even in those areas where musl's configure results are not "yes"
> (e.g. in canonicalize.m4), and in those areas where the previously
> known configure results are derived from the Linux kernel's behaviour
> (such as fchdir.m4 and rename.m4).
>
We're on musl 1.1.23 where the native test for realpath passes successfully
That one should be dropped then.
As for the kernel derived interfaces, they all behave the same way as linux,
I've tested these, the tests pass correctly.
> If your configure guesses are just optimistic guesses, then you can
> achieve the same effect by passing the configure option
> --enable-cross-guesses=risky
> each time you build a package.
>
Not at all, there are still a few cross-guesses I haven't added
as the behavior is not 100% correct yet.
> I'm saying this because I get the feeling that 'midipix' is work-in-
> progress, given the secret nature of internals of the project [2][3]
> and the lack of 'psxscl' in [4]. And if it's work-in-progress, the
> configure results will certainly change until the first release.
>
While yes, it's still work-in-progress it's already usable enough
to be a daily driver unix-like environment on windows
the kernel derived cross-guesses I've added will most definitely
not change, we try to follow linux's behavior as much as possible.
the gist[3] is severely outdated.
https://github.com/midipix-project hosts mirrors of repos
from https://dev.midipix.org
> It seems safer, instead, to treat 'midipix*' like 'musl*' everywhere.
> Not only in the cross-compilation guesses but also in m4/musl.m4,
> m4/pthread_rwlock_rdlock.m4, m4/setlocale_null.m4 and so on. Do you
> agree?
>
It would be fine to treat 'midipix*' as 'musl*' for things that are
purely libc bits, e.g. math functions, yeah.
> Bruno
>
> [1] https://midipix.org/
> [2] https://github.com/midipix-project
> "This organization has no public members."
> [3] https://gist.github.com/DavidEGrayson/65cfc653e6d0aeb08afc
> -> [1] ->
>
> "To view the most recent changes, please join the project's libera
> irc channel (#midipix) and ask for the address of the internal
> repositories."
> [4] https://dev.midipix.org/
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] Add cross-compilation guesses for Midipix
2023-02-15 22:57 ` Ørjan Malde
@ 2023-02-16 7:51 ` Ørjan Malde
2023-02-16 21:55 ` Bruno Haible
1 sibling, 0 replies; 10+ messages in thread
From: Ørjan Malde @ 2023-02-16 7:51 UTC (permalink / raw)
To: Ørjan Malde; +Cc: Bruno Haible, bug-gnulib
------- Original Message -------
On Wednesday, February 15th, 2023 at 11:57 PM, Ørjan Malde <red@foxi.me> wrote:
> ------- Original Message -------
> On Wednesday, February 15th, 2023 at 11:16 PM, Bruno Haible bruno@clisp.org wrote:
>
>
>
> > Hi,
> >
> > Red wrote:
> >
> > > * m4/calloc.m4: When cross-compiling, use the
> > > result from native compilation.
> > > * m4/canonicalize.m4: Likewise.
> > > ...
> >
> > 1) First, a formal remark. I'm not very inclined to take patch contributions
> > from a pseudonymial identity.
> >
> > - Whoever contributes a patch should take responsibility for it. That
> > means, accept a negative impact on their reputation if the patch is
> > wrong. This requirement cannot be fulfilled by a pseudonymial identity,
> > except for very well-known ones (like "Willy Brandt" was in Germany).
> >
> > - We are now in a world where fake contents can be easily generated, see
> > GitHub co-pilot, ChatGPT, Bing, Google Bard, etc., and we need to start
> > now, to protect us against such fake contents, like we learned to
> > identify classical spam in the past. Identity is an element in any
> > defense against fake contents (since it's too easy to set up fake
> > accounts automatically).
> >
> > So, please use your real name, be it Ørjan Malde, Rumpelstilzchen, or
> > whatever.
>
>
> Argh, email mis-configuration. I think I have fixed that now...
> I had no intention of hiding my name:-)
>
> > 2) I understand from [1] that midipix is based on musl libc, with the
> > Linux kernel replaced with a 'psxscl' layer that is based on Windows
> > native libraries.
>
>
> Midipix provides the runtime libraries ala cygwin1.dll, but unlike cygwin
> we rely on musl for the C library, theoretically another libc could be ported
> but I don't see that happening.
> the runtime libraries only depend on the NT kernel
>
> > But your patch appears to be inserting only "guessing yes" values for
> > midipix, even in those areas where musl's configure results are not "yes"
> > (e.g. in canonicalize.m4), and in those areas where the previously
> > known configure results are derived from the Linux kernel's behaviour
> > (such as fchdir.m4 and rename.m4).
>
>
> We're on musl 1.1.23 where the native test for realpath passes successfully
> That one should be dropped then.
>
Minor update, musl's realpath is not used, it gets replaced
by a wrapper which calls a midipix framework specific syscall[1].
So guessing yes will remain correct.
[1]https://dev.midipix.org/base/mmglue/blob/main/f/src/misc/nt64/realpath.c
> As for the kernel derived interfaces, they all behave the same way as linux,
> I've tested these, the tests pass correctly.
>
> > If your configure guesses are just optimistic guesses, then you can
> > achieve the same effect by passing the configure option
> > --enable-cross-guesses=risky
> > each time you build a package.
>
>
> Not at all, there are still a few cross-guesses I haven't added
> as the behavior is not 100% correct yet.
>
> > I'm saying this because I get the feeling that 'midipix' is work-in-
> > progress, given the secret nature of internals of the project [2][3]
> > and the lack of 'psxscl' in [4]. And if it's work-in-progress, the
> > configure results will certainly change until the first release.
>
>
> While yes, it's still work-in-progress it's already usable enough
> to be a daily driver unix-like environment on windows
> the kernel derived cross-guesses I've added will most definitely
> not change, we try to follow linux's behavior as much as possible.
>
> the gist[3] is severely outdated.
>
> https://github.com/midipix-project hosts mirrors of repos
> from https://dev.midipix.org
>
> > It seems safer, instead, to treat 'midipix*' like 'musl*' everywhere.
> > Not only in the cross-compilation guesses but also in m4/musl.m4,
> > m4/pthread_rwlock_rdlock.m4, m4/setlocale_null.m4 and so on. Do you
> > agree?
>
>
> It would be fine to treat 'midipix*' as 'musl*' for things that are
> purely libc bits, e.g. math functions, yeah.
>
> > Bruno
> >
> > [1] https://midipix.org/
> > [2] https://github.com/midipix-project
> > "This organization has no public members."
> > [3] https://gist.github.com/DavidEGrayson/65cfc653e6d0aeb08afc
> > -> [1] ->
> >
> > "To view the most recent changes, please join the project's libera
> > irc channel (#midipix) and ask for the address of the internal
> > repositories."
> > [4] https://dev.midipix.org/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] Add cross-compilation guesses for Midipix
2023-02-15 22:57 ` Ørjan Malde
2023-02-16 7:51 ` Ørjan Malde
@ 2023-02-16 21:55 ` Bruno Haible
2023-02-16 22:45 ` Ørjan Malde
1 sibling, 1 reply; 10+ messages in thread
From: Bruno Haible @ 2023-02-16 21:55 UTC (permalink / raw)
To: Ørjan Malde; +Cc: bug-gnulib
Ørjan Malde wrote:
> I had no intention of hiding my name:-)
OK, we're past step 1 :)
> we rely on musl for the C library, theoretically another libc could be ported
> but I don't see that happening.
OK, so it will be correct to use the musl cross-compilation guesses for
non-system-call related things also for midipix.
> As for the kernel derived interfaces, they all behave the same way as linux,
> I've tested these, the tests pass correctly.
Yeah, but if it's work-in-progress, the fact that the tests pass now
is not a statement about the first release.
> Not at all, there are still a few cross-guesses I haven't added
> as the behavior is not 100% correct yet.
OK.
> It would be fine to treat 'midipix*' as 'musl*' for things that are
> purely libc bits, e.g. math functions, yeah.
OK, then I'm starting with that first.
Since in dalist/README and ntapi/README it is written that the canonical
triples are
i686-nt32-midipix
x86_64-nt64-midipix
and indeed the config.sub accepts these but not other variants:
$ build-aux/config.sub i686-nt32-midipix
i686-nt32-midipix
$ build-aux/config.sub x86_64-nt64-midipix
x86_64-nt64-midipix
$ build-aux/config.sub i386-unknown-linux-midipix
Invalid configuration `i386-unknown-linux-midipix': Kernel `linux' not known to work with OS `midipix'.
$ build-aux/config.sub i386-unknown-nt-midipix
Invalid configuration `i386-unknown-nt-midipix': Kernel `nt' not known to work with OS `midipix'.
in the case "$host_os" statements, one should be matching for
midipix*)
NOT
*-midipix*)
Note also that config.sub contains this comment:
# The goal of this file is to map all the various variations of a given
# machine specification into a single specification in the form:
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
# or in some cases, the newer four-part form:
# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
# It is wrong to echo any other type of specification.
I don't know why you set the MANUFACTURER in your triples to nt32 or nt64.
No configure script tests the "$host_vendor" variable; you could just as
well use i686-donaldduck-midipix resp. x86_64-donaldduck-midipix
instead. If you *meant* nt32 or nt64 to designate a kernel, then
- your READMEs should be changed to recommend i686-unknown-nt-midipix
or x86_86-unknown-nt-midipix, and
- config.sub ought to be changed accordingly.
But that is not what you did in
https://lists.gnu.org/archive/html/config-patches/2016-06/msg00003.html .
So, will config.sub stay as it is, and the pattern to check for is midipix* ?
Bruno
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] Add cross-compilation guesses for Midipix
2023-02-16 21:55 ` Bruno Haible
@ 2023-02-16 22:45 ` Ørjan Malde
2023-02-17 15:31 ` Bruno Haible
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Ørjan Malde @ 2023-02-16 22:45 UTC (permalink / raw)
To: Bruno Haible; +Cc: bug-gnulib
------- Original Message -------
On Thursday, February 16th, 2023 at 10:55 PM, Bruno Haible <bruno@clisp.org> wrote:
> Ørjan Malde wrote:
>
> > I had no intention of hiding my name:-)
>
>
> OK, we're past step 1 :)
>
> > we rely on musl for the C library, theoretically another libc could be ported
> > but I don't see that happening.
>
>
> OK, so it will be correct to use the musl cross-compilation guesses for
> non-system-call related things also for midipix.
>
Yes, although there is one exception which is realpath,
as the midipix framework provides a syscall and realpath wrapper that
overrides musl's which does behave correctly.
> > As for the kernel derived interfaces, they all behave the same way as linux,
> > I've tested these, the tests pass correctly.
>
>
> Yeah, but if it's work-in-progress, the fact that the tests pass now
> is not a statement about the first release.
>
I would be surprised if the results were to become different between
now and first release, only reason I could see is they would have to be
changed if linux were to change its semantics.
the runtime components contain extra checks to align the behavior
with linux's.
The only exception is nanosleep, NT has a minimum timing resolution of
100 nanoseconds, while the gnulib test does a simple nanosleep test
with 1 nanosecond time, which will always fail on midipix.
> > Not at all, there are still a few cross-guesses I haven't added
> > as the behavior is not 100% correct yet.
>
>
> OK.
>
> > It would be fine to treat 'midipix*' as 'musl*' for things that are
> > purely libc bits, e.g. math functions, yeah.
>
>
> OK, then I'm starting with that first.
>
> Since in dalist/README and ntapi/README it is written that the canonical
> triples are
> i686-nt32-midipix
> x86_64-nt64-midipix
> and indeed the config.sub accepts these but not other variants:
>
> $ build-aux/config.sub i686-nt32-midipix
> i686-nt32-midipix
>
> $ build-aux/config.sub x86_64-nt64-midipix
> x86_64-nt64-midipix
>
> $ build-aux/config.sub i386-unknown-linux-midipix
> Invalid configuration `i386-unknown-linux-midipix': Kernel` linux' not known to work with OS `midipix'. $ build-aux/config.sub i386-unknown-nt-midipix Invalid configuration` i386-unknown-nt-midipix': Kernel `nt' not known to work with OS` midipix'.
>
> in the case "$host_os" statements, one should be matching for
> midipix*)
> NOT
> -midipix)
>
Alright, noted:-)
> Note also that config.sub contains this comment:
>
> # The goal of this file is to map all the various variations of a given
> # machine specification into a single specification in the form:
> # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
> # or in some cases, the newer four-part form:
> # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
> # It is wrong to echo any other type of specification.
>
> I don't know why you set the MANUFACTURER in your triples to nt32 or nt64.
> No configure script tests the "$host_vendor" variable; you could just as
> well use i686-donaldduck-midipix resp. x86_64-donaldduck-midipix
> instead. If you meant nt32 or nt64 to designate a kernel, then
> - your READMEs should be changed to recommend i686-unknown-nt-midipix
> or x86_86-unknown-nt-midipix, and
> - config.sub ought to be changed accordingly.
> But that is not what you did in
> https://lists.gnu.org/archive/html/config-patches/2016-06/msg00003.html .
>
> So, will config.sub stay as it is, and the pattern to check for is midipix* ?
>
The triplet naming is out of my control, it's integrated with tools new
and existing, and personally I like it the way it is.
> Bruno
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] Add cross-compilation guesses for Midipix
2023-02-16 22:45 ` Ørjan Malde
@ 2023-02-17 15:31 ` Bruno Haible
2023-02-17 16:01 ` Ørjan Malde
2023-02-17 22:05 ` Bruno Haible
2023-02-17 22:12 ` Bruno Haible
2 siblings, 1 reply; 10+ messages in thread
From: Bruno Haible @ 2023-02-17 15:31 UTC (permalink / raw)
To: Ørjan Malde; +Cc: bug-gnulib
Ørjan Malde wrote:
> > So, will config.sub stay as it is, and the pattern to check for is midipix* ?
> >
>
> The triplet naming is out of my control, it's integrated with tools new
> and existing, and personally I like it the way it is.
OK, then the pattern is midipix*.
I'm committing this patch. This handles all references to musl
in m4/*, except for
m4/canonicalize.m4:164: *-musl*) gl_cv_func_realpath_works="guessing nearly" ;;
m4/chmod.m4:65: *-gnu* | gnu* | *-musl* | darwin* | freebsd* | midnightbsd* | netbsd* | openbsd* | solaris* | haiku* | cygwin*)
m4/chown.m4:117: *-musl*) gl_cv_func_chown_slash_works="guessing yes" ;;
m4/chown.m4:156: *-musl*) gl_cv_func_chown_ctime_works="guessing yes" ;;
m4/d-ino.m4:46: linux*-musl*) gl_cv_struct_dirent_d_ino="guessing yes" ;;
m4/futimens.m4:56: *-musl*) gl_cv_func_futimens_works="guessing no" ;;
m4/getcwd.m4:55: *-musl*) gl_cv_func_getcwd_null="guessing yes";;
m4/getgroups.m4:44: *-musl*) ac_cv_func_getgroups_works="guessing yes" ;;
m4/getgroups.m4:98: *-musl*) gl_cv_func_getgroups_works="guessing yes" ;;
m4/link-follow.m4:92: linux*-musl*) gl_cv_func_link_follows_symlink="guessing no" ;;
m4/mkdir.m4:69: *-musl*) gl_cv_func_mkdir_trailing_dot_works="guessing yes" ;;
m4/ptsname.m4:34: *-musl*) gl_cv_func_ptsname_sets_errno="guessing yes" ;;
m4/sleep.m4:52: *-musl*) gl_cv_func_sleep_works="guessing yes" ;;
m4/usleep.m4:35: *-musl*) gl_cv_func_usleep_works="guessing yes" ;;
m4/utimes.m4:148: *-musl*) gl_cv_func_working_utimes="guessing yes" ;;
2023-02-17 Bruno Haible <bruno@clisp.org>
Improve cross-compilation from midipix.
Reported by Ørjan Malde <red@foxi.me> at
<https://lists.gnu.org/archive/html/bug-gnulib/2023-02/msg00131.html>.
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 -w --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
@@ -39,7 +39,7 @@ AC_DEFUN([_AC_FUNC_CALLOC_IF]
# 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" ;;
+ *-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.
diff -w --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,
@@ -75,7 +75,7 @@ AC_DEFUN([gl_FUNC_CBRTL]
# 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" ;;
+ *-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.
diff -w --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,
@@ -49,7 +49,7 @@ AC_DEFUN([gl_FUNC_CEIL]
# 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" ;;
+ *-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.
diff -w --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,
@@ -56,7 +56,7 @@ AC_DEFUN([gl_FUNC_CEILF]
# 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" ;;
+ *-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.
diff -w --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,
@@ -55,7 +55,7 @@ AC_DEFUN([gl_FUNC_CEILL]
# 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" ;;
+ *-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.
diff -w --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,
@@ -102,7 +102,7 @@ AC_DEFUN([gl_FUNC_EXP2L]
# 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" ;;
+ *-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.
@@ -157,7 +157,7 @@ AC_DEFUN([gl_FUNC_EXP2L]
# 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" ;;
+ *-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.
diff -w --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,
@@ -151,7 +151,7 @@ AC_DEFUN([gl_FUNC_EXPL]
# 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" ;;
+ *-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.
diff -w --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,
@@ -88,7 +88,7 @@ AC_DEFUN([gl_FUNC_EXPM1]
# 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" ;;
+ *-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.
diff -w --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,
@@ -80,7 +80,7 @@ AC_DEFUN([gl_FUNC_EXPM1F]
# 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" ;;
+ *-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.
diff -w --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,
@@ -149,7 +149,7 @@ AC_DEFUN([gl_FUNC_EXPM1L]
# 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" ;;
+ *-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.
diff -w --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,
@@ -86,7 +86,7 @@ AC_DEFUN([gl_FUNC_FCLOSE_STDIN]
# 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" ;;
+ *-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.
diff -w --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.
@@ -52,7 +52,7 @@ AC_DEFUN([gl_FUNC_FDOPENDIR]
# 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" ;;
+ *-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
diff -w --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,
@@ -54,7 +54,7 @@ AC_DEFUN([gl_FUNC_FFSLL]
# 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" ;;
+ *-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.
diff -w --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,
@@ -45,7 +45,7 @@ AC_DEFUN([gl_FUNC_FLOOR]
# 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" ;;
+ *-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.
diff -w --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,
@@ -52,7 +52,7 @@ AC_DEFUN([gl_FUNC_FLOORF]
# 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" ;;
+ *-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.
diff -w --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,
@@ -61,7 +61,7 @@ AC_DEFUN([gl_FUNC_FMOD]
# 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" ;;
+ *-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.
diff -w --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,
@@ -62,7 +62,7 @@ AC_DEFUN([gl_FUNC_FMODF]
# 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" ;;
+ *-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.
diff -w --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,
@@ -73,7 +73,7 @@ AC_DEFUN([gl_FUNC_FMODL]
# 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" ;;
+ *-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.
diff -w --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
@@ -120,7 +120,7 @@ AC_DEFUN([gl_FUNC_FNMATCH_POSIX]
[eval "$gl_fnmatch_cache_var=no"],
[case "$host_os" in
# Guess yes on musl systems.
- *-musl*) eval "$gl_fnmatch_cache_var=\"guessing yes\"" ;;
+ *-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 -w --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 @@ AC_DEFUN([gl_FUNC_FOPEN_GNU]
[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 @@ AC_DEFUN([gl_FUNC_FOPEN_GNU]
[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 -w --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,
@@ -54,7 +54,7 @@ AC_DEFUN([gl_FUNC_FPURGE]
[gl_cv_func_fpurge_works=no],
[case "$host_os" in
# Guess yes on musl systems.
- *-musl*) gl_cv_func_fpurge_works="guessing yes" ;;
+ *-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 -w --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,7 +82,7 @@ AC_DEFUN([gl_FUNC_GETDELIM]
],
[gl_cv_func_working_getdelim="guessing yes"],
[case "$host_os" in
- *-musl*) gl_cv_func_working_getdelim="guessing yes" ;;
+ *-musl* | midipix*) gl_cv_func_working_getdelim="guessing yes" ;;
*) gl_cv_func_working_getdelim="$gl_cross_guess_normal" ;;
esac
])
diff -w --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,7 +76,7 @@ AC_DEFUN([gl_FUNC_GETLINE]
],
[am_cv_func_working_getline="guessing yes"],
[case "$host_os" in
- *-musl*) am_cv_func_working_getline="guessing yes" ;;
+ *-musl* | midipix*) am_cv_func_working_getline="guessing yes" ;;
*) am_cv_func_working_getline="$gl_cross_guess_normal" ;;
esac
])
diff -w --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,
@@ -58,7 +58,7 @@ AC_DEFUN([gl_FUNC_HYPOT]
# 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" ;;
+ *-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.
diff -w --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,
@@ -74,7 +74,7 @@ AC_DEFUN([gl_FUNC_HYPOTF]
# 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" ;;
+ *-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.
diff -w --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,
@@ -74,7 +74,7 @@ AC_DEFUN([gl_FUNC_HYPOTL]
# 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" ;;
+ *-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.
diff -w --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 @@ AC_DEFUN([gl_FUNC_ICONV_OPEN_UTF_SUPPORT]
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 -w --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,
@@ -61,7 +61,7 @@ AC_DEFUN([gl_FUNC_LOG]
# 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" ;;
+ *-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.
diff -w --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,
@@ -61,7 +61,7 @@ AC_DEFUN([gl_FUNC_LOG10]
# 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" ;;
+ *-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.
diff -w --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,
@@ -71,7 +71,7 @@ AC_DEFUN([gl_FUNC_LOG10F]
# 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" ;;
+ *-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.
diff -w --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,
@@ -148,7 +148,7 @@ AC_DEFUN([gl_FUNC_LOG10L_WORKS]
# 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" ;;
+ *-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.
diff -w --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,
@@ -55,7 +55,7 @@ AC_DEFUN([gl_FUNC_LOG1P]
# 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" ;;
+ *-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.
diff -w --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,
@@ -64,7 +64,7 @@ AC_DEFUN([gl_FUNC_LOG1PF]
# 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" ;;
+ *-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.
diff -w --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,
@@ -65,7 +65,7 @@ AC_DEFUN([gl_FUNC_LOG1PL]
# 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" ;;
+ *-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.
@@ -190,7 +190,7 @@ AC_DEFUN([gl_FUNC_LOG1PL_WORKS]
# 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" ;;
+ *-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.
diff -w --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,
@@ -82,7 +82,7 @@ AC_DEFUN([gl_FUNC_LOG2]
# 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" ;;
+ *-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.
diff -w --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,
@@ -83,7 +83,7 @@ AC_DEFUN([gl_FUNC_LOG2F]
# 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" ;;
+ *-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.
diff -w --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,
@@ -168,7 +168,7 @@ AC_DEFUN([gl_FUNC_LOG2L_WORKS]
# 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" ;;
+ *-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.
diff -w --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,
@@ -71,7 +71,7 @@ AC_DEFUN([gl_FUNC_LOGF]
# 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" ;;
+ *-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.
diff -w --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,
@@ -189,7 +189,7 @@ AC_DEFUN([gl_FUNC_LOGL_WORKS]
# 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" ;;
+ *-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.
diff -w --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 -w --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
@@ -61,7 +61,7 @@ AC_DEFUN([gl_FUNC_MKSTEMP]
# 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" ;;
+ *-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.
diff -w --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,
@@ -64,7 +64,7 @@ AC_DEFUN([gl_FUNC_MODF]
# 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" ;;
+ *-musl* | midipix*) gl_cv_func_modf_ieee="guessing yes" ;;
# Guess yes on MSVC, no on mingw.
mingw*) AC_EGREP_CPP([Known], [
#ifdef _MSC_VER
diff -w --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,
@@ -72,7 +72,7 @@ AC_DEFUN([gl_FUNC_MODFF]
# 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" ;;
+ *-musl* | midipix*) gl_cv_func_modff_ieee="guessing yes" ;;
# Guess yes on MSVC, no on mingw.
mingw*) AC_EGREP_CPP([Known], [
#ifdef _MSC_VER
diff -w --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,
@@ -66,7 +66,7 @@ AC_DEFUN([gl_FUNC_MODFL]
# 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" ;;
+ *-musl* | midipix*) gl_cv_func_modfl_ieee="guessing yes" ;;
# Guess yes on MSVC, no on mingw.
mingw*) AC_EGREP_CPP([Known], [
#ifdef _MSC_VER
diff -w --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 -w --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,
@@ -49,7 +49,7 @@ AC_DEFUN([gl_FUNC_PERROR]
[gl_cv_func_perror_works=no],
[case "$host_os" in
# Guess yes on musl systems.
- *-musl*) gl_cv_func_perror_works="guessing yes" ;;
+ *-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.
diff -w --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,7 +585,7 @@ AC_DEFUN([gl_FUNC_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE]
[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" ;;
+ *-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" ;;
@@ -629,7 +629,7 @@ AC_DEFUN([gl_FUNC_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2]
[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";;
+ *-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" ;;
@@ -675,7 +675,7 @@ AC_DEFUN([gl_FUNC_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN]
[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";;
+ *-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" ;;
diff -w --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 @@ AC_DEFUN([gl_PRINTF_SIZES_C99]
# 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 @@ AC_DEFUN([gl_PRINTF_INFINITE]
# 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 @@ AC_DEFUN([gl_PRINTF_INFINITE_LONG_DOUBLE]
# 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 @@ AC_DEFUN([gl_PRINTF_DIRECTIVE_A]
[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 @@ AC_DEFUN([gl_PRINTF_DIRECTIVE_F]
# 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";;
@@ -993,7 +993,7 @@ AC_DEFUN([gl_PRINTF_FLAG_ZERO]
# 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";;
+ *-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.
@@ -1239,7 +1239,7 @@ AC_DEFUN_ONCE([gl_SNPRINTF_TRUNCATION_C99]
# 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 @@ AC_DEFUN_ONCE([gl_SNPRINTF_RETVAL_C99]
# 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 @@ AC_DEFUN([gl_SNPRINTF_DIRECTIVE_N]
;;
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 @@ AC_DEFUN([gl_VSNPRINTF_ZEROSIZE_C99]
# 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 -w --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,
@@ -159,7 +159,7 @@ AC_DEFUN([gl_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER]
# 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" ;;
+ *-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.
diff -w --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,
@@ -41,7 +41,7 @@ AC_DEFUN([gl_FUNC_PUTENV]
# 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" ;;
+ *-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.
diff -w --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 -w --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,
@@ -95,7 +95,7 @@ AC_DEFUN([gl_FUNC_REMAINDER]
# 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" ;;
+ *-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.
diff -w --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,
@@ -98,7 +98,7 @@ AC_DEFUN([gl_FUNC_REMAINDERF]
# 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" ;;
+ *-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.
diff -w --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,
@@ -103,7 +103,7 @@ AC_DEFUN([gl_FUNC_REMAINDERL]
# 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" ;;
+ *-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.
@@ -242,7 +242,7 @@ AC_DEFUN([gl_FUNC_REMAINDERL_WORKS]
# 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" ;;
+ *-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.
diff -w --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,
@@ -53,7 +53,7 @@ AC_DEFUN([gl_FUNC_RINTL]
# 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" ;;
+ *-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.
diff -w --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,
@@ -116,7 +116,7 @@ AC_DEFUN([gl_FUNC_ROUND]
# 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" ;;
+ *-musl* | midipix*) gl_cv_func_round_ieee="guessing yes" ;;
# Guess yes on MSVC, no on mingw.
mingw*) AC_EGREP_CPP([Known], [
#ifdef _MSC_VER
diff -w --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,
@@ -116,7 +116,7 @@ AC_DEFUN([gl_FUNC_ROUNDF]
# 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" ;;
+ *-musl* | midipix*) gl_cv_func_roundf_ieee="guessing yes" ;;
# Guess yes on MSVC, no on mingw.
mingw*) AC_EGREP_CPP([Known], [
#ifdef _MSC_VER
diff -w --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,
@@ -67,7 +67,7 @@ AC_DEFUN([gl_FUNC_ROUNDL]
# 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" ;;
+ *-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.
diff -w --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,
@@ -38,7 +38,7 @@ AC_DEFUN([gl_FUNC_SETENV]
# 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" ;;
+ *-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
diff -w --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 -w --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,
@@ -32,7 +32,7 @@ AC_DEFUN([gl_SIGNBIT]
# 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" ;;
+ *-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.
@@ -66,7 +66,7 @@ AC_DEFUN([gl_SIGNBIT]
# 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" ;;
+ *-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"
diff -w --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,7 +79,7 @@ AC_DEFUN([gl_FUNC_STPNCPY]
#endif
], [gl_cv_func_stpncpy="guessing yes"],
[case "$host_os" in
- *-musl*) gl_cv_func_stpncpy="guessing yes" ;;
+ *-musl* | midipix*) gl_cv_func_stpncpy="guessing yes" ;;
*) gl_cv_func_stpncpy="$gl_cross_guess_normal" ;;
esac
])
diff -w --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,
@@ -27,7 +27,7 @@ AC_DEFUN([gl_FUNC_STRERROR]
# 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" ;;
+ *-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
@@ -83,7 +83,7 @@ AC_DEFUN([gl_FUNC_STRERROR_0]
# 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" ;;
+ *-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.
diff -w --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,
@@ -116,7 +116,7 @@ AC_DEFUN([gl_FUNC_STRTOD]
[gl_cv_func_strtod_works="guessing yes"],
[case "$host_os" in
# Guess yes on musl systems.
- *-musl*) gl_cv_func_strtod_works="guessing yes" ;;
+ *-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" ;;
diff -w --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,
@@ -115,7 +115,7 @@ AC_DEFUN([gl_FUNC_STRTOLD]
[gl_cv_func_strtold_works="guessing yes"],
[case "$host_os" in
# Guess yes on musl systems.
- *-musl*) gl_cv_func_strtold_works="guessing yes" ;;
+ *-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" ;;
diff -w --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,
@@ -75,7 +75,7 @@ AC_DEFUN([gl_FUNC_TRUNC]
# 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" ;;
+ *-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.
diff -w --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,
@@ -75,7 +75,7 @@ AC_DEFUN([gl_FUNC_TRUNCF]
# 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" ;;
+ *-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.
diff -w --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,
@@ -108,7 +108,7 @@ AC_DEFUN([gl_FUNC_TRUNCL]
# 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" ;;
+ *-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.
diff -w --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,
@@ -45,7 +45,7 @@ AC_DEFUN_ONCE([gl_FUNC_UNGETC_WORKS]
# 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" ;;
+ *-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.
diff -w --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,
@@ -89,7 +89,7 @@ AC_DEFUN([gl_FUNC_WCWIDTH]
# 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";;
+ *-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";;
^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH] Add cross-compilation guesses for Midipix
2023-02-17 15:31 ` Bruno Haible
@ 2023-02-17 16:01 ` Ørjan Malde
0 siblings, 0 replies; 10+ messages in thread
From: Ørjan Malde @ 2023-02-17 16:01 UTC (permalink / raw)
To: Bruno Haible; +Cc: bug-gnulib
------- Original Message -------
On Friday, February 17th, 2023 at 4:31 PM, Bruno Haible <bruno@clisp.org> wrote:
> Ørjan Malde wrote:
>
> > > So, will config.sub stay as it is, and the pattern to check for is midipix* ?
> >
> > The triplet naming is out of my control, it's integrated with tools new
> > and existing, and personally I like it the way it is.
>
>
> OK, then the pattern is midipix*.
>
> I'm committing this patch. This handles all references to musl
> in m4/, except for
>
Awesome! Thank you very much:-)
Once the remaining few tests pass natively I'll submit another patch.
from the list below, I know realpath, chmod, d-ino, mkdir, sleep and usleep are already correct.
> m4/canonicalize.m4:164: -musl) gl_cv_func_realpath_works="guessing nearly" ;;
> m4/chmod.m4:65: -gnu | gnu | -musl | darwin* | freebsd* | midnightbsd* | netbsd* | openbsd* | solaris* | haiku* | cygwin*)
> m4/chown.m4:117: -musl) gl_cv_func_chown_slash_works="guessing yes" ;;
> m4/chown.m4:156: -musl) gl_cv_func_chown_ctime_works="guessing yes" ;;
> m4/d-ino.m4:46: linux*-musl*) gl_cv_struct_dirent_d_ino="guessing yes" ;;
> m4/futimens.m4:56: -musl) gl_cv_func_futimens_works="guessing no" ;;
> m4/getcwd.m4:55: -musl) gl_cv_func_getcwd_null="guessing yes";;
> m4/getgroups.m4:44: -musl) ac_cv_func_getgroups_works="guessing yes" ;;
> m4/getgroups.m4:98: -musl) gl_cv_func_getgroups_works="guessing yes" ;;
> m4/link-follow.m4:92: linux*-musl*) gl_cv_func_link_follows_symlink="guessing no" ;;
> m4/mkdir.m4:69: -musl) gl_cv_func_mkdir_trailing_dot_works="guessing yes" ;;
> m4/ptsname.m4:34: -musl) gl_cv_func_ptsname_sets_errno="guessing yes" ;;
> m4/sleep.m4:52: -musl) gl_cv_func_sleep_works="guessing yes" ;;
> m4/usleep.m4:35: -musl) gl_cv_func_usleep_works="guessing yes" ;;
> m4/utimes.m4:148: -musl) gl_cv_func_working_utimes="guessing yes" ;;
>
>
> 2023-02-17 Bruno Haible bruno@clisp.org
>
>
> Improve cross-compilation from midipix.
> Reported by Ørjan Malde red@foxi.me at
>
> https://lists.gnu.org/archive/html/bug-gnulib/2023-02/msg00131.html.
>
> 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 -w --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
> @@ -39,7 +39,7 @@ AC_DEFUN([_AC_FUNC_CALLOC_IF]
> # 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" ;;
> + -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.
> diff -w --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,
> @@ -75,7 +75,7 @@ AC_DEFUN([gl_FUNC_CBRTL]
> # 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" ;;
> + -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.
> diff -w --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,
> @@ -49,7 +49,7 @@ AC_DEFUN([gl_FUNC_CEIL]
> # 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" ;;
> + -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.
> diff -w --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,
> @@ -56,7 +56,7 @@ AC_DEFUN([gl_FUNC_CEILF]
> # 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" ;;
> + -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.
> diff -w --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,
> @@ -55,7 +55,7 @@ AC_DEFUN([gl_FUNC_CEILL]
> # 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" ;;
> + -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.
> diff -w --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,
> @@ -102,7 +102,7 @@ AC_DEFUN([gl_FUNC_EXP2L]
> # 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" ;;
> + -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.
> @@ -157,7 +157,7 @@ AC_DEFUN([gl_FUNC_EXP2L]
> # 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" ;;
> + -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.
> diff -w --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,
> @@ -151,7 +151,7 @@ AC_DEFUN([gl_FUNC_EXPL]
> # 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" ;;
> + -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.
> diff -w --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,
> @@ -88,7 +88,7 @@ AC_DEFUN([gl_FUNC_EXPM1]
> # 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" ;;
> + -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.
> diff -w --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,
> @@ -80,7 +80,7 @@ AC_DEFUN([gl_FUNC_EXPM1F]
> # 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" ;;
> + -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.
> diff -w --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,
> @@ -149,7 +149,7 @@ AC_DEFUN([gl_FUNC_EXPM1L]
> # 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" ;;
> + -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.
> diff -w --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,
> @@ -86,7 +86,7 @@ AC_DEFUN([gl_FUNC_FCLOSE_STDIN]
> # 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" ;;
> + -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.
> diff -w --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.
> @@ -52,7 +52,7 @@ AC_DEFUN([gl_FUNC_FDOPENDIR]
> # 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" ;;
> + -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
> diff -w --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,
> @@ -54,7 +54,7 @@ AC_DEFUN([gl_FUNC_FFSLL]
> # 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" ;;
> + -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.
> diff -w --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,
> @@ -45,7 +45,7 @@ AC_DEFUN([gl_FUNC_FLOOR]
> # 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" ;;
> + -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.
> diff -w --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,
> @@ -52,7 +52,7 @@ AC_DEFUN([gl_FUNC_FLOORF]
> # 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" ;;
> + -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.
> diff -w --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,
> @@ -61,7 +61,7 @@ AC_DEFUN([gl_FUNC_FMOD]
> # 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" ;;
> + -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.
> diff -w --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,
> @@ -62,7 +62,7 @@ AC_DEFUN([gl_FUNC_FMODF]
> # 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" ;;
> + -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.
> diff -w --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,
> @@ -73,7 +73,7 @@ AC_DEFUN([gl_FUNC_FMODL]
> # 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" ;;
> + -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.
> diff -w --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
> @@ -120,7 +120,7 @@ AC_DEFUN([gl_FUNC_FNMATCH_POSIX]
> [eval "$gl_fnmatch_cache_var=no"],
> [case "$host_os" in
> # Guess yes on musl systems.
> - -musl) eval "$gl_fnmatch_cache_var=\"guessing yes\"" ;;
> + -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 -w --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 @@ AC_DEFUN([gl_FUNC_FOPEN_GNU]
> [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 @@ AC_DEFUN([gl_FUNC_FOPEN_GNU]
> [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 -w --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,
> @@ -54,7 +54,7 @@ AC_DEFUN([gl_FUNC_FPURGE]
> [gl_cv_func_fpurge_works=no],
> [case "$host_os" in
> # Guess yes on musl systems.
> - -musl) gl_cv_func_fpurge_works="guessing yes" ;;
> + -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 -w --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,7 +82,7 @@ AC_DEFUN([gl_FUNC_GETDELIM]
> ],
> [gl_cv_func_working_getdelim="guessing yes"],
> [case "$host_os" in
> - -musl) gl_cv_func_working_getdelim="guessing yes" ;;
> + -musl | midipix) gl_cv_func_working_getdelim="guessing yes" ;;
> ) gl_cv_func_working_getdelim="$gl_cross_guess_normal" ;;
> esac
> ])
> diff -w --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,7 +76,7 @@ AC_DEFUN([gl_FUNC_GETLINE]
> ],
> [am_cv_func_working_getline="guessing yes"],
> [case "$host_os" in
> - -musl) am_cv_func_working_getline="guessing yes" ;;
> + -musl | midipix) am_cv_func_working_getline="guessing yes" ;;
> ) am_cv_func_working_getline="$gl_cross_guess_normal" ;;
> esac
> ])
> diff -w --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,
> @@ -58,7 +58,7 @@ AC_DEFUN([gl_FUNC_HYPOT]
> # 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" ;;
> + -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.
> diff -w --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,
> @@ -74,7 +74,7 @@ AC_DEFUN([gl_FUNC_HYPOTF]
> # 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" ;;
> + -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.
> diff -w --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,
> @@ -74,7 +74,7 @@ AC_DEFUN([gl_FUNC_HYPOTL]
> # 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" ;;
> + -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.
> diff -w --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 @@ AC_DEFUN([gl_FUNC_ICONV_OPEN_UTF_SUPPORT]
> 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 -w --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,
> @@ -61,7 +61,7 @@ AC_DEFUN([gl_FUNC_LOG]
> # 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" ;;
> + -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.
> diff -w --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,
> @@ -61,7 +61,7 @@ AC_DEFUN([gl_FUNC_LOG10]
> # 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" ;;
> + -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.
> diff -w --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,
> @@ -71,7 +71,7 @@ AC_DEFUN([gl_FUNC_LOG10F]
> # 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" ;;
> + -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.
> diff -w --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,
> @@ -148,7 +148,7 @@ AC_DEFUN([gl_FUNC_LOG10L_WORKS]
> # 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" ;;
> + -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.
> diff -w --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,
> @@ -55,7 +55,7 @@ AC_DEFUN([gl_FUNC_LOG1P]
> # 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" ;;
> + -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.
> diff -w --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,
> @@ -64,7 +64,7 @@ AC_DEFUN([gl_FUNC_LOG1PF]
> # 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" ;;
> + -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.
> diff -w --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,
> @@ -65,7 +65,7 @@ AC_DEFUN([gl_FUNC_LOG1PL]
> # 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" ;;
> + -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.
> @@ -190,7 +190,7 @@ AC_DEFUN([gl_FUNC_LOG1PL_WORKS]
> # 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" ;;
> + -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.
> diff -w --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,
> @@ -82,7 +82,7 @@ AC_DEFUN([gl_FUNC_LOG2]
> # 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" ;;
> + -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.
> diff -w --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,
> @@ -83,7 +83,7 @@ AC_DEFUN([gl_FUNC_LOG2F]
> # 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" ;;
> + -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.
> diff -w --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,
> @@ -168,7 +168,7 @@ AC_DEFUN([gl_FUNC_LOG2L_WORKS]
> # 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" ;;
> + -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.
> diff -w --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,
> @@ -71,7 +71,7 @@ AC_DEFUN([gl_FUNC_LOGF]
> # 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" ;;
> + -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.
> diff -w --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,
> @@ -189,7 +189,7 @@ AC_DEFUN([gl_FUNC_LOGL_WORKS]
> # 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" ;;
> + -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.
> diff -w --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 -w --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
> @@ -61,7 +61,7 @@ AC_DEFUN([gl_FUNC_MKSTEMP]
> # 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" ;;
> + -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.
> diff -w --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,
> @@ -64,7 +64,7 @@ AC_DEFUN([gl_FUNC_MODF]
> # 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" ;;
> + -musl | midipix*) gl_cv_func_modf_ieee="guessing yes" ;;
> # Guess yes on MSVC, no on mingw.
> mingw*) AC_EGREP_CPP([Known], [
> #ifdef _MSC_VER
> diff -w --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,
> @@ -72,7 +72,7 @@ AC_DEFUN([gl_FUNC_MODFF]
> # 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" ;;
> + -musl | midipix*) gl_cv_func_modff_ieee="guessing yes" ;;
> # Guess yes on MSVC, no on mingw.
> mingw*) AC_EGREP_CPP([Known], [
> #ifdef _MSC_VER
> diff -w --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,
> @@ -66,7 +66,7 @@ AC_DEFUN([gl_FUNC_MODFL]
> # 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" ;;
> + -musl | midipix*) gl_cv_func_modfl_ieee="guessing yes" ;;
> # Guess yes on MSVC, no on mingw.
> mingw*) AC_EGREP_CPP([Known], [
> #ifdef _MSC_VER
> diff -w --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 -w --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,
> @@ -49,7 +49,7 @@ AC_DEFUN([gl_FUNC_PERROR]
> [gl_cv_func_perror_works=no],
> [case "$host_os" in
> # Guess yes on musl systems.
> - -musl) gl_cv_func_perror_works="guessing yes" ;;
> + -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.
> diff -w --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,7 +585,7 @@ AC_DEFUN([gl_FUNC_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE]
> [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" ;;
> + -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" ;;
> @@ -629,7 +629,7 @@ AC_DEFUN([gl_FUNC_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2]
> [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";;
> + -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" ;;
> @@ -675,7 +675,7 @@ AC_DEFUN([gl_FUNC_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN]
> [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";;
> + -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" ;;
> diff -w --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 @@ AC_DEFUN([gl_PRINTF_SIZES_C99]
> # 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 @@ AC_DEFUN([gl_PRINTF_INFINITE]
> # 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 @@ AC_DEFUN([gl_PRINTF_INFINITE_LONG_DOUBLE]
> # 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 @@ AC_DEFUN([gl_PRINTF_DIRECTIVE_A]
> [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 @@ AC_DEFUN([gl_PRINTF_DIRECTIVE_F]
> # 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";;
> @@ -993,7 +993,7 @@ AC_DEFUN([gl_PRINTF_FLAG_ZERO]
> # 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";;
> + -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.
> @@ -1239,7 +1239,7 @@ AC_DEFUN_ONCE([gl_SNPRINTF_TRUNCATION_C99]
> # 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 @@ AC_DEFUN_ONCE([gl_SNPRINTF_RETVAL_C99]
> # 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 @@ AC_DEFUN([gl_SNPRINTF_DIRECTIVE_N]
> ;;
> 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 @@ AC_DEFUN([gl_VSNPRINTF_ZEROSIZE_C99]
> # 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 -w --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,
> @@ -159,7 +159,7 @@ AC_DEFUN([gl_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER]
> # 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" ;;
> + -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.
> diff -w --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,
> @@ -41,7 +41,7 @@ AC_DEFUN([gl_FUNC_PUTENV]
> # 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" ;;
> + -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.
> diff -w --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 -w --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,
> @@ -95,7 +95,7 @@ AC_DEFUN([gl_FUNC_REMAINDER]
> # 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" ;;
> + -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.
> diff -w --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,
> @@ -98,7 +98,7 @@ AC_DEFUN([gl_FUNC_REMAINDERF]
> # 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" ;;
> + -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.
> diff -w --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,
> @@ -103,7 +103,7 @@ AC_DEFUN([gl_FUNC_REMAINDERL]
> # 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" ;;
> + -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.
> @@ -242,7 +242,7 @@ AC_DEFUN([gl_FUNC_REMAINDERL_WORKS]
> # 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" ;;
> + -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.
> diff -w --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,
> @@ -53,7 +53,7 @@ AC_DEFUN([gl_FUNC_RINTL]
> # 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" ;;
> + -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.
> diff -w --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,
> @@ -116,7 +116,7 @@ AC_DEFUN([gl_FUNC_ROUND]
> # 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" ;;
> + -musl | midipix*) gl_cv_func_round_ieee="guessing yes" ;;
> # Guess yes on MSVC, no on mingw.
> mingw*) AC_EGREP_CPP([Known], [
> #ifdef _MSC_VER
> diff -w --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,
> @@ -116,7 +116,7 @@ AC_DEFUN([gl_FUNC_ROUNDF]
> # 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" ;;
> + -musl | midipix*) gl_cv_func_roundf_ieee="guessing yes" ;;
> # Guess yes on MSVC, no on mingw.
> mingw*) AC_EGREP_CPP([Known], [
> #ifdef _MSC_VER
> diff -w --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,
> @@ -67,7 +67,7 @@ AC_DEFUN([gl_FUNC_ROUNDL]
> # 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" ;;
> + -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.
> diff -w --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,
> @@ -38,7 +38,7 @@ AC_DEFUN([gl_FUNC_SETENV]
> # 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" ;;
> + -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
> diff -w --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 -w --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,
> @@ -32,7 +32,7 @@ AC_DEFUN([gl_SIGNBIT]
> # 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" ;;
> + -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.
> @@ -66,7 +66,7 @@ AC_DEFUN([gl_SIGNBIT]
> # 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" ;;
> + -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"
> diff -w --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,7 +79,7 @@ AC_DEFUN([gl_FUNC_STPNCPY]
> #endif
> ], [gl_cv_func_stpncpy="guessing yes"],
> [case "$host_os" in
> - -musl) gl_cv_func_stpncpy="guessing yes" ;;
> + -musl | midipix*) gl_cv_func_stpncpy="guessing yes" ;;
> ) gl_cv_func_stpncpy="$gl_cross_guess_normal" ;;
> esac
> ])
> diff -w --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,
> @@ -27,7 +27,7 @@ AC_DEFUN([gl_FUNC_STRERROR]
> # 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" ;;
> + -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
> @@ -83,7 +83,7 @@ AC_DEFUN([gl_FUNC_STRERROR_0]
> # 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" ;;
> + -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.
> diff -w --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,
> @@ -116,7 +116,7 @@ AC_DEFUN([gl_FUNC_STRTOD]
> [gl_cv_func_strtod_works="guessing yes"],
> [case "$host_os" in
> # Guess yes on musl systems.
> - -musl) gl_cv_func_strtod_works="guessing yes" ;;
> + -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" ;;
> diff -w --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,
> @@ -115,7 +115,7 @@ AC_DEFUN([gl_FUNC_STRTOLD]
> [gl_cv_func_strtold_works="guessing yes"],
> [case "$host_os" in
> # Guess yes on musl systems.
> - -musl) gl_cv_func_strtold_works="guessing yes" ;;
> + -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" ;;
> diff -w --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,
> @@ -75,7 +75,7 @@ AC_DEFUN([gl_FUNC_TRUNC]
> # 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" ;;
> + -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.
> diff -w --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,
> @@ -75,7 +75,7 @@ AC_DEFUN([gl_FUNC_TRUNCF]
> # 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" ;;
> + -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.
> diff -w --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,
> @@ -108,7 +108,7 @@ AC_DEFUN([gl_FUNC_TRUNCL]
> # 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" ;;
> + -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.
> diff -w --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,
> @@ -45,7 +45,7 @@ AC_DEFUN_ONCE([gl_FUNC_UNGETC_WORKS]
> # 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" ;;
> + -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.
> diff -w --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,
> @@ -89,7 +89,7 @@ AC_DEFUN([gl_FUNC_WCWIDTH]
> # 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";;
> + -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";;
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] Add cross-compilation guesses for Midipix
2023-02-16 22:45 ` Ørjan Malde
2023-02-17 15:31 ` Bruno Haible
@ 2023-02-17 22:05 ` Bruno Haible
2023-02-17 22:12 ` Bruno Haible
2 siblings, 0 replies; 10+ messages in thread
From: Bruno Haible @ 2023-02-17 22:05 UTC (permalink / raw)
To: Ørjan Malde; +Cc: bug-gnulib
Ørjan Malde wrote:
> the runtime components contain extra checks to align the behavior
> with linux's.
So, this justifies this patch (according to your statement that these
test programs work).
2023-02-17 Bruno Haible <bruno@clisp.org>
Improve cross-compilation for midipix.
Reported by Ørjan Malde <red@foxi.me> at
<https://lists.gnu.org/archive/html/bug-gnulib/2023-02/msg00131.html>.
This patch handles the cases where midipix acts like Linux.
* m4/chmod.m4 (gl_FUNC_CHMOD): Treat midipix like Linux with glibc or
musl libc.
* m4/d-ino.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_INO): Likewise.
* m4/fchdir.m4 (gl_FUNC_FCHDIR): Likewise.
* m4/getcwd.m4 (gl_FUNC_GETCWD_NULL): Likewise.
* m4/link.m4 (gl_FUNC_LINK): Likewise.
* m4/linkat.m4 (gl_FUNC_LINKAT): Likewise.
* m4/lstat.m4 (gl_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Likewise.
* m4/mkdir.m4 (gl_FUNC_MKDIR): Likewise.
* m4/pselect.m4 (gl_FUNC_PSELECT): Likewise.
* m4/ptsname.m4 (gl_FUNC_PTSNAME): Likewise.
* m4/readlink.m4 (gl_FUNC_READLINK): Likewise.
* m4/rename.m4 (gl_FUNC_RENAME): Likewise.
* m4/rmdir.m4 (gl_FUNC_RMDIR): Likewise.
* m4/select.m4 (gl_FUNC_SELECT): Likewise.
* m4/sleep.m4 (gl_FUNC_SLEEP): Likewise.
* m4/stat.m4 (gl_FUNC_STAT): Likewise.
* m4/symlink.m4 (gl_FUNC_SYMLINK): Likewise.
* m4/symlinkat.m4 (gl_FUNC_SYMLINKAT): Likewise.
* m4/unlink.m4 (gl_FUNC_UNLINK): Likewise.
* m4/usleep.m4 (gl_FUNC_USLEEP): Likewise.
diff --git a/m4/chmod.m4 b/m4/chmod.m4
index ef2d0d7016..464fbc3203 100644
--- a/m4/chmod.m4
+++ b/m4/chmod.m4
@@ -1,4 +1,4 @@
-# chmod.m4 serial 1
+# chmod.m4 serial 2
dnl Copyright (C) 2004-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -64,6 +64,9 @@ AC_DEFUN([gl_FUNC_CHMOD]
# Guess yes on glibc, musl libc, macOS, FreeBSD, NetBSD, OpenBSD, Solaris, Haiku, Cygwin.
*-gnu* | gnu* | *-musl* | darwin* | freebsd* | midnightbsd* | netbsd* | openbsd* | solaris* | haiku* | cygwin*)
gl_cv_func_chmod_works="guessing yes" ;;
+ # Guess yes on systems that emulate the Linux system calls.
+ midipix*)
+ gl_cv_func_chmod_works="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*)
gl_cv_func_chmod_works="$gl_cross_guess_normal" ;;
diff --git a/m4/d-ino.m4 b/m4/d-ino.m4
index 7305fce4be..58f3311535 100644
--- a/m4/d-ino.m4
+++ b/m4/d-ino.m4
@@ -1,4 +1,4 @@
-# serial 20
+# serial 21
dnl From Jim Meyering.
dnl
@@ -44,6 +44,8 @@ AC_DEFUN([gl_CHECK_TYPE_STRUCT_DIRENT_D_INO]
linux*-gnu*) gl_cv_struct_dirent_d_ino="guessing yes" ;;
# Guess yes on musl systems with Linux kernel.
linux*-musl*) gl_cv_struct_dirent_d_ino="guessing yes" ;;
+ # Guess yes on systems that emulate the Linux system calls.
+ midipix*) gl_cv_struct_dirent_d_ino="guessing yes" ;;
# Guess no on native Windows.
mingw*) gl_cv_struct_dirent_d_ino="guessing no" ;;
# If we don't know, obey --enable-cross-guesses.
diff --git a/m4/fchdir.m4 b/m4/fchdir.m4
index 45fa11a683..b587e0eadd 100644
--- a/m4/fchdir.m4
+++ b/m4/fchdir.m4
@@ -1,4 +1,4 @@
-# fchdir.m4 serial 27
+# fchdir.m4 serial 28
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,
@@ -34,6 +34,8 @@ AC_DEFUN([gl_FUNC_FCHDIR]
[case "$host_os" in
# Guess yes on Linux systems.
linux-* | linux) gl_cv_func_open_directory_works="guessing yes" ;;
+ # Guess yes on systems that emulate the Linux system calls.
+ midipix*) gl_cv_func_open_directory_works="guessing yes" ;;
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_open_directory_works="guessing yes" ;;
# Guess no on native Windows.
diff --git a/m4/getcwd.m4 b/m4/getcwd.m4
index c2e67d2e57..e95db056b0 100644
--- a/m4/getcwd.m4
+++ b/m4/getcwd.m4
@@ -6,7 +6,7 @@
# with or without modifications, as long as this notice is preserved.
# Written by Paul Eggert.
-# serial 19
+# serial 20
AC_DEFUN([gl_FUNC_GETCWD_NULL],
[
@@ -53,6 +53,8 @@ AC_DEFUN([gl_FUNC_GETCWD_NULL]
*-gnu* | gnu*) gl_cv_func_getcwd_null="guessing yes";;
# Guess yes on musl systems.
*-musl*) gl_cv_func_getcwd_null="guessing yes";;
+ # Guess yes on systems that emulate the Linux system calls.
+ midipix*) gl_cv_func_getcwd_null="guessing yes";;
# Guess yes on Cygwin.
cygwin*) gl_cv_func_getcwd_null="guessing yes";;
# If we don't know, obey --enable-cross-guesses.
diff --git a/m4/link.m4 b/m4/link.m4
index 5da2ae008e..eb90e4149d 100644
--- a/m4/link.m4
+++ b/m4/link.m4
@@ -1,4 +1,4 @@
-# link.m4 serial 11
+# link.m4 serial 12
dnl Copyright (C) 2009-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -41,6 +41,8 @@ AC_DEFUN([gl_FUNC_LINK]
[case "$host_os" in
# Guess yes on Linux systems.
linux-* | linux) gl_cv_func_link_works="guessing yes" ;;
+ # Guess yes on systems that emulate the Linux system calls.
+ midipix*) gl_cv_func_link_works="guessing yes" ;;
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_link_works="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
diff --git a/m4/linkat.m4 b/m4/linkat.m4
index 032e89bb54..6cefba411a 100644
--- a/m4/linkat.m4
+++ b/m4/linkat.m4
@@ -1,4 +1,4 @@
-# serial 16
+# serial 17
# See if we need to provide linkat replacement.
dnl Copyright (C) 2009-2023 Free Software Foundation, Inc.
@@ -103,6 +103,8 @@ AC_DEFUN([gl_FUNC_LINKAT]
case "$host_os" in
# Guess yes on Linux systems.
linux-* | linux) gl_cv_func_linkat_slash="guessing yes";;
+ # Guess yes on systems that emulate the Linux system calls.
+ midipix*) gl_cv_func_linkat_slash="guessing yes";;
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_linkat_slash="guessing yes";;
# If we don't know, obey --enable-cross-guesses.
diff --git a/m4/lstat.m4 b/m4/lstat.m4
index 7e667fb187..2bc4669793 100644
--- a/m4/lstat.m4
+++ b/m4/lstat.m4
@@ -1,4 +1,4 @@
-# serial 33
+# serial 34
# Copyright (C) 1997-2001, 2003-2023 Free Software Foundation, Inc.
#
@@ -56,6 +56,9 @@ AC_DEFUN([gl_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK]
linux-* | linux)
# Guess yes on Linux systems.
gl_cv_func_lstat_dereferences_slashed_symlink="guessing yes" ;;
+ midipix*)
+ # Guess yes on systems that emulate the Linux system calls.
+ gl_cv_func_lstat_dereferences_slashed_symlink="guessing yes" ;;
*-gnu* | gnu*)
# Guess yes on glibc systems.
gl_cv_func_lstat_dereferences_slashed_symlink="guessing yes" ;;
diff --git a/m4/mkdir.m4 b/m4/mkdir.m4
index adbca8efd2..c2bc4da7ca 100644
--- a/m4/mkdir.m4
+++ b/m4/mkdir.m4
@@ -1,4 +1,4 @@
-# serial 17
+# serial 18
# Copyright (C) 2001, 2003-2004, 2006, 2008-2023 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
@@ -27,6 +27,8 @@ AC_DEFUN([gl_FUNC_MKDIR]
[case "$host_os" in
# Guess yes on Linux systems.
linux-* | linux) gl_cv_func_mkdir_trailing_slash_works="guessing yes" ;;
+ # Guess yes on systems that emulate the Linux system calls.
+ midipix*) gl_cv_func_mkdir_trailing_slash_works="guessing yes" ;;
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_mkdir_trailing_slash_works="guessing yes" ;;
# Guess yes on MSVC, no on mingw.
@@ -67,6 +69,8 @@ AC_DEFUN([gl_FUNC_MKDIR]
*-gnu* | gnu*) gl_cv_func_mkdir_trailing_dot_works="guessing yes" ;;
# Guess yes on musl systems.
*-musl*) gl_cv_func_mkdir_trailing_dot_works="guessing yes" ;;
+ # Guess yes on systems that emulate the Linux system calls.
+ midipix*) gl_cv_func_mkdir_trailing_dot_works="guessing yes" ;;
# Guess no on native Windows.
mingw*) gl_cv_func_mkdir_trailing_dot_works="guessing no" ;;
# If we don't know, obey --enable-cross-guesses.
diff --git a/m4/pselect.m4 b/m4/pselect.m4
index 9f2b282cee..6c3d1b8f97 100644
--- a/m4/pselect.m4
+++ b/m4/pselect.m4
@@ -1,4 +1,4 @@
-# pselect.m4 serial 10
+# pselect.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,
@@ -54,6 +54,8 @@ AC_DEFUN([gl_FUNC_PSELECT]
case "$host_os" in
# Guess yes on Linux systems.
linux-* | linux) gl_cv_func_pselect_detects_ebadf="guessing yes" ;;
+ # Guess yes on systems that emulate the Linux system calls.
+ midipix*) gl_cv_func_pselect_detects_ebadf="guessing yes" ;;
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_pselect_detects_ebadf="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
diff --git a/m4/ptsname.m4 b/m4/ptsname.m4
index dd3768a6a8..df729f42ed 100644
--- a/m4/ptsname.m4
+++ b/m4/ptsname.m4
@@ -1,4 +1,4 @@
-# ptsname.m4 serial 8
+# ptsname.m4 serial 9
dnl Copyright (C) 2010-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -32,6 +32,8 @@ AC_DEFUN([gl_FUNC_PTSNAME]
*-gnu* | gnu*) gl_cv_func_ptsname_sets_errno="guessing yes" ;;
# Guess yes on musl systems.
*-musl*) gl_cv_func_ptsname_sets_errno="guessing yes" ;;
+ # Guess yes on systems that emulate the Linux system calls.
+ midipix*) gl_cv_func_ptsname_sets_errno="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
*) gl_cv_func_ptsname_sets_errno="$gl_cross_guess_normal" ;;
esac
diff --git a/m4/readlink.m4 b/m4/readlink.m4
index 078b93aa9d..f1d41d2b11 100644
--- a/m4/readlink.m4
+++ b/m4/readlink.m4
@@ -1,4 +1,4 @@
-# readlink.m4 serial 16
+# readlink.m4 serial 17
dnl Copyright (C) 2003, 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,
@@ -38,6 +38,9 @@ AC_DEFUN([gl_FUNC_READLINK]
# Guess yes on Linux or glibc systems.
linux-* | linux | *-gnu* | gnu*)
gl_cv_func_readlink_trailing_slash="guessing yes" ;;
+ # Guess yes on systems that emulate the Linux system calls.
+ midipix*)
+ gl_cv_func_readlink_trailing_slash="guessing yes" ;;
# Guess no on AIX or HP-UX.
aix* | hpux*)
gl_cv_func_readlink_trailing_slash="guessing no" ;;
@@ -75,6 +78,9 @@ AC_DEFUN([gl_FUNC_READLINK]
# Guess yes on Linux or glibc systems.
linux-* | linux | *-gnu* | gnu*)
gl_cv_func_readlink_truncate="guessing yes" ;;
+ # Guess yes on systems that emulate the Linux system calls.
+ midipix*)
+ gl_cv_func_readlink_truncate="guessing yes" ;;
# Guess no on AIX or HP-UX.
aix* | hpux*)
gl_cv_func_readlink_truncate="guessing no" ;;
diff --git a/m4/rename.m4 b/m4/rename.m4
index c6359d8922..efabf1a24b 100644
--- a/m4/rename.m4
+++ b/m4/rename.m4
@@ -1,4 +1,4 @@
-# serial 33
+# serial 34
# Copyright (C) 2001, 2003, 2005-2006, 2009-2023 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
@@ -57,6 +57,8 @@ AC_DEFUN([gl_FUNC_RENAME]
[case "$host_os" in
# Guess yes on Linux systems.
linux-* | linux) gl_cv_func_rename_slash_dst_works="guessing yes" ;;
+ # Guess yes on systems that emulate the Linux system calls.
+ midipix*) gl_cv_func_rename_slash_dst_works="guessing yes" ;;
# Guess yes on glibc systems.
*-gnu*) gl_cv_func_rename_slash_dst_works="guessing yes" ;;
# Guess no on native Windows.
@@ -113,6 +115,8 @@ AC_DEFUN([gl_FUNC_RENAME]
[case "$host_os" in
# Guess yes on Linux systems.
linux-* | linux) gl_cv_func_rename_slash_src_works="guessing yes" ;;
+ # Guess yes on systems that emulate the Linux system calls.
+ midipix*) gl_cv_func_rename_slash_src_works="guessing yes" ;;
# Guess yes on glibc systems.
*-gnu*) gl_cv_func_rename_slash_src_works="guessing yes" ;;
# Guess yes on native Windows.
@@ -184,6 +188,8 @@ AC_DEFUN([gl_FUNC_RENAME]
case "$host_os" in
# Guess yes on Linux systems.
linux-* | linux) gl_cv_func_rename_link_works="guessing yes" ;;
+ # Guess yes on systems that emulate the Linux system calls.
+ midipix*) gl_cv_func_rename_link_works="guessing yes" ;;
# Guess yes on glibc systems.
*-gnu*) gl_cv_func_rename_link_works="guessing yes" ;;
# Guess yes on native Windows.
diff --git a/m4/rmdir.m4 b/m4/rmdir.m4
index 5cb88c8b62..b19c890187 100644
--- a/m4/rmdir.m4
+++ b/m4/rmdir.m4
@@ -36,6 +36,8 @@ AC_DEFUN([gl_FUNC_RMDIR]
[case "$host_os" in
# Guess yes on Linux systems.
linux-* | linux) gl_cv_func_rmdir_works="guessing yes" ;;
+ # Guess yes on systems that emulate the Linux system calls.
+ midipix*) gl_cv_func_rmdir_works="guessing yes" ;;
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_rmdir_works="guessing yes" ;;
# Guess no on native Windows.
diff --git a/m4/select.m4 b/m4/select.m4
index b5cffd6055..88861af486 100644
--- a/m4/select.m4
+++ b/m4/select.m4
@@ -1,4 +1,4 @@
-# select.m4 serial 14
+# select.m4 serial 15
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,
@@ -77,6 +77,8 @@ AC_DEFUN([gl_FUNC_SELECT]
case "$host_os" in
# Guess yes on Linux systems.
linux-* | linux) gl_cv_func_select_detects_ebadf="guessing yes" ;;
+ # Guess yes on systems that emulate the Linux system calls.
+ midipix*) gl_cv_func_select_detects_ebadf="guessing yes" ;;
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_select_detects_ebadf="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
diff --git a/m4/sleep.m4 b/m4/sleep.m4
index 4e566a1ddd..269b73b9a1 100644
--- a/m4/sleep.m4
+++ b/m4/sleep.m4
@@ -1,4 +1,4 @@
-# sleep.m4 serial 11
+# sleep.m4 serial 12
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,
@@ -50,6 +50,8 @@ AC_DEFUN([gl_FUNC_SLEEP]
*-gnu* | gnu*) gl_cv_func_sleep_works="guessing yes" ;;
# Guess yes on musl systems.
*-musl*) gl_cv_func_sleep_works="guessing yes" ;;
+ # Guess yes on systems that emulate the Linux system calls.
+ midipix*) gl_cv_func_sleep_works="guessing yes" ;;
# Guess no on native Windows.
mingw*) gl_cv_func_sleep_works="guessing no" ;;
# If we don't know, obey --enable-cross-guesses.
diff --git a/m4/stat.m4 b/m4/stat.m4
index 4d241e27a1..6d1628c217 100644
--- a/m4/stat.m4
+++ b/m4/stat.m4
@@ -1,4 +1,4 @@
-# serial 18
+# serial 19
# Copyright (C) 2009-2023 Free Software Foundation, Inc.
#
@@ -45,6 +45,8 @@ AC_DEFUN([gl_FUNC_STAT]
[case "$host_os" in
# Guess yes on Linux systems.
linux-* | linux) gl_cv_func_stat_file_slash="guessing yes" ;;
+ # Guess yes on systems that emulate the Linux system calls.
+ midipix*) gl_cv_func_stat_file_slash="guessing yes" ;;
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_stat_file_slash="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
diff --git a/m4/symlink.m4 b/m4/symlink.m4
index 7796ec8bbc..52d6c115ca 100644
--- a/m4/symlink.m4
+++ b/m4/symlink.m4
@@ -1,4 +1,4 @@
-# serial 9
+# serial 10
# See if we need to provide symlink replacement.
dnl Copyright (C) 2009-2023 Free Software Foundation, Inc.
@@ -38,6 +38,8 @@ AC_DEFUN([gl_FUNC_SYMLINK]
[case "$host_os" in
# Guess yes on Linux systems.
linux-* | linux) gl_cv_func_symlink_works="guessing yes" ;;
+ # Guess yes on systems that emulate the Linux system calls.
+ midipix*) gl_cv_func_symlink_works="guessing yes" ;;
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_symlink_works="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
diff --git a/m4/symlinkat.m4 b/m4/symlinkat.m4
index dc3dd323aa..5e44b3d12f 100644
--- a/m4/symlinkat.m4
+++ b/m4/symlinkat.m4
@@ -1,4 +1,4 @@
-# serial 12
+# serial 13
# See if we need to provide symlinkat replacement.
dnl Copyright (C) 2009-2023 Free Software Foundation, Inc.
@@ -42,6 +42,8 @@ AC_DEFUN([gl_FUNC_SYMLINKAT]
[case "$host_os" in
# Guess yes on Linux systems.
linux-* | linux) gl_cv_func_symlinkat_works="guessing yes" ;;
+ # Guess yes on systems that emulate the Linux system calls.
+ midipix*) gl_cv_func_symlinkat_works="guessing yes" ;;
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_func_symlinkat_works="guessing yes" ;;
# If we don't know, obey --enable-cross-guesses.
diff --git a/m4/unlink.m4 b/m4/unlink.m4
index d74d55006e..1fecaac520 100644
--- a/m4/unlink.m4
+++ b/m4/unlink.m4
@@ -1,4 +1,4 @@
-# unlink.m4 serial 15
+# unlink.m4 serial 16
dnl Copyright (C) 2009-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -45,6 +45,8 @@ AC_DEFUN([gl_FUNC_UNLINK]
[case "$host_os" in
# Guess yes on Linux systems.
linux-* | linux) gl_cv_func_unlink_honors_slashes="guessing yes" ;;
+ # Guess yes on systems that emulate the Linux system calls.
+ midipix*) gl_cv_func_unlink_honors_slashes="guessing yes" ;;
# Guess yes on glibc systems.
*-gnu*) gl_cv_func_unlink_honors_slashes="guessing yes" ;;
# Guess no on native Windows.
diff --git a/m4/usleep.m4 b/m4/usleep.m4
index b25e7ceb7e..d90422447f 100644
--- a/m4/usleep.m4
+++ b/m4/usleep.m4
@@ -1,4 +1,4 @@
-# usleep.m4 serial 7
+# usleep.m4 serial 8
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,
@@ -33,6 +33,8 @@ AC_DEFUN([gl_FUNC_USLEEP]
*-gnu* | gnu*) gl_cv_func_usleep_works="guessing yes" ;;
# Guess yes on musl systems.
*-musl*) gl_cv_func_usleep_works="guessing yes" ;;
+ # Guess yes on systems that emulate the Linux system calls.
+ midipix*) gl_cv_func_usleep_works="guessing yes" ;;
# Guess no on native Windows.
mingw*) gl_cv_func_usleep_works="guessing no" ;;
# If we don't know, obey --enable-cross-guesses.
^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH] Add cross-compilation guesses for Midipix
2023-02-16 22:45 ` Ørjan Malde
2023-02-17 15:31 ` Bruno Haible
2023-02-17 22:05 ` Bruno Haible
@ 2023-02-17 22:12 ` Bruno Haible
2 siblings, 0 replies; 10+ messages in thread
From: Bruno Haible @ 2023-02-17 22:12 UTC (permalink / raw)
To: Ørjan Malde; +Cc: bug-gnulib
Ørjan Malde wrote:
> Yes, although there is one exception which is realpath,
> as the midipix framework provides a syscall and realpath wrapper that
> overrides musl's which does behave correctly.
But you haven't extended the test to include the test code that is
currently '#ifdef __linux__'. You'll need to add a corresponding
'|| defined <your_platform>', and *then* see whether the test passes.
Also, as a general sanity-check, it is strongly recommended that
you see whether the Gnulib code, that heavily depends on the configuration
tests, actually works. You do this by creating a testdir:
./gnulib-tool --create-testdir --dir=/tmp/testdir-all --without-privileged-tests --single-configure
then transporting the testdir to the target machine, where you run
./configure
make
make check
*This* is ultimately the check whether the configuration tests provided
a good result. When all tests pass, *then* you can update the cross-
configuration tests and come back to us.
Bruno
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2023-02-17 22:12 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-15 15:10 [PATCH] Add cross-compilation guesses for Midipix Red
2023-02-15 22:16 ` Bruno Haible
2023-02-15 22:57 ` Ørjan Malde
2023-02-16 7:51 ` Ørjan Malde
2023-02-16 21:55 ` Bruno Haible
2023-02-16 22:45 ` Ørjan Malde
2023-02-17 15:31 ` Bruno Haible
2023-02-17 16:01 ` Ørjan Malde
2023-02-17 22:05 ` Bruno Haible
2023-02-17 22:12 ` Bruno Haible
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).