[FFmpeg-devel] check_func() from configure & "math.h"

ami_stuff ami_stuff
Wed Aug 19 18:45:03 CEST 2009

Just for information.

Here is a part of the code from "configure" SVN-r18880.
This did work OK.

# test for C99 functions in math.h
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; }

More information about the ffmpeg-devel mailing list