diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-09-11 12:21:17 -0500 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-10-13 20:22:42 +0200 |
commit | 90e99a3b455aae5b98700cb841707c0b70cf3664 (patch) | |
tree | 78007a386131ba50e2a65c120e3f2e2c898c36fc /korundum/rubylib | |
parent | 22688b624f6067ed2a0e526cab58f8a8c46634ef (diff) | |
download | tdebindings-90e99a3b455aae5b98700cb841707c0b70cf3664.tar.gz tdebindings-90e99a3b455aae5b98700cb841707c0b70cf3664.zip |
Set HAVE_RUBY_1_9 if ruby 1.9.x installed
(cherry picked from commit 46659f992d49f86347c43528a8705657b6896cb7)
Diffstat (limited to 'korundum/rubylib')
-rw-r--r-- | korundum/rubylib/korundum/configure.in.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/korundum/rubylib/korundum/configure.in.in b/korundum/rubylib/korundum/configure.in.in index e0d581b1..e4ab2fdd 100644 --- a/korundum/rubylib/korundum/configure.in.in +++ b/korundum/rubylib/korundum/configure.in.in @@ -16,6 +16,7 @@ else RUBY_SITEDIR=`ruby -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"sitelibdir"@:>@)'` RUBY_RUBYLIBDIR=`ruby -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"rubylibdir"@:>@)'` 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 |