diff options
author | Matthias Kramm <kramm@quiss.org> | 2010-05-26 08:27:11 -0700 |
---|---|---|
committer | Matthias Kramm <kramm@quiss.org> | 2010-05-26 08:27:11 -0700 |
commit | 8d594217e92517a626bb5b06f23a3034df1c4453 (patch) | |
tree | d7a31312a93634d52bf6648e3bdae8f8e9f0f23e | |
parent | 6237ee06a828460a9977801b727ffb2bce014353 (diff) | |
parent | 8fb53b51553f27cc666dc491f3e24ce1b39c9437 (diff) |
Merge branch 'master' into gfxpolygfxpoly
-rwxr-xr-x | configure | 7 | ||||
-rw-r--r-- | configure.in | 4 | ||||
-rw-r--r-- | m4/ruby.m4 | 1 |
3 files changed, 9 insertions, 3 deletions
@@ -2452,7 +2452,7 @@ fi PACKAGE=swftools -VERSION=2010-02-06-1900 +VERSION=2010-05-20-1815 # ------------------------------------------------------------------ @@ -6694,6 +6694,7 @@ int Init_foobar() { foobar = rb_define_module("foobar"); rb_define_module_function(foobar, "set_foo", foobar_set_foo, 2); + return 0; } int main() {return 0;} EOF @@ -6729,7 +6730,9 @@ if test "x$RUBY_OK" '!=' "xyes";then # fail silently- the most users won't have any need for the # ruby interface anyway else - rubygfx="lib/ruby/Makefile" + if test -f "lib/ruby/Makefile.in";then + rubygfx="lib/ruby/Makefile" + fi fi # ------------------------------------------------------------------ diff --git a/configure.in b/configure.in index d26a100a..aa19993f 100644 --- a/configure.in +++ b/configure.in @@ -395,7 +395,9 @@ if test "x$RUBY_OK" '!=' "xyes";then # fail silently- the most users won't have any need for the # ruby interface anyway else - rubygfx="lib/ruby/Makefile" + if test -f "lib/ruby/Makefile.in";then + rubygfx="lib/ruby/Makefile" + fi fi # ------------------------------------------------------------------ @@ -64,6 +64,7 @@ int Init_foobar() { foobar = rb_define_module("foobar"); rb_define_module_function(foobar, "set_foo", foobar_set_foo, 2); + return 0; } int main() {return 0;} EOF |