Assume dlerror() function is always available when dlopen() is

Remove separate checks for dlerror() which don't seem to be needed under
any platform any longer.

No real changes, just slim down configure/CMake a tiny bit.
This commit is contained in:
Vadim Zeitlin
2020-05-15 00:00:06 +02:00
parent fea8c608b1
commit 7a82a0bbf5
7 changed files with 0 additions and 74 deletions

View File

@@ -5390,12 +5390,6 @@ if test "$TOOLKIT" != "MSW"; then
dnl check also for dlerror()
if test "$HAVE_DL_FUNCS" = 1; then
AC_CHECK_FUNCS(dlerror,
AC_DEFINE(HAVE_DLERROR),
[
AC_CHECK_LIB(dl, dlerror, AC_DEFINE(HAVE_DLERROR))
]
)
AC_CHECK_FUNCS(dladdr,
AC_DEFINE(HAVE_DLADDR),
[