Web lists-archives.com

[MPlayer-dev-eng] Fix compilation where libm exports erf




Define HAVE_ERF in accordance with what is exported by libm.

Regards.

Index: configure
===================================================================
--- configure	(revision 37565)
+++ configure	(working copy)
@@ -3416,7 +3416,7 @@
 echores "$_kstat"
 
 
-for func in atanf cbrt cbrtf cosf expf exp2 exp2f isnan isinf llrint llrintf log2 log2f log10f lrint lrintf rint round roundf sinf trunc truncf; do
+for func in atanf cbrt cbrtf cosf expf exp2 exp2f isnan isinf llrint llrintf log2 log2f log10f lrint lrintf rint round roundf sinf trunc truncf erf; do
 echocheck $func
 eval _$func=no
 statement_check math.h "${func}(2.0)" && eval _$func=yes
@@ -9214,6 +9214,7 @@
 $def_sinf
 $def_trunc
 $def_truncf
+$def_erf
 
 #define HAVE_INCOMPATIBLE_LIBAV_ABI 0
 #define HAVE_MSVCRT 0
_______________________________________________
MPlayer-dev-eng mailing list
MPlayer-dev-eng@xxxxxxxxxxxx
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng