[FFmpeg-cvslog] r19619 - trunk/configure

mru subversion
Mon Aug 10 19:25:43 CEST 2009


Author: mru
Date: Mon Aug 10 19:25:42 2009
New Revision: 19619

Log:
configure: fix gcc detection for v2.95

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Mon Aug 10 18:35:36 2009	(r19618)
+++ trunk/configure	Mon Aug 10 19:25:42 2009	(r19619)
@@ -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'



More information about the ffmpeg-cvslog mailing list