summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Andriot <francois.andriot@free.fr>2019-11-18 13:48:05 +0100
committerSlávek Banko <slavek.banko@axis.cz>2019-11-18 15:23:24 +0100
commitf065bc45257f188b18502519867a1c2ad368ecf2 (patch)
tree790444d4662868a36a7bee5ea70635a515ddf873
parentf76a8872bf16f4beb815b0b7968765525841900d (diff)
downloadtdebindings-f065bc45257f188b18502519867a1c2ad368ecf2.tar.gz
tdebindings-f065bc45257f188b18502519867a1c2ad368ecf2.zip
Add Ruby-2.6 detection.
Signed-off-by: gregory guy <gregory-tde@laposte.net> (cherry picked from commit 4804302311c945d3cee05ee87f35193f1633406d)
-rw-r--r--korundum/rubylib/korundum/configure.in.in2
-rw-r--r--qtruby/rubylib/qtruby/configure.in.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/korundum/rubylib/korundum/configure.in.in b/korundum/rubylib/korundum/configure.in.in
index 9bd65993..313fca4a 100644
--- a/korundum/rubylib/korundum/configure.in.in
+++ b/korundum/rubylib/korundum/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.5 2.4 2.3 2.2 2.1 2.0 1.9; do
+ for RUBY_TEST in 2.6 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`
diff --git a/qtruby/rubylib/qtruby/configure.in.in b/qtruby/rubylib/qtruby/configure.in.in
index ed1519cb..1aab3477 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.5 2.4 2.3 2.2 2.1 2.0 1.9; do
+ for RUBY_TEST in 2.6 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`