Fix check_func_headers. The reference to the function under test was being
[ffmpeg.git] / configure
index 0a8be7f..9471205 100755 (executable)
--- a/configure
+++ b/configure
@@ -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
 }