httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: cvs commit: httpd-apreq-2/glue/perl/xsbuilder/Apache/Request Request_pm
Date Wed, 07 Apr 2004 02:41:26 GMT
Joe Schaefer wrote:
> Stas Bekman <stas@stason.org> writes:
> 
> [...]
> 
> 
>>But I think we should nuke that 1.x part while we don't support 1.x,
>>since it'll only confuse users if they get to load Apache::Request
>>built for mp1 from their mp2 server.
> 
> 
> +1.

Please commit it, as I can't use cvs at the moment. Thanks!

Index: build/xsbuilder.pl
===================================================================
RCS file: /home/cvs/httpd-apreq-2/build/xsbuilder.pl,v
retrieving revision 1.22
diff -u -r1.22 xsbuilder.pl
--- build/xsbuilder.pl  5 Apr 2004 22:44:30 -0000       1.22
+++ build/xsbuilder.pl  7 Apr 2004 02:02:24 -0000
@@ -256,14 +256,10 @@
      my $env = __PACKAGE__->env || '';
      if ($mod_perl::VERSION > 1.99) {
          die __PACKAGE__ . ": httpd must load mod_apreq.so first"
-               if $env ne "Apache::RequestRec";
-    }
-    elsif ($mod_perl::VERSION > 1.24) {
-        die __PACKAGE__ . ": httpd must load mod_apreq1.so first"
-              if $env ne "Apache";
+            if $env ne "Apache::RequestRec";
      }
      else {
-       die "Unrecognized mod_perl version number: $modperl::VERSION";
+        die "Unsupported mod_perl version number: $modperl::VERSION";
      }
  }
  EOF

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Mime
View raw message