Re: About libdir for 64-bit

2013-08-24 Thread Mike Frysinger
On Thursday 18 July 2013 19:51:51 Russ Allbery wrote: It doesn't -- but neither of those use the lib64/lib32 layout either, because that layout can't represent that difference. They do something more complicated (they have to). So basically it's out of scope for what my macro is trying to

Re: About libdir for 64-bit

2013-07-18 Thread Thomas Jahns
On 07/17/13 22:11, Russ Allbery wrote: Probing sizeof(long) with the configure compiler does a fairly good job for the most common cases, which is why that's what the macro I posted does. In particular, it works for the common cases of -m32 and -m64 on hosts with both library paths. How does

Re: About libdir for 64-bit

2013-07-17 Thread Thomas Jahns
Hello, On 07/16/13 11:23, Sergio Belkin wrote: I have a configure.ac with following: AS_CASE([$host], [x86_64*|sparc64*|s390x*|ppc64*], [libdir=$prefix/lib64], [libdir=$prefix/lib]) how does this work for users having -m32 (gcc) or -q32 (xlc) set in their compiler flags? I'done it in