[vlc-devel] commit: Enable the Nokia OSSO hacks on all X11 plugins ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sat May 17 14:07:14 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Sat May 17 15:07:46 2008 +0300| [a66a2bc5b410617d507820f3eb5f7d6e13e82a87]
Enable the Nokia OSSO hacks on all X11 plugins
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a66a2bc5b410617d507820f3eb5f7d6e13e82a87
---
configure.ac | 24 ++++++++++--------------
1 files changed, 10 insertions(+), 14 deletions(-)
diff --git a/configure.ac b/configure.ac
index 4b2308c..5d1ffdd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6134,20 +6134,16 @@ AC_LANG_POP(C++)
AM_CONDITIONAL(BUILD_MOZILLA,${mozilla})
dnl Tests for Osso and Xsp
-if test "${enable_x11}" != "no" &&
- (test "${SYS}" != "mingw32" -a "${SYS}" != "mingwce" ||
- test "${enable_x11}" = "yes"); then
- AC_CHECK_LIB(osso, osso_display_blanking_pause,[
- PKG_CHECK_MODULES(GLIB2, glib-2.0, [
- VLC_ADD_CPPFLAGS([x11],[-DHAVE_OSSO ${DBUS_CFLAGS} ${GLIB2_CFLAGS}])
- VLC_ADD_LIBS([x11],[-losso])
- ])
- ])
- AC_CHECK_LIB(Xsp, XSPSetPixelDoubling,[
- VLC_ADD_CPPFLAGS([x11],[-DHAVE_XSP])
- VLC_ADD_LIBS([x11],[-lXsp])
- ])
-fi
+AC_CHECK_LIB(osso, osso_display_blanking_pause, [
+ PKG_CHECK_MODULES(GLIB2, glib-2.0, [
+ VLC_ADD_CPPFLAGS([x11 xvideo xvmc glx],[-DHAVE_OSSO ${DBUS_CFLAGS} ${GLIB2_CFLAGS}])
+ VLC_ADD_LIBS([x11 xvideo xvmc glx],[-losso])
+ ])
+])
+AC_CHECK_LIB(Xsp, XSPSetPixelDoubling,[
+ VLC_ADD_CPPFLAGS([x11 xvideo xvmc glx],[-DHAVE_XSP])
+ VLC_ADD_LIBS([x11 xvideo xvmc glx],[-lXsp])
+])
dnl
dnl Mediacontrol Python bindings
More information about the vlc-devel
mailing list