summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorsb <sb@openoffice.org>2010-02-25 09:10:21 +0100
committersb <sb@openoffice.org>2010-02-25 09:10:21 +0100
commiteffed40ee9822d032cb506a25090f7e8b8dfa574 (patch)
tree6aeef92c162367799ba64966fa5aa5b05da6193d /configure
parent3981a4a9919f67fef92a5823ea21956dee343c9e (diff)
sb118: improved JAVAIFLAGS settings (to work on Mac OS X Tiger as well as Snow Leopard)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure13
1 files changed, 13 insertions, 0 deletions
diff --git a/configure b/configure
index 914db32ad674..b552fb9adac1 100755
--- a/configure
+++ b/configure
@@ -877,6 +877,7 @@ DPKG
EPM
BUILD_DMAKE
DMAKE
+JAVAIFLAGS
JAVAFLAGS
JDK
JAVA_HOME
@@ -11853,6 +11854,17 @@ $as_echo "$as_me: error: $_java_path not found set with_jdk_home" >&2;}
fi
JAVAINTERPRETER=`cygpath -d "$JAVAINTERPRETER"`
JAVAINTERPRETER=`cygpath -u "$JAVAINTERPRETER"`
+ elif test "$_os" = "Darwin"; then
+ { $as_echo "$as_me:$LINENO: checking whether to pass -d32 to Java interpreter" >&5
+$as_echo_n "checking whether to pass -d32 to Java interpreter... " >&6; }
+ if "$JAVAINTERPRETER" -d32 >&5 2>&5; then
+ { $as_echo "$as_me:$LINENO: result: yes" >&5
+$as_echo "yes" >&6; }
+ JAVAIFLAGS=-d32
+ else
+ { $as_echo "$as_me:$LINENO: result: no" >&5
+$as_echo "no" >&6; }
+ fi
fi
fi
@@ -12889,6 +12901,7 @@ fi
+
# Extract the first word of "dmake", so it can be a program name with args.
set dummy dmake; ac_word=$2
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5