Hello all, I have a module that can be run either under mod_perl 1 and 2. This works great when running and testing using Apache-Test, but the bit I'm having problems with is the install.
For it to run properly it needs either Apache::Constants or Apache2::Const. This is easy enough to figure out which one to pick at run time (or compile time) but I can't figure out a good way to do this at build time using either M::B or EU::MM so that the appropriate prerequs are followed or at least complained about. I thought about just putting them into the 'recommends' of Module::Build and then just letting the end user dork around with it, but this seems like a very unfriendly approach. As a side note, I know I can split it up into 2 different distributions using the 'Apache' and 'Apache2' names, but I really don't want to do that since 99% or the modules code is the same regardless of the platform. -- Michael Peters Developer Plus Three, LP