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

Re: [Xen-devel] [PATCH v4] tools: honour --libdir when it is passed to ./configure



On Thu, Jul 05, 2012 at 03:01:41AM -0700, Ian Campbell wrote:
> On Thu, 2012-07-05 at 09:58 +0100, Ian Campbell wrote:
> > I'm going to revert the m4/default_lib.m4 and by extension the m4/pkg.m4
> > changes and commit the result (after consulting with Ian J to make sure
> > the test system can cope with this change).
> 
> Having consulted with Ian I have now pushed the following:

Thanks for fixing this up, and for all the iterations on what should
have been a simple change.

Matt

> # HG changeset patch
> # User Matt Wilson <msw@xxxxxxxxxx>
> # Date 1341482428 -3600
> # Node ID ad08cd8e7097ec6da6526cf8ac26f0fa72cd1e01
> # Parent  7c0351dc41a5123241af27f4cb910b915647193c
> tools: honour --libdir when it is passed to ./configure
> 
> Currently shared libraries are automatically installed into /usr/lib
> or /usr/lib64, depending on the supplied --prefix value and
> $(XEN_TARGET_ARCH). Some systems, like recent Debian and Ubuntu releases,
> do not use /usr/lib64, but instead /usr/lib/x86_64-linux-gnu.
> 
> With this change, packagers can supply the desired location for shared
> libraries on the ./configure command line. Packagers need to note that
> the default behaviour on 64-bit Linux systems will be to install shared
> libraries in /usr/lib, not /usr/lib64, unless a --libdir value is provided
> to ./configure.
> 
> Additionally, the libfsimage plugins are now loaded explicitly from
> $LIBDIR/fs, removing platform-based decision trees in code.
> 
> Signed-off-by: Matt Wilson <msw@xxxxxxxxxx>
> Acked-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
> Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
> [ ijc -- resolve rejects in configure by rerunning autogen.sh. Dropped changes
> to remove m4/default_lib.m4 and update m4/pkg.m4 since they cause LIBDIR=/lib
> instead of /usr/lib. Reran ./autogen.sh after that too ]

_______________________________________________
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®.