[EMAIL PROTECTED] (Stas Bekman) wrote:
>On Thu, 3 Aug 2000, Ken Williams wrote:
>
>> [EMAIL PROTECTED] (Geoffrey Young) wrote:
>> > From: Matt Sergeant [mailto:[EMAIL PROTECTED]]
>> >> Which raises an interesting question... Is there any way for
>> >> Makefile.PL to determin if a particular option was enabled at
>> >> mod_perl build time?
>> >
>> >I've tried to do this, but without success.  From what I can tell, you
>> >need a live server to tie into mod_perl::hooks() to get them, and
>> >that's the only way.  Hopefully, the stuff Ken Williams is doing with
>> >Apache::test will make writing live tests easier...
>> 
>> That would be a nice feature, yes.  I'm not sure how to look at an
>> apache binary with config file and figure out which mod_perl options it
>> was compiled with.  Anyone know whether this is possible, or would some
>> hacking have to be done first?
>
>Hmm, does this help:
>http://perl.apache.org/guide/install.html#Discovering_whether_some_option_

I hadn't thought of that, but as the guide mentions it won't work for
stripped binaries (which is the most common case, apparently).  I'd like
something general that I can put into Apache::test to allow people to
integrate a check like this into their modules' installation procedures.



Reply via email to