aboutsummaryrefslogtreecommitdiff
path: root/Makefile.PL
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2019-08-26 10:36:31 +0300
committerSergey Poznyakoff <gray@gnu.org>2019-08-26 10:58:10 +0300
commit5d0c176c8f14151e54959bd898df69c82b5289c0 (patch)
tree67b916f75d8359892bab6a36efa8415e197ed9f3 /Makefile.PL
parentf20aed261b6fcf97ab070dd743aba8ee6cd0e39c (diff)
downloadacmeman-5d0c176c8f14151e54959bd898df69c82b5289c0.tar.gz
acmeman-5d0c176c8f14151e54959bd898df69c82b5289c0.tar.bz2
Rewrite the Apache source support using Apache::Config::Preproc module
This enables acmeman to handle complex Apache configurations with lots of includes and eventual macros. * Makefile.PL: Require Apache::Defaults and Apache::Config::Preproc` * acmeman: Don't use the -w perl option. All acmeman sources use warnings, so they don't need it. Underlying modules, however, may emit warnings. In particular, Apache::Admin::Config is know to emit lots of warnings about undefined $_[0] being used in concatenation (in Apache/Admin/Config.pm:443). These are bening and completely out of my control. Eliminating the -w option suppresses them. * lib/App/Acmeman/Source/Apache.pm: Rewrite using Apache::Config::Preproc * lib/App/Acmeman/Config.pm (mangle): Raise error flag if the configure method fails.
Diffstat (limited to 'Makefile.PL')
-rw-r--r--Makefile.PL4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.PL b/Makefile.PL
index 8976da9..846d342 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -32,7 +32,9 @@ my %makefile_args = (
'Text::ParseWords' => 3.27,
'Data::Dumper' => 0,
'Socket' => 0,
- 'Sys::Hostname' => 1.16
+ 'Sys::Hostname' => 1.16,
+ 'Apache::Defaults' => 1.02,
+ 'Apache::Config::Preproc' => 1.03
},
MIN_PERL_VERSION => 5.006,

Return to:

Send suggestions and report system problems to the System administrator.