From: Bruno Haible Date: Wed, 7 Aug 2024 10:21:05 +0000 (+0200) Subject: fchmodat: Fix cross-compilation guess. X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=5ec2caec092c02e40838100d8d288beefd53d01a;p=gnulib.git fchmodat: Fix cross-compilation guess. * m4/fchmodat.m4 (gl_FUNC_FCHMODAT): Tolerate Linux version number in $host_os. --- diff --git a/ChangeLog b/ChangeLog index 9d917c6de3..304a8a2d2c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2024-08-07 Bruno Haible + + fchmodat: Fix cross-compilation guess. + * m4/fchmodat.m4 (gl_FUNC_FCHMODAT): Tolerate Linux version number + in $host_os. + 2024-08-06 Bruno Haible windows-mutex, windows-timedmutex: Follow pthread_mutex_trylock spec. diff --git a/m4/fchmodat.m4 b/m4/fchmodat.m4 index e71ee8e8ef..99dcf58aa7 100644 --- a/m4/fchmodat.m4 +++ b/m4/fchmodat.m4 @@ -1,5 +1,5 @@ # 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, @@ -70,12 +70,12 @@ AC_DEFUN([gl_FUNC_FCHMODAT], 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])