|
|
@ -17,6 +17,7 @@ else
|
|
|
|
RUBY_RUBYLIBDIR=`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"rubylibdir"@:>@)'`
|
|
|
|
RUBY_RUBYLIBDIR=`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"rubylibdir"@:>@)'`
|
|
|
|
RUBY_LIBDIR=`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"libdir"@:>@)'`
|
|
|
|
RUBY_LIBDIR=`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"libdir"@:>@)'`
|
|
|
|
RUBY_LIBRUBYARG=`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"LIBRUBYARG_SHARED"@:>@)'`
|
|
|
|
RUBY_LIBRUBYARG=`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"LIBRUBYARG_SHARED"@:>@)'`
|
|
|
|
|
|
|
|
RUBY_CFLAGS=`$PKGCONFIG ruby --cflags`
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
if test -z "$RUBY_VERSION"; then
|
|
|
|
if test -z "$RUBY_VERSION"; then
|
|
|
@ -27,12 +28,13 @@ else
|
|
|
|
RUBY_LIBDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"libdir"@:>@)'`
|
|
|
|
RUBY_LIBDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"libdir"@:>@)'`
|
|
|
|
RUBY_LIBRUBYARG=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"LIBRUBYARG_SHARED"@:>@)'`
|
|
|
|
RUBY_LIBRUBYARG=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"LIBRUBYARG_SHARED"@:>@)'`
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
AC_MSG_RESULT([archdir $RUBY_ARCHDIR, sitearchdir $RUBY_SITEARCHDIR, sitedir $RUBY_SITEDIR, libdir $RUBY_LIBDIR, librubyarg $RUBY_LIBRUBYARG])
|
|
|
|
AC_MSG_RESULT([archdir $RUBY_ARCHDIR, sitearchdir $RUBY_SITEARCHDIR, sitedir $RUBY_SITEDIR, libdir $RUBY_LIBDIR, librubyarg $RUBY_LIBRUBYARG, cflags $RUBY_CFLAGS])
|
|
|
|
AC_SUBST(RUBY_ARCHDIR)
|
|
|
|
AC_SUBST(RUBY_ARCHDIR)
|
|
|
|
AC_SUBST(RUBY_SITEARCHDIR)
|
|
|
|
AC_SUBST(RUBY_SITEARCHDIR)
|
|
|
|
AC_SUBST(RUBY_SITEDIR)
|
|
|
|
AC_SUBST(RUBY_SITEDIR)
|
|
|
|
AC_SUBST(RUBY_RUBYLIBDIR)
|
|
|
|
AC_SUBST(RUBY_RUBYLIBDIR)
|
|
|
|
AC_SUBST(RUBY_LIBDIR)
|
|
|
|
AC_SUBST(RUBY_LIBDIR)
|
|
|
|
AC_SUBST(RUBY_LIBRUBYARG)
|
|
|
|
AC_SUBST(RUBY_LIBRUBYARG)
|
|
|
|
|
|
|
|
AC_SUBST(RUBY_CFLAGS)
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|