Mercurial > octave
diff build-aux/subst-config-vals.in.sh @ 22899:31bd8a50d44c
Add Sundials library support
* build-aux/subst-config-vals.in.sh: Add configuration
variables for sundials_ida, sundials_nvecserial and klu libraries.
* build-aux/subst-cross-config-vals.in.sh: Add configuration variables
for sundials_ida, sundials_nvecserial and klu libraries.
* configure.ac: Check for sundials_ida, sundials_nvecserial and klu
headers and functions. Check whether sundials_ida has been configured
with double precision. Set configuration variables and flags.
* libinterp/build-env.h: Add variables to build_env namespace.
* libinterp/build-env.in.cc: Add variables to build_env namespace.
* m4/acinclude.m4: Add macro to test whether sundials_ida has been
configured with double precision.
* src/mkoctfile.in.cc: Get variables in order to generate oct-file.
author | Francesco Faccio <francesco.faccio@mail.polimi.it> |
---|---|
date | Tue, 23 Aug 2016 02:13:28 +0200 |
parents | 3a2b891d0b33 |
children | a1f1ab76aa64 |
line wrap: on
line diff
--- a/build-aux/subst-config-vals.in.sh Fri Dec 16 00:10:27 2016 -0500 +++ b/build-aux/subst-config-vals.in.sh Tue Aug 23 02:13:28 2016 +0200 @@ -95,6 +95,9 @@ HDF5_LDFLAGS="@HDF5_LDFLAGS@" HDF5_LIBS="@HDF5_LIBS@" includedir="@includedir@" +KLU_CPPFLAGS="@KLU_CPPFLAGS@" +KLU_LDFLAGS="@KLU_LDFLAGS@" +KLU_LIBS="@KLU_LIBS@" LAPACK_LIBS="@LAPACK_LIBS@" LD_CXX="@LD_CXX@" LDFLAGS="@LDFLAGS@" @@ -249,6 +252,9 @@ $SED -e "s|%OCTAVE_CONF_HDF5_LDFLAGS%|\"${HDF5_LDFLAGS}\"|" \ -e "s|%OCTAVE_CONF_HDF5_LIBS%|\"${HDF5_LIBS}\"|" \ -e "s|%OCTAVE_CONF_INCLUDEDIR%|\"${includedir}\"|" \ + -e "s|%OCTAVE_CONF_KLU_CPPFLAGS%|\"${KLU_CPPFLAGS}\"|" \ + -e "s|%OCTAVE_CONF_KLU_LDFLAGS%|\"${KLU_LDFLAGS}\"|" \ + -e "s|%OCTAVE_CONF_KLU_LIBS%|\"${KLU_LIBS}\"|" \ -e "s|%OCTAVE_CONF_LAPACK_LIBS%|\"${LAPACK_LIBS}\"|" \ -e "s|%OCTAVE_CONF_LD_CXX%|\"${LD_CXX}\"|" \ -e "s|%OCTAVE_CONF_LDFLAGS%|\"${LDFLAGS}\"|" \