From 1276ae4668a13739302ee7a11a85f69435825b31 Mon Sep 17 00:00:00 2001 From: tilman Date: Thu, 22 Mar 2007 16:25:10 +0000 Subject: [PATCH] use pkgconfig to detect libxine. untested :o SVN revision: 28913 --- legacy/emotion/configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/legacy/emotion/configure.in b/legacy/emotion/configure.in index 210322b7b0..29c8bd8f6b 100644 --- a/legacy/emotion/configure.in +++ b/legacy/emotion/configure.in @@ -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