Changeset 2307 for branches/blt4/cf/rpLangMatlab.m4
- Timestamp:
- Jul 10, 2011 5:55:10 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/blt4/cf/rpLangMatlab.m4
r2279 r2307 1 1 AC_DEFUN([RP_LANG_MATLAB],[ 2 rp_with_matlab="yes"2 with_matlab="yes" 3 3 AC_ARG_WITH( 4 4 [matlab], 5 5 [AS_HELP_STRING([--with-matlab[=DIR]], 6 6 [location of matlab and mex compiler @<:@default=yes@:>@])], 7 [ rp_with_matlab=$withval],8 [ rp_with_matlab=yes])7 [], 8 [with_matlab=yes]) 9 9 10 10 MCC="" … … 13 13 MEXEXT="" 14 14 MATLAB= 15 if test "$ rp_with_matlab" != "no" ; then16 if test "$ rp_with_matlab" = "yes" ; then15 if test "$with_matlab" != "no" ; then 16 if test "$with_matlab" = "yes" ; then 17 17 AC_PATH_PROG(MATLAB, matlab) 18 18 else 19 AC_PATH_PROG(MATLAB, matlab, [], [${ rp_with_matlab}/bin:${rp_with_matlab}])19 AC_PATH_PROG(MATLAB, matlab, [], [${with_matlab}/bin:${with_matlab}]) 20 20 fi 21 21 fi
Note: See TracChangeset
for help on using the changeset viewer.