chiark / gitweb /
disable Octave code if mkoctfile not found, even if OCT_INSTALL_DIR specified
authorstevenj <stevenj@alum.mit.edu>
Fri, 14 Nov 2008 01:04:49 +0000 (20:04 -0500)
committerstevenj <stevenj@alum.mit.edu>
Fri, 14 Nov 2008 01:04:49 +0000 (20:04 -0500)
darcs-hash:20081114010449-c8de0-49d3266da4b839ebe49046f614614e5680a2dca7.gz

configure.ac

index 23d7c2c33406e87d1d0be0cdf68418ea9a2b1d14..51e63641ec5e8c31b00066e64796d365c8c47f5d 100644 (file)
@@ -91,6 +91,7 @@ AC_ARG_VAR(MKOCTFILE, [name of mkoctfile program to compile Octave plug-ins])
 AC_CHECK_PROGS(MKOCTFILE, mkoctfile, echo)
 if test "$MKOCTFILE" = "echo"; then
        AC_MSG_WARN([can't find mkoctfile: won't be able to compile GNU Octave plugin])
+       OCT_INSTALL_DIR=""
 elif test x"$OCT_INSTALL_DIR" = "x"; then
        # try to find installation directory
        AC_CHECK_PROGS(OCTAVE, octave, echo)