summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2006-07-31 18:58:56 +0000
committerMåns Rullgård <mans@mansr.com>2006-07-31 18:58:56 +0000
commit98a2582f49fc20fca4315fcf2e1881f281c6c065 (patch)
tree27d590826594bdc6c7d1bc029eef07358dfd069b /configure
parentb92c61e08ca236fad757c3655a4123a38d67759e (diff)
ignore explicit #warnings in compiler tests
Originally committed as revision 5872 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index d3bae10a42..872734dbd4 100755
--- a/configure
+++ b/configure
@@ -214,7 +214,7 @@ add_extralibs(){
}
check_cmd(){
- "$@" 2>&1 | tee -a $logfile | { ! grep -q .; }
+ "$@" 2>&1 | tee -a $logfile | { ! grep -E -q -v '#warning|^In file'; }
}
check_cc(){