* 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.