configure: fix return value from check_header

Originally committed as revision 17695 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2009-03-01 17:57:14 +00:00
parent 4b03756748
commit b77df6377b

3
configure vendored
View File

@ -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