configure: check_func_headers should mark headers as found
authorMåns Rullgård <mans@mansr.com>
Sat, 28 Feb 2009 19:56:21 +0000 (19:56 +0000)
committerMåns Rullgård <mans@mansr.com>
Sat, 28 Feb 2009 19:56:21 +0000 (19:56 +0000)
Originally committed as revision 17668 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 3f7b4cd..813a333 100755 (executable)
--- a/configure
+++ b/configure
@@ -602,7 +602,7 @@ check_func_headers(){
         incs="$incs
 #include <$hdr>"
     done
-    check_ld "$@" <<EOF && enable $func
+    check_ld "$@" <<EOF && enable $func && enable_safe $headers
 $incs
 int main(int argc, char **argv){
     (void) $func;