summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-03-01 17:57:14 +0000
committerMåns Rullgård <mans@mansr.com>2009-03-01 17:57:14 +0000
commitb77df6377b0701a6519ddcf20466692c237b8b01 (patch)
tree23eee74e1473ab4521223c140212cef7e506c21d /configure
parent4b03756748d47bc01dda189b315cd94532b3333c (diff)
downloadffmpeg-b77df6377b0701a6519ddcf20466692c237b8b01.tar.gz
configure: fix return value from check_header
Originally committed as revision 17695 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 813a333fa3..281ce24a17 100755
--- a/configure
+++ b/configure
@@ -574,7 +574,8 @@ check_header(){
log check_header "$@"
header=$1
shift
- check_cpp "$@" <<EOF && enable_safe $header || disable_safe $header
+ disable_safe $header
+ check_cpp "$@" <<EOF && enable_safe $header
#include <$header>
int x;
EOF