Reported by Bruno Haible in
<https://lists.gnu.org/archive/html/bug-gnulib/2025-10/msg00041.html>.
* m4/glob.m4 (gl_GLOB): Set gl_cv_glob_overflows_stack on platforms
other than glibc.
+2025-10-14 Collin Funk <collin.funk1@gmail.com>
+
+ glob: Ensure --enable-cross-guesses is obeyed (regr. yesterday).
+ Reported by Bruno Haible in
+ <https://lists.gnu.org/archive/html/bug-gnulib/2025-10/msg00041.html>.
+ * m4/glob.m4 (gl_GLOB): Set gl_cv_glob_overflows_stack on platforms
+ other than glibc.
+
2025-10-13 Collin Funk <collin.funk1@gmail.com>
glob tests: Add a test for the glibc bug.
# glob.m4
-# serial 31
+# serial 32
dnl Copyright (C) 2005-2007, 2009-2025 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[case "$host_os" in
# Guess yes on glibc systems.
*-gnu* | gnu*) gl_cv_glob_overflows_stack="guessing yes" ;;
+ # If we don't know, obey --enable-cross-guesses.
+ *) gl_cv_glob_overflows_stack="$gl_cross_guess_inverted" ;;
esac
])
])