httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Farokh Irani <far...@mcfsoftware.com>
Subject Re: APXS troubles
Date Sat, 21 Jul 2007 11:49:41 GMT
>On Fri, Jul 20, 2007 at 11:39:35PM -0400, Farokh Irani wrote:
>>   I took a further look at apxs, and it appears that the bad coding for the
>>   source files continues. In my apxs around line 406, you'll find the
>>   following:
>>
>>      foreach $s (@srcs) {
>>           my $slo = $s;
>>           $slo =~ s|\.c$|.slo|;
>>           my $lo = $s;
>>           $lo =~ s|\.c$|.lo|;
>>           my $la = $s;
>>           $la =~ s|\.c$|.la|;
>>           my $o = $s;
>>           $o =~ s|\.c$|.o|;
>>
>>   When I replaced the .c in the above with .cpp, everything worked fine using
>>   .cpp.
>Change substitution command separators (s|||) to s///.
>Then create regex disjunction (operator |).
>
>$slo =~ s|\.c$|.slo|;
>
>change to
>
>$slo =~ s/\.c$|\.cpp$|\.cc$/.slo/;
>
>and all the rest with the same style.

That does seem to work OK.

Thanks.
-- 

Farokh
----------------------------------------------------------------------------
MCF Software...simply dependably engineered
Developers of ListSTAR http://www.liststar.com/, MacRADIUS
http://www.macradius.com/, Address List Sorter
http://www.mcfsoftware.com/als/, SimpleText Filter for EIMS
http://www.mcfsoftware.com/stf/ and Auto Reply plug-in for EIMS 
http://www.mcfsoftware.com/ar/.

Mime
View raw message