perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@hyperreal.org
Subject cvs commit: modperl Makefile.PL
Date Tue, 15 Sep 1998 14:24:39 GMT
dougm       98/09/15 07:24:39

  Modified:    .        Makefile.PL
  Log:
  allow multiple APACI_ARGS lines in .makepl_args.mod_perl
  
  Revision  Changes    Path
  1.92      +11 -1     modperl/Makefile.PL
  
  Index: Makefile.PL
  ===================================================================
  RCS file: /export/home/cvs/modperl/Makefile.PL,v
  retrieving revision 1.91
  retrieving revision 1.92
  diff -u -r1.91 -r1.92
  --- Makefile.PL	1998/09/02 18:58:49	1.91
  +++ Makefile.PL	1998/09/15 14:24:38	1.92
  @@ -141,6 +141,7 @@
   $USE_APACI = $USE_DSO = $USE_APXS = 0;
   $WITH_APXS = "";
   $APACI_ARGS = "";
  +@APACI_ARGS = ();
   $EVERYTHING = $EXPERIMENTAL = 0;
   $PERL_DEBUG = "";
   $PERL_DESTRUCT_LEVEL = "";
  @@ -249,9 +250,18 @@
   	    s/^\s+//; s/\s+$//;
   	    next if /^#/ || /^$/;
   	    last if /^__END__/;
  -	    unshift @ARGV, split /\s+/, $_;
  +	    if(/^APACI_ARGS/) { 
  +		s/^APACI_ARGS=//;
  +		push @APACI_ARGS, $_;
  +	    }
  +	    else {
  +		unshift @ARGV, split /\s+/, $_;
  +	    }
   	}
   	close $fh;
  +    }
  +    if(@APACI_ARGS) {
  +	unshift @ARGV, "APACI_ARGS=" . join(",", @APACI_ARGS); 
       }
   }
   
  
  
  

Mime
View raw message