[MPlayer-cvslog] CVS: main configure,1.1010,1.1011
Jindrich Makovicka CVS
syncmail at mplayerhq.hu
Mon May 30 10:57:32 CEST 2005
CVS change done by Jindrich Makovicka CVS
Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv9750
Modified Files:
configure
Log Message:
- correct the argument in configure check for lrintf() to avoid a warning
- add -D_GNU_SOURCE where lrintf() is used, for the cases when -std=gnu99
isn't available
Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.1010
retrieving revision 1.1011
diff -u -r1.1010 -r1.1011
--- configure 30 May 2005 08:23:19 -0000 1.1010
+++ configure 30 May 2005 08:57:29 -0000 1.1011
@@ -2463,10 +2463,10 @@
echocheck "lrintf"
cat > $TMPC << EOF
#include <math.h>
-int main(void) { long (*foo)(double); foo = lrintf; (void)(*foo)(0.0); return 0; }
+int main(void) { long (*foo)(float); foo = lrintf; (void)(*foo)(0.0); return 0; }
EOF
_lrintf=no
-cc_check $_opt_gnu99 $_ld_lm && _lrintf=yes
+cc_check $_opt_gnu99 -D_GNU_SOURCE $_ld_lm && _lrintf=yes
if test "$_lrintf" = yes ; then
_def_lrintf="#define HAVE_LRINTF 1"
else
More information about the MPlayer-cvslog
mailing list