diff options
author | Erik de Castro Lopo <erikd@mega-nerd.com> | 2009-02-15 09:34:21 +1100 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2009-02-15 09:34:21 +1100 |
commit | b038515b4eeb6c0a49c874f6eaa10416c125c644 (patch) | |
tree | 406bb2a1cae15ce31621a23a6e13a793178712e0 /M4 | |
parent | 033cc5ca3559457acba93d623caddfbc1d5a0b2a (diff) |
M4/octave.m4 : Clear the TERM environment before evaluating anything in Octave.
Diffstat (limited to 'M4')
-rw-r--r-- | M4/octave.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/M4/octave.m4 b/M4/octave.m4 index 49112a5..1646534 100644 --- a/M4/octave.m4 +++ b/M4/octave.m4 @@ -7,7 +7,7 @@ dnl Stolen from octave-forge AC_DEFUN([OCTAVE_EVAL], [ AC_MSG_CHECKING([for $1 in $OCTAVE]) -$2=`echo "disp($1)" | $OCTAVE -qfH` +$2=`TERM=;$OCTAVE -qfH --eval "disp($1)"` AC_MSG_RESULT($$2) AC_SUBST($2) ]) # OCTAVE_EVAL |