On Wed, Sep 29, 2004 at 04:34:18AM +0900, saiph wrote:
> are there any ruby bindings for autoconf?
> i'm looking for macros, docs and examples in order to
> learn to install ruby programs using only the standard gnu 
> procedure ./configure, make && make install

I know this doesn't answer your question directly, but there are several
much better options than using gnu autoconf for installing ruby programs.

(1) mkmf.rb

This does the same sort of thing as autoconf, but it's written in Ruby, and
comes as standard with your Ruby installation.

There are some examples (of using it to build C extensions to Ruby) at
http://www.rubycentral.com/book/ext_ruby.html

(2) setup.rb

The long-standing and venerable install script, which you can include in
your Ruby library or application tarball.
http://www.loveruby.net/en/prog/setup.html

It works very similar to autoconf:
  ruby setup.rb config --prefix=/opt/foo
  ruby setup.rb setup
  ruby setup.rb install

(3) gems

gems is a new and flexible way of packaging Ruby libraries and
applications, allowing users to install them directly off the 'net and
taking care of dependencies automatically.
http://rubygems.rubyforge.org/wiki/wiki.pl
http://www.pragmaticprogrammer.com/titles/ruby/gems.pdf

Regards,

Brian.