[FFmpeg-cvslog] configure: update tms470 detection for latest version

Mans Rullgard git at videolan.org
Fri Sep 21 14:48:52 CEST 2012


ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Sat Sep 15 15:36:22 2012 +0100| [0122118ec32087cf3522bf14a1c4e34cb7d95a67] | committer: Mans Rullgard

configure: update tms470 detection for latest version

v5.0 of the TI ARM compiler changes the version string.
This updates the detection to check for both the old and
the new strings.

Signed-off-by: Mans Rullgard <mans at mansr.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0122118ec32087cf3522bf14a1c4e34cb7d95a67
---

 configure |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 49e9ecf..4461bde 100755
--- a/configure
+++ b/configure
@@ -2275,7 +2275,7 @@ probe_cc(){
         _depflags='-MMD'
         _cflags_speed='-O3'
         _cflags_size='-Os'
-    elif $_cc -version 2>/dev/null | grep -q TMS470; then
+    elif $_cc -version 2>/dev/null | grep -Eq 'TMS470|TI ARM'; then
         _type=tms470
         _ident=$($_cc -version | head -n1 | tr -s ' ')
         _flags='--gcc --abi=eabi -me'



More information about the ffmpeg-cvslog mailing list