]> sigrok.org Git - libsigrok.git/commitdiff
FreeBSD: Also check for swig3.0.
authorUwe Hermann <redacted>
Wed, 19 Aug 2015 13:44:43 +0000 (15:44 +0200)
committerUwe Hermann <redacted>
Wed, 19 Aug 2015 13:44:43 +0000 (15:44 +0200)
On FreeBSD (for example) the SWIG binary can also be called "swig3.0".

This fixes (together with the recent "swig2.0" addition) bug #557.

configure.ac

index 86ead343dbe21a8c42476f1c82180532ea3ec25e..dc4771e7a9797fbc6ed08337ee214c96b22937ed 100644 (file)
@@ -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"],