diff options
author | Timothy Pearson <[email protected]> | 2012-11-19 12:51:38 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-11-19 12:51:38 -0600 |
commit | 79d643fc1e283aaac906d4237e141e4b32f73e80 (patch) | |
tree | 55ea03cf842c44d2fc245cdef25fed205ddc9057 /lib/kross/configure.in.in | |
parent | 9d5ea58a6c2b963ad68b06d0ad7e770810aa3557 (diff) | |
download | koffice-79d643fc1e283aaac906d4237e141e4b32f73e80.tar.gz koffice-79d643fc1e283aaac906d4237e141e4b32f73e80.zip |
Fix kross Ruby FTBFS
Diffstat (limited to 'lib/kross/configure.in.in')
-rw-r--r-- | lib/kross/configure.in.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/kross/configure.in.in b/lib/kross/configure.in.in index dd049651..9bdca433 100644 --- a/lib/kross/configure.in.in +++ b/lib/kross/configure.in.in @@ -66,6 +66,7 @@ if test "x$compile_kross" = "xyes" ; then RUBY_LIBDIR=`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"libdir"@:>@)'` RUBY_INCLUDEDIR=`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"rubyhdrdir"@:>@)'` RUBY_LIBRUBYARG=`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"LIBRUBYARG_SHARED"@:>@)'` + RUBY_ENABLESHARED=yes AC_DEFINE_UNQUOTED(HAVE_RUBY_1_9, 1, [Defines if your system has Ruby 1.9.x]) fi fi @@ -77,6 +78,7 @@ if test "x$compile_kross" = "xyes" ; then RUBY_LIBDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"libdir"@:>@)'` RUBY_INCLUDEDIR=$RUBY_ARCHDIR RUBY_LIBRUBYARG=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"LIBRUBYARG_SHARED"@:>@)'` + RUBY_ENABLESHARED=yes fi AC_MSG_RESULT([ archdir $RUBY_ARCHDIR, @@ -94,6 +96,7 @@ if test "x$compile_kross" = "xyes" ; then AC_SUBST(RUBY_LIBRUBYARG) AC_SUBST(RUBY_SITEDIR) AC_SUBST(RUBY_CFLAGS) + AC_SUBST(RUBY_ENABLESHARED) AC_MSG_CHECKING(for Ruby header) |