Changeset 2192 for trunk/configure


Ignore:
Timestamp:
Mar 31, 2011, 6:28:18 PM (9 years ago)
Author:
gah
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r2191 r2192  
    79027902    MKOCTFILE2=$rp_with_mkoctfile2
    79037903  fi
    7904   OCTAVE_VERSION=2.x.x
    7905   OCTAVE_VERSION_MAJOR=2
     7904  # Have to use octave to get a version, instead of mkoctfile.
     7905  octave=`dirname $MKOCTFILE2`/octave
     7906  OCTAVE_VERSION=`${octave} -v | grep version | cut -d' ' -f4`
     7907  OCTAVE_VERSION_MAJOR=`echo ${OCTAVE_VERSION} | cut -d'.' -f1`
    79067908fi
    79077909
Note: See TracChangeset for help on using the changeset viewer.