dougm       02/05/19 12:08:11

  Modified:    .        Makefile.PL README
  Log:
  require Apache/2.0.36 or higher
  
  Revision  Changes    Path
  1.79      +9 -0      modperl-2.0/Makefile.PL
  
  Index: Makefile.PL
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/Makefile.PL,v
  retrieving revision 1.78
  retrieving revision 1.79
  diff -u -r1.78 -r1.79
  --- Makefile.PL       14 May 2002 23:14:35 -0000      1.78
  +++ Makefile.PL       19 May 2002 19:08:11 -0000      1.79
  @@ -2,6 +2,8 @@
   use strict;
   use warnings FATAL => 'all';
   
  +my $min_httpd_version = '2.0.36';
  +
   my($old_modperl_version, $old_modperl_pm);
   
   BEGIN {
  @@ -131,6 +133,7 @@
               my $mmn = $build->module_magic_number;
               my $v   = $build->httpd_version;
               next unless $v;
  +            next if $v lt $min_httpd_version;
               last if $build->prompt_y("Configure mod_perl with $path?");
           }
       }
  @@ -145,6 +148,12 @@
           else {
               error 'Please specify MP_APXS or MP_AP_PREFIX.';
           }
  +        exit(1);
  +    }
  +
  +    if ($httpd_version lt $min_httpd_version) {
  +        error "Apache/$httpd_version not supported, " .
  +              "$min_httpd_version or higher is required";
           exit(1);
       }
   
  
  
  
  1.5       +1 -1      modperl-2.0/README
  
  Index: README
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/README,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- README    19 May 2002 09:33:03 -0000      1.4
  +++ README    19 May 2002 19:08:11 -0000      1.5
  @@ -1,6 +1,6 @@
   This is mod_perl version 2.0-tobe
   
  -Apache version 2.0.37 or higher is required.
  +Apache version 2.0.36 or higher is required.
   
   Perl version 5.6.0 or higher is required.
   
  
  
  


Reply via email to