From: Uwe Hermann Date: Wed, 19 Aug 2015 13:44:43 +0000 (+0200) Subject: FreeBSD: Also check for swig3.0. X-Git-Tag: libsigrok-0.4.0~416 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=aafcb3fe87809d3e6d12b9a440adccf516fb3eb5;p=libsigrok.git 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. --- diff --git a/configure.ac b/configure.ac index 86ead343..dc4771e7 100644 --- a/configure.ac +++ b/configure.ac @@ -396,7 +396,7 @@ test "x$HAVE_PYMOD_SETUPTOOLS" = xyes \ || sr_python_missing="$sr_python_missing Setuptools" # 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" AS_IF([test -z "$sr_python_missing"],