]> git.pld-linux.org Git - packages/apache.git/blobdiff - apache-apxs.patch
- updated manual files
[packages/apache.git] / apache-apxs.patch
index fdc2bee0a673eb3b63c19858fdc163a8c1d4847c..2c025c6774d5bac8a044a82af0d689da8f5673a5 100644 (file)
@@ -1,25 +1,26 @@
---- apache_1.3.9/src/support/apxs.pl.apxs      Sat Jul 24 14:05:02 1999
-+++ apache_1.3.9/src/support/apxs.pl   Fri Aug 27 11:28:09 1999
-@@ -92,15 +92,15 @@
- ##  Initial shared object support check
- ##
- if (not -x "$CFG_SBINDIR/$CFG_TARGET") {
--      print STDERR "apxs:Error: $CFG_SBINDIR/$CFG_TARGET not found or not executable\n";
--      exit(1);
-+      print STDERR "apxs:Warning: $CFG_SBINDIR/$CFG_TARGET not found or not executable\n";
-+      print STDERR "apxs:Warning: Continuing anyway...\n";
+--- httpd-2.0.50/support/apxs.in.orig  2004-07-25 21:25:37.955097000 +0000
++++ httpd-2.0.50/support/apxs.in       2004-07-25 22:25:01.093725664 +0000
+@@ -198,11 +198,10 @@
+     ($httpd = $0) =~ s:support/apxs$::;
  }
- if (not grep(/mod_so/, `$CFG_SBINDIR/$CFG_TARGET -l`)) {
--    print STDERR "apxs:Error: Sorry, no shared object support for Apache\n";
--    print STDERR "apxs:Error: available under your platform. Make sure\n";
--    print STDERR "apxs:Error: the Apache module mod_so is compiled into\n";
--    print STDERR "apxs:Error: your server binary `$CFG_SBINDIR/$CFG_TARGET'.\n";
--    exit(1);
-+    print STDERR "apxs:Warning: No shared object support for Apache\n";
-+    print STDERR "apxs:Warning: available under your platform. Make sure\n";
-+    print STDERR "apxs:Warning: the Apache module mod_so is compiled into\n";
-+    print STDERR "apxs:Warning: your server binary `$CFG_SBINDIR/$CFG_TARGET'.\n";
-+    print STDERR "apsx:Warning: Continuing anyway...\n";
+-unless (-x "$httpd") {
+-      error("$httpd not found or not executable");
+-      exit 1;
++if (not -x "$httpd") {
++      print STDERR "Note: $httpd not found or not executable.\n";
+ }
+-
++else {
+ unless (grep /mod_so/, `. $envvars && $httpd -l`) {
+     error("Sorry, no shared object support for Apache");
+     error("available under your platform. Make sure");
+@@ -210,7 +209,7 @@
+     error("your server binary `$httpd'.");
+     exit 1;
  }
+-
++}
+ sub get_config_vars{
+     my ($file, $rh_config) = @_;
  
- ##
This page took 0.030646 seconds and 4 git commands to generate.