Fix gcc detection: Not all gcc versions have "(GCC)" in the version string.

Originally committed as revision 17522 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Biurrun 2009-02-22 11:04:22 +00:00
parent a9d3c6692e
commit 3a636b6fd7

2
configure vendored
View File

@ -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