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

fixes for grid.sh build for opensees

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cf/rpLangPython.m4

    r2209 r2298  
    1313PYTHON_VERSION=""
    1414pythondir=""
    15 rp_with_python="yes"
    1615AC_ARG_WITH([python],
    1716    [AS_HELP_STRING([--with-python[=DIR]],[location of python @<:@default=yes@:>@])],
    18     [rp_with_python=$withval],
    19     [rp_with_python=yes])
     17    [],
     18    [with_python=yes])
    2019
    21 if test "$rp_with_python" != "no" ; then
    22   if test "$rp_with_python" = "yes" ; then
     20if test "$with_python" != "no" ; then
     21  if test "$with_python" = "yes" ; then
    2322    AC_PATH_PROG(PYTHON, python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5)
    2423  else
    25     AC_PATH_PROG(PYTHON, python, [], [${rp_with_python}/bin:${rp_with_python}])
     24    AC_PATH_PROG(PYTHON, python, [], [${with_python}/bin:${with_python}])
    2625  fi
    2726  AC_MSG_CHECKING([for Python version])
Note: See TracChangeset for help on using the changeset viewer.