diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2018-04-29 17:56:20 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2018-04-29 17:56:36 +0200 |
commit | f44ba9c06619c33a86f77258d068ed041eba7f30 (patch) | |
tree | 610f26f3bc56b69e0e99d01666e4b04bbb3ad97f | |
parent | 12501858b4cd80b9348a7942af32b0d839398679 (diff) | |
download | tdebindings-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)
-rw-r--r-- | korundum/rubylib/korundum/configure.in.in | 2 | ||||
-rw-r--r-- | qtruby/rubylib/qtruby/configure.in.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/korundum/rubylib/korundum/configure.in.in b/korundum/rubylib/korundum/configure.in.in index c1c2ce4c..9bd65993 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.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` 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` |