Re: Patch for "ax_swig_python.m4"

Christian Ferrari <[email protected]> Sat, 20 Oct 2018 19:58:01 +0000 (UTC)
Newsgroups gmane.comp.sysutils.autoconf.archive-maintainers
Message-ID <[email protected]>
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:
tiian@ubuntu1404-64:~/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 RegardsChristian Ferrari


-------------------------------------------------------------
Good design can't stop bad implementation
 

    Il venerdì 19 ottobre 2018, 10:01:29 CEST, Peter Simons <[email protected]> ha scritto:  
 
 Hi Christian,

I pushed the change you've suggested in this commit:

  https://github.com/autoconf-archive/autoconf-archive/commit/bcdf5ad0c5981a3c01da3216fbf42b6d1e1ffab0

Thank you very much,
Peter