gozer 2004/09/21 13:02:31
Modified: ModPerl-Registry Makefile.PL
Log:
The push @Apache::TestMM::Argv trick comes back to allow Modperl-Registry
tests to pick up the statically build httpd (if static build)
Revision Changes Path
1.10 +6 -0 modperl-2.0/ModPerl-Registry/Makefile.PL
Index: Makefile.PL
===================================================================
RCS file: /home/cvs/modperl-2.0/ModPerl-Registry/Makefile.PL,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- Makefile.PL 20 May 2003 06:03:46 -0000 1.9
+++ Makefile.PL 21 Sep 2004 20:02:31 -0000 1.10
@@ -7,6 +7,7 @@
use ModPerl::BuildMM ();
use Apache::TestSmokePerl ();
+use Apache::Build ();
# enable 'make test|clean'
use Apache::TestMM qw(test clean);
@@ -20,6 +21,11 @@
# accept the configs from comman line
Apache::TestMM::filter_args();
+
+my $build = Apache::Build->build_config;
+if ($build->should_build_apache) {
+ push @Apache::TestMM::Argv, ('httpd' => $build->{httpd});
+}
Apache::TestMM::generate_script('t/TEST');
# t/SMOKE