]> git.sesse.net Git - vlc/commitdiff
Use a different plugin for X11 screen
authorRémi Denis-Courmont <remi@remlab.net>
Sun, 1 Mar 2009 12:15:53 +0000 (14:15 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Sun, 1 Mar 2009 12:15:53 +0000 (14:15 +0200)
configure.ac
modules/access/screen/Modules.am

index 568932b7c264756fc27c59793dca654ffcb009a3..d930baea93938c540215ddaecdf82858e852af55 100644 (file)
@@ -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])
index dba9adde761eb8fc7bcd7f90ba19440ea6b557b8..0e8f142fc9ff9f6ace2216c08a38ef1648a829d8 100644 (file)
@@ -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)