summaryrefslogtreecommitdiff
path: root/m4/d-ino.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2023-02-17 22:58:36 +0100
committerBruno Haible <bruno@clisp.org>2023-02-17 22:58:36 +0100
commit73839625c871e0f62e7f9e0f0e2854730c2c3588 (patch)
treea625c55a623b8095e47584b1316811347ee19cef /m4/d-ino.m4
parent86a9695e5eb0c45509b806234d6d8bfeeabbb9ba (diff)
downloadgnulib-73839625c871e0f62e7f9e0f0e2854730c2c3588.tar.gz
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.
Diffstat (limited to 'm4/d-ino.m4')
-rw-r--r--m4/d-ino.m44
1 files changed, 3 insertions, 1 deletions
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.