]> sigrok.org Git - libsigrok.git/blobdiff - configure.ac
tests: extend endianess conversion tests to also cover inline routines
[libsigrok.git] / configure.ac
index aa0d49a85f86f7a706b2b56ac43a519e581ffd8d..6cc15bf775518affedce85b15107502739f56b7d 100644 (file)
@@ -342,8 +342,8 @@ AC_ARG_ENABLE([python],
        [], [enable_python=$enable_bindings])
 
 AC_ARG_ENABLE([ruby],
-       [AS_HELP_STRING([--enable-ruby], [build Ruby bindings [default=yes]])],
-       [], [enable_ruby=$enable_bindings])
+       [AS_HELP_STRING([--enable-ruby], [build Ruby bindings [default=no]])],
+       [], [enable_ruby=no])
 
 AC_ARG_ENABLE([java],
        [AS_HELP_STRING([--enable-java], [build Java bindings [default=yes]])],
@@ -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'`]