+2025-05-11 Bruno Haible <bruno@clisp.org>
+
+ bison: Fix configure test failure if POSIXLY_CORRECT is set.
+ Reported by Arsen Arsenović.
+ * m4/bison.m4 (gl_PROG_BISON): In the bison invocation, put all options
+ before the non-option arguments.
+
2025-05-11 Collin Funk <collin.funk1@gmail.com>
- fts: Make sure __GNU_PREREQ is defined (regression yesterday).
+ fts: Make sure __GNUC_PREREQ is defined (regression yesterday).
Reported by <nroycea+gnu@gmail.com> in
<https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78376>.
* lib/fts_.h (__GNUC_PREREQ): Define macro on clang or if the system
# bison.m4
-# serial 10
+# serial 11
dnl Copyright (C) 2002-2006, 2008-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,
AC_MSG_CHECKING([for bison $2 or newer])
ac_prog_version=`$$1 --version 2>&1 | sed -n 's/^.*GNU Bison.* \([[0-9]]*\.[[0-9.]]*\).*$/\1/p'`
: ${ac_prog_version:='v. ?.??'}
- if $$1 conftest.y -o conftest.c 2>/dev/null; then
+ if $$1 -o conftest.c conftest.y 2>/dev/null; then
ac_prog_version="$ac_prog_version, ok"
ac_verc_fail=no
else