Mercurial > hg > octave-lyh
changeset 10332:5f6298220ced
configure.ac: include colamd and amd libs in LIBS when checking for cholmod library
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 17 Feb 2010 14:24:22 -0500 |
parents | 6a50aa2cdf00 |
children | 0c42b6b7da24 |
files | ChangeLog configure.ac |
diffstat | 2 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,9 @@ 2010-02-17 John W. Eaton <jwe@octave.org> - * configure.ac: + * configure.ac: Add $COLAMD_LDFLAGS $COLAMD_LIBS $AMD_LDFLAGS, + and $AMD_LIBS to LIBS when checking for cholmod library. + +2010-02-17 John W. Eaton <jwe@octave.org> * acinclude.m4 (OCTAVE_CHECK_FORTRAN_INTEGER_SIZE): Save and restore FFLAGS. Temporarily add F77_INTEGER_8_FLAG to FFLAGS.
--- a/configure.ac +++ b/configure.ac @@ -984,7 +984,7 @@ # then you will need to configure with --with-cholmod="-lcholmod -lcblas". save_LIBS="$LIBS" -LIBS="$LAPACK_LIBS $BLAS_LIBS $FLIBS $LIBS" +LIBS="$COLAMD_LDFLAGS $COLAMD_LIBS $AMD_LDFLAGS $AMD_LIBS $LAPACK_LIBS $BLAS_LIBS $FLIBS $LIBS" OCTAVE_CHECK_LIBRARY(cholmod, CHOLMOD, [CHOLMOD library not found. This will result in some lack of functionality for sparse matrices.], [suitesparse/cholmod.h ufsparse/cholmod.h cholmod/cholmod.h cholmod.h],