[Libreoffice-commits] .: Branch 'libreoffice-3-3' - set_soenv.in
Robert Nagy
rnagy at kemper.freedesktop.org
Wed Jan 26 02:44:04 PST 2011
set_soenv.in | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
New commits:
commit 2eee81c2c27eadc01f2a168d46571d7e9093a29b
Author: Thomas Klausner <wiz at NetBSD.org>
Date: Sat Nov 6 00:30:03 2010 +0100
Pass thru PYTHON, found by configure.
Will be used by filter/source/config/fragments/makefile.mk.
diff --git a/set_soenv.in b/set_soenv.in
index 1c1e97b..aa12caf 100644
--- a/set_soenv.in
+++ b/set_soenv.in
@@ -90,7 +90,7 @@ my ( $oldPATH, $SRC_ROOT, $SO_HOME, $JAVA_HOME, $JDK, $JAVAFLAGS, $OOO_SHELL,
$COMMON_BUILD_TOOLS, $WIN_GREP, $WIN_FIND, $WIN_LS,
$WIN_GNUCOPY, $WIN_TOUCH, $STLPORT4, $MOZILLA_VERSION, $MOZILLA_TOOLKIT, $PREBUILD_MOZAB, $MOZILLABUILD,
$PROEXT, $TARFILE_LOCATION,
- $SYSTEM_PYTHON, $SYSTEM_MOZILLA, $EPM_FLAGS);
+ $PYTHON, $SYSTEM_PYTHON, $SYSTEM_MOZILLA, $EPM_FLAGS);
#
#-------------------------------------------
# IId. Declaring the aliases.
@@ -128,6 +128,9 @@ $warnfile = "warn"; # logfile configure warnings.
$Warning = ""; # container for warning messages
$STLPORT4 = '@STLPORT4@'; # Location of STLport4
$SYSTEM_PYTHON = '@SYSTEM_PYTHON@';
+if ($SYSTEM_PYTHON eq "NO") {
+ $PYTHON = "python";
+}
$SYSTEM_MOZILLA = '@SYSTEM_MOZILLA@';
$JDK = '@JDK@';
$JAVAFLAGS = '@JAVAFLAGS@';
@@ -1913,6 +1916,7 @@ ToFile( "SYSTEM_OPENSSL", "@SYSTEM_OPENSSL@", "e" );
ToFile( "OPENSSL_CFLAGS", "@OPENSSL_CFLAGS@", "e" );
ToFile( "OPENSSL_LIBS", "@OPENSSL_LIBS@", "e" );
ToFile( "SYSTEM_PYTHON", "@SYSTEM_PYTHON@", "e" );
+ToFile( "PYTHON", "@PYTHON@", "e" );
ToFile( "PYTHON_CFLAGS", "@PYTHON_CFLAGS@", "e" );
ToFile( "PYTHON_LIBS", "@PYTHON_LIBS@", "e" );
if ($SYSTEM_PYTHON eq "NO") {
More information about the Libreoffice-commits
mailing list