Mercurial > mplayer.hg
changeset 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 |
parents | 488f31bd127e |
children | cce2717344f4 |
files | configure |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Sat Jun 25 13:25:27 2005 +0000 +++ b/configure Sat Jun 25 18:33:44 2005 +0000 @@ -5486,11 +5486,14 @@ if test "$_faad_internal" = auto ; then # the faad check needs a config.h file if not test -f "config.h" ; then - > config.h + cat > config.h << EOF +/* C99 lrintf function available */ +$_def_lrintf +EOF fi # internal faad: check if our dear gcc is able to compile it... cp "`pwd`/libfaad2/cfft.c" $TMPC - if ( cc_check -c -O4 $_march $_mcpu $_pipe -ffast-math -fomit-frame-pointer $_inc_faad ); then + if ( cc_check -c -O4 $_march $_mcpu $_pipe -ffast-math -fomit-frame-pointer $_opt_gnu99 -D_GNU_SOURCE $_inc_faad ); then _faad_internal=yes else _faad_internal="no (broken gcc)"