* configure.ac (AC_CHECK_ENABLE_LTDL): Removed.
authorChristian Thalinger <twisti@complang.tuwien.ac.at>
Thu, 12 Jun 2008 13:32:04 +0000 (15:32 +0200)
committerChristian Thalinger <twisti@complang.tuwien.ac.at>
Thu, 12 Jun 2008 13:32:04 +0000 (15:32 +0200)
commit7663d7b34bc52a5adf62efef41a41438393220b1
tree97ab2f3f40b9a07b7034bf9e8003b5387d62eac9
parent40591e525e60170efb4e9cd14173b1f7df955054
* configure.ac (AC_CHECK_ENABLE_LTDL): Removed.
(AC_CHECK_ENABLE_DL): Added.
* m4/ltdl.m4: Removed.
* m4/dl.m4: New file.

* src/cacao/cacao.c [ENABLE_LIBJVM] (ltdl.h): Removed.
(vmcore/system.h): Added.
(LIBJVM_NAME): New define.
(main): Use system_dl* functions.

* src/native/native.c: Replaced ltdl stuff with sytem_dl* stuff.
* src/native/native.h (NATIVE_LIBRARY_PREFIX): New define.
(NATIVE_LIBRARY_SUFFIX): Likewise.

* src/native/vm/gnuclasspath/java_lang_VMRuntime.c (mapLibraryName):
Use NATIVE_LIBRARY_* defines.

* src/vmcore/system.h [HAVE_DLFCN_H] (dlfcn.h): Added.
(system_dlclose): New function.
(system_dlerror): Likewise.
(system_dlopen): Likewise.
(system_dlsym): Likewise.
configure.ac
m4/dl.m4 [new file with mode: 0644]
m4/ltdl.m4 [deleted file]
src/cacao/cacao.c
src/native/native.c
src/native/native.h
src/native/vm/gnuclasspath/java_lang_VMRuntime.c
src/vmcore/system.h