Add ruby 2.2 detection

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/1/head
Slávek Banko 9 years ago
parent a23594f5c7
commit 4eabb309b9

@ -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