From: Arun Raghavan Date: Tue, 21 Dec 2010 20:03:03 +0000 (-0800) Subject: m4: Fix ARM compiler detection X-Git-Tag: orc-0.4.12~30 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bab2007dbd31c03e04473035d363521128e88f46;p=platform%2Fupstream%2Forc.git m4: Fix ARM compiler detection The assumption that the host_cpu will be 'arm' is incorrect. It can also be 'armel', 'armv7a' or something else along these lines. --- diff --git a/m4/as-host-defines.m4 b/m4/as-host-defines.m4 index d43596f..6a85cbc 100644 --- a/m4/as-host-defines.m4 +++ b/m4/as-host-defines.m4 @@ -23,7 +23,7 @@ AC_DEFUN([AS_HOST_DEFINES], HAVE_POWERPC=yes AC_DEFINE(HAVE_POWERPC, 1, [Defined if host is powerpc]) ;; - xarm) + xarm*) HAVE_ARM=yes AC_DEFINE(HAVE_ARM, 1, [Defined if host is arm]) ;;