|
|
@@ -886,6 +886,7 @@ HAVE_LIST=" |
|
|
sys_videoio_h |
|
|
sys_videoio_h |
|
|
termios_h |
|
|
termios_h |
|
|
threads |
|
|
threads |
|
|
|
|
|
truncf |
|
|
winsock2_h |
|
|
winsock2_h |
|
|
yasm |
|
|
yasm |
|
|
" |
|
|
" |
|
|
@@ -1875,7 +1876,7 @@ done |
|
|
check_lib math.h sin -lm |
|
|
check_lib math.h sin -lm |
|
|
|
|
|
|
|
|
# test for C99 functions in math.h |
|
|
# 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 |
|
|
check_exec <<EOF && enable $func || disable $func |
|
|
#include <math.h> |
|
|
#include <math.h> |
|
|
int main(void) { return ($func(3.999f) > 0)?0:1; } |
|
|
int main(void) { return ($func(3.999f) > 0)?0:1; } |
|
|
|