[MPlayer-cvslog] CVS: main configure,1.1008,1.1009

Diego Biurrun CVS syncmail at mplayerhq.hu
Mon May 30 01:16:25 CEST 2005


CVS change done by Diego Biurrun CVS

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

Modified Files:
	configure 
Log Message:
The default CFLAGS settings include -ffast-math and GCC 3.4.3 therefore
optimizes the lrintf call in the test away, effectively turning it into
a NOP. The attached patch forces -ffast-math of for this test.
patch by Joerg Sonnenberger <joerg - at -britannica - dot - bec - dot - de>


Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.1008
retrieving revision 1.1009
diff -u -r1.1008 -r1.1009
--- configure	29 May 2005 19:05:29 -0000	1.1008
+++ configure	29 May 2005 23:16:22 -0000	1.1009
@@ -2451,7 +2451,7 @@
 echocheck "lrintf"
 cat > $TMPC << EOF
 #include <math.h>
-int main(void) { (void) lrintf(0.0); return 0; }
+int main(void) { long (*foo)(double); foo = lrintf; (void)(*foo)(0.0); return 0; }
 EOF
 _lrintf=no
 cc_check $_ld_lm && _lrintf=yes




More information about the MPlayer-cvslog mailing list