From aef5eb6a27a50cbebb74f10366ac02632f70550e Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Thu, 13 Sep 2001 19:47:02 +0000 Subject: [PATCH] * ltdl.m4 (AC_LTDL_DLLIB): call dlopen with arguments so the test does not fail due to a prototype in dlfcn.h --- ChangeLog | 5 +++++ ltdl.m4 | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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, -- 2.47.2