summaryrefslogtreecommitdiffstats
path: root/qtruby
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-04-29 17:56:20 +0200
committerSlávek Banko <slavek.banko@axis.cz>2018-04-29 17:56:36 +0200
commitf44ba9c06619c33a86f77258d068ed041eba7f30 (patch)
tree610f26f3bc56b69e0e99d01666e4b04bbb3ad97f /qtruby
parent12501858b4cd80b9348a7942af32b0d839398679 (diff)
downloadtdebindings-f44ba9c06619c33a86f77258d068ed041eba7f30.tar.gz
tdebindings-f44ba9c06619c33a86f77258d068ed041eba7f30.zip
Add ruby 2.5 and 2.4 detection
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit e586cb9494ea9b90f0b6126a5b515fe10c265c83)
Diffstat (limited to 'qtruby')
-rw-r--r--qtruby/rubylib/qtruby/configure.in.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtruby/rubylib/qtruby/configure.in.in b/qtruby/rubylib/qtruby/configure.in.in
index e0147c14..ed1519cb 100644
--- a/qtruby/rubylib/qtruby/configure.in.in
+++ b/qtruby/rubylib/qtruby/configure.in.in
@@ -15,7 +15,7 @@ else
RUBY_CFLAGS=`$PKGCONFIG ruby --cflags`
fi
if test -z "$RUBY_VERSION"; then
- for RUBY_TEST in 2.3 2.2 2.1 2.0 1.9; do
+ for RUBY_TEST in 2.5 2.4 2.3 2.2 2.1 2.0 1.9; do
RUBY_VERSION=`$PKG_CONFIG ruby-$RUBY_TEST --modversion 2>/dev/null`
if test -n "$RUBY_VERSION"; then
RUBY_CFLAGS=`$PKG_CONFIG ruby-$RUBY_TEST --cflags`