check for that here.
* libltdl/ltdl.c (HAVE_SYS_DL_H): Include it if necessary for
the dlopen loader.
Reported by Matthew Schalit <mschalit@pacbell.net>
2001-04-22 Gary V. Vaughan <gvv@techie.com>
+ * ltdl.m4 (AC_CHECK_HEADERS): UW7 has sys/dl.h, so we must
+ check for that here.
+ * libltdl/ltdl.c (HAVE_SYS_DL_H): Include it if necessary for
+ the dlopen loader.
+ Reported by Matthew Schalit <mschalit@pacbell.net>
+
* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Use pass_all for
various releases of UnixWare and OpenServer that support it.
Reported by Matthew Schalit <mschalit@pacbell.net>
# include <dlfcn.h>
#endif
+#if HAVE_SYS_DL_H
+# include <sys/dl.h>
+#endif
+
#ifdef RTLD_GLOBAL
# define LT_GLOBAL RTLD_GLOBAL
#else
dnl checks (below).
AC_REQUIRE([AC_HEADER_STDC])dnl
-AC_CHECK_HEADERS(malloc.h memory.h stdlib.h stdio.h ctype.h dlfcn.h dl.h dld.h)
+AC_CHECK_HEADERS(malloc.h memory.h stdlib.h stdio.h ctype.h dlfcn.h dl.h sys/dl.h dld.h)
AC_CHECK_HEADERS(string.h strings.h, break)
AC_CHECK_FUNCS(strchr index, break)
AC_CHECK_FUNCS(strrchr rindex, break)