summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/gr_swig.m44
1 files changed, 1 insertions, 3 deletions
diff --git a/config/gr_swig.m4 b/config/gr_swig.m4
index e03390994..dcc2e72dc 100644
--- a/config/gr_swig.m4
+++ b/config/gr_swig.m4
@@ -56,10 +56,8 @@ AC_DEFUN([SWIG_PROG],[
AC_DEFUN([SWIG_ENABLE_CXX],[
AC_REQUIRE([SWIG_PROG])
AC_REQUIRE([AC_PROG_CXX])
- if test x${enable_python} = xyes -o x${enable_guile} = xyes; then
- if test "$SWIG" != "false" ; then
+ if test "$SWIG" != "false" ; then
SWIG="$SWIG -c++"
- fi
fi
])