1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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