[MPlayer-cvslog] CVS: main configure,1.1024,1.1025

Jindrich Makovicka CVS syncmail at mplayerhq.hu
Sat Jun 25 20:33:47 CEST 2005


CVS change done by Jindrich Makovicka CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv17420

Modified Files:
	configure 
Log Message:
set HAVE_LRINTF and C99/GNU_SOURCE during internal FAAD compile test


Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.1024
retrieving revision 1.1025
diff -u -r1.1024 -r1.1025
--- configure	23 Jun 2005 23:40:07 -0000	1.1024
+++ configure	25 Jun 2005 18:33:44 -0000	1.1025
@@ -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)"




More information about the MPlayer-cvslog mailing list