configure: fix gcc detection for v2.95

Originally committed as revision 19619 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2009-08-10 17:25:42 +00:00
parent c5e86106fb
commit 8f0c157aaa

2
configure vendored
View File

@ -1508,7 +1508,7 @@ filter_cflags=echo
filter_cppflags=echo
filter_asflags=echo
if $cc --version 2>/dev/null | grep -qi gcc; then
if $cc -v 2>&1 | grep -qi ^gcc; then
cc_type=gcc
CC_DEPFLAGS='-MMD'
AS_DEPFLAGS='-MMD'