[vlc-devel] commit: x11 does not need MIT-SHM ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Mar 1 17:49:10 CET 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Mar  1 18:37:42 2009 +0200| [c5c16e1b8377194bc06088376e95ea006d813207] | committer: Rémi Denis-Courmont 

x11 does not need MIT-SHM

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

 configure.ac |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index e57aaed..7044602 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3978,11 +3978,11 @@ AS_IF([test "${enable_x11}" != "no"], [
     VLC_ADD_LIBS([globalhotkeys],[${X_LIBS} ${X_PRE_LIBS} -lX11])
     VLC_ADD_CPPFLAGS([globalhotkeys],[${X_CFLAGS}])
 
-  AC_CHECK_LIB(Xext, XShmAttach, [
     VLC_ADD_PLUGIN([x11])
-    VLC_ADD_LIBS([x11],[${X_LIBS} ${X_PRE_LIBS} -lX11 -lXext])
+    VLC_ADD_LIBS([x11],[${X_LIBS} ${X_PRE_LIBS} -lX11])
     VLC_ADD_CPPFLAGS([x11],[${X_CFLAGS}])
-  ])
+
+    AC_CHECK_LIB(Xext, XShmAttach, [VLC_ADD_LIBS([x11],[-lXext])])
   ])
 
 dnl Check for DPMS




More information about the vlc-devel mailing list