I've written a library that has a dependency on libxml++ and curl and I am having a hard time figuring out how to use AC_CHECK_LIB on my library in another package I've written. The config.log file for the new package indicates that there are undefined references to curl_* and xmlpp::*.
I have PKG_CHECK_MODULES setup for libxml++ and curl in my newest package already, and those work, but they are apparently not available for the AC_CHECK_LIB call for my own library. (I have the checks for libxml++ and curl before the check for my own library)