[MPlayer-dev-eng] jack detection in configure

ak 4nykey at gmail.com
Sat Oct 8 19:29:26 CEST 2005


On Sat, 08 Oct 2005, Diego Biurrun wrote:

> ak schrieb:
> 
> >Right now './configure --enable-jack' leaves 'JACK_LIB' empty in
> >config.mak, as jack libs check is in autodetect section, so with
> >'--enable-jack' it's never done.
> >echocheck "JACK"
> >-if test "$_jack" = auto ; then
> >+if test "$_jack" != no ; then
> > 
> 
> Now there is no difference between  the yes and auto states.  This is not the intended behavior.

Hello.
Haven't thought about it. How about this one?
-------------- next part --------------
Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.1073
diff -u -r1.1073 configure
--- configure	5 Oct 2005 19:52:13 -0000	1.1073
+++ configure	8 Oct 2005 17:24:37 -0000
@@ -4667,6 +4667,8 @@
   _def_jack='#define USE_JACK 1'
   _aosrc="$_aosrc ao_jack.c"
   _aomodules="jack $_aomodules"
+  _ld_jack="`pkg-config --libs jack`"
+  _inc_jack="`pkg-config --cflags jack`"
 else
   _noaomodules="jack $_noaomodules"
 fi


More information about the MPlayer-dev-eng mailing list