qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] configure: silence test for brlapi


From: Samuel Thibault
Subject: Re: [Qemu-devel] [PATCH] configure: silence test for brlapi
Date: Sat, 3 May 2008 12:48:22 +0100
User-agent: Mutt/1.5.12-2006-07-14

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 <brlapi.h>
 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]