From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:34627) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RATah-0004qk-JL for qemu-devel@nongnu.org; Sun, 02 Oct 2011 17:28:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RATae-0002ov-QS for qemu-devel@nongnu.org; Sun, 02 Oct 2011 17:28:55 -0400 Received: from speedy.comstyle.com ([206.51.28.2]:48254 helo=mail.comstyle.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RATae-0002or-O5 for qemu-devel@nongnu.org; Sun, 02 Oct 2011 17:28:52 -0400 Received: from users-mac-pro.local (ram.home.comstyle.com [IPv6:2001:470:b01e:3:214:51ff:fe67:4efb]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: brad) by mail.comstyle.com (Postfix) with ESMTPSA id 9DCAA9C2FE for ; Sun, 2 Oct 2011 17:28:49 -0400 (EDT) Message-ID: <4E88D791.4040603@comstyle.com> Date: Sun, 02 Oct 2011 17:28:49 -0400 From: Brad MIME-Version: 1.0 References: <20110926185750.GB30627@rox.home.comstyle.com> In-Reply-To: <20110926185750.GB30627@rox.home.comstyle.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] configure: Detect predefined compiler symbols for ARM and HPPA List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On 26/09/11 2:57 PM, Brad wrote: > configure: Detect predefined compiler symbols for ARM and HPPA > > To be able to detect some ARM / HPPA based architectures such as with > OpenBSD/(armish / zaurus) or OpenBSD/hppa. > > Signed-off-by: Brad Smith ping. > --- > configure | 8 +++++++- > 1 files changed, 7 insertions(+), 1 deletions(-) > > diff --git a/configure b/configure > index c7948b6..3bc6904 100755 > --- a/configure > +++ b/configure > @@ -284,6 +284,12 @@ elif check_define __s390__ ; then > else > cpu="s390" > fi > +elif check_define __ARMEB__ ; then > + cpu="armv4b" > +elif check_define __ARMEL__ ; then > + cpu="armv4l" > +elif check_define __hppa__ ; then > + cpu="hppa" > else > cpu=`uname -m` > fi > @@ -304,7 +310,7 @@ case "$cpu" in > armv*l) > cpu="armv4l" > ;; > - parisc|parisc64) > + hppa|parisc|parisc64) > cpu="hppa" > ;; > mips*) -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.