httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike <dykci...@gmail.com>
Subject Re: Broken APXS
Date Sun, 22 Jul 2007 13:40:18 GMT
On Sun, Jul 22, 2007 at 02:32:21PM +0100, Nick Kew wrote:
> .cxx?  Modules in other languages?
Every shared-lib-compilable language (e. g. C++).

> How about adding an environment variable?  Something like:
> 
> -    my $srcs_regex = '\.(' . join('|', @srcs_extensions) . ')$';
> +    my $srcs_regex = $ENV{'APXS_SRC_EXT'}
> +                     ? "\." . $ENV{'APXS_SRC_EXT'} . "$"
> +                     : '\.(' . join('|', @srcs_extensions) . ')$';
Fixed extension is a bad idea. Sometimes ppl might have *.c and
*.cxx/*.cpp files together.
Kind regards.

Mime
View raw message