Commit 3b21416a authored by mru's avatar mru

configure: pass extra flags to check_cpp from check_cpp_condition

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21265 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 30face09
...@@ -683,7 +683,8 @@ check_cpp_condition(){ ...@@ -683,7 +683,8 @@ check_cpp_condition(){
log check_cpp_condition "$@" log check_cpp_condition "$@"
header=$1 header=$1
condition=$2 condition=$2
check_cpp <<EOF shift 2
check_cpp $($filter_cppflags "$@") <<EOF
#include <$header> #include <$header>
#if !($condition) #if !($condition)
#error "unsatisfied condition: $condition" #error "unsatisfied condition: $condition"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment