diff options
Diffstat (limited to 'm4/ax_swig_enable_cxx.m4')
| -rw-r--r-- | m4/ax_swig_enable_cxx.m4 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/m4/ax_swig_enable_cxx.m4 b/m4/ax_swig_enable_cxx.m4 index 722caeb..c1eca8c 100644 --- a/m4/ax_swig_enable_cxx.m4 +++ b/m4/ax_swig_enable_cxx.m4 | |||
| @@ -47,5 +47,7 @@ AU_ALIAS([SWIG_ENABLE_CXX], [AX_SWIG_ENABLE_CXX]) | |||
| 47 | AC_DEFUN([AX_SWIG_ENABLE_CXX],[ | 47 | AC_DEFUN([AX_SWIG_ENABLE_CXX],[ |
| 48 | AC_REQUIRE([AC_PROG_SWIG]) | 48 | AC_REQUIRE([AC_PROG_SWIG]) |
| 49 | AC_REQUIRE([AC_PROG_CXX]) | 49 | AC_REQUIRE([AC_PROG_CXX]) |
| 50 | SWIG="$SWIG -c++" | 50 | if test "$SWIG" != "false"; then |
| 51 | SWIG="$SWIG -c++" | ||
| 52 | fi | ||
| 51 | ]) | 53 | ]) |
