X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=configure;h=4bba197f647b5fd598c52b7ffa5eaa33104b7962;hp=c8bd4914ec76952a621c2c217a7968f4c80f7785;hb=c63b2bf21dc1df9a736f0b4c08f6cba828cdab92;hpb=5efcb6288e64cdc160c5456c4cb6ddd0a0bb16cc diff --git a/configure b/configure index c8bd491..4bba197 100755 --- a/configure +++ b/configure @@ -2452,7 +2452,7 @@ fi PACKAGE=swftools -VERSION=2010-02-06-1900 +VERSION=2010-05-20-1815 # ------------------------------------------------------------------ @@ -5423,7 +5423,7 @@ _ACEOF fi #needed for jpeglib - for ac_func in popen wcschr wcsdup mkstemp stat mmap lrand48 rand srand48 srand bcopy bzero time getrusage mallinfo open64 + for ac_func in popen wcschr wcsdup mkstemp stat mmap lrand48 rand srand48 srand bcopy bzero time getrusage mallinfo open64 calloc do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" @@ -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 # ------------------------------------------------------------------