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
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/



_______________________________________________
Autoconf mailing list
Autoconf@gnu.org
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to