]> git.sesse.net Git - vlc/commitdiff
Remove old checks for dlfcn.h and sys/dl.h
authorRémi Denis-Courmont <remi@remlab.net>
Tue, 23 Aug 2011 15:03:19 +0000 (18:03 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 23 Aug 2011 14:52:09 +0000 (17:52 +0300)
configure.ac
modules/codec/realvideo.c

index 54788cd5950454826ee0b9d936dd34b04cdfb5cc..0f7ea99148e664be619b6437585d3b467b7b247c 100644 (file)
@@ -713,7 +713,6 @@ fi
 # Only test for dlopen() if the others didn't work
 LIBDL=""
 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_CHECK_FUNC(dlopen, [
     ac_cv_my_have_dlopen=yes
index 3e43f56c97134f9a4d1033e55c801517d5ea6bda..98a6a9a870b0b84f5251f630d5ea705e69299dc8 100644 (file)
@@ -45,13 +45,8 @@ int WINAPI FreeLibrary( void *handle );
 #   define WINAPI
 #endif
 
-#if defined(HAVE_DL_DLOPEN)
-#   if defined(HAVE_DLFCN_H) /* Linux, BSD, Hurd */
-#       include <dlfcn.h>
-#   endif
-#   if defined(HAVE_SYS_DL_H)
-#       include <sys/dl.h>
-#   endif
+#ifndef WIN32
+#   include <dlfcn.h>
 #endif
 
 typedef struct cmsg_data_s