[vlc-devel] commit: Use a different plugin for X11 screen ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Mar 1 13:16:12 CET 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Mar  1 14:15:53 2009 +0200| [9305440a3d6c2daf576bcbfe5ab012896dfeb237] | committer: Rémi Denis-Courmont 

Use a different plugin for X11 screen

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9305440a3d6c2daf576bcbfe5ab012896dfeb237
---

 configure.ac                     |    6 +++---
 modules/access/screen/Modules.am |    8 ++++++--
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/configure.ac b/configure.ac
index 568932b..d930bae 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3967,9 +3967,9 @@ AC_CHECK_HEADERS(X11/Xlib.h, [
   VLC_ADD_CPPFLAGS([vlc], [${X_CFLAGS}])
   VLC_ADD_LIBS([vlc], [${X_LIBS} ${X_PRE_LIBS} -lX11])
 
-  VLC_ADD_PLUGIN([screen])
-  VLC_ADD_CPPFLAGS([screen],[${X_CFLAGS}])
-  VLC_ADD_LIBS([screen],[${X_LIBS} ${X_PRE_LIBS} -lX11])
+  VLC_ADD_PLUGIN([x11_screen])
+  VLC_ADD_CPPFLAGS([x11_screen],[${X_CFLAGS}])
+  VLC_ADD_LIBS([x11_screen],[${X_LIBS} ${X_PRE_LIBS} -lX11])
 
   VLC_ADD_PLUGIN([panoramix])
   VLC_ADD_LIBS([panoramix],[${X_LIBS} ${X_PRE_LIBS} -lX11])
diff --git a/modules/access/screen/Modules.am b/modules/access/screen/Modules.am
index dba9add..0e8f142 100644
--- a/modules/access/screen/Modules.am
+++ b/modules/access/screen/Modules.am
@@ -6,8 +6,6 @@ screen_extra = beos.cpp
 else
 if HAVE_DARWIN
 screen_extra = mac.c
-else
-screen_extra = x11.c
 endif
 endif
 endif
@@ -16,3 +14,9 @@ SOURCES_screen = \
         screen.h \
         $(screen_extra) \
         $(NULL)
+
+SOURCES_x11_screen = \
+        screen.c \
+        screen.h \
+        x11.c \
+        $(NULL)




More information about the vlc-devel mailing list