From e48f535004311eca80abf4fef31c88a9437b12ee Mon Sep 17 00:00:00 2001 From: Houtan Bastani Date: Wed, 19 Sep 2012 10:57:12 +0200 Subject: [PATCH] bug fix: ms_sbvar requires matio under octave but configure output doesn't state that it's missing. --- mex/build/octave/configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mex/build/octave/configure.ac b/mex/build/octave/configure.ac index cf3fc7005..6fb570f80 100644 --- a/mex/build/octave/configure.ac +++ b/mex/build/octave/configure.ac @@ -93,10 +93,10 @@ else BUILD_KALMAN_STEADY_STATE_OCTAVE="no (missing SLICOT)" fi -if test "x$MKOCTFILE" != "x" -a "x$has_gsl" = "xyes"; then +if test "x$MKOCTFILE" != "x" -a "x$has_gsl" = "xyes" -a "x$ac_cv_header_matio_h" = "xyes" -a "x$ac_cv_lib_matio_Mat_Open" = "xyes"; then BUILD_MS_SBVAR_MEX_OCTAVE="yes" else - BUILD_MS_SBVAR_MEX_OCTAVE="no (missing GSL)" + BUILD_MS_SBVAR_MEX_OCTAVE="no (missing GSL or MatIO library)" fi AC_ARG_ENABLE([openmp], AS_HELP_STRING([--enable-openmp], [use OpenMP for parallelization of some MEX files]), [