Mercurial > mplayer.hg
comparison configure @ 15816:5aa87072ef31
set HAVE_LRINTF and C99/GNU_SOURCE during internal FAAD compile test
author | henry |
---|---|
date | Sat, 25 Jun 2005 18:33:44 +0000 (2005-06-25) |
parents | 27b1d5a4f972 |
children | 1a3efcc32e85 |
comparison
equal
deleted
inserted
replaced
15815:488f31bd127e | 15816:5aa87072ef31 |
---|---|
5484 echocheck "internal FAAD2 (AAC) support" | 5484 echocheck "internal FAAD2 (AAC) support" |
5485 _inc_faad="-I`pwd`/libfaad2" | 5485 _inc_faad="-I`pwd`/libfaad2" |
5486 if test "$_faad_internal" = auto ; then | 5486 if test "$_faad_internal" = auto ; then |
5487 # the faad check needs a config.h file | 5487 # the faad check needs a config.h file |
5488 if not test -f "config.h" ; then | 5488 if not test -f "config.h" ; then |
5489 > config.h | 5489 cat > config.h << EOF |
5490 /* C99 lrintf function available */ | |
5491 $_def_lrintf | |
5492 EOF | |
5490 fi | 5493 fi |
5491 # internal faad: check if our dear gcc is able to compile it... | 5494 # internal faad: check if our dear gcc is able to compile it... |
5492 cp "`pwd`/libfaad2/cfft.c" $TMPC | 5495 cp "`pwd`/libfaad2/cfft.c" $TMPC |
5493 if ( cc_check -c -O4 $_march $_mcpu $_pipe -ffast-math -fomit-frame-pointer $_inc_faad ); then | 5496 if ( cc_check -c -O4 $_march $_mcpu $_pipe -ffast-math -fomit-frame-pointer $_opt_gnu99 -D_GNU_SOURCE $_inc_faad ); then |
5494 _faad_internal=yes | 5497 _faad_internal=yes |
5495 else | 5498 else |
5496 _faad_internal="no (broken gcc)" | 5499 _faad_internal="no (broken gcc)" |
5497 fi | 5500 fi |
5498 fi | 5501 fi |