[FFmpeg-devel] [PATCH] configure: check for erf() and copysign()

James Almer jamrial at gmail.com
Mon Jul 20 09:05:44 CEST 2015


They are not available in some compilers.

Signed-off-by: James Almer <jamrial at gmail.com>
---
 configure | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configure b/configure
index c2a9564..d4d7ae0 100755
--- a/configure
+++ b/configure
@@ -1730,7 +1730,9 @@ MATH_FUNCS="
     atan2f
     cbrt
     cbrtf
+    copysign
     cosf
+    erf
     exp2
     exp2f
     expf
@@ -2718,6 +2720,7 @@ cropdetect_filter_deps="gpl"
 delogo_filter_deps="gpl"
 deshake_filter_select="pixelutils"
 drawtext_filter_deps="libfreetype"
+dynaudnorm_filter_deps="copysign erf"
 ebur128_filter_deps="gpl"
 eq_filter_deps="gpl"
 fftfilt_filter_deps="avcodec"
@@ -5130,6 +5133,7 @@ check_lib math.h sin -lm && LIBM="-lm"
 disabled crystalhd || check_lib libcrystalhd/libcrystalhd_if.h DtsCrystalHDVersion -lcrystalhd || disable crystalhd
 
 atan2f_args=2
+copysign_args=2
 ldexpf_args=2
 powf_args=2
 
-- 
2.4.5



More information about the ffmpeg-devel mailing list