summaryrefslogtreecommitdiffstats
path: root/qtruby
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-09-11 12:21:17 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-09-11 12:21:17 -0500
commit46659f992d49f86347c43528a8705657b6896cb7 (patch)
tree744f044517f02014a1835abf783ff96c8080b2c1 /qtruby
parentc1faffb8ed0ebae85f21eb3e3ca81a2692a81ae9 (diff)
downloadtdebindings-46659f992d49f86347c43528a8705657b6896cb7.tar.gz
tdebindings-46659f992d49f86347c43528a8705657b6896cb7.zip
Set HAVE_RUBY_1_9 if ruby 1.9.x installed
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 a875b2f8..7ad0e4d4 100644
--- a/qtruby/rubylib/qtruby/configure.in.in
+++ b/qtruby/rubylib/qtruby/configure.in.in
@@ -18,6 +18,7 @@ else
RUBY_LIBDIR=`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"libdir"@:>@)'`
RUBY_LIBRUBYARG=`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"LIBRUBYARG_SHARED"@:>@)'`
RUBY_CFLAGS=`$PKGCONFIG ruby --cflags`
+ AC_DEFINE_UNQUOTED(HAVE_RUBY_1_9, 1, [Defines if your system has Ruby 1.9.x])
fi
fi
if test -z "$RUBY_VERSION"; then