Add ruby 2.2 detection

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 4eabb309b9)
pull/8/head
Slávek Banko 9 years ago
parent 57e53d059a
commit 8099312e2d

@ -35,6 +35,12 @@ if test "x$compile_kross" = "xyes" ; then
if test -n "$RUBY_VERSION"; then
RUBY_CFLAGS=`$PKGCONFIG ruby --cflags`
fi
if test -z "$RUBY_VERSION"; then
RUBY_VERSION=`$PKGCONFIG ruby-2.2 --modversion 2>/dev/null`
if test -n "$RUBY_VERSION"; then
RUBY_CFLAGS=`$PKGCONFIG ruby-2.2 --cflags`
fi
fi
if test -z "$RUBY_VERSION"; then
RUBY_VERSION=`$PKGCONFIG ruby-2.1 --modversion 2>/dev/null`
if test -n "$RUBY_VERSION"; then

Loading…
Cancel
Save