]> git.sesse.net Git - vlc/commitdiff
Properly check for Xext library. We got way more kludges in Xv detection, though...
authorPavlov Konstantin <thresh@videolan.org>
Tue, 6 Feb 2007 13:37:40 +0000 (13:37 +0000)
committerPavlov Konstantin <thresh@videolan.org>
Tue, 6 Feb 2007 13:37:40 +0000 (13:37 +0000)
Should fix packaging, too.

configure.ac

index fe69739bb0f0d6461f6d56ed0829c2bd8f87f7be..e4edc25e9fea78f26a3b3911ffb018c647aeff29 100644 (file)
@@ -3641,7 +3641,7 @@ if test "${enable_x11}" != "no" &&
     VLC_ADD_PLUGINS([panoramix])
     VLC_ADD_LDFLAGS([panoramix],[${X_LIBS} ${X_PRE_LIBS} -lX11])
     VLC_ADD_CPPFLAGS([panoramix],[${X_CFLAGS}])
-    AC_CHECK_HEADERS(X11/Xext.h, [
+    AC_CHECK_LIB(Xext, XShmAttach, [
       VLC_ADD_PLUGINS([x11])
       VLC_ADD_LDFLAGS([x11],[${X_LIBS} ${X_PRE_LIBS} -lX11 -lXext])
       VLC_ADD_CPPFLAGS([x11],[${X_CFLAGS}])