httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Wheeler <da...@wheeler.net>
Subject Re: libapreq failures with 1.2 and Mac OS X Server
Date Wed, 13 Aug 2003 23:11:33 GMT
On Wednesday, August 13, 2003, at 03:55  PM, Chris Nandor wrote:

> As long as having it in there twice won't hurt anything (in case 
> someone
> defined it on the command line), it seems right to me.


--- Makefile.PL Tue Jul  1 22:04:06 2003
+++ /Users/david/Desktop/Makefile.PL    Wed Aug 13 16:10:32 2003
@@ -197,6 +197,7 @@
  $WITH_APXS = "";
  $APACI_ARGS = "";
  @APACI_ARGS = ();
+push @APACI_ARGS, '--without-execstrip' if $^O eq 'darwin';
  $EVERYTHING = $EXPERIMENTAL = 0;
  $PERL_DEBUG = "";
  $PERL_DESTRUCT_LEVEL = "";
@@ -323,7 +324,9 @@
         close $fh;
      }
      if(@APACI_ARGS) {
-       unshift @ARGV, "APACI_ARGS=" . join(",", @APACI_ARGS);
+        my %seen;
+       unshift @ARGV, "APACI_ARGS=" .
+          join ',', grep { not $seen{$_}++ } @APACI_ARGS;
      }
  }


Regards,

David
-- 
David Wheeler                                     AIM: dwTheory
david@kineticode.com                              ICQ: 15726394
http://www.kineticode.com/                     Yahoo!: dew7e
                                                Jabber: Theory@jabber.org
Kineticode. Setting knowledge in motion.[sm]


Mime
View raw message