Michel Juillard michel.juillard@ens.fr a écrit :
I'm all in favor of using Boost Graph Library. For configure, we will have to carefully document how users can manually indicate where the various libraries are. For k_order_perturbation, the DLL depends upon a DLL provided by dynare++ and Matlab Lapack and BLAS libraries.
The standard way of doing this with configure script would give something like:
./configure --with-boost=/usr/local/include --with-matlab=/usr/local/matlab78 --with-dynare++=/home/user/dynare++
And there would be sensible default values (at least for boost) in case the user doesn't specify a location. And for example if the user doesn't specify a value for Matlab, then an Octave-only version would be built. And vice-versa if the configure tool can't find Octave, then it would build a Matlab-only version.
Note that giving the path for Matlab is enough for finding: the "mex" command line tool, the BLAS and LAPACK libraries, the blas.h and lapack.h headers.