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
pull/126/head
Diego Biurrun 16 years ago
parent a9d3c6692e
commit 3a636b6fd7
  1. 2
      configure

2
configure vendored

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

Loading…
Cancel
Save