summaryrefslogtreecommitdiff
path: root/www/SpeedyCGI/patches/patch-aa
blob: 176b5a60fb3d657525259a8eeba90ed5d6a35c1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
$NetBSD: patch-aa,v 1.1.1.1 2004/06/22 21:34:51 adrianp Exp $

--- Makefile.PL.orig	Sun Oct  5 07:40:46 2003
+++ Makefile.PL	Thu Apr 15 18:35:06 2004
@@ -6,28 +6,9 @@
     import SpeedyMake qw(%write_makefile_common);
 }
 
-print <<END;
-
-Optional mod_speedycgi support.
-
-Mod_speedycgi increases performance under Apache by avoiding the fork/exec
-overhead associated with each request under normal SpeedyCGI.  However, it
-requires a working copy of "apxs" in your path, Apache with mod_so
-support, and additional Apache configuration.
-
-END
-print "Compile mod_speedycgi (default no)? ";
-
 my @dirs = qw(src speedy_backend speedy);
 my $macro = $write_makefile_common{macro};
 my $apache_module = 0;
-if (<STDIN> =~ /y/i) {
-    die "ERROR: Command 'apxs -q CC' failed.\n"
-	unless $macro->{APACHE_APXS_WORKS};
-    print "Compiling for Apache version $macro->{APACHE_VERSION}\n";
-    push(@dirs, $macro->{MOD_SPEEDYCGI_DIR});
-    $apache_module = 1;
-}
 
 WriteMakefile(
     NAME		=> 'CGI::SpeedyCGI',