Fix ruby detection problem breaking configure

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10802 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2008-09-01 19:59:23 +00:00
commit ad2374ab8d

View file

@ -1129,7 +1129,7 @@ fi
AC_MSG_CHECKING(for Ruby header files)
if test -n "$RUBY"; then
RUBYDIR=`($RUBY -rmkmf -e 'print Config::CONFIG[["archdir"]] || $archdir') 2>/dev/null`
if test "$RUBYDIR" != ""; then
if test x"$RUBYDIR" != x""; then
dirs="$RUBYDIR"
RUBYINCLUDE=none
for i in $dirs; do