On Thursday 15 March 2012 02:07:19 Darrell Anderson wrote:
I'll try
the pkg_search_module( APR apr-1 ) approach
and see if that works as
well.
Write an if-else test for the apr pc file. If apr-1.0 was hard coded then
some distros must install apr that way. So both tests must occur.
Darrell
I'm against agressive searching. Is much easier to fix a compilation failure
than to hunt strange bugs generated by a wrong detection.
So, my advice is to use pkgconfig system when is possible.
--
Serghei