forked from enlightenment/efl
use pkgconfig to detect libxine. untested :o
SVN revision: 28913
This commit is contained in:
parent
afd642cc5a
commit
1276ae4668
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue