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:
parent
a9cb82ace2
commit
aafcb3fe87
|
@ -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"],
|
||||||
|
|
Loading…
Reference in New Issue