Enlightenment CVS committal

Author  : tilman
Project : e17
Module  : libs/emotion

Dir     : e17/libs/emotion


Modified Files:
        configure.in 


Log Message:
use pkgconfig to detect libxine. untested :o

===================================================================
RCS file: /cvs/e/e17/libs/emotion/configure.in,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -3 -r1.40 -r1.41
--- configure.in        21 Mar 2007 17:30:09 -0000      1.40
+++ configure.in        22 Mar 2007 16:25:10 -0000      1.41
@@ -99,11 +99,11 @@
        [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



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to