[FFmpeg-cvslog] r19434 - trunk/configure

mru subversion
Wed Jul 15 10:22:06 CEST 2009


Author: mru
Date: Wed Jul 15 10:22:06 2009
New Revision: 19434

Log:
Use normal check_func test for math functions

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Wed Jul 15 07:52:49 2009	(r19433)
+++ trunk/configure	Wed Jul 15 10:22:06 2009	(r19434)
@@ -2127,13 +2127,13 @@ done
 check_lib math.h sin -lm
 check_lib va/va.h vaInitialize -lva
 
-# test for C99 functions in math.h
-for func in llrint log2 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; }
-EOF
-done
+check_func llrint
+check_func log2
+check_func lrint
+check_func lrintf
+check_func round
+check_func roundf
+check_func truncf
 
 # these are off by default, so fail if requested and not available
 enabled avisynth   && require2 vfw32 "windows.h vfw.h" AVIFileInit -lvfw32



More information about the ffmpeg-cvslog mailing list