Browsing configure.in, I see three different binary options for various aspects 
of Pyhon "support":

--disable-python. "Disable build of Python 2.x UNO API"
--enable-ext-scripting-python. "Enables support for scripts in Python"
--with-system-python. "Use Python already on system"

Now, I am sure that in practice all combinations of these options don't work; 
do we really want and need so much optionality for Python?

The above options propagate into various autoconf variables that then are 
propagated into the build environment through set_soenv.in: 

BUILD_TYPE="$BUILD_TYPE PYUNO"
AC_SUBST(DISABLE_PYTHON)
BUILD_TYPE="$BUILD_TYPE PYTHON"
AC_SUBST(SYSTEM_PYTHON)
SCPDEFS="$SCPDEFS -DWITHOUT_EXTENSION_SCRIPTING_PYTHON"
AC_SUBST(ENABLE_SCRIPTING_PYTHON)

--tml


_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to