apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henry Jen <henry...@ztune.net>
Subject [PATCH] check libexpat when there is no libexpat.la or libexpat.a[for OpenSolaris]
Date Tue, 22 Aug 2006 20:46:56 GMT

Attached patch allows to build apr-util with system provided libexpat on 

On the machine, there is a expat.h and libexpat.so.* in /usr/sfw/include 
and /usr/sfw/lib. But there is no .a or .la file.

It should not be required to have a .la file, not to mention a .a file. 
.a is, afaik, an archive file for static link.

Attached patch use AC_CHECK_LIB to ensure a library can be found, and it 
uses a for loop to look into potential folders, currently I put lib and 
lib64 in there.


View raw message