fix check for ruby.h
authorFrank Mori Hess <fmhess@speakeasy.net>
Sat, 17 Jan 2004 20:23:07 +0000 (20:23 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Sat, 17 Jan 2004 20:23:07 +0000 (20:23 +0000)
configure.ac

index e114707d0268f627a4f2c9d42cc6402cda3989da..4f51e874779e1629fece533bcf095ab952b2df10 100644 (file)
@@ -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])