From cd0d9a9de68f6407498f9eb9b452cbe74c403c9f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= <mans@mansr.com>
Date: Sat, 28 Feb 2009 19:56:21 +0000
Subject: [PATCH] configure: check_func_headers should mark headers as found

Originally committed as revision 17668 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 3f7b4cdacd6..813a333fa32 100755
--- 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;
-- 
GitLab