[FFmpeg-cvslog] r19440 - trunk/configure

ramiro subversion
Thu Jul 16 18:02:51 CEST 2009


Author: ramiro
Date: Thu Jul 16 18:02:50 2009
New Revision: 19440

Log:
Fix check_func_headers. The reference to the function under test was being
optimized out by gcc, thus rendering the test useless.
This new test throws a warning in mingw-w64, but that should not be a problem.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Wed Jul 15 21:02:07 2009	(r19439)
+++ trunk/configure	Thu Jul 16 18:02:50 2009	(r19440)
@@ -646,8 +646,7 @@ check_func_headers(){
     check_ld "$@" <<EOF && enable $func && enable_safe $headers
 $incs
 int main(int argc, char **argv){
-    (void) $func;
-    return 0;
+    return (long) $func;
 }
 EOF
 }



More information about the ffmpeg-cvslog mailing list