vlc | branch: master | Alexis Ballier <[email protected]> | Fri Dec 9 16:10:10 2011 -0300| [3254502d3b2995908a06387a397f14c89e76621d] | committer: Rémi Denis-Courmont
xosd: require and link against Xlib. Signed-off-by: Rémi Denis-Courmont <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3254502d3b2995908a06387a397f14c89e76621d --- configure.ac | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index d0538e2..4f37ad2 100644 --- a/configure.ac +++ b/configure.ac @@ -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 _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
