]> git.pld-linux.org Git - packages/apache.git/blob - apache-apxs.patch
- manual docs autofinding
[packages/apache.git] / apache-apxs.patch
1 --- httpd-2.0.50/support/apxs.in.orig   2004-07-25 21:25:37.955097000 +0000
2 +++ httpd-2.0.50/support/apxs.in        2004-07-25 22:25:01.093725664 +0000
3 @@ -198,11 +198,10 @@
4      ($httpd = $0) =~ s:support/apxs$::;
5  }
6  
7 -unless (-x "$httpd") {
8 -       error("$httpd not found or not executable");
9 -       exit 1;
10 +if (not -x "$httpd") {
11 +       print STDERR "Note: $httpd not found or not executable.\n";
12  }
13 -
14 +else {
15  unless (grep /mod_so/, `. $envvars && $httpd -l`) {
16      error("Sorry, no shared object support for Apache");
17      error("available under your platform. Make sure");
18 @@ -210,7 +209,7 @@
19      error("your server binary `$httpd'.");
20      exit 1;
21  }
22 -
23 +}
24  sub get_config_vars{
25      my ($file, $rh_config) = @_;
26  
This page took 0.052225 seconds and 3 git commands to generate.