bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Add cross-compilation guesses for Midipix


From: Bruno Haible
Subject: Re: [PATCH] Add cross-compilation guesses for Midipix
Date: Fri, 17 Feb 2023 23:05:48 +0100

Ø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.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]