fixed bug in jpeg2000 decoding
[swftools.git] / configure.in
index d26a100..ad297de 100644 (file)
@@ -34,7 +34,7 @@ if test "x$enable_lame" = "xno";then
 fi,DISABLE_LAME=)
 
 PACKAGE=swftools
-VERSION=2010-05-20-1815
+VERSION=0.9.1
 
 # ------------------------------------------------------------------
 
@@ -391,11 +391,15 @@ fi
 RFX_CHECK_RUBY
 
 if test "x$RUBY_OK" '!=' "xyes";then
-    echo all install uninstall clean: > lib/ruby/Makefile
+    if test -d "lib/ruby/";then
+       echo all install uninstall clean: > lib/ruby/Makefile
+    fi
     # 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
 
 # ------------------------------------------------------------------