From: Ian Campbell Subject: Re: [PATCH] tools: don't expand prefix and exec_prefix too early Date: Wed, 8 Aug 2012 16:18:56 +0100 Message-ID: <1344439136.32142.44.camel@zakaz.uk.xensource.com> References: <5022933B0200007800093A1F@nat28.tlf.novell.com> <502296310200007800093A35@nat28.tlf.novell.com> <20120808144500.GD5592@US-SEA-R8XVZTX> <502299650200007800093A68@nat28.tlf.novell.com> <1344437707.32142.38.camel@zakaz.uk.xensource.com> <20120808151134.GA11659@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20120808151134.GA11659@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Olaf Hering Cc: Ian Jackson , Matt Wilson , Jan Beulich , xen-devel List-Id: xen-devel@lists.xenproject.org On Wed, 2012-08-08 at 16:11 +0100, Olaf Hering wrote: > On Wed, Aug 08, Ian Campbell wrote: > > > FWIW I've just added it http://wiki.xen.org/wiki/Xen_4.2_Release_Notes > > which probably wouldn't have helped you but should help in general. > > Maybe we can simplify configure like this (untested patch): Ew, what a horribly opaque way to go about this. Unless there is some common autoconf macro which all autoconf-using projects use to get this sort of behaviour we should just leave things as is, i.e. our behaviour should match the behaviour of every other autoconf-using project not invent our own madness. > > diff -r f9f47654484e configure > --- a/configure > +++ b/configure > @@ -1,2 +1,7 @@ > #!/bin/sh -e > -cd tools && ./configure $@ > +_easy_lib64= > +if test "`arch`" = "x86_64" > +then > + _easy_lib64=--libdir=/usr/lib64 > +fi > +cd tools && ./configure ${_easy_lib64} $@