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

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


The following commit(s) were added to refs/heads/AOO42X by this push:
     new a4e34e8bd2 Fix previous python 3.12 commit.
a4e34e8bd2 is described below

commit a4e34e8bd254b0858c5e9c3a73ed5e77dc9a1645
Author: Don Lewis <[email protected]>
AuthorDate: Tue Jan 20 01:19:25 2026 -0800

    Fix previous python 3.12 commit.
    
    The wrong version of the configure change was committed.
    
    (cherry picked from commit d56063e1856f58ab031c40310f34b71e65afca3e)
---
 main/configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main/configure.ac b/main/configure.ac
index b0d3ba3a47..9d8f2d2bd3 100644
--- a/main/configure.ac
+++ b/main/configure.ac
@@ -3988,7 +3988,7 @@ elif test -n "$with_system_python" -o -n 
"$with_system_libs" && \
    AC_MSG_RESULT([external])
    AM_PATH_PYTHON([2.7])
 
-   if ! $_python -c "import distutils.sysconfig;"; then
+   if ! $PYTHON -c "import distutils.sysconfig;"; then
        AC_MSG_ERROR([python setuptools module is required to provide distutils 
for python >= 3.12])
    fi
    python_include=`$PYTHON -c "import distutils.sysconfig; 
print(distutils.sysconfig.get_config_var('INCLUDEPY'));"`

Reply via email to