]> sigrok.org Git - libsigrok.git/commitdiff
configure.ac: Also check for "swig4.0".
authorUwe Hermann <redacted>
Sat, 4 Apr 2020 20:00:17 +0000 (22:00 +0200)
committerUwe Hermann <redacted>
Sat, 4 Apr 2020 20:24:05 +0000 (22:24 +0200)
configure.ac

index aa0d49a85f86f7a706b2b56ac43a519e581ffd8d..372aa59e51fb20f332e8e17ad05ae4fdb0aab1da 100644 (file)
@@ -444,7 +444,7 @@ AS_IF([test "x$HAVE_PYMOD_NUMPY" != xyes],
        [SR_APPEND([sr_python_missing], [', '], [numpy])])
 
 # The Python bindings use SWIG to generate code.
-AC_CHECK_PROGS([SWIG], [swig swig3.0 swig2.0])
+AC_CHECK_PROGS([SWIG], [swig swig4.0 swig3.0 swig2.0])
 AS_IF([test "x$SWIG" != x],
     AC_MSG_CHECKING([for $SWIG version])
     [SWIG_VERSION=`$SWIG -version 2>&1 | sed -n 's/SWIG Version //p'`]