httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r315063 - /httpd/apreq/trunk/Makefile.PL
Date Wed, 12 Oct 2005 22:29:57 GMT
Author: joes
Date: Wed Oct 12 15:29:53 2005
New Revision: 315063

URL: http://svn.apache.org/viewcvs?rev=315063&view=rev
Log:
Fetch the --with-apache2-apxs argument from
Apache2::BuildConfig if none is given on the 
command line.  This should allow the CPAN
install to be fully automated.

Modified:
    httpd/apreq/trunk/Makefile.PL

Modified: httpd/apreq/trunk/Makefile.PL
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/Makefile.PL?rev=315063&r1=315062&r2=315063&view=diff
==============================================================================
--- httpd/apreq/trunk/Makefile.PL (original)
+++ httpd/apreq/trunk/Makefile.PL Wed Oct 12 15:29:53 2005
@@ -46,6 +46,10 @@
 delete @args{@flags};
 $args{"with-apache2-apxs"} = delete $args{apxs}
     if exists $args{apxs} and not exists $args{"with-apache2-apxs"};
+$args{"with-apache2-apxs"} ||= eval {
+    require Apache2::Build;
+    Apache2::Build->build_config->{MP_APXS};
+};
 
 $args{"with-perl-opts"} = "@ARGV" if @ARGV;
 



Mime
View raw message