Re: About libdir for 64-bit

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

 



On 07/16/2013 11:23 AM, Sergio Belkin wrote:
Hi,

I have a configure.ac with following:

AS_CASE([$host], [x86_64*|sparc64*|s390x*|ppc64*], [libdir=$prefix/lib64],
[libdir=$prefix/lib])

I'done it in order to make easy the install of package and choose the
libdir according to arch. But I've found that I can't override if I run
./configure llibdir=/whatever and even distros like Debian put libraries in
/usr/lib//x86_64-linux-gnu

is there a way to fix it?

Yes. Drop all the magic above and leave setting libdir to the user ;)

Your approach is based on invalid assumptions and lacks generality.

Ralf



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




[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux