summaryrefslogtreecommitdiffstats
path: root/qtruby
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-10-30 12:06:46 -0500
committerSlávek Banko <slavek.banko@axis.cz>2012-11-11 04:33:43 +0100
commit7335e1ebea0f19c430074ce792fb6d6daa1dc314 (patch)
tree921cb3cc14704198109cd492db4771a00d0c9293 /qtruby
parent7f39f2b325dfe4bba94b89cfc83f246a88aaec6b (diff)
downloadtdebindings-7335e1ebea0f19c430074ce792fb6d6daa1dc314.tar.gz
tdebindings-7335e1ebea0f19c430074ce792fb6d6daa1dc314.zip
Fix build on Ruby 1.9.x without pkgconfig file.
(cherry picked from commit de9980a5ac444080cdd43bf3d744d6923363c05b)
Diffstat (limited to 'qtruby')
-rw-r--r--qtruby/rubylib/qtruby/configure.in.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/qtruby/rubylib/qtruby/configure.in.in b/qtruby/rubylib/qtruby/configure.in.in
index f8804038..f42716c4 100644
--- a/qtruby/rubylib/qtruby/configure.in.in
+++ b/qtruby/rubylib/qtruby/configure.in.in
@@ -8,6 +8,7 @@ if test -z "$RUBY"; then
DO_NOT_COMPILE="$DO_NOT_COMPILE qtruby"
else
AC_MSG_CHECKING(for ruby dirs)
+ # Note: pkgconfig file exists only for ruby >= 1.9.3
if test -n "$PKGCONFIG"; then
RUBY_VERSION=`$PKGCONFIG ruby --modversion 2>/dev/null`
if test -n "$RUBY_VERSION"; then