apache-mod_perl/0009-Parse-PROXY-constants-and-search-for-APR_INCLUDEDIR-.patch

36 lines
1.1 KiB
Diff
Raw Normal View History

From 6ea1a75b3c595d5f5dc65095de1d81a12d38ccbf Mon Sep 17 00:00:00 2001
From: Jan Kaluza <hanzz.k@gmail.com>
Date: Wed, 25 Jul 2012 09:54:50 +0200
Subject: [PATCH 09/28] Parse PROXY* constants and search for APR_INCLUDEDIR
instead of INCLUDEDIR
---
lib/Apache2/ParseSource.pm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/Apache2/ParseSource.pm b/lib/Apache2/ParseSource.pm
index f35c2a8..4e7cc08 100644
--- a/lib/Apache2/ParseSource.pm
+++ b/lib/Apache2/ParseSource.pm
@@ -115,7 +115,7 @@ sub scan {
sub include_dirs {
my $self = shift;
- ($self->config->apxs('-q' => 'INCLUDEDIR'),
+ ($self->config->apxs('-q' => 'APR_INCLUDEDIR'),
$self->config->mp_include_dir);
}
@@ -230,7 +230,7 @@ sub generate_cscan_file {
my %defines_wanted = (
'Apache2::Const' => {
- common => [qw{OK DECLINED DONE}],
+ common => [qw{OK DECLINED DONE PROXYREQ PROXYREQ_REVERSE}],
config => [qw{DECLINE_CMD}],
context => [qw(NOT_IN_ GLOBAL_ONLY)],
http => [qw{HTTP_}],
--
1.7.11.4