source:
branches/blt4/cf/rpLangR.m4
@
4846
Last change on this file since 4846 was 2742, checked in by gah, 13 years ago | |
---|---|
File size: 338 bytes |
Line | |
---|---|
1 | AC_DEFUN([RP_LANG_R],[ |
2 | AC_ARG_WITH( |
3 | [R], |
4 | [AS_HELP_STRING([--with-R[=DIR]], |
5 | [location of R interpreter @<:@default=yes@:>@])], |
6 | [], |
7 | [with_R=yes]) |
8 | |
9 | R="" |
10 | if test "$with_R" != "no" ; then |
11 | if test "$with_R" = "yes" ; then |
12 | AC_PATH_PROG(R, R) |
13 | else |
14 | AC_PATH_PROG(R, R, [], [${with_R}/bin:${with_R}]) |
15 | fi |
16 | fi |
17 | |
18 | ]) |
Note: See TracBrowser
for help on using the repository browser.