Mailing List Archive

Makefile.PL diff
Hey I have a diff here to help smooth building with
apache 1.3.14. I did the APACI and HTTPD prep thing
for smooth building with modssl. Alas, I have no
cvs access, so here you go! -- Josh

perl Makefile.PL \
APACHE_SRC=../apache_1.3.14/src \
NO_HTTPD=1 \
USE_APACI=1 \
PREP_HTTPD=1 \
EVERYTHING=1

[root@gate mod_perl-1.24]# diff -uw Makefile.PL~ Makefile.PL
--- Makefile.PL~ Sun May 14 17:07:58 2000
+++ Makefile.PL Wed Nov 15 13:04:53 2000
@@ -455,7 +455,7 @@
print "Enter `q' to stop search\n";
while(1) {
print "Please tell me where I can find your apache src\n" ;
- $src_dir = prompt("", $APACHE_SRC_DEFAULT);
+ $src_dir = prompt("", $APACHE_SRC_DEFAULT || $APACHE_SRC);
last if $src_dir eq "q";
if(-d $src_dir) {
push(@adirs, $src_dir);
@@ -1497,6 +1497,7 @@
while(<$fh>) {
next unless /^#define/;
s/SERVER_PRODUCT \"/\"Apache/; #1.3.13+
+ s|SERVER_BASEREVISION \"|SERVER_BASEVERSION \"Apache/|; #1.3.14
next unless s/^#define\s+SERVER_(BASE|)VERSION\s+"(.*)\s*".*/$2/;
chomp($string = $_);