* libltdl/ltdl.c: include dld.h
(dld_open) it's spelled memory_error, not no_memory_error
Reported by Stefan Burstroem <f94sbu@efd.lth.se>
1999-02-22 Alexandre Oliva <oliva@dcc.unicamp.br>
+ * libltdl/configure.in: check for dld.h
+ * libltdl/ltdl.c: include dld.h
+ (dld_open) it's spelled memory_error, not no_memory_error
+ Reported by Stefan Burstroem <f94sbu@efd.lth.se>
+
* ltmain.in: fix typos in my last change (s/ocmpile/compile/)
1999-02-21 Thomas Tanner <tanner@gmx.de>
[Define to the sub-directory in which libtool stores uninstalled libraries. ])
AC_HEADER_STDC
-AC_CHECK_HEADERS(malloc.h memory.h stdlib.h stdio.h ctype.h dlfcn.h dl.h)
+AC_CHECK_HEADERS(malloc.h memory.h stdlib.h stdio.h ctype.h dlfcn.h dl.h dld.h)
AC_CHECK_HEADERS(string.h strings.h, break)
AC_CHECK_FUNCS(strdup strchr strrchr index rindex)
/* dynamic linking with dld */
+#if HAVE_DLD_H
+#include <dld.h>
+#endif
+
static int
dld_init ()
{
{
handle->handle = strdup(filename);
if (!handle->handle) {
- last_error = no_memory_error;
+ last_error = memory_error;
return 1;
}
if (dld_link(filename) != 0) {