]> git.pld-linux.org Git - packages/apache1.git/blame - apache1-apxs.patch
- add missing config reload for -defaultindex
[packages/apache1.git] / apache1-apxs.patch
CommitLineData
0f05f0de
JB
1--- apache_1.3.11/src/support/apxs.pl.apxs Thu Dec 16 17:10:30 1999
2+++ apache_1.3.11/src/support/apxs.pl Tue Jan 25 01:19:16 2000
3@@ -1,4 +1,4 @@
4-#!/usr/local/bin/perl
5+#!/usr/bin/perl
6db325ca
JB
6 #
7 # Copyright 1999-2004 The Apache Software Foundation
8 #
8b6b08ac 9@@ -220,15 +220,14 @@
0f05f0de
JB
10 ## Initial DSO support check
11 ##
12 if (not -x "$CFG_SBINDIR/$CFG_TARGET") {
13- print STDERR "apxs:Error: $CFG_SBINDIR/$CFG_TARGET not found or not executable\n";
14- exit(1);
8b6b08ac 15+ print STDERR "apxs:Note: $CFG_SBINDIR/$CFG_TARGET not found or not executable\n";
0f05f0de 16 }
8b6b08ac 17-if (not grep(/mod_so/, `$CFG_SBINDIR/$CFG_TARGET -l`)) {
0f05f0de
JB
18- print STDERR "apxs:Error: Sorry, no DSO support for Apache available\n";
19- print STDERR "apxs:Error: under your platform. Make sure the Apache\n";
20- print STDERR "apxs:Error: module mod_so is compiled into your server\n";
21- print STDERR "apxs:Error: binary `$CFG_SBINDIR/$CFG_TARGET'.\n";
22- exit(1);
8b6b08ac 23+else { if (not grep(/mod_so/, `$CFG_SBINDIR/$CFG_TARGET -l`)) {
0f05f0de
JB
24+ print STDERR "apxs:Warning: Sorry, no DSO support for Apache available\n";
25+ print STDERR "apxs:Warning: under your platform. Make sure the Apache\n";
26+ print STDERR "apxs:Warning: module mod_so is compiled into your server\n";
27+ print STDERR "apxs:Warning: binary `$CFG_SBINDIR/$CFG_TARGET'.\n";
8b6b08ac 28+ print STDERR "apxs:Warning: Continuing anyway...\n"; }
0f05f0de
JB
29 }
30
31 ##
This page took 0.214059 seconds and 4 git commands to generate.