perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip M. Gollucci" <>
Subject 2.3.x (httpd trunk)
Date Tue, 16 May 2006 18:02:00 GMT
Hi all,

If you've been following bnicholes rework of AAA yet again, its looking good, 
but thinks have moved and mod_perl2 no longer compiles against the httpd-trunk.

I believe I can fix this one, but I've got a few questions.

First, I need to add the missing include to modperl_constants.[ch] or 
modperl_const.h -- I picked modperl_constants.c because AFAIK, they are not 
referenced outside that file. (diff at end)

My current problem is how do I tweak the generation of

to be conditional on the function list based on httpd version ?

Obviously the function has to be there for pre 2.3.0 and not for 2.3.0+

On another note, 'Order', 'Allow', 'Deny' are disappearing too and 
mod_auth_comat.h was added for back compat.

I'll fix the line wrap before a commit.

modperl/trunk/lib/ModPerl 18>svn diff
---     (revision 406886)
+++     (working copy)
@@ -791,7 +791,10 @@
      my ($self, $h_fh, $c_fh) = @_;

      require Apache2::ConstantsTable;
+    print $c_fh qq{\#if AP_SERVER_MAJORVERSION_NUMBER>2 || 
+    print $c_fh qq{\#include "mod_auth.h"\n};
+    print $c_fh qq{\#endif /* ! 2.3.x+ */\n\n};
      print $c_fh qq{\#include "modperl_const.h"\n};
      print $h_fh "#define MP_ENOCONST -3\n\n";

Philip M. Gollucci ( 323.219.4708
Consultant /
Senior Software Engineer - TicketMaster -
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

"It takes a minute to have a crush on someone, an hour to like someone,
and a day to love someone, but it takes a lifetime to forget someone..."

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message