Added a minimalistic README.
[amarok_sonynw.git] / m4 / ax_with_ruby.m4
blobe21b6ea7a74092326d4f638a707367f4812499d4
1 ##### http://autoconf-archive.cryp.to/ax_with_ruby.html
3 # SYNOPSIS
5 #   AX_WITH_RUBY([VALUE-IF-NOT-FOUND],[PATH])
7 # DESCRIPTION
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'.
16 # LAST MODIFICATION
18 #   2008-01-29
20 # COPYLEFT
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)