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(){