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;
 }
 
--- 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;
 }
 
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to