|
Lines 525-533
Link Here
|
| 525 |
dnl * Ruby support * |
525 |
dnl * Ruby support * |
| 526 |
dnl ************************************************** |
526 |
dnl ************************************************** |
| 527 |
|
527 |
|
| 528 |
|
528 |
AC_ARG_WITH(ruby, AC_HELP_STRING(--with-ruby@<:@=PATH@:>@, Enable support for ruby binding @<:@default=auto@:>@),,with_ruby=no) |
| 529 |
AM_PATH_RUBY(,with_ruby=yes, with_ruby=no) |
|
|
| 530 |
if test x$with_ruby != xno; then |
529 |
if test x$with_ruby != xno; then |
|
|
530 |
AM_PATH_RUBY(,with_ruby=yes, with_ruby=no) |
| 531 |
RUBY_ARCHDIR=`$RUBY -e 'require "rbconfig.rb"; puts RbConfig::expand("\$(archdir)")'` |
531 |
RUBY_ARCHDIR=`$RUBY -e 'require "rbconfig.rb"; puts RbConfig::expand("\$(archdir)")'` |
| 532 |
RUBY_LIBRUBYARG=`$RUBY -e 'require "rbconfig.rb"; puts RbConfig::expand("\$(LIBRUBYARG)")'` |
532 |
RUBY_LIBRUBYARG=`$RUBY -e 'require "rbconfig.rb"; puts RbConfig::expand("\$(LIBRUBYARG)")'` |
| 533 |
|
533 |
|