mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-27 19:07:23 +08: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:
3
configure
vendored
3
configure
vendored
@ -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"
|
||||||
|
Reference in New Issue
Block a user