]> Savannah Git Hosting - gnulib.git/commitdiff
Improve cross-compilation for midipix.
authorBruno Haible <bruno@clisp.org>
Fri, 17 Feb 2023 21:58:36 +0000 (22:58 +0100)
committerBruno Haible <bruno@clisp.org>
Fri, 17 Feb 2023 21:58:36 +0000 (22:58 +0100)
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.

21 files changed:
ChangeLog
m4/chmod.m4
m4/d-ino.m4
m4/fchdir.m4
m4/getcwd.m4
m4/link.m4
m4/linkat.m4
m4/lstat.m4
m4/mkdir.m4
m4/pselect.m4
m4/ptsname.m4
m4/readlink.m4
m4/rename.m4
m4/rmdir.m4
m4/select.m4
m4/sleep.m4
m4/stat.m4
m4/symlink.m4
m4/symlinkat.m4
m4/unlink.m4
m4/usleep.m4

index 386fe23846c85efc14a71f6a535e130ad2c56c98..8352cda04a760e861d4e3df8cdc22167707f593e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,32 @@
 2023-02-17  Bruno Haible  <bruno@clisp.org>
 
-       Improve cross-compilation from midipix.
+       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.
+
+       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>.
        Since midipix consists of musl libc based on an emulation of Linux system
index ef2d0d70163483dd91eb01a32b0de616eb309583..464fbc3203b8187f644f1943d6bdc911888a5798 100644 (file)
@@ -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" ;;
index 7305fce4be767b0ada96c873218efd5507e154c3..58f33115358960e83dc8f02571c14e8c332c0139 100644 (file)
@@ -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.
index 45fa11a6832659e29976d296842ebc881ef9be20..b587e0eadd0a38ba4a42f1cef6549d5d5b485e13 100644 (file)
@@ -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.
index c2e67d2e57c1ad0b79393660ace76691d5b0c6cc..e95db056b0d28bb13b1b6a3146bffbd2e087f523 100644 (file)
@@ -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.
index 5da2ae008e8db9bc67afd66e8a0f5e567048c8db..eb90e4149ded842f89e82cd6efa8277a1107760e 100644 (file)
@@ -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.
index 032e89bb545dddb70bb3c01e2e34187a03cac572..6cefba411a47e9537069d3776bc7bcf77bba470a 100644 (file)
@@ -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.
index 7e667fb187a3f14af5a5380267aa9223d98cef55..2bc4669793469e90b8d5b59dec50743ad33f3ace 100644 (file)
@@ -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" ;;
index adbca8efd27a0f89ae667bb3d3a9db0a2329dac6..c2bc4da7ca9cfb0868f6bf8e374b6bbd31787e89 100644 (file)
@@ -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.
index 9f2b282cee0dd72be710114eb1f7e2aa95ccbf4c..6c3d1b8f97f1aecc9819bfc69e921201cbd8dc0e 100644 (file)
@@ -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.
index dd3768a6a8d4a336a5218122ed2685b62bfe1aae..df729f42ed9b38f4c14513807981492b9c3926a8 100644 (file)
@@ -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
index 078b93aa9dc11512e93d1eac3ee3809a316ce137..f1d41d2b113be702dd1998e8967723a946de0e6f 100644 (file)
@@ -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" ;;
index c6359d89229bcd06e5e1e8fe26c6664ef9fa922b..efabf1a24b596f7a653965bd20903ef6817c288f 100644 (file)
@@ -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.
index 5cb88c8b6205e002e0f63cbd173de7603ea8bf25..b19c8901875092c51f6ad943fce7f9a8d909df6c 100644 (file)
@@ -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.
index b5cffd6055249ca89e90584018612eb27485132c..88861af48648db3ddea1950e1befe7fead0eb872 100644 (file)
@@ -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 @@ changequote([,])dnl
            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.
index 4e566a1dddc9d02b8735c4130e2fe77ebcc5ea31..269b73b9a16709d0d929f1c8c8ea5f247724fcf7 100644 (file)
@@ -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 @@ 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 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.
index 4d241e27a17cfe5be4bb7741baef56077ca2c398..6d1628c21776d799986744e0e748d0c68804c892 100644 (file)
@@ -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.
index 7796ec8bbc0ea8e04c4d29af792978b1cba9570e..52d6c115ca58866df2447d5a52c82349e9d912ea 100644 (file)
@@ -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.
index dc3dd323aaabbae53c2fef739d51b0dd644a11ec..5e44b3d12f18f5332ecfdecbf72d0aa54fff65d9 100644 (file)
@@ -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.
index d74d55006eabfaf3f47a2c022c309270238c0707..1fecaac520f4a635ec7d216f2345e6beffb1a7be 100644 (file)
@@ -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.
index b25e7ceb7eb5d899e979e41696ccd593a209ce8e..d90422447f9a5fd5cbbb14dff0f9981f9b628b8e 100644 (file)
@@ -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.