]> git.sesse.net Git - ffmpeg/commitdiff
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 3f7b4cdacd6b879bc19eb84267578983ab2a2a91..813a333fa32480463205471570ebda1b7ccad5d9 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;