configure: check for erf() and copysign()

They are not available on some compilers.

Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2015-07-20 04:04:46 -03:00
parent e3851169ee
commit 736a386055

4
configure vendored
View File

@ -1730,7 +1730,9 @@ MATH_FUNCS="
atan2f atan2f
cbrt cbrt
cbrtf cbrtf
copysign
cosf cosf
erf
exp2 exp2
exp2f exp2f
expf expf
@ -2718,6 +2720,7 @@ cropdetect_filter_deps="gpl"
delogo_filter_deps="gpl" delogo_filter_deps="gpl"
deshake_filter_select="pixelutils" deshake_filter_select="pixelutils"
drawtext_filter_deps="libfreetype" drawtext_filter_deps="libfreetype"
dynaudnorm_filter_deps="copysign erf"
ebur128_filter_deps="gpl" ebur128_filter_deps="gpl"
eq_filter_deps="gpl" eq_filter_deps="gpl"
fftfilt_filter_deps="avcodec" 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 disabled crystalhd || check_lib libcrystalhd/libcrystalhd_if.h DtsCrystalHDVersion -lcrystalhd || disable crystalhd
atan2f_args=2 atan2f_args=2
copysign_args=2
ldexpf_args=2 ldexpf_args=2
powf_args=2 powf_args=2