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:
parent
a9d3c6692e
commit
3a636b6fd7
2
configure
vendored
2
configure
vendored
@ -1356,7 +1356,7 @@ EOF
|
|||||||
fi
|
fi
|
||||||
rm $TMPSH
|
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
|
cc_type=gcc
|
||||||
elif $cc --version 2>/dev/null | grep -q Intel; then
|
elif $cc --version 2>/dev/null | grep -q Intel; then
|
||||||
cc_type=icc
|
cc_type=icc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user