httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: apxs broken
Date Thu, 06 Sep 2001 15:19:18 GMT
On Thu, 6 Sep 2001, Ryan Bloom wrote:

>
> I made the change to the way config_vars is created, and it needs to be
> this way for the --with-layout stuff to work correctly.  We may be able to
> fix that problem, but we have a conflict between shell scripts and perl.
>
> We need to fix apxs to strip the ( ).

Index: support/apxs.in
===================================================================
RCS file: /home/cvspublic/httpd-2.0/support/apxs.in,v
retrieving revision 1.26
diff -u -r1.26 apxs.in
--- support/apxs.in	2001/08/30 23:18:39	1.26
+++ support/apxs.in	2001/09/06 15:17:07
@@ -245,6 +245,8 @@

     open IN, $file or die "cannot open $file: $!";
     while (<IN>){
+        # $(foo) => ${foo}
+        s|\$\(([^)]+)\)|\${$1}|g;
         if (/^\s*(.*?)\s*=\s*(.*)$/){
             $rh_config->{$1} = $2;
         }

_____________________________________________________________________
Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker
http://stason.org/       mod_perl Guide  http://perl.apache.org/guide
mailto:stas@stason.org   http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/



Mime
View raw message