[Libreoffice-commits] .: Branch 'libreoffice-3-4' - configure.in

Hanno Meyer-Thurow hmth at kemper.freedesktop.org
Mon Apr 25 13:09:18 PDT 2011


 configure.in |   11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

New commits:
commit 96f388b481d71be3e63994d02ec67f76787b5085
Author: Hanno Meyer-Thurow <h.mth at web.de>
Date:   Mon Apr 25 22:04:55 2011 +0200

    Update '--disable-python' to disable only Python UNO API.
    
    * configure.in:

diff --git a/configure.in b/configure.in
index 4d41723..6c7a8b6 100755
--- a/configure.in
+++ b/configure.in
@@ -4158,6 +4158,11 @@ AC_MSG_CHECKING([whether to enable Python 2.x UNO API])
 if test "$enable_python" != "no"; then
    AC_MSG_RESULT([yes])
    BUILD_TYPE="$BUILD_TYPE PYUNO"
+else
+   AC_MSG_RESULT([no])
+   DISABLE_PYTHON=TRUE
+   AC_SUBST(DISABLE_PYTHON)
+fi
 
 AC_MSG_CHECKING([which python to use])
 if test "$_os" = "WINNT"; then
@@ -4210,12 +4215,6 @@ AC_SUBST(PYTHON_CFLAGS)
 AC_SUBST(PYTHON_LIBS)
 HOME=`echo $HOME | $SED 's:\\\\:/:g'`
 AC_SUBST(HOME)
-dnl disable python
-else
-   AC_MSG_RESULT([no])
-   DISABLE_PYTHON=TRUE
-   AC_SUBST(DISABLE_PYTHON)
-fi
 
 dnl ===================================================================
 dnl Check for system translate-toolkit


More information about the Libreoffice-commits mailing list