You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Vallimar <va...@sexorcisto.net> on 2002/09/27 01:33:33 UTC

mod_perl and apache 2.0.42

Hello, I had an issue getting the two to work, a little
investigation showed that my headers were installed in
a different place, here is a patch against 2.0 that
resolved it.  Just in case anyone finds it usefull.


--- mod_perl-2.0/lib/Apache/Build.orig	2002-09-26 19:29:16.000000000 -0400
+++ mod_perl-2.0/lib/Apache/Build.pm	2002-09-26 19:23:40.000000000 -0400
@@ -641,6 +641,10 @@
         return $self->{ap_includedir} = "$d/include";
     }
 
+    if (-e "$d/ap_release.h") {
+    	return $self->{ap_includedir} = "$d/";
+    }
+
     $self->{ap_includedir} = $d;
 }