This is an automated email from the ASF dual-hosted git repository.

jimjag pushed a commit to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git

commit abb4d0ef01ec74db85b620a50311367f82e614f1
Author: Jim Jagielski <[email protected]>
AuthorDate: Wed Aug 5 07:01:50 2026 -0400

    configure.ac: allow autoconf 2.71 except on macOS, which needs 2.72
    due to the toolchain fixes in autoconf 2.72.
    
    (cherry picked from commit 0791cec65c0068740b3ca6cd1f3e87bc165ce041)
---
 main/configure.ac | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/main/configure.ac b/main/configure.ac
index 87b033d0d8..873cea33d0 100644
--- a/main/configure.ac
+++ b/main/configure.ac
@@ -19,7 +19,11 @@ dnl *  under the License.
 dnl *
 dnl * *************************************************************
 AC_REVISION( $Revision$ )
-AC_PREREQ([2.72])
+dnl macOS needs autoconf 2.72 (2.71 mis-detects the toolchain there);
+dnl other platforms remain on the older 2.71 floor.
+m4_define([AOO_REQUIRED_AUTOCONF],
+  [m4_if(m4_esyscmd_s([uname]), [Darwin], [2.72], [2.71])])
+AC_PREREQ(AOO_REQUIRED_AUTOCONF)
 AC_INIT
 echo "$@" >config.parms
 AC_ARG_WITH(dmake-path,

Reply via email to