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

Re: [Xen-devel] [PATCH] tools: don't expand prefix and exec_prefix too early



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} $@



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.