Line
Link Here
|
0 |
-- configure.in |
0 |
++ configure.in |
Lines 465-473
Link Here
|
465 |
dnl * Ruby support * |
465 |
dnl * Ruby support * |
466 |
dnl ************************************************** |
466 |
dnl ************************************************** |
467 |
AM_PATH_RUBY(,with_ruby=yes, with_ruby=no) |
467 |
AC_ARG_WITH(ruby, AC_HELP_STRING(--with-ruby, Enable support for ruby binding @<:@default=auto@:>@), |
|
|
468 |
[ruby_required=true]) |
468 |
if test x$with_ruby != xno; then |
469 |
if test x$with_ruby != xno; then |
|
|
470 |
AM_PATH_RUBY(,with_ruby=yes, with_ruby=no) |
471 |
|
472 |
if test x$with_ruby = xno && test x$ruby_required = xtrue; then |
473 |
AC_MSG_ERROR([Could not find ruby binary]) |
474 |
fi |
475 |
|
469 |
RUBY_ARCHDIR=`$RUBY -e 'require "rbconfig.rb"; puts Config::expand("\$(archdir)")'` |
476 |
RUBY_ARCHDIR=`$RUBY -e 'require "rbconfig.rb"; puts Config::expand("\$(archdir)")'` |
470 |
RUBY_LIBRUBYARG=`$RUBY -e 'require "rbconfig.rb"; puts Config::expand("\$(LIBRUBYARG)")'` |
477 |
RUBY_LIBRUBYARG=`$RUBY -e 'require "rbconfig.rb"; puts Config::expand("\$(LIBRUBYARG)")'` |