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

Diego Biurrun diego at biurrun.de
Wed Oct 29 00:17:17 CET 2003


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



More information about the MPlayer-dev-eng mailing list