]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/configure.in: Fix test failures on AIX 4.3.2 by checking
authorGary V. Vaughan <gary@gnu.org>
Mon, 17 May 1999 14:55:21 +0000 (14:55 +0000)
committerGary V. Vaughan <gary@gnu.org>
Mon, 17 May 1999 14:55:21 +0000 (14:55 +0000)
for dlopen *with* -ldl first.
Reported by Greg Wooledge <ic5035%tss1crs.amgreetings.com@rose.amgreetings.com>

ChangeLog
libltdl/configure.in

index 7a6024cd70cc816dedccbbd51ea90015a8fcac0c..782c63e7233b5866eb54ac67bf0f1fc664f8d9de 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
index 451d9c9fe9137d2322aac70293cba1a817f0bf6e..b8df107cc903fab00928a2fea4663b2577861363 100644 (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