On Tue, Feb 03, 2009 at 05:50:21AM -0700, Eric Blake wrote:
> According to Tom Browder on 2/2/2009 1:53 PM:
> > 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.


All of the .rpm based distros that I use recommend putting
./configure --libdir=%_libdir .....

in the .spec file. %_libdir is is /usr/lib or /usr/lib64

Since you want to use /usr/local you should write

./configure --libdir=/usr/local/%_lib

for rpm based distros.

The Debian based distros that I have used don't need anything done
because /usr/lib works for 64bit.


-- 
Paul Elliott                       1(512)837-1096
pelli...@io.com                    PMB 181, 11900 Metric Blvd Suite J
http://www.io.com/~pelliott/pme/   Austin TX 78758-3117

Attachment: pgpAFJ12fZ35o.pgp
Description: PGP signature

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

Reply via email to