From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JsGE8-0004Jy-4b for qemu-devel@nongnu.org; Sat, 03 May 2008 07:48:28 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JsGE6-0004Fh-OE for qemu-devel@nongnu.org; Sat, 03 May 2008 07:48:27 -0400 Received: from [199.232.76.173] (port=39452 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JsGE6-0004FZ-8p for qemu-devel@nongnu.org; Sat, 03 May 2008 07:48:26 -0400 Received: from mtaout02-winn.ispmail.ntl.com ([81.103.221.48]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JsGE5-0004ig-SV for qemu-devel@nongnu.org; Sat, 03 May 2008 07:48:26 -0400 Received: from aamtaout03-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com with ESMTP id <20080503115200.YERQ17818.mtaout02-winn.ispmail.ntl.com@aamtaout03-winn.ispmail.ntl.com> for ; Sat, 3 May 2008 12:52:00 +0100 Received: from implementation.famille.thibault.fr ([82.21.96.230]) by aamtaout03-winn.ispmail.ntl.com with ESMTP id <20080503115555.QWSN26699.aamtaout03-winn.ispmail.ntl.com@implementation.famille.thibault.fr> for ; Sat, 3 May 2008 12:55:55 +0100 Received: from samy by implementation.famille.thibault.fr with local (Exim 4.69) (envelope-from ) id 1JsGE2-0001T5-Qh for qemu-devel@nongnu.org; Sat, 03 May 2008 13:48:22 +0200 Date: Sat, 3 May 2008 12:48:22 +0100 From: Samuel Thibault Subject: Re: [Qemu-devel] [PATCH] configure: silence test for brlapi Message-ID: <20080503114822.GC8032@implementation> References: <20080503083951.GA32346@tapir> <20080503093441.GA8032@implementation> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Ben Taylor, le Sat 03 May 2008 07:42:54 -0400, a écrit : > On Solaris, I found that the configure code tested the 32-bit bit version > while on 64-bit, and then it failed linking qemu-img, because Sun didn't > deliver a 64-bit version of libbrlapi. > > Adding ${ARCH_CFLAGS} to the test caused it to do the right thing. Oh, you mean the patch below? Samuel Index: configure =================================================================== --- configure (révision 4294) +++ configure (copie de travail) @@ -733,7 +733,7 @@ #include int main( void ) { return brlapi__openConnection (NULL, NULL, NULL); } EOF - if $cc -o $TMPE ${OS_CFLAGS} $TMPC -lbrlapi 2> /tmp/qemu-$$-brlapi.log ; then + if $cc ${ARCH_CFLAGS} -o $TMPE ${OS_CFLAGS} $TMPC -lbrlapi 2> /tmp/qemu-$$-brlapi.log ; then brlapi=yes fi # brlapi compile test fi # -z $brlapi