Mercurial > octave
comparison libinterp/corefcn/toplev.cc @ 21603:37cbdf7bffa9
Add fftwf_version (bug #45659)
* toplev.cc (F__octave_config_info__): New field, fftwf_version.
* oct-fftw.cc, oct-fftw.h (octave_fftwf_version): New function.
author | mmuetzel <markus.muetzel@gmx.de> |
---|---|
date | Mon, 11 Apr 2016 10:45:17 +0200 |
parents | 184b85b31e03 |
children | e6f76c393ad7 |
comparison
equal
deleted
inserted
replaced
21602:47c76e56a1de | 21603:37cbdf7bffa9 |
---|---|
1429 { "datadir", subst_octave_home (OCTAVE_DATADIR) }, | 1429 { "datadir", subst_octave_home (OCTAVE_DATADIR) }, |
1430 { "datarootdir", subst_octave_home (OCTAVE_DATAROOTDIR) }, | 1430 { "datarootdir", subst_octave_home (OCTAVE_DATAROOTDIR) }, |
1431 { "exec_prefix", subst_octave_home (OCTAVE_EXEC_PREFIX) }, | 1431 { "exec_prefix", subst_octave_home (OCTAVE_EXEC_PREFIX) }, |
1432 { "fcnfiledir", subst_octave_home (OCTAVE_FCNFILEDIR) }, | 1432 { "fcnfiledir", subst_octave_home (OCTAVE_FCNFILEDIR) }, |
1433 { "fftw_version", octave_fftw_version () }, | 1433 { "fftw_version", octave_fftw_version () }, |
1434 { "fftwf_version", octave_fftwf_version () }, | |
1434 { "hg_id", octave_hg_id () }, | 1435 { "hg_id", octave_hg_id () }, |
1435 { "imagedir", subst_octave_home (OCTAVE_IMAGEDIR) }, | 1436 { "imagedir", subst_octave_home (OCTAVE_IMAGEDIR) }, |
1436 { "includedir", subst_octave_home (OCTAVE_INCLUDEDIR) }, | 1437 { "includedir", subst_octave_home (OCTAVE_INCLUDEDIR) }, |
1437 { "infodir", subst_octave_home (OCTAVE_INFODIR) }, | 1438 { "infodir", subst_octave_home (OCTAVE_INFODIR) }, |
1438 { "infofile", subst_octave_home (OCTAVE_INFOFILE) }, | 1439 { "infofile", subst_octave_home (OCTAVE_INFOFILE) }, |
1718 %!test | 1719 %!test |
1719 %! x = __octave_config_info__ (); | 1720 %! x = __octave_config_info__ (); |
1720 %! assert (isstruct (x)); | 1721 %! assert (isstruct (x)); |
1721 %! assert (! isempty (x)); | 1722 %! assert (! isempty (x)); |
1722 | 1723 |
1724 %!assert (__octave_config_info__ ("fftw_version"), __octave_config_info__ ("fftwf_version")) | |
1725 | |
1723 %!error __octave_config_info__ (1, 2) | 1726 %!error __octave_config_info__ (1, 2) |
1724 */ | 1727 */ |
1725 | 1728 |
1726 #if defined (__GNUG__) && defined (DEBUG_NEW_DELETE) | 1729 #if defined (__GNUG__) && defined (DEBUG_NEW_DELETE) |
1727 | 1730 |