This version is known to work with the current code-base and recent
SWIG versions, whereas e.g. Ruby 2.3.x is known to not work (anymore).
This "fixes" the remaining parts of bug #1526.
Requirements for the Ruby bindings:
- libsigrokcxx >= 0.4.0 (the libsigrok C++ bindings, see above)
- - Ruby >= 1.9.3 (including development files!)
+ - Ruby >= 2.5.0 (including development files!)
- SWIG >= 3.0.8
- YARD (optional, only needed for the Ruby API docs)
# The Ruby bindings need Ruby development files.
SR_PKG_CHECK([ruby_dev], [SR_PKGLIBS_RUBY],
- [ruby],
- [ruby-$sr_rbmajor.$sr_rbminor])
+ [ruby >= 2.5.0],
+ [ruby-$sr_rbmajor.$sr_rbminor >= 2.5.0])
AS_IF([test "x$sr_have_ruby_dev" != xyes],
[SR_APPEND([sr_ruby_missing], [', '], [Headers])])