Commit c8e59f13 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Do not put -lumfpack in LIBS, rather use a special variable for it

parent 513ae741
...@@ -2,4 +2,4 @@ EXEEXT = .mex ...@@ -2,4 +2,4 @@ EXEEXT = .mex
include ../mex.am include ../mex.am
include ../../bytecode.am include ../../bytecode.am
bytecode_LDADD = -lumfpack bytecode_LDADD = $(LIBADD_UMFPACK)
...@@ -70,7 +70,8 @@ AX_SLICOT([octave]) ...@@ -70,7 +70,8 @@ AX_SLICOT([octave])
AM_CONDITIONAL([HAVE_SLICOT], [test "x$has_slicot" = "xyes"]) AM_CONDITIONAL([HAVE_SLICOT], [test "x$has_slicot" = "xyes"])
# Check for UMFPACK, needed by bytecode # Check for UMFPACK, needed by bytecode
AC_CHECK_LIB([umfpack], [umfpack_dl_defaults], [], [AC_MSG_ERROR([Can't find UMFPACK])]) AC_CHECK_LIB([umfpack], [umfpack_dl_defaults], [LIBADD_UMFPACK="-lumfpack"], [AC_MSG_ERROR([Can't find UMFPACK])])
AC_SUBST([LIBADD_UMFPACK])
AM_CONDITIONAL([DO_SOMETHING], [test "x$MKOCTFILE" != "x"]) AM_CONDITIONAL([DO_SOMETHING], [test "x$MKOCTFILE" != "x"])
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment