]> git.pld-linux.org Git - packages/apache1.git/blame - apache1-apxs.patch
rel 15; builds
[packages/apache1.git] / apache1-apxs.patch
CommitLineData
35b2c95a
AM
1diff -urNp -x '*.orig' apache_1.3.42.org/src/support/apxs.pl apache_1.3.42/src/support/apxs.pl
2--- apache_1.3.42.org/src/support/apxs.pl 2006-07-12 10:16:05.000000000 +0200
3+++ apache_1.3.42/src/support/apxs.pl 2023-02-02 22:41:54.629834912 +0100
0f05f0de
JB
4@@ -1,4 +1,4 @@
5-#!/usr/local/bin/perl
6+#!/usr/bin/perl
6db325ca 7 #
35b2c95a
AM
8 # Licensed to the Apache Software Foundation (ASF) under one or more
9 # contributor license agreements. See the NOTICE file distributed with
10@@ -188,15 +188,14 @@ if (@opt_S) {
0f05f0de 11 ##
35b2c95a 12 if ($^O ne "MSWin32") {
0f05f0de
JB
13 if (not -x "$CFG_SBINDIR/$CFG_TARGET") {
14- print STDERR "apxs:Error: $CFG_SBINDIR/$CFG_TARGET not found or not executable\n";
15- exit(1);
8b6b08ac 16+ print STDERR "apxs:Note: $CFG_SBINDIR/$CFG_TARGET not found or not executable\n";
0f05f0de 17 }
8b6b08ac 18-if (not grep(/mod_so/, `$CFG_SBINDIR/$CFG_TARGET -l`)) {
0f05f0de
JB
19- print STDERR "apxs:Error: Sorry, no DSO support for Apache available\n";
20- print STDERR "apxs:Error: under your platform. Make sure the Apache\n";
21- print STDERR "apxs:Error: module mod_so is compiled into your server\n";
22- print STDERR "apxs:Error: binary `$CFG_SBINDIR/$CFG_TARGET'.\n";
23- exit(1);
8b6b08ac 24+else { if (not grep(/mod_so/, `$CFG_SBINDIR/$CFG_TARGET -l`)) {
0f05f0de
JB
25+ print STDERR "apxs:Warning: Sorry, no DSO support for Apache available\n";
26+ print STDERR "apxs:Warning: under your platform. Make sure the Apache\n";
27+ print STDERR "apxs:Warning: module mod_so is compiled into your server\n";
28+ print STDERR "apxs:Warning: binary `$CFG_SBINDIR/$CFG_TARGET'.\n";
8b6b08ac 29+ print STDERR "apxs:Warning: Continuing anyway...\n"; }
0f05f0de 30 }
35b2c95a 31 }
0f05f0de 32
This page took 0.128917 seconds and 4 git commands to generate.