|
|
@ -2127,13 +2127,13 @@ done |
|
|
|
check_lib math.h sin -lm |
|
|
|
check_lib math.h sin -lm |
|
|
|
check_lib va/va.h vaInitialize -lva |
|
|
|
check_lib va/va.h vaInitialize -lva |
|
|
|
|
|
|
|
|
|
|
|
# test for C99 functions in math.h |
|
|
|
check_func llrint |
|
|
|
for func in llrint log2 lrint lrintf round roundf truncf; do |
|
|
|
check_func log2 |
|
|
|
check_exec <<EOF && enable $func || disable $func |
|
|
|
check_func lrint |
|
|
|
#include <math.h> |
|
|
|
check_func lrintf |
|
|
|
int main(void) { return ($func(3.999f) > 0)?0:1; } |
|
|
|
check_func round |
|
|
|
EOF |
|
|
|
check_func roundf |
|
|
|
done |
|
|
|
check_func truncf |
|
|
|
|
|
|
|
|
|
|
|
# these are off by default, so fail if requested and not available |
|
|
|
# these are off by default, so fail if requested and not available |
|
|
|
enabled avisynth && require2 vfw32 "windows.h vfw.h" AVIFileInit -lvfw32 |
|
|
|
enabled avisynth && require2 vfw32 "windows.h vfw.h" AVIFileInit -lvfw32 |
|
|
|