From 449e6d7dffd5bfcec0cce7e59241cfb325041423 Mon Sep 17 00:00:00 2001 From: diego Date: Sun, 29 May 2005 23:16:22 +0000 Subject: 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 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15592 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index 14ab079aa4..f216ba5ba9 100755 --- a/configure +++ b/configure @@ -2451,7 +2451,7 @@ echores "$_posix4" echocheck "lrintf" cat > $TMPC << EOF #include -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 -- cgit v1.2.3