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:
parent
553135885c
commit
ad2374ab8d
1 changed files with 1 additions and 1 deletions
|
|
@ -1129,7 +1129,7 @@ fi
|
||||||
AC_MSG_CHECKING(for Ruby header files)
|
AC_MSG_CHECKING(for Ruby header files)
|
||||||
if test -n "$RUBY"; then
|
if test -n "$RUBY"; then
|
||||||
RUBYDIR=`($RUBY -rmkmf -e 'print Config::CONFIG[["archdir"]] || $archdir') 2>/dev/null`
|
RUBYDIR=`($RUBY -rmkmf -e 'print Config::CONFIG[["archdir"]] || $archdir') 2>/dev/null`
|
||||||
if test "$RUBYDIR" != ""; then
|
if test x"$RUBYDIR" != x""; then
|
||||||
dirs="$RUBYDIR"
|
dirs="$RUBYDIR"
|
||||||
RUBYINCLUDE=none
|
RUBYINCLUDE=none
|
||||||
for i in $dirs; do
|
for i in $dirs; do
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue