]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltdl.m4 (AC_LTDL_DLLIB): call dlopen with arguments so the test
authorAssar Westerlund <assar@sics.se>
Thu, 13 Sep 2001 19:47:02 +0000 (19:47 +0000)
committerGary V. Vaughan <gary@gnu.org>
Thu, 13 Sep 2001 19:47:02 +0000 (19:47 +0000)
does not fail due to a prototype in dlfcn.h

ChangeLog
ltdl.m4

index 27c973105f9aab3dde451322a1207211bfdb1d43..7b0222c91e050152df370bb8967656e8dc467bce 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+001-09-13  Assar Westerlund  <assar@sics.se>
+
+       * ltdl.m4 (AC_LTDL_DLLIB): call dlopen with arguments so the test
+       does not fail due to a prototype in dlfcn.h
+
 2001-09-13  Gary V. Vaughan  <gary@gnu.org>
 
        * ltdl.m4 (AC_CHECK_HEADERS): Check for assert.h.
diff --git a/ltdl.m4 b/ltdl.m4
index 5a7a970ddf6eacd306b255758e8de551fa4d2efa..2f5ab1193742d1721f281f3209dacbc9e2e3bd3b 100644 (file)
--- a/ltdl.m4
+++ b/ltdl.m4
@@ -258,7 +258,7 @@ AC_CHECK_LIB([dl], [dlopen],
 #  include <dlfcn.h>
 #endif
     ],
-    [dlopen();],
+    [dlopen(0, 0);],
     [AC_DEFINE(HAVE_LIBDL, 1,
       [Define if you have the libdl library or equivalent.])],
     [AC_CHECK_LIB(svld, dlopen,