Dear Peter,
after some thinking I have realized that without a C++ compiler, adding "-c++" to SWIG command line is probably useless.
The macro can be refined a little more replacing the test statement as below:
address@hidden:~/lixa/m4include$ diff /home/tiian/autoconf-archive/m4/ax_swig_enable_cxx.m4 ax_swig_enable_cxx.m4
52c52
< if test "z$SWIG" != "z"; then
---
> if test "z$SWIG" != "z" -a "z$CXX" != "z" ; then
Kind Regards
Christian Ferrari
-------------------------------------------------------------
Good design can't stop bad implementation