From c5a03617aad72b392739dbaad444663cf883cb6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Mon, 18 Nov 2019 14:11:40 +0100 Subject: [PATCH] Add Ruby-2.6 detection. Signed-off-by: gregory guy (cherry picked from commit 046b21e2c2aae0a3dc17ec7e85b8e2ece3739202) --- lib/kross/configure.in.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/kross/configure.in.in b/lib/kross/configure.in.in index 4af2a49af..b1be3dd24 100644 --- a/lib/kross/configure.in.in +++ b/lib/kross/configure.in.in @@ -36,7 +36,7 @@ if test "x$compile_kross" = "xyes" ; then 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`