* configure.ac (--with-jre-layout): Added.
authortwisti <none@none>
Wed, 4 Oct 2006 10:10:01 +0000 (10:10 +0000)
committertwisti <none@none>
Wed, 4 Oct 2006 10:10:01 +0000 (10:10 +0000)
commiteacf034d7de3bfc758026226d2f1c656e7addf11
tree7076f37e0fe1c2dc86db00864e9a638d853620a9
parent94dbb5a8f4f4a618071bf7588ccbf5f67b41ccc6
* configure.ac (--with-jre-layout): Added.

* src/vm/global.h (CLASSPATH_LIBRARY_PATH): Removed.

* src/vm/vm.c [WITH_JRE_LAYOUT] (libgen.h, unistd.h): Added.
(cacao_prefix, cacao_libjvm, classpath_libdir): New global variables.
(version): Print gnu.classpath.boot.library.path instead of
java.library.path as this is the interesting one.
(vm_create): Added WITH_JRE_LAYOUT stuff.

* src/vm/vm.h (stackbottom): Removed.
(cacao_prefix, cacao_libjvm, classpath_libdir): Added.

* src/cacao/cacao.c [WITH_JRE_LAYOUT] (errno.h, libgen.h, unistd.h):
Added.
(main): Added WITH_JRE_LAYOUT stuff.

* src/native/vm/gnu_classpath_VMSystemProperties.c (vm/vm.h): Added.
(preInit): Set env_java_home to cacao_prefix and
gnu.classpath.boot.library.path to classpath_libdir.

* src/native/native.c (native_init): Use cacao_libjvm in lt_dlopenext
call.
configure.ac
src/cacao/cacao.c
src/native/native.c
src/native/vm/gnu_classpath_VMSystemProperties.c
src/vm/global.h
src/vm/vm.c
src/vm/vm.h