Ignore:
Timestamp:
Jul 8, 2011, 3:14:27 PM (13 years ago)
Author:
gah
Message:

fixes for grid.sh build for opensees

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cf/rpLangMatlab.m4

    r2209 r2298  
    11AC_DEFUN([RP_LANG_MATLAB],[
    2 rp_with_matlab="yes"
     2with_matlab="yes"
    33AC_ARG_WITH(
    44    [matlab],
    55    [AS_HELP_STRING([--with-matlab[=DIR]],
    66        [location of matlab and mex compiler @<:@default=yes@:>@])],
    7     [rp_with_matlab=$withval],
    8     [rp_with_matlab=yes])
     7    [],
     8    [with_matlab=yes])
    99
    1010MCC=""
     
    1313MEXEXT=""
    1414MATLAB=
    15 if test "$rp_with_matlab" != "no" ; then
    16   if test "$rp_with_matlab" = "yes" ; then
     15if test "$with_matlab" != "no" ; then
     16  if test "$with_matlab" = "yes" ; then
    1717    AC_PATH_PROG(MATLAB, matlab)
    1818  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}])
    2020  fi
    2121fi
Note: See TracChangeset for help on using the changeset viewer.