From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:46585) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWtWq-0002pB-2n for qemu-devel@nongnu.org; Wed, 15 Jun 2011 13:05:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QWtWm-0005yg-09 for qemu-devel@nongnu.org; Wed, 15 Jun 2011 13:05:19 -0400 Received: from speedy.comstyle.com ([206.51.28.2]:48349 helo=mail.comstyle.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWtWl-0005yE-KM for qemu-devel@nongnu.org; Wed, 15 Jun 2011 13:05:15 -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 A93FF98412 for ; Wed, 15 Jun 2011 13:05:12 -0400 (EDT) Message-ID: <4DF8E648.9060604@comstyle.com> Date: Wed, 15 Jun 2011 13:05:12 -0400 From: Brad MIME-Version: 1.0 References: <20110526030642.GC4978@rox.home.comstyle.com> In-Reply-To: <20110526030642.GC4978@rox.home.comstyle.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 3/3] Use predefined compiler symbols to try and detect ARM or HPPA systems. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On 25/05/11 11:06 PM, Brad wrote: > Use predefined compiler symbols to try and detect ARM or HPPA systems > 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 a318d37..97b28f8 100755 > --- a/configure > +++ b/configure > @@ -280,6 +280,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 > @@ -300,7 +306,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.