head     1.1;
branch   1.1.1;
access   ;
symbols  start:1.1.1.1 source:1.1.1;
locks    ; strict;
comment  @# @;


1.1
date     2002.08.14.03.06.17;  author pools2;  state Exp;
branches 1.1.1.1;
next     ;

1.1.1.1
date     2002.08.14.03.06.17;  author pools2;  state Exp;
branches ;
next     ;


desc
@@



1.1
log
@Initial revision
@
text
@#!perl

# Create a Configuration.lint with every Module except for the modules
# specified in the 'isbad' subroutine.

sub isbad
{
    local($module) = @@_;
    return 1 if $module =~ /mod_dld/;
    return 1 if $module =~ /mod_dld/;
    return 1 if $module =~ /mod_auth_msql/;
    return 1 if $module =~ /mod_example/;

    return 0;
}

open(TMPL, "Configuration.tmpl") || die "can't open Configuration.tmpl: $!";
open(LINT, ">Configuration.lint") || die "can't write Configuration.link: $!";

while(<TMPL>)
{
    next if /^$/;
    print LINT if /^[^#]/;
    if(/^# AddModule\s+(.*)$/)
    {
	   $module = $1;
	   print LINT "AddModule $module\n" if ! &isbad($module);
    }
}
close(TMPL);
close(LINT);
@


1.1.1.1
log
@Apache Easy 0.0.1
@
text
@@
