diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2019-08-26 10:36:31 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2019-08-26 10:58:10 +0300 |
commit | 5d0c176c8f14151e54959bd898df69c82b5289c0 (patch) | |
tree | 67b916f75d8359892bab6a36efa8415e197ed9f3 /acmeman | |
parent | f20aed261b6fcf97ab070dd743aba8ee6cd0e39c (diff) | |
download | acmeman-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 'acmeman')
-rwxr-xr-x | acmeman | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,6 +1,6 @@ #!/bin/sh #! -*-perl-*- -eval 'exec perl -x -wS $0 ${1+"$@"}' +eval 'exec perl -x -S $0 ${1+"$@"}' if 0; use strict; |