From 610dfd9bcf00dc53bb6847ee0182cd7dd6e91545 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Sat, 17 Jan 2004 20:23:07 +0000 Subject: [PATCH] fix check for ruby.h --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]) -- 2.26.2