Mailing List Archive

cvs commit: modperl/ModuleConfig Makefile.PL ModuleConfig.pm
dougm 98/05/09 21:05:06

Added: ModuleConfig Makefile.PL ModuleConfig.pm
Log:
the Perl half

Revision Changes Path
1.1 modperl/ModuleConfig/Makefile.PL

Index: Makefile.PL
===================================================================
use ExtUtils::MakeMaker;
use Config;

$apache_1_3_inc = join ' ', map {
join '', ' -I../$(APACHE_SRC)/', $_, ' -I$(APACHE_SRC)/', $_;
} qw(include main os/unix);

WriteMakefile(
NAME => "Apache::ModuleConfig",
VERSION_FROM => "ModuleConfig.pm",
INC => '-I../src -I../src/modules/perl -I$(APACHE_SRC) -I../$(APACHE_SRC) '.$apache_1_3_inc,
);




1.1 modperl/ModuleConfig/ModuleConfig.pm

Index: ModuleConfig.pm
===================================================================
package Apache::ModuleConfig;
use strict;
$Apache::ModuleConfig::VERSION = "0.01";

unless(defined &bootstrap) {
require DynaLoader;
@Apache::ModuleConfig::ISA = qw(DynaLoader);
}

if($ENV{MOD_PERL}) {
__PACKAGE__->bootstrap;
}

1;

__END__