FreeBSD: Also check for swig3.0.

On FreeBSD (for example) the SWIG binary can also be called "swig3.0".

This fixes (together with the recent "swig2.0" addition) bug #557.
This commit is contained in:
Uwe Hermann 2015-08-19 15:44:43 +02:00
parent a9cb82ace2
commit aafcb3fe87
1 changed files with 1 additions and 1 deletions

View File

@ -396,7 +396,7 @@ test "x$HAVE_PYMOD_SETUPTOOLS" = xyes \
|| sr_python_missing="$sr_python_missing Setuptools" || sr_python_missing="$sr_python_missing Setuptools"
# The Python bindings use SWIG to generate code. # The Python bindings use SWIG to generate code.
AC_CHECK_PROGS([SWIG], [swig swig2.0], [no]) AC_CHECK_PROGS([SWIG], [swig swig2.0 swig3.0], [no])
test "x$SWIG" != xno || sr_python_missing="$sr_python_missing SWIG" test "x$SWIG" != xno || sr_python_missing="$sr_python_missing SWIG"
AS_IF([test -z "$sr_python_missing"], AS_IF([test -z "$sr_python_missing"],