[Libreoffice-commits] .: configure.in
Hanno Meyer-Thurow
hmth at kemper.freedesktop.org
Mon Apr 25 13:01:54 PDT 2011
configure.in | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
New commits:
commit d4a92a01950ae0796267a7eeb117214d413ad0de
Author: Hanno Meyer-Thurow <h.mth at web.de>
Date: Mon Apr 25 21:50:05 2011 +0200
Update '--disable-python' to disable only Python UNO API.
* configure.in:
diff --git a/configure.in b/configure.in
index cf608c9..83fb2b3 100755
--- a/configure.in
+++ b/configure.in
@@ -4091,6 +4091,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
@@ -4143,12 +4148,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