We have been using a CVS snapshot of log4cxx built using the ant build.xml 
file, where by default liblog4cxx is built as a shared lib that links with the 
static versions of libapr-1 and libaprutil-1.

Because we now have to build for some target boards using a custom compiler 
that is not recognized by ant as being a valid compiler, we had to resort to 
building log4cxx using autotools.  Now the problem:  when building with 
autotools, how do we build a shared version of log4cxx that uses static apr-1 
and aprutil-1 libs?  All I've been able to manage so far is a shared version of 
log4cxx that requires shared versions of apr-1 and aprutil-1 as well.  I tried 
hacking the Makefile to no avail.  Is there some magic incantation of the 
configure command that will do what I want?

Reply via email to