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

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

commit 58f0069943b9f8569c61704b3a2f0b01fadfee6c
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 91837cfd8b..109cb3e9db 100644
--- a/main/configure.ac
+++ b/main/configure.ac
@@ -3981,7 +3981,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