OSDN Git Service

ignore explicit #warnings in compiler tests
authorMåns Rullgård <mans@mansr.com>
Mon, 31 Jul 2006 18:58:56 +0000 (18:58 +0000)
committerMåns Rullgård <mans@mansr.com>
Mon, 31 Jul 2006 18:58:56 +0000 (18:58 +0000)
Originally committed as revision 5872 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index d3bae10..872734d 100755 (executable)
--- 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(){