Mercurial > octave
diff libinterp/corefcn/toplev.cc @ 21600:184b85b31e03
more updates for version function
* toplev.cc (F__octave_config_info__): New fields, build_time,
fftw_version.
* oct-fftw.cc, oct-fftw.h (octave_fftw_version): New function.
* version.m: New option "-fftw". Fix release_date in tests
* module.mk (libinterp/build-info.cc): Update rule.
* build-info.h, build-info.in.cc (octave_build_date): Delete.
(octave_build_time): Return Unix time instead of local clock time.
author | mmuetzel <markus.muetzel@gmx.de> |
---|---|
date | Sun, 10 Apr 2016 15:33:43 -0400 |
parents | cf552443c104 |
children | 37cbdf7bffa9 |
line wrap: on
line diff
--- a/libinterp/corefcn/toplev.cc Sun Apr 10 09:49:12 2016 -0700 +++ b/libinterp/corefcn/toplev.cc Sun Apr 10 15:33:43 2016 -0400 @@ -45,6 +45,7 @@ #include "lo-error.h" #include "lo-mappers.h" #include "oct-env.h" +#include "oct-fftw.h" #include "oct-locbuf.h" #include "quit.h" #include "singleton-cleanup.h" @@ -1423,13 +1424,13 @@ { "api_version", OCTAVE_API_VERSION }, { "archlibdir", subst_octave_home (OCTAVE_ARCHLIBDIR) }, { "bindir", subst_octave_home (OCTAVE_BINDIR) }, - { "build_date", octave_build_date () }, { "build_time", octave_build_time () }, { "canonical_host_type", OCTAVE_CANONICAL_HOST_TYPE }, { "datadir", subst_octave_home (OCTAVE_DATADIR) }, { "datarootdir", subst_octave_home (OCTAVE_DATAROOTDIR) }, { "exec_prefix", subst_octave_home (OCTAVE_EXEC_PREFIX) }, { "fcnfiledir", subst_octave_home (OCTAVE_FCNFILEDIR) }, + { "fftw_version", octave_fftw_version () }, { "hg_id", octave_hg_id () }, { "imagedir", subst_octave_home (OCTAVE_IMAGEDIR) }, { "includedir", subst_octave_home (OCTAVE_INCLUDEDIR) },