+2024-08-07 Bruno Haible <bruno@clisp.org>
+
+ fchmodat: Fix cross-compilation guess.
+ * m4/fchmodat.m4 (gl_FUNC_FCHMODAT): Tolerate Linux version number
+ in $host_os.
+
2024-08-06 Bruno Haible <bruno@clisp.org>
windows-mutex, windows-timedmutex: Follow pthread_mutex_trylock spec.
# fchmodat.m4
-# serial 8
+# serial 9
dnl Copyright (C) 2004-2024 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
esac
],
[case "$host_os" in
- # Guess no on Linux with glibc and Cygwin.
- linux-gnu* | cygwin*) gl_cv_func_fchmodat_works="guessing no" ;;
- # Guess 'nearly' on AIX.
- aix*) gl_cv_func_fchmodat_works="guessing nearly" ;;
- # If we don't know, obey --enable-cross-guesses.
- *) gl_cv_func_fchmodat_works="$gl_cross_guess_normal" ;;
+ # Guess no on Linux with glibc and Cygwin.
+ linux*-gnu* | cygwin*) gl_cv_func_fchmodat_works="guessing no" ;;
+ # Guess 'nearly' on AIX.
+ aix*) gl_cv_func_fchmodat_works="guessing nearly" ;;
+ # If we don't know, obey --enable-cross-guesses.
+ *) gl_cv_func_fchmodat_works="$gl_cross_guess_normal" ;;
esac
])
rm -f conftest.fchmodat])