# HG changeset patch # User henry # Date 1119724424 0 # Node ID 5aa87072ef31754db9d23c6c8b0b59c6de67155b # Parent 488f31bd127e49f7b9e64db9303a21b701021829 set HAVE_LRINTF and C99/GNU_SOURCE during internal FAAD compile test diff -r 488f31bd127e -r 5aa87072ef31 configure --- 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)"