From: Assar Westerlund Date: Thu, 13 Sep 2001 19:47:02 +0000 (+0000) Subject: * ltdl.m4 (AC_LTDL_DLLIB): call dlopen with arguments so the test X-Git-Tag: release-1-4d~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aef5eb6a27a50cbebb74f10366ac02632f70550e;p=thirdparty%2Flibtool.git * ltdl.m4 (AC_LTDL_DLLIB): call dlopen with arguments so the test does not fail due to a prototype in dlfcn.h --- diff --git a/ChangeLog b/ChangeLog index 27c973105..7b0222c91 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +001-09-13 Assar Westerlund + + * 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 * ltdl.m4 (AC_CHECK_HEADERS): Check for assert.h. diff --git a/ltdl.m4 b/ltdl.m4 index 5a7a970dd..2f5ab1193 100644 --- a/ltdl.m4 +++ b/ltdl.m4 @@ -258,7 +258,7 @@ AC_CHECK_LIB([dl], [dlopen], # include #endif ], - [dlopen();], + [dlopen(0, 0);], [AC_DEFINE(HAVE_LIBDL, 1, [Define if you have the libdl library or equivalent.])], [AC_CHECK_LIB(svld, dlopen,