]> git.pld-linux.org Git - packages/apache.git/blobdiff - apache-apxs.patch
- revert wrong branch commit (update to 2.3.6, now tagged as DEVEL)
[packages/apache.git] / apache-apxs.patch
index 9cabf9c93c9efbae14b3b43165ac08839c9806b3..7ee05ad5f39e894e694ab40a89bf2e82870cce7d 100644 (file)
                print STDERR "apxs:Error: no config variable $var\n";
                &usage;
            }
+@@ -199,11 +201,10 @@
+     ($httpd = $0) =~ s:support/apxs$::;
+ }
+-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");
+@@ -211,7 +212,7 @@
+     error("your server binary `$httpd'.");
+     exit 1;
+ }
+-
++}
+ sub get_config_vars{
+     my ($file, $rh_config) = @_;
 @@ -479,8 +480,8 @@
          $t =~ s|\.[^./\\]+$|\.so|;
          if ($opt_i) {
This page took 0.03035 seconds and 4 git commands to generate.