From e586cb9494ea9b90f0b6126a5b515fe10c265c83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 29 Apr 2018 17:56:20 +0200 Subject: [PATCH] Add ruby 2.5 and 2.4 detection MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- korundum/rubylib/korundum/configure.in.in | 2 +- 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`