You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Henry Jen <he...@ztune.net> on 2006/08/22 22:46:56 UTC

[PATCH] check libexpat when there is no libexpat.la or libexpat.a[for OpenSolaris]

Hi,

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

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.

Cheers,
Henry