Fix gcc detection: Not all gcc versions have "(GCC)" in the version string.
authorDiego Biurrun <diego@biurrun.de>
Sun, 22 Feb 2009 11:04:22 +0000 (11:04 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sun, 22 Feb 2009 11:04:22 +0000 (11:04 +0000)
Originally committed as revision 17522 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 77aa982..42d01b1 100755 (executable)
--- a/configure
+++ b/configure
@@ -1356,7 +1356,7 @@ EOF
 fi
 rm $TMPSH
 
 fi
 rm $TMPSH
 
-if   $cc --version 2>/dev/null | grep -q '(GCC)'; then
+if   $cc --version 2>/dev/null | grep -qi gcc; then
     cc_type=gcc
 elif $cc --version 2>/dev/null | grep -q Intel; then
     cc_type=icc
     cc_type=gcc
 elif $cc --version 2>/dev/null | grep -q Intel; then
     cc_type=icc