On Thu, 18 Jan 2001, Matt Sergeant wrote:

> I know we've been over this before, but I think I've forgotten!
> 
> How do I detect if Apache::Log got compiled in a module's Makefile.PL ?
> 
> I can't do eval("use Apache::Log;") because Apache/Log.pm gets installed
> regardless, its just that the Log.so doesn't get compiled. So, how do I do
> it?

with current cvs:

use Apache::MyConfig ();
if ($Apache::MyConfig::Setup{PERL_LOG_API}) { ... }



Reply via email to