made 'make install' install ruby module, too
[swftools.git] / configure
index cdafce4..7e03d9c 100755 (executable)
--- a/configure
+++ b/configure
@@ -644,6 +644,7 @@ PDF2PDF
 DEVICE_PDF
 LIBPDF
 PDF2SWF
+RUBY_INSTALLDIR
 RUBY_LDFLAGS
 RUBY_CPPFLAGS
 RUBY_LIBS
@@ -10193,6 +10194,7 @@ $as_echo "$rubylib" >&6; }
 
        RUBY_CPPFLAGS="$rubycpp -I$rubyinc $RUBY_CPPFLAGS"
        RUBY_LDFLAGS="$rubyld $RUBY_LDFLAGS"
+       RUBY_INSTALLDIR="$rubyinc"
     else
        { $as_echo "$as_me:$LINENO: result: 'unknown'" >&5
 $as_echo "'unknown'" >&6; }
@@ -10392,12 +10394,14 @@ $as_echo "yes" >&6; }
 
 
 
+
 else
     { $as_echo "$as_me:$LINENO: result: no" >&5
 $as_echo "no" >&6; }
     RUBY_CPPFLAGS=""
     RUBY_LDFLAGS=""
     RUBY_LIBS=""
+    RUBY_INSTALLDIR=""
 fi
 
 
@@ -10406,7 +10410,7 @@ 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/python/Makefile"
+    rubygfx="lib/ruby/Makefile"
 fi
 
 # ------------------------------------------------------------------
@@ -10558,7 +10562,7 @@ fi
 
 if test -f "release.in"; then release_in="./release"; fi
 if test -f "Makefile.new.in"; then mk_in="./Makefile.new"; fi
-FILES="$release_in $mk_in Makefile.common ${avi2swf} Makefile lib/Makefile lib/action/Makefile src/Makefile ${pdf2swf_makefile} swfs/Makefile ${pythongfx} ${lame_makefile} lib/readers/Makefile"
+FILES="$release_in $mk_in Makefile.common ${avi2swf} Makefile lib/Makefile lib/action/Makefile src/Makefile ${pdf2swf_makefile} swfs/Makefile ${pythongfx} ${rubygfx} ${lame_makefile} lib/readers/Makefile"
 ac_config_files="$ac_config_files ${FILES}"
 
 cat >confcache <<\_ACEOF