* libltdl/configure.in: Fix test failures on AIX 4.3.2 by checking

for dlopen *with* -ldl first.
Reported by Greg Wooledge <ic5035%tss1crs.amgreetings.com@rose.amgreetings.com>
This commit is contained in:
Gary V. Vaughan 1999-05-17 14:55:21 +00:00
parent 8952359876
commit 349d815981
2 changed files with 7 additions and 3 deletions

View File

@ -1,6 +1,10 @@
1999-05-17 Gary V. Vaughan <gary@oranda.demon.co.uk>
* demo/foo.h: Don't set any declspecs until we have full dlli
* libltdl/configure.in: Fix test failures on AIX 4.3.2 by checking
for dlopen *with* -ldl first.
Reported by Greg Wooledge <ic5035%tss1crs.amgreetings.com@rose.amgreetings.com>
* demo/foo.h: Don't set any declspecs until we have full dll
support.
1999-05-16 Alexandre Oliva <oliva@dcc.unicamp.br>

View File

@ -88,8 +88,8 @@ if test x"$libltdl_cv_preloaded_symbols" = x"yes"; then
fi
LIBADD_DL=
AC_CHECK_FUNC(dlopen, [AC_DEFINE(HAVE_LIBDL, 1)],
[AC_CHECK_LIB(dl, dlopen, [AC_DEFINE(HAVE_LIBDL, 1) LIBADD_DL="-ldl"])])
AC_CHECK_LIB(dl, dlopen, [AC_DEFINE(HAVE_LIBDL, 1) LIBADD_DL="-dl"],
[AC_CHECK_FUNC(dlopen, [AC_DEFINE(HAVE_LIBDL, 1)])])
AC_CHECK_FUNC(shl_load, [AC_DEFINE(HAVE_SHL_LOAD, 1)],
[AC_CHECK_LIB(dld, shl_load, [AC_DEFINE(HAVE_SHL_LOAD, 1) LIBADD_DL="-ldld"])])
AC_CHECK_LIB(dld, dld_link, [AC_DEFINE(HAVE_DLD, 1)dnl