summaryrefslogtreecommitdiffstats
path: root/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2005-01-31 08:48:36 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2005-01-31 08:48:36 +0000
commit13a3948f40e8f3b5f4fb673e2c6e889e158be590 (patch)
tree45c36f9418312d6522e561c3b2f11752bde12753 /jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx
parentINTEGRATION: CWS os47 (1.5.76); FILE MERGED (diff)
downloadcore-13a3948f40e8f3b5f4fb673e2c6e889e158be590.tar.gz
core-13a3948f40e8f3b5f4fb673e2c6e889e158be590.zip
INTEGRATION: CWS jre5issues (1.7.8); FILE MERGED
2005/01/14 10:09:06 jl 1.7.8.1: #i39912# fixes for MAC
Diffstat (limited to 'jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx')
-rwxr-xr-xjvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx16
1 files changed, 13 insertions, 3 deletions
diff --git a/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx b/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx
index 2ddbb17bace7..89063fae1a79 100755
--- a/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx
+++ b/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: javaldx.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: hr $ $Date: 2004-11-09 13:58:34 $
+ * last change: $Author: rt $ $Date: 2005-01-31 09:48:36 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -77,6 +77,16 @@ static sal_Bool hasOption(char* szOption, int argc, char** argv);
static rtl::OString getLD_LIBRARY_PATH(const rtl::ByteSequence & vendorData);
//static sal_Bool printPaths(const OUString& sPathFile);
+#ifdef MACOSX
+#define HELP_TEXT \
+"\njavaldx is necessary to make Java work on some UNIX platforms." \
+"It prints a string to std out that consists of directories which " \
+"have to be included into the DYLD_LIBRARY_PATH variable.The setting of " \
+"the variable usually occurs in a shell script that runs javaldx.\n" \
+"The directories are from the chosen java installation. \n" \
+"Options are: \n"\
+"--help or -h\n"
+#else
#define HELP_TEXT \
"\njavaldx is necessary to make Java work on some UNIX platforms." \
"It prints a string to std out that consists of directories which " \
@@ -85,7 +95,7 @@ static rtl::OString getLD_LIBRARY_PATH(const rtl::ByteSequence & vendorData);
"The directories are from the chosen java installation. \n" \
"Options are: \n"\
"--help or -h\n"
-
+#endif
SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
{