Changeset 2298 for trunk/configure


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

fixes for grid.sh build for opensees

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r2207 r2298  
    73767376
    73777377
     7378with_matlab="yes"
    73787379
    73797380# Check whether --with-matlab was given.
    73807381if test "${with_matlab+set}" = set; then :
    7381   withval=$with_matlab; rp_with_matlab=$withval
    7382 else
    7383   rp_with_matlab=yes
     7382  withval=$with_matlab;
     7383else
     7384  with_matlab=yes
    73847385fi
    73857386
     
    73907391MEXEXT=""
    73917392MATLAB=
    7392 if test "$rp_with_matlab" != "no" ; then
    7393   if test "$rp_with_matlab" = "yes" ; then
     7393if test "$with_matlab" != "no" ; then
     7394  if test "$with_matlab" = "yes" ; then
    73947395    # Extract the first word of "matlab", so it can be a program name with args.
    73957396set dummy matlab; ac_word=$2
     
    74467447  *)
    74477448  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7448 as_dummy="${rp_with_matlab}/bin:${rp_with_matlab}"
     7449as_dummy="${with_matlab}/bin:${with_matlab}"
    74497450for as_dir in $as_dummy
    74507451do
     
    76237624# Check whether --with-octave was given.
    76247625if test "${with_octave+set}" = set; then :
    7625   withval=$with_octave; rp_with_octave=$withval
    7626 else
    7627   rp_with_octave=yes
     7626  withval=$with_octave;
     7627else
     7628  with_octave=yes
    76287629fi
    76297630
     
    76357636MKOCTFILE3=
    76367637
    7637 if test "$rp_with_octave" != "no" ; then
    7638   if test "$rp_with_octave" = "yes" ; then
     7638if test "$with_octave" != "no" ; then
     7639  if test "$with_octave" = "yes" ; then
    76397640    # Extract the first word of "octave", so it can be a program name with args.
    76407641set dummy octave; ac_word=$2
     
    77187719
    77197720  else
    7720     OCTAVE=$rp_with_octave
    7721     MKOCTFILE=`dirname $rp_with_octave`/mkoctfile
     7721    OCTAVE=$with_octave
     7722    MKOCTFILE=`dirname $with_octave`/mkoctfile
    77227723  fi
    77237724fi
     
    77567757# Check whether --with-mkoctfile3 was given.
    77577758if test "${with_mkoctfile3+set}" = set; then :
    7758   withval=$with_mkoctfile3; rp_with_mkoctfile3=$withval
    7759 else
    7760   rp_with_mkoctfile3=no
    7761 fi
    7762 
    7763 
    7764 if test "$rp_with_mkoctfile3" != "no" ; then
    7765   if test "$rp_with_mkoctfile3" = "yes" ; then
     7759  withval=$with_mkoctfile3;
     7760else
     7761  with_mkoctfile3=no
     7762fi
     7763
     7764
     7765if test "$with_mkoctfile3" != "no" ; then
     7766  if test "$with_mkoctfile3" = "yes" ; then
    77667767    # Extract the first word of "mkoctfile", so it can be a program name with args.
    77677768set dummy mkoctfile; ac_word=$2
     
    78057806
    78067807  else
    7807     MKOCTFILE3=$rp_with_mkoctfile3
     7808    MKOCTFILE3=$with_mkoctfile3
    78087809  fi
    78097810  OCTAVE_VERSION=`${MKOCTFILE3} --version 2>&1 | cut -d' ' -f3`
     
    78167817# Check whether --with-mkoctfile2 was given.
    78177818if test "${with_mkoctfile2+set}" = set; then :
    7818   withval=$with_mkoctfile2; rp_with_mkoctfile2=$withval
    7819 else
    7820   rp_with_mkoctfile2=no
    7821 fi
    7822 
    7823 
    7824 if test "$rp_with_mkoctfile2" != "no" ; then
    7825   if test "$rp_with_mkoctfile2" = "yes" ; then
     7819  withval=$with_mkoctfile2;
     7820else
     7821  with_mkoctfile2=no
     7822fi
     7823
     7824
     7825if test "$with_mkoctfile2" != "no" ; then
     7826  if test "$with_mkoctfile2" = "yes" ; then
    78267827    # Extract the first word of "mkoctfile", so it can be a program name with args.
    78277828set dummy mkoctfile; ac_word=$2
     
    78657866
    78667867  else
    7867     MKOCTFILE2=$rp_with_mkoctfile2
     7868    MKOCTFILE2=$with_mkoctfile2
    78687869  fi
    78697870  # Have to use octave to get a version, instead of mkoctfile.
     
    78747875
    78757876
    7876 echo "MKOCTFILE2 = $MKOCTFILE2"
    7877 echo "MKOCTFILE3 = $MKOCTFILE3"
    7878 echo "OCTAVE_VERSION_MAJOR = $OCTAVE_VERSION_MAJOR"
    7879 echo "OCTAVE_VERSION = $OCTAVE_VERSION"
    7880 
    7881 
    78827877
    78837878# Check whether --with-perl was given.
     
    78857880  withval=$with_perl;
    78867881else
    7887   rp_with_perl=yes
     7882  with_perl=yes
    78887883fi
    78897884
     
    79007895PERL_VERSION_RV=
    79017896PERL_LIBSPEC=
    7902 if test "$rp_with_perl" != "no" ; then
    7903   if test "$rp_with_perl" != "yes" ; then
     7897if test "$with_perl" != "no" ; then
     7898  if test "$with_perl" != "yes" ; then
    79047899    # Extract the first word of "perl", so it can be a program name with args.
    79057900set dummy perl; ac_word=$2
     
    79157910  *)
    79167911  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7917 as_dummy="$rp_with_perl/bin:$rp_with_perl"
     7912as_dummy="$with_perl/bin:$with_perl"
    79187913for as_dir in $as_dummy
    79197914do
     
    80208015  withval=$with_python;
    80218016else
    8022   rp_with_python=yes
    8023 fi
    8024 
    8025 
    8026 if test "$rp_with_python" != "no" ; then
    8027   if test "$rp_with_python" = "yes" ; then
     8017  with_python=yes
     8018fi
     8019
     8020
     8021if test "$with_python" != "no" ; then
     8022  if test "$with_python" = "yes" ; then
    80288023    # Extract the first word of "python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5", so it can be a program name with args.
    80298024set dummy python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2
     
    80808075  *)
    80818076  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8082 as_dummy="${rp_with_python}/bin:${rp_with_python}"
     8077as_dummy="${with_python}/bin:${with_python}"
    80838078for as_dir in $as_dummy
    80848079do
     
    81748169
    81758170
     8171
     8172# Check whether --with-java was given.
     8173if test "${with_java+set}" = set; then :
     8174  withval=$with_java;
     8175else
     8176  with_java=yes
     8177fi
     8178
    81768179JAVA=""
    81778180JAVAH=""
     
    81798182JAVA_DEV_PKG="no"
    81808183
    8181 # Check whether --with-java was given.
    8182 if test "${with_java+set}" = set; then :
    8183   withval=$with_java; rp_with_java=$withval
    8184 fi
    8185 
    8186 
    8187 if test "${rp_with_java}" != "no" ; then
    8188   if test "${rp_with_java}" = "yes" ; then
     8184if test "${with_java}" != "no" ; then
     8185  if test "${with_java}" = "yes" ; then
    81898186    # Extract the first word of "java", so it can be a program name with args.
    81908187set dummy java; ac_word=$2
     
    83218318  *)
    83228319  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8323 as_dummy="${rp_with_java}/bin:${rp_with_java}"
     8320as_dummy="${with_java}/bin:${with_java}"
    83248321for as_dir in $as_dummy
    83258322do
     
    83628359  *)
    83638360  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8364 as_dummy="${rp_with_java}/bin:${rp_with_java}"
     8361as_dummy="${with_java}/bin:${with_java}"
    83658362for as_dir in $as_dummy
    83668363do
     
    84038400  *)
    84048401  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8405 as_dummy="${rp_with_java}/bin:${rp_with_java}"
     8402as_dummy="${with_java}/bin:${with_java}"
    84068403for as_dir in $as_dummy
    84078404do
     
    84408437if test "x${JAVA}" != "x" ; then
    84418438  for d in \
     8439   ${with_java} \
    84428440   ${JAVA_HOME} \
    8443    /apps/java/jdk1.6.0_01 \
     8441   /apps/java/jdk1.6* \
    84448442   /usr/lib/jvm/*sun-1.6* \
    84458443   /opt/sun-jdk-1.6* \
     
    89258923  . ${exec_prefix}/lib/tclConfig.sh
    89268924fi
    8927 if test -f "${exec_prefix}/lib/tclConfig.sh" ; then
     8925if test -f "${exec_prefix}/lib/tkConfig.sh" ; then
    89288926  . ${exec_prefix}/lib/tkConfig.sh
    89298927fi
Note: See TracChangeset for help on using the changeset viewer.