use pkgconfig to detect libxine. untested :o

SVN revision: 28913
This commit is contained in:
tilman 2007-03-22 16:25:10 +00:00 committed by tilman
parent afd642cc5a
commit 1276ae4668
1 changed files with 2 additions and 2 deletions

View File

@ -99,11 +99,11 @@ AC_ARG_ENABLE(xine,
[enable_xine=$enableval],[enable_xine=auto])
HAVE_XINE="no"
if test "$enable_xine" != "no" ; then
AC_PATH_GENERIC(xine, 1.1.1, [HAVE_XINE="yes"])
PKG_CHECK_MODULES(XINE, [libxine >= 1.1.1], [HAVE_XINE="yes"])
if test "$HAVE_XINE" = "yes" ; then
requirements="$requirements libxine"
xine_plugins=`$XINE_CONFIG --plugindir`
xine_plugins=$(pkg-config --variable=plugindir libxine)
AC_SUBST(xine_plugins)
fi
fi