summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build/linux/configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/linux/configure.ac b/build/linux/configure.ac
index 26fa215..785b698 100644
--- a/build/linux/configure.ac
+++ b/build/linux/configure.ac
@@ -179,8 +179,8 @@ AC_SUBST(HAVEMATLAB)
# octave
-AC_ARG_ENABLE(octave, [[ --disable-octave disable Octave support]])
-if test x"$enable_octave" != xno; then
+AC_ARG_ENABLE(octave, [[ --enable-octave enable Octave support]])
+if test x"$enable_octave" = xyes; then
AC_PATH_PROG([HAVEOCTAVE], [octave-config], [no], [$PATH])
AC_MSG_CHECKING([for octave])
if test x"HAVEOCTAVE" != xno -a $HAVEMATLAB = yes; then