+2004-05-19 Anthony Green <green@redhat.com>
+
+ * Makefile.am: Define JAVA_EXT_DIRS.
+ * Makefile.in: Rebuilt.
+ * java/lang/natRuntime.cc (insertSystemProperties): Set
+ java.ext.dirs property.
+
2004-05-16 Mark Wielaard <mark@klomp.org>
* java/io/Writer.java (Writer(Object)): Check for null lock object.
-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
-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@
// 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);