From: stevenj Date: Fri, 14 Nov 2008 01:04:49 +0000 (-0500) Subject: disable Octave code if mkoctfile not found, even if OCT_INSTALL_DIR specified X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=6bad0de59e2102d96eaa9df3a8da565b9bed3c22;p=nlopt.git disable Octave code if mkoctfile not found, even if OCT_INSTALL_DIR specified darcs-hash:20081114010449-c8de0-49d3266da4b839ebe49046f614614e5680a2dca7.gz --- diff --git a/configure.ac b/configure.ac index 23d7c2c..51e6364 100644 --- a/configure.ac +++ b/configure.ac @@ -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)