On Sun, Jul 22, 2007 at 09:18:49AM -0400, Eric Covener wrote:
>> 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
Good. Also including this in next Apache release would be good idea.
Kind regards.