On Sun, Jun 05, 2011 at 06:15:29PM +0300, Daniel Shahaf wrote: > I don't think checking for ruby20 ruby2.0 ruby19 ruby1.9 ruby18 ruby1.8 > is too much of a problem. We already do this for some other > dependencies:
OK, then let's make it do what Arfrever suggested: AC_PATH_PROGS(RUBY, $RUBY ruby ruby1.9 ruby19 ruby1.8 ruby18, none) AC_PATH_PROGS(RDOC, $RDOC rdoc rdoc1.9 rdoc19 rdoc1.8 rdoc18, none)