[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mason-cvs
Subject:    [Mason-checkins] CVS: mason/dist Build.PL,1.21,1.22
From:       John Williams <sharkey3 () users ! sourceforge ! net>
Date:       2005-05-29 1:50:46
Message-ID: E1DcCww-0004k2-0j () sc8-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]

Update of /cvsroot/mason/mason/dist
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17438

Modified Files:
	Build.PL 
Log Message:
mod_perl2 renaming: need to check for mod_perl and mod_perl2 modules


Index: Build.PL
===================================================================
RCS file: /cvsroot/mason/mason/dist/Build.PL,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- Build.PL	31 Jan 2005 07:19:22 -0000	1.21
+++ Build.PL	29 May 2005 01:50:37 -0000	1.22
@@ -25,7 +25,9 @@
     $prereq{mod_perl} = 1.24;
 }
 
-my $has_only_mp2 = ! $has_mod_perl_1 && eval { require Apache2; 1; };
+eval { require mod_perl2 };
+my $has_mod_perl_2 = $@ ? 0 : 1;
+my $has_only_mp2 = ! $has_mod_perl_1 && $has_mod_perl_2;
 
 unless ( $@ || $^O =~ /mac|darwin/ || $has_only_mp2 )
 {



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Mason-checkins mailing list
Mason-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-checkins
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic