configure: pass extra flags to check_cpp from check_cpp_condition
authorMåns Rullgård <mans@mansr.com>
Sun, 17 Jan 2010 19:05:53 +0000 (19:05 +0000)
committerMåns Rullgård <mans@mansr.com>
Sun, 17 Jan 2010 19:05:53 +0000 (19:05 +0000)
Originally committed as revision 21265 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 04d51ae..268e910 100755 (executable)
--- a/configure
+++ b/configure
@@ -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"