X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=m4%2Fac_ruby_ext.m4;h=da811165b43b810864e444a6d2fc91cd5878fee6;hb=04602ae0d3b6898a47caf7f46600a6058b697a81;hp=90a3383846ac8a692e255c04b5e614d7bf6e3891;hpb=e9d72d28b261c63c945df05fd8b0fb0a2bcfcf68;p=ruby-ecore.git diff --git a/m4/ac_ruby_ext.m4 b/m4/ac_ruby_ext.m4 index 90a3383..da81116 100644 --- a/m4/ac_ruby_ext.m4 +++ b/m4/ac_ruby_ext.m4 @@ -40,6 +40,11 @@ AC_DEFUN([AC_RUBY_EXT], [ AC_MSG_ERROR(Ruby site extension path not found) fi + AC_MSG_CHECKING(for Ruby shared library) + RUBYLIB=`($rubybin -rmkmf -e 'print Config::CONFIG[["LIBRUBYARG_SHARED"]]') 2> /dev/null` + AC_MSG_RESULT([$RUBYLIB]) + + AC_SUBST(RUBYLIB) AC_SUBST(RUBYLIBDIR) AC_SUBST(RUBYDIR) AC_SUBST(RUBYSITEDIR)