1999-05-10 12:20:28 +00:00
|
|
|
--- Makefile.PL~ Fri Jan 22 11:57:51 1999
|
|
|
|
+++ Makefile.PL Sun May 9 19:41:55 1999
|
|
|
|
@@ -67,12 +67,10 @@
|
|
|
|
sleep(1);
|
|
|
|
}
|
1997-05-05 00:41:07 +00:00
|
|
|
|
1999-05-10 12:20:28 +00:00
|
|
|
-%Apache::MyConfig::Setup = ();
|
|
|
|
-eval 'require Apache::MyConfig' ;
|
1997-05-05 00:41:07 +00:00
|
|
|
-
|
1998-01-25 16:33:39 +00:00
|
|
|
-$APACHE_SRC_DEFAULT = $@ ?
|
|
|
|
- '../apache_x.x/src' :
|
|
|
|
- $Apache::MyConfig::Setup{Apache_Src} ;
|
1999-02-20 06:26:06 +00:00
|
|
|
+opendir( WRKDIR, "$ENV{APACHEDIR}" ) || die( "Can't open $ENV{APACHEDIR}: $!\n" );
|
1997-05-05 00:41:07 +00:00
|
|
|
+( $srcdir ) = grep( /^apache/, readdir( WRKDIR ) );
|
|
|
|
+closedir( WRKDIR );
|
1999-02-20 06:26:06 +00:00
|
|
|
+$APACHE_SRC_DEFAULT = "$ENV{APACHEDIR}" . $srcdir . "/src";
|
1997-05-05 00:41:07 +00:00
|
|
|
|
|
|
|
my $PWD = cwd;
|
1999-05-10 12:20:28 +00:00
|
|
|
|
|
|
|
@@ -157,12 +155,12 @@
|
|
|
|
}
|
|
|
|
$PORT ||= $Port;
|
|
|
|
$TARGET = "";
|
1998-01-25 16:33:39 +00:00
|
|
|
-$DO_HTTPD = $ENV{DO_HTTPD} || 0;
|
|
|
|
+$DO_HTTPD = 1;
|
|
|
|
$NO_HTTPD = $ENV{NO_HTTPD} || 0;
|
1999-05-10 12:20:28 +00:00
|
|
|
$PREP_HTTPD = 0;
|
1998-01-25 16:33:39 +00:00
|
|
|
$PERL_TRACE = 0;
|
|
|
|
$ALL_HOOKS = 0;
|
|
|
|
-$APACHE_SRC = "";
|
|
|
|
+$APACHE_SRC = $APACHE_SRC_DEFAULT;
|
1999-05-10 12:20:28 +00:00
|
|
|
$APACHE_PREFIX = "";
|
|
|
|
$APACHE_HEADER_INSTALL = 1;
|
1998-01-25 16:33:39 +00:00
|
|
|
$PERL_SECTIONS = 0;
|
1999-05-10 12:20:28 +00:00
|
|
|
@@ -1570,8 +1568,8 @@
|
|
|
|
my $repl = "";
|
|
|
|
my @file = ();
|
1998-01-25 16:33:39 +00:00
|
|
|
my $ccopts = ccopts();
|
|
|
|
- my $dssv = "-DSERVER_SUBVERSION";
|
1999-05-10 12:20:28 +00:00
|
|
|
- my $ssv = qq($dssv=\\"mod_perl/$VERSION\\" );
|
1998-01-25 16:33:39 +00:00
|
|
|
+ my $dssv = "\n-DSERVER_SUBVERSION";
|
1999-05-10 12:20:28 +00:00
|
|
|
+ my $ssv = qq($dssv=\\"mod_perl/$VERSION\\" \\);
|
|
|
|
|
|
|
|
my $inc = " $ccopts -I. -I../.. -DUSE_PERL_SSI" if $PERL_SSI;
|
|
|
|
$inc .= " -DAPACHE_SSL" if is_ssl() and $PERL_SSI;
|