stas 2003/08/08 18:51:46
Modified: . Makefile.PL Log: as perl_version_check now needs to rely on apxs to be setup, move it to be executed after configure() Revision Changes Path 1.118 +2 -3 modperl-2.0/Makefile.PL Index: Makefile.PL =================================================================== RCS file: /home/cvs/modperl-2.0/Makefile.PL,v retrieving revision 1.117 retrieving revision 1.118 diff -u -r1.117 -r1.118 --- Makefile.PL 9 Aug 2003 01:47:06 -0000 1.117 +++ Makefile.PL 9 Aug 2003 01:51:46 -0000 1.118 @@ -42,12 +42,10 @@ our $VERSION; my $build = Apache::Build->new(init => 1); - -perl_version_check($build); - my $code = ModPerl::Code->new; configure(); +perl_version_check($build); local %ModPerl::BuildMM::PM = ( 'lib/typemap' => 'blib/lib/Apache2/typemap', @@ -325,6 +323,7 @@ $build->{VERSION} = $VERSION; } +# needs to be run after configure() when apxs is setup sub perl_version_check { my $build = shift;