----- Forwarded message from Eric Covener <[EMAIL PROTECTED]> -----

On 7/22/07, Mike <[EMAIL PROTECTED]> wrote:
> Greetings.
>
> apxs accepts only *.c files as its input. For other extensions it
> doesn't invoke libtool in compile mode and several different issues
> leading to empty Apache module creation. The most probably reason is
> poor regex design.

This kind of invocation: $ apxs -cia mod_cpp.cpp other.C

Seems to behave better w/ the patch below:

http://people.apache.org/~covener/apxs-cpp.diff

| libtool --silent --mode=compile -c -o mod_cpp.lo mod_cpp.cpp
| libtool --silent --mode=compile -c -o other.lo other.C
| libtool --silent --mode=link gcc -o mod_cpp.la ...  other.lo mod_cpp.lo

-- 
Eric Covener

----- End forwarded message -----

Kind regards.

Reply via email to