[FFmpeg-cvslog] r19985 - trunk/configure

mru subversion
Wed Sep 23 12:48:58 CEST 2009


Author: mru
Date: Wed Sep 23 12:48:58 2009
New Revision: 19985

Log:
ARM: improve armcc detection

Apparently some versions of armcc do not identify as RVCT.  This
changes the test to a string used by all versions.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Wed Sep 23 12:45:14 2009	(r19984)
+++ trunk/configure	Wed Sep 23 12:48:58 2009	(r19985)
@@ -1536,7 +1536,7 @@ elif $cc -V 2>/dev/null | grep -q Compaq
     DEPFLAGS='$(CPPFLAGS) $(CFLAGS) -M'
     debuglevel=3
     add_ldflags -Wl,-z,now # calls to libots crash without this
-elif $cc --vsn 2>/dev/null | grep -q RVCT; then
+elif $cc --vsn 2>/dev/null | grep -q "ARM C/C++ Compiler"; then
     test -d "$sysroot" || die "No valid sysroot specified."
     cc_type=armcc
     cc_version="AV_STRINGIFY(__ARMCC_VERSION)"



More information about the ffmpeg-cvslog mailing list