Lines 1-6
Link Here
|
1 |
--- Makefile.PL.orig Sat Mar 1 09:16:07 2003 |
1 |
--- Makefile.PL.orig Sat Oct 18 12:27:13 2003 |
2 |
+++ Makefile.PL Sat Mar 1 09:17:19 2003 |
2 |
+++ Makefile.PL Sat Oct 18 12:28:18 2003 |
3 |
@@ -6,26 +6,26 @@ |
3 |
@@ -6,22 +6,23 @@ |
4 |
import SpeedyMake qw(%write_makefile_common); |
4 |
import SpeedyMake qw(%write_makefile_common); |
5 |
} |
5 |
} |
6 |
|
6 |
|
Lines 29-65
Link Here
|
29 |
|
29 |
|
30 |
my @dirs = qw(src speedy_backend speedy); |
30 |
my @dirs = qw(src speedy_backend speedy); |
31 |
my $macro = $write_makefile_common{macro}; |
31 |
my $macro = $write_makefile_common{macro}; |
|
|
32 |
my $apache_module = 0; |
32 |
-if (<STDIN> =~ /y/i) { |
33 |
-if (<STDIN> =~ /y/i) { |
33 |
- die "ERROR: Could not find a working copy of 'apxs' in your path.\n" |
|
|
34 |
- unless $macro->{APACHE_APXS_WORKS}; |
35 |
- print "Compiling for Apache version $macro->{APACHE_VERSION}\n"; |
36 |
- push(@dirs, $macro->{MOD_SPEEDYCGI_DIR}); |
37 |
-} |
38 |
+#if (<STDIN> =~ /y/i) { |
34 |
+#if (<STDIN> =~ /y/i) { |
39 |
+# die "ERROR: Could not find a working copy of 'apxs' in your path.\n" |
35 |
+unless ($ENV{WITHOUT_APACHE}) { |
40 |
+# unless $macro->{APACHE_APXS_WORKS}; |
36 |
die "ERROR: Command 'apxs -q CC' failed.\n" |
41 |
+# print "Compiling for Apache version $macro->{APACHE_VERSION}\n"; |
37 |
unless $macro->{APACHE_APXS_WORKS}; |
42 |
+# push(@dirs, $macro->{MOD_SPEEDYCGI_DIR}); |
38 |
print "Compiling for Apache version $macro->{APACHE_VERSION}\n"; |
43 |
+#} |
|
|
44 |
|
45 |
WriteMakefile( |
46 |
NAME => 'CGI::SpeedyCGI', |
47 |
@@ -47,12 +47,12 @@ |
48 |
sub postamble { |
49 |
my $extra = SpeedyMake->optdefs_cmds('src'); |
50 |
my $test_install_extra; |
51 |
- if (my $mod_dir = $macro->{MOD_SPEEDYCGI_DIR}) { |
52 |
- $extra .= |
53 |
- "\ninstall ::\n\tcd $mod_dir && \$(MAKE) install\n"; |
54 |
- $test_install_extra = |
55 |
- "\t\@cd $mod_dir && \$(MAKE) test_install \$(PASTHRU)\n"; |
56 |
- } |
57 |
+# if (my $mod_dir = $macro->{MOD_SPEEDYCGI_DIR}) { |
58 |
+# $extra .= |
59 |
+# "\ninstall ::\n\tcd $mod_dir && \$(MAKE) install\n"; |
60 |
+# $test_install_extra = |
61 |
+# "\t\@cd $mod_dir && \$(MAKE) test_install \$(PASTHRU)\n"; |
62 |
+# } |
63 |
|
64 |
' |
65 |
test_install: |