Commit c5c16e1b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

x11 does not need MIT-SHM

parent a820f732
...@@ -3978,11 +3978,11 @@ AS_IF([test "${enable_x11}" != "no"], [ ...@@ -3978,11 +3978,11 @@ AS_IF([test "${enable_x11}" != "no"], [
VLC_ADD_LIBS([globalhotkeys],[${X_LIBS} ${X_PRE_LIBS} -lX11]) VLC_ADD_LIBS([globalhotkeys],[${X_LIBS} ${X_PRE_LIBS} -lX11])
VLC_ADD_CPPFLAGS([globalhotkeys],[${X_CFLAGS}]) VLC_ADD_CPPFLAGS([globalhotkeys],[${X_CFLAGS}])
AC_CHECK_LIB(Xext, XShmAttach, [
VLC_ADD_PLUGIN([x11]) 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}]) VLC_ADD_CPPFLAGS([x11],[${X_CFLAGS}])
])
AC_CHECK_LIB(Xext, XShmAttach, [VLC_ADD_LIBS([x11],[-lXext])])
]) ])
dnl Check for DPMS dnl Check for DPMS
......
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