Commit 3254502d 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>
parent 9b40c48c
......@@ -3786,8 +3786,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