aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMichael Kostylev <michael.kostylev@gmail.com>2009-01-11 22:10:04 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2009-01-11 22:10:04 +0000
commit7b04b8a0578a29f6403a8da74a94d1015c51c7ab (patch)
treedd4cc8728a935ac0c6e2e3d8823292a2f05d54ba /configure
parentb9609848f359d2cfc6a483d0557421427a878039 (diff)
downloadffmpeg-7b04b8a0578a29f6403a8da74a94d1015c51c7ab.tar.gz
Add truncf() replacement function.
Patch by Michael Kostylev <mik at it-1 dot ru> Originally committed as revision 16555 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 37af6c4bca..f07e922839 100755
--- a/configure
+++ b/configure
@@ -886,6 +886,7 @@ HAVE_LIST="
sys_videoio_h
termios_h
threads
+ truncf
winsock2_h
yasm
"
@@ -1875,7 +1876,7 @@ done
check_lib math.h sin -lm
# test for C99 functions in math.h
-for func in llrint lrint lrintf round roundf; do
+for func in llrint lrint lrintf round roundf truncf; do
check_exec <<EOF && enable $func || disable $func
#include <math.h>
int main(void) { return ($func(3.999f) > 0)?0:1; }