1 ##### http://autoconf-archive.cryp.to/ax_with_ruby.html
5 # AX_WITH_RUBY([VALUE-IF-NOT-FOUND],[PATH])
9 # Locates an installed Ruby binary, placing the result in the
10 # precious variable $RUBY. Accepts a present $RUBY, then --with-ruby,
11 # and failing that searches for ruby in the given path (which
12 # defaults to the system path). If ruby is found, $RUBY is set to the
13 # full path of the binary; if it is not found, $RUBY is set to
14 # VALUE-IF-NOT-FOUND, which defaults to 'ruby'.
22 # Copyright (c) 2008 Francesco Salvestrini <salvestrini@users.sourceforge.net>
24 # Copying and distribution of this file, with or without
25 # modification, are permitted in any medium without royalty provided
26 # the copyright notice and this notice are preserved.
28 AC_DEFUN([AX_WITH_RUBY],[
29 AX_WITH_PROG(RUBY,ruby)