#include #include #define PREFIX "/usr" #define LIBDIR "/usr/lib" #define BOOST_PKG_CONFIG_DUMP #include TEST_HEADER int main() { std::cout << "prefix=" << PREFIX << std::endl; std::cout << "exec_prefix=${prefix}" << std::endl; std::cout << "libdir=" << LIBDIR << std::endl; std::cout << "includedir=${prefix}/include" << std::endl; std::cout << std::endl; std::cout << "Name: " << TEST_LIBRARY << std::endl; std::cout << "Description: Boost C++ libraries (" << TEST_LIBRARY << ")" << std::endl; std::cout << "Version: " << BOOST_VERSION / 100000 << "." << BOOST_VERSION / 100 % 1000 << "." << BOOST_VERSION % 100 << std::endl; std::cout << "Libs: -L${libdir}"; for (std::vector::const_iterator i = boost::pkg_config::library_list::list.begin(); i != boost::pkg_config::library_list::list.end(); ++i) std::cout << " -l" << *i; std::cout << std::endl; std::cout << "Cflags: -I${includedir}" << std::endl; }