* ltdl.m4 (AC_LTDL_DLLIB): call dlopen with arguments so the test

does not fail due to a prototype in dlfcn.h
This commit is contained in:
Assar Westerlund 2001-09-13 19:47:02 +00:00 committed by Gary V. Vaughan
parent 7eba1343df
commit aef5eb6a27
2 changed files with 6 additions and 1 deletions

View File

@ -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.

View File

@ -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,