[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r1131434 - /subversion/trunk/configure.ac

From: Stefan Sperling <stsp_at_apache.org>
Date: Sat, 4 Jun 2011 22:21:15 +0200

On Sat, Jun 04, 2011 at 09:40:16PM +0200, Arfrever Frehtes Taifersar Arahesis wrote:
> Some users might have multiple Ruby interpreters available (e.g. /usr/bin/ruby18 and /usr/bin/ruby19)
> and /usr/bin/ruby symlink pointing to e.g. ruby19. This revision breaks detection of requested Ruby
> interpreter in such situations.
>
> I suggest to use:
> AC_PATH_PROGS(RUBY, $RUBY ruby, none)
> AC_PATH_PROG(RDOC, $RDOC rdoc, none)
>
> OpenBSD packagers will have to set RUBY and RDOC variables when calling `./configure`.
>
> If versioned executables are still needed in the list, then following could be used:
> AC_PATH_PROGS(RUBY, $RUBY ruby ruby1.9 ruby19 ruby1.8 ruby18, none)
> AC_PATH_PROG(RDOC, $RDOC rdoc rdoc1.9 rdoc19 rdoc1.8 rdoc18, none)
>
> (Personally I prefer the variant without versioned executables.)

Yes, that sounds like a good solution to me, too.
Received on 2011-06-04 22:21:50 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.