Fix Ruby 1.9.x shared library test without pkgconfig file

(cherry picked from commit e566a4bef0)
v3.5.13-sru
Slávek Banko 12 years ago
parent c338c66a23
commit e9ce2c838b

@ -1566,6 +1566,9 @@ if test "x$compile_kross" = "xyes" ; then
RUBY_VERSION="$RUBY_MAJOR.$RUBY_MINOR.$RUBY_TEENY"
RUBY_CFLAGS="-I`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"rubyhdrdir"@:>@)'`"
RUBY_CFLAGS="$RUBY_CFLAGS/`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"arch"@:>@)'` $RUBY_CFLAGS"
if test -n "`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"LIBRUBYARG_SHARED"@:>@)'`"; then
RUBY_ENABLESHARED=yes
fi
fi
fi
fi
@ -1602,6 +1605,7 @@ if test "x$compile_kross" = "xyes" ; then
AC_SUBST(RUBY_SITEARCHDIR)
AC_SUBST(RUBY_RUBYLIBDIR)
AC_SUBST(RUBY_INCLUDEDIR)
AC_SUBST(RUBY_LIBRUBYARG)
AC_SUBST(RUBY_SITEDIR)
AC_SUBST(RUBY_CFLAGS)

@ -52,6 +52,9 @@ if test "x$compile_kross" = "xyes" ; then
RUBY_VERSION="$RUBY_MAJOR.$RUBY_MINOR.$RUBY_TEENY"
RUBY_CFLAGS="-I`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"rubyhdrdir"@:>@)'`"
RUBY_CFLAGS="$RUBY_CFLAGS/`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"arch"@:>@)'` $RUBY_CFLAGS"
if test -n "`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"LIBRUBYARG_SHARED"@:>@)'`"; then
RUBY_ENABLESHARED=yes
fi
fi
fi
fi
@ -88,6 +91,7 @@ if test "x$compile_kross" = "xyes" ; then
AC_SUBST(RUBY_SITEARCHDIR)
AC_SUBST(RUBY_RUBYLIBDIR)
AC_SUBST(RUBY_INCLUDEDIR)
AC_SUBST(RUBY_LIBRUBYARG)
AC_SUBST(RUBY_SITEDIR)
AC_SUBST(RUBY_CFLAGS)

Loading…
Cancel
Save