From 0f22079ec250534ffdc853b892162c160de8b302 Mon Sep 17 00:00:00 2001 From: Anthony Green Date: Wed, 19 May 2004 19:31:42 +0000 Subject: [PATCH] Makefile.am: Define JAVA_EXT_DIRS. 2004-05-19 Anthony Green * Makefile.am: Define JAVA_EXT_DIRS. * Makefile.in: Rebuilt. * java/lang/natRuntime.cc (insertSystemProperties): Set java.ext.dirs property. From-SVN: r82034 --- libjava/ChangeLog | 7 +++++++ libjava/Makefile.am | 3 ++- libjava/Makefile.in | 3 ++- libjava/java/lang/natRuntime.cc | 3 +++ 4 files changed, 14 insertions(+), 2 deletions(-) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 4da17099d09..aee11995901 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,10 @@ +2004-05-19 Anthony Green + + * Makefile.am: Define JAVA_EXT_DIRS. + * Makefile.in: Rebuilt. + * java/lang/natRuntime.cc (insertSystemProperties): Set + java.ext.dirs property. + 2004-05-16 Mark Wielaard * java/io/Writer.java (Writer(Object)): Check for null lock object. diff --git a/libjava/Makefile.am b/libjava/Makefile.am index b79d68bf594..7853ef3cc30 100644 --- a/libjava/Makefile.am +++ b/libjava/Makefile.am @@ -113,7 +113,8 @@ AM_CXXFLAGS = -fno-rtti -fnon-call-exceptions $(THREADCXXFLAGS) \ -Wswitch-enum \ @LIBGCJ_CXXFLAGS@ @X_CFLAGS@ $(WARNINGS) -D_GNU_SOURCE \ -DPREFIX="\"$(prefix)\"" -DLIBDIR="\"$(libdir)\"" \ - -DBOOT_CLASS_PATH="\"$(jardir)/$(jar_DATA)\"" + -DBOOT_CLASS_PATH="\"$(jardir)/$(jar_DATA)\"" \ + -DJAVA_EXT_DIRS="\"$(jardir)/ext\"" if USING_GCC AM_CFLAGS = @LIBGCJ_CFLAGS@ $(WARNINGS) else diff --git a/libjava/Makefile.in b/libjava/Makefile.in index cf236f01a55..a2853c48d86 100644 --- a/libjava/Makefile.in +++ b/libjava/Makefile.in @@ -217,7 +217,8 @@ AM_CXXFLAGS = -fno-rtti -fnon-call-exceptions $(THREADCXXFLAGS) \ -Wswitch-enum \ @LIBGCJ_CXXFLAGS@ @X_CFLAGS@ $(WARNINGS) -D_GNU_SOURCE \ -DPREFIX="\"$(prefix)\"" -DLIBDIR="\"$(libdir)\"" \ - -DBOOT_CLASS_PATH="\"$(jardir)/$(jar_DATA)\"" + -DBOOT_CLASS_PATH="\"$(jardir)/$(jar_DATA)\"" \ + -DJAVA_EXT_DIRS="\"$(jardir)/ext\"" @USING_GCC_TRUE@AM_CFLAGS = @USING_GCC_TRUE@@LIBGCJ_CFLAGS@ $(WARNINGS) @USING_GCC_FALSE@AM_CFLAGS = @USING_GCC_FALSE@@LIBGCJ_CFLAGS@ diff --git a/libjava/java/lang/natRuntime.cc b/libjava/java/lang/natRuntime.cc index 9b54874c1c4..4f6aabd6f21 100644 --- a/libjava/java/lang/natRuntime.cc +++ b/libjava/java/lang/natRuntime.cc @@ -592,6 +592,9 @@ java::lang::Runtime::insertSystemProperties (java::util::Properties *newprops) // The name used to invoke this process (argv[0] in C). SET ("gnu.gcj.progname", _Jv_GetSafeArg (0)); + // The the java extensions directory. + SET ("java.ext.dirs", JAVA_EXT_DIRS); + // Allow platform specific settings and overrides. _Jv_platform_initProperties (newprops); -- 2.30.2