configure script: fix bug in Octave detection

time-shift
Sébastien Villemot 2013-06-14 10:07:31 +02:00
parent c08c34223d
commit 613e01afcc
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ if test "x$enable_octave" = "xyes"; then
AC_CHECK_PROG([OCTAVE], [octave], [octave])
fi
AM_CONDITIONAL([ENABLE_OCTAVE], [test "x$enable_octave" = "xyes"])
AM_CONDITIONAL([HAVE_OCTAVE], [test "x$enable_octave" = "xyes" -a test "x$OCTAVE" != "x"])
AM_CONDITIONAL([HAVE_OCTAVE], [test "x$enable_octave" = "xyes" -a "x$OCTAVE" != "x"])
# Enable exporting of Org files
# The clean way would be to test for Emacs, Org-mode, latex, dvipng...