autoconf
[Top][All Lists]
Advanced

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

Re: Autoconf and 64-bit Systems


From: Bob Friesenhahn
Subject: Re: Autoconf and 64-bit Systems
Date: Tue, 3 Feb 2009 10:24:02 -0600 (CST)

On Mon, 2 Feb 2009, Tom Browder wrote:

Is there any way to have configure test for a 64-bit system and then
put libraries in a default place, say /usr/local/lib64, instead of the
default /usr/local/lib as so many GNU packages do at the moment?

I know I can use ./configure --libdir=/usr/local/lib64 but would like
the package to take care of that.

I use prefix-specific config.site files to accomplish this. By using different installation prefixes, then the appropriate settings are automatically picked up via the --prefix=/foo configure option. The config.site file used is discovered like ${prefix}/share/config.site. This works like a charm and usually works perfectly with packages using a modern configure script.

Bob
======================================
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/





reply via email to

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