From: Frank Mori Hess Date: Sat, 17 Jan 2004 20:23:07 +0000 (+0000) Subject: fix check for ruby.h X-Git-Tag: r0_7_22~83 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=610dfd9bcf00dc53bb6847ee0182cd7dd6e91545;p=comedilib.git fix check for ruby.h --- diff --git a/configure.ac b/configure.ac index e114707..4f51e87 100644 --- a/configure.ac +++ b/configure.ac @@ -48,7 +48,7 @@ AC_ARG_ENABLE([ruby-binding],[ --disable-ruby-binding Disable building of Ruby [ENABLE_RUBY=$enableval],[ENABLE_RUBY="yes"]) AC_PATH_PROG(RUBY, ruby, no) if test "$RUBY" != "no" ; then - RUBY_INC_DIR=`$RUBY -e 'require \'rbconfig\'; c = ::Config:CONFIG; print c[[\'archdir\']];'` + RUBY_INC_DIR=`$RUBY -e "require 'rbconfig'; c = ::Config::CONFIG; print c[['archdir']];"` AC_CHECK_HEADER([$RUBY_INC_DIR/ruby.h],[],[ENABLE_RUBY="no";AC_MSG_WARN([ruby.h not found, disabling Ruby binding])]) else AC_MSG_WARN([ruby not found, disabling ruby binding])