You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-cvs@httpd.apache.org by ra...@apache.org on 2005/05/01 23:00:00 UTC

svn commit: r165542 - /httpd/apreq/trunk/Makefile.PL

Author: randyk
Date: Sun May  1 13:59:59 2005
New Revision: 165542

URL: http://svn.apache.org/viewcvs?rev=165542&view=rev
Log:
for Win32, check for the existence of a particular option before
seeing if the associated top-level directory exists.

Modified:
    httpd/apreq/trunk/Makefile.PL

Modified: httpd/apreq/trunk/Makefile.PL
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/Makefile.PL?rev=165542&r1=165541&r2=165542&view=diff
==============================================================================
--- httpd/apreq/trunk/Makefile.PL (original)
+++ httpd/apreq/trunk/Makefile.PL Sun May  1 13:59:59 2005
@@ -47,10 +47,11 @@
 
 if (WIN32) {
     require File::Basename;
-    my @candidates = qw(with-apache2-apxs with-apache2-httpd
-                        with-apr-config with-apu-config);
     unless ($args{'with-apache2'}) {
+        my @candidates = qw(with-apache2-apxs with-apache2-httpd
+                            with-apr-config with-apu-config);
         foreach my $opt(@candidates) {
+            next unless $args{$opt};
             (my $d = File::Basename::dirname($args{$opt})) =~ s{(\\|/)bin}{};
             if (-d $d) {
                 delete $args{$opt};