On Thu, Aug 11, 2005 at 03:06:51PM +0200, Andreas Steinmetz wrote: > Hu, Xuekun wrote: ... > > Since this is 64 bit, libexpat.la should be reference to /usr/lib64 > > instead of /usr/lib. ... > > > > Since some Linux (64bit) distributions maybe have lib/libexpat.la file, > > so I put the lib64 check early. Any comments? > > I think it will help. It solves the problem in most cases but not if > somebody wants to build a 32bit apache on AMD64 which can happen with > respect to third party modules. Any auto* tools guru?
Right; re-ordering the tests just breaks the 32-bit build on a biarch platform (be that "gcc -m32" on x86_64 or just plain "gcc" on ppc) "rpm --erase expat-devel.i386" is the workaround I'd recommend. joe