[FFmpeg-cvslog] r21749 - trunk/configure
mru
subversion
Wed Feb 10 23:14:28 CET 2010
Author: mru
Date: Wed Feb 10 23:14:28 2010
New Revision: 21749
Log:
Stricter check for math.h functions
GCC is sometimes able to optimise constant calls to these functions,
incorrectly indicating that they exist. Unoptimised calls will then
fail to link.
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure Wed Feb 10 23:14:25 2010 (r21748)
+++ trunk/configure Wed Feb 10 23:14:28 2010 (r21749)
@@ -675,7 +675,8 @@ check_mathfunc(){
disable $func
check_ld "$@" <<EOF && enable $func
#include <math.h>
-int main(void){ $func(0); return 0; }
+float foo(float f) { return $func(f); }
+int main(void){ return 0; }
EOF
}
More information about the ffmpeg-cvslog
mailing list