Commit 132110c4 authored by Pavlov Konstantin's avatar Pavlov Konstantin

Properly check for Xext library. We got way more kludges in Xv detection, though...

Should fix packaging, too.
parent 0669a9f8
......@@ -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}])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment