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