> I've run into a few issues in my project AweMUD in trying to embed Ruby in relation to compilation.  I'm using automake/autoconf, but I can't find an easy way to detect/configure the settings for compiling in the Ruby library (library and include paths, basically).
> 
> I was wondering if a ruby-config program would be possible, or perhaps some m4 macros for autoconf, to have stuff like
> AC_RUBY_LIBRARY
> or whatnot.
> 
> It would be a lot easier than having to have users type
> ./configure --with-ruby=/usr/lib/ruby/1.6/i386-linux
> Wouldn't it?

Hm... I have begun a group of Autoconf macros for Python, am about to
do the same for Jython... perhaps Ruby is next? 

I have found that despite the fact that M4 is painful, it actually
begins to become almost... fun... to write those things... ;-)