[MPlayer-dev-eng] [PATCH] make configure use the right faad.h

James Bilotto jb13 at gomerbud.com
Wed Oct 29 01:18:57 CET 2003


On Wed, Oct 29, 2003 at 12:17:17AM +0100, Diego Biurrun wrote:
> jb13 writes:
>  > On Fri, Sep 26, 2003 at 06:31:22PM +0200, Diego Biurrun wrote:
>  > > On Fri, Sep 26, 2003 at 09:26:48AM -0700, jb13 wrote:
>  > > > say if you have faad 1.1 installed in /usr/local/ but want to use mplayer's
>  > > > internal 2.0 RC1 for mplayer
>  > > 
>  > > Well, then you just type
>  > > 
>  > > ./configure
>  > > make
>  > 
>  > witch dosn't work, the problem is in the cc_check function call witch looks likethis
>  > 
>  > cc_check $_inc_extra ... $_inc_faad ...
>  > 
>  > witch expands to 
>  > 
>  > gcc   -I/usr/local/include   -L/usr/local/lib /tmp/mplayer-conf--93341.c -o /tmp
>  > /mplayer-conf--93341.o -I/home/jb13/src/mplayer/libfaad2 -lm
>  > 
>  > gcc uses a first match wins rule for header files. the version returned for the
>  > *internal* faad is
>  > 
>  > 1.1
>  > Result is: 1.1
>  > 
>  > put this faad.h in your /usr/local/include and try it your self
> 
> It still works fine for me, even with your faad.h file in
> /usr/local/include:
> 
> Checking for internal FAAD2 (AAC) support ... yes
> Checking for external FAAD2 (AAC) support ... no
> Checking for FAAD2 version ... 2.0 RC1 
> 
> But this is using my new and improved FAAD detection routine.  I think
> your problem is already fixed.
> 
> Diego

i'm sorry to say that it dose not work for me with your patch, but i think
i know why. i will send a patch to your patch soon.



More information about the MPlayer-dev-eng mailing list