Commit fcb8fce6 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove old checks for dlfcn.h and sys/dl.h

parent 92530397
...@@ -713,7 +713,6 @@ fi ...@@ -713,7 +713,6 @@ fi
# Only test for dlopen() if the others didn't work # Only test for dlopen() if the others didn't work
LIBDL="" LIBDL=""
if test "${ac_cv_have_plugins}" = "no" -o "${SYS}" = "darwin"; then if test "${ac_cv_have_plugins}" = "no" -o "${SYS}" = "darwin"; then
AC_CHECK_HEADERS(dlfcn.h sys/dl.h)
ac_cv_my_have_dlopen=no ac_cv_my_have_dlopen=no
AC_CHECK_FUNC(dlopen, [ AC_CHECK_FUNC(dlopen, [
ac_cv_my_have_dlopen=yes ac_cv_my_have_dlopen=yes
......
...@@ -45,13 +45,8 @@ int WINAPI FreeLibrary( void *handle ); ...@@ -45,13 +45,8 @@ int WINAPI FreeLibrary( void *handle );
# define WINAPI # define WINAPI
#endif #endif
#if defined(HAVE_DL_DLOPEN) #ifndef WIN32
# if defined(HAVE_DLFCN_H) /* Linux, BSD, Hurd */
# include <dlfcn.h> # include <dlfcn.h>
# endif
# if defined(HAVE_SYS_DL_H)
# include <sys/dl.h>
# endif
#endif #endif
typedef struct cmsg_data_s typedef struct cmsg_data_s
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment