Skip to content

Commit

Permalink
fix octave detection for octave 3.6.x (Closes issue #383)
Browse files Browse the repository at this point in the history
thanks andyknownasabu for the fix
  • Loading branch information
Soeren Sonnenburg committed Jun 2, 2012
1 parent e915d01 commit 78f9ac6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/configure
Expand Up @@ -4145,9 +4145,9 @@ test_octave()
if test "$_octave_static" != no || test "$_octave_modular" != no
then
echocheck "Octave"
if echo version | octave --no-history >/dev/null 2>&1
if octave --version >/dev/null 2>&1
then
_octave_version="`echo version | octave --no-history 2>&1 | grep ans | cut -f 3- -d ' '`"
_octave_version="`octave --version 2>&1 | grep version | cut -f 4- -d ' '`"
if test "`echo $_octave_version | cut -f 1 -d '.'`" -ge 3
then
echores "$_octave_version"
Expand Down

0 comments on commit 78f9ac6

Please sign in to comment.