diff options
Diffstat (limited to 'korundum')
-rw-r--r-- | korundum/rubylib/korundum/configure.in.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/korundum/rubylib/korundum/configure.in.in b/korundum/rubylib/korundum/configure.in.in index e4ab2fdd..924f42f8 100644 --- a/korundum/rubylib/korundum/configure.in.in +++ b/korundum/rubylib/korundum/configure.in.in @@ -10,6 +10,9 @@ else AC_MSG_CHECKING(for ruby dirs) if test -n "$PKGCONFIG"; then RUBY_VERSION=`$PKGCONFIG ruby --modversion 2>/dev/null` + if test -z "$RUBY_VERSION"; then + RUBY_VERSION=`$PKGCONFIG ruby-1.9 --modversion 2>/dev/null` + fi if test -n "$RUBY_VERSION"; then RUBY_ARCHDIR=`ruby -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"archdir"@:>@)'` RUBY_SITEARCHDIR=`ruby -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"sitearchdir"@:>@)'` |