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

Always check for X11/Xlib.h

HAVE_X11_XLIB_H is used in several files (unfortunately)
parent 0194cf13
...@@ -3298,6 +3298,9 @@ dnl Xlib ...@@ -3298,6 +3298,9 @@ dnl Xlib
dnl dnl
AC_PATH_XTRA() AC_PATH_XTRA()
AC_CHECK_HEADERS(X11/Xlib.h, [
VLC_ADD_LIBS([omapfb],[${X_LIBS} ${X_PRE_LIBS} -lX11])
])
dnl dnl
dnl X C Bindings modules dnl X C Bindings modules
...@@ -3611,8 +3614,6 @@ AC_ARG_ENABLE(omapfb, ...@@ -3611,8 +3614,6 @@ AC_ARG_ENABLE(omapfb,
then then
AC_CHECK_HEADERS(asm/arch-omap/omapfb.h, [ AC_CHECK_HEADERS(asm/arch-omap/omapfb.h, [
VLC_ADD_PLUGIN([omapfb]) VLC_ADD_PLUGIN([omapfb])
AC_CHECK_HEADERS(X11/Xlib.h, [
VLC_ADD_LIBS([omapfb],[${X_LIBS} ${X_PRE_LIBS} -lX11]) ])
]) ])
VLC_ADD_PLUGIN([swscale_omap]) VLC_ADD_PLUGIN([swscale_omap])
fi fi
......
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