]> git.sesse.net Git - vlc/commitdiff
configure: screensaver modules is for X.
authorPierre d'Herbemont <pdherbemont@free.fr>
Wed, 30 Dec 2009 02:57:58 +0000 (03:57 +0100)
committerPierre d'Herbemont <pdherbemont@free.fr>
Wed, 30 Dec 2009 03:57:55 +0000 (04:57 +0100)
Only enable when X window support is wanted.
Feel free to adjust.

configure.ac

index 430fbb5b98e0dfe96324faf994408cfb5120ace7..d7311f489fe6286c577cf58624b1b9491a0f274a 100644 (file)
@@ -1303,7 +1303,6 @@ dnl
 dnl Some plugins aren't useful on some platforms
 dnl
 if test "${SYS}" != "mingw32" -a "${SYS}" != "mingwce"; then
-    VLC_ADD_PLUGIN([screensaver])
     VLC_ADD_PLUGIN([motion])
     VLC_ADD_PLUGIN([dynamicoverlay])
     VLC_ADD_PLUGIN([signals])
@@ -3630,6 +3629,7 @@ AS_IF([test "${enable_xcb}" != "no"], [
   dnl libxcb
   PKG_CHECK_MODULES(XCB, [xcb])
   PKG_CHECK_MODULES(XCB_SHM, [xcb-shm])
+  VLC_ADD_PLUGIN([screensaver])
   VLC_ADD_PLUGIN([xcb_x11])
   VLC_ADD_PLUGIN([xcb_screen])
   VLC_ADD_PLUGIN([xcb_apps])