From 86db8d805c5ef38cb1d7a7526b71842c38c37019 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= Date: Sat, 23 Mar 2013 17:09:00 +0100 Subject: [PATCH] Add configure test for UMFPACK --- mex/build/octave/configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mex/build/octave/configure.ac b/mex/build/octave/configure.ac index 0868f465b..06b58e50c 100755 --- a/mex/build/octave/configure.ac +++ b/mex/build/octave/configure.ac @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. -dnl Copyright (C) 2009-2012 Dynare Team +dnl Copyright (C) 2009-2013 Dynare Team dnl dnl This file is part of Dynare. dnl @@ -68,6 +68,9 @@ AM_CONDITIONAL([HAVE_MATIO], [test "x$has_matio" = "xyes"]) AX_SLICOT([octave]) AM_CONDITIONAL([HAVE_SLICOT], [test "x$has_slicot" = "xyes"]) +# Check for UMFPACK, needed by bytecode +AC_CHECK_LIB([umfpack], [umfpack_dl_defaults], [], [AC_MSG_ERROR([Can't find UMFPACK])]) + AM_CONDITIONAL([DO_SOMETHING], [test "x$MKOCTFILE" != "x"]) if test "x$MKOCTFILE" != "x"; then