Commit 9d337403 authored by Alexis Ballier's avatar Alexis Ballier Committed by Rémi Denis-Courmont

xosd: require and link against Xlib.

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
(cherry picked from commit 3254502d3b2995908a06387a397f14c89e76621d)
parent c549d93d
......@@ -3848,8 +3848,13 @@ if test "${enable_xosd}" = "yes"
then
AC_CHECK_HEADERS(xosd.h,
AC_CHECK_LIB(xosd, xosd_set_horizontal_offset, [
VLC_ADD_PLUGIN([xosd])
VLC_ADD_LIBS([xosd],[-lxosd])
AS_IF([test "${no_x}" != "yes"], [
VLC_ADD_PLUGIN([xosd])
VLC_ADD_LIBS([xosd],[-lxosd ${X_LIBS} ${X_PRE_LIBS} -lX11])
VLC_ADD_CFLAGS([xosd],[${X_CFLAGS}])
],[
AC_MSG_ERROR([Xlib is required with xosd.])
])
])
)
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