On Sun, 22 Jul 2007 09:18:49 -0400
"Eric Covener" <[EMAIL PROTECTED]> wrote:


> Seems to behave better w/ the patch below:
> 
> http://people.apache.org/~covener/apxs-cpp.diff

.cxx?  Modules in other languages?
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) . ')$';

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

Reply via email to