diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-09-13 17:29:49 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-09-13 17:34:19 +0200 |
commit | 9331a2ee41d13d04e2eed077f1f934a62288ab01 (patch) | |
tree | bfe5ce62f4687fa00a943f35ef2d863dfb1cf182 /configure | |
parent | 8f5bb35f4004791a6eb69049103a1c6382cf6542 (diff) | |
download | ffmpeg-9331a2ee41d13d04e2eed077f1f934a62288ab01.tar.gz |
configure: slightly more robust looking check for math functions.
I dont know on which system the prior check failed but an advanced
linker on some platform might have optimized func() out as unreachable.
Patch taken from http://floss.freebox.fr
Author: unknown
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -708,7 +708,7 @@ check_mathfunc(){ check_ld "$@" <<EOF && enable $func #include <math.h> float foo(float f) { return $func(f); } -int main(void){ return 0; } +int main(void){ return (int) foo; } EOF } |