aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-08-10 17:25:42 +0000
committerMåns Rullgård <mans@mansr.com>2009-08-10 17:25:42 +0000
commit8f0c157aaa554463c208209b974d2083dc21450a (patch)
treea6c5d3af9d0c7ac4c82ec95727b5173283da6749 /configure
parentc5e86106fb4a11d37af380d653286061ceebbc0f (diff)
downloadffmpeg-8f0c157aaa554463c208209b974d2083dc21450a.tar.gz
configure: fix gcc detection for v2.95
Originally committed as revision 19619 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index e55cfdc2ec..865b590847 100755
--- a/configure
+++ b/configure
@@ -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'