configure: Try to fix detection of ARM Compiler 5.04
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 21 Mar 2014 16:51:16 +0000 (17:51 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 21 Mar 2014 16:51:16 +0000 (17:51 +0100)
Fixes Ticket 3364

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
configure

index 41e6451..5ce2961 100755 (executable)
--- a/configure
+++ b/configure
@@ -3187,7 +3187,7 @@ probe_cc(){
         _cflags_speed='-fast'
         _cflags_size='-O1'
         _flags_filter=ccc_flags
-    elif $_cc --vsn 2>/dev/null | grep -q "ARM C/C++ Compiler"; then
+    elif $_cc --vsn 2>/dev/null | grep -Eq "ARM C/C[+][+] Compiler|Component: ARM Compiler "; then
         test -d "$sysroot" || die "No valid sysroot specified."
         _type=armcc
         _ident=$($_cc --vsn | head -n1)