configure: pass extra flags to check_cpp from check_cpp_condition

Originally committed as revision 21265 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2010-01-17 19:05:53 +00:00
parent 2a194acd95
commit f855b7b9c9

3
configure vendored
View File

@ -683,7 +683,8 @@ check_cpp_condition(){
log check_cpp_condition "$@"
header=$1
condition=$2
check_cpp <<EOF
shift 2
check_cpp $($filter_cppflags "$@") <<EOF
#include <$header>
#if !($condition)
#error "unsatisfied condition: $condition"