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 77aa982127ef8e06b4732e9cdbcd66fe57aa3fdc..42d01b1204961792283e5a39bc5b9056d870072f 100755 (executable)
--- a/configure
+++ b/configure
@@ -1356,7 +1356,7 @@ EOF
 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