comparison libinterp/build-info.h @ 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 e6f76c393ad7
comparison
equal deleted inserted replaced
21599:f29d68e24c5a 21600:184b85b31e03
1 // %NO_EDIT_WARNING%
2 /* 1 /*
3 2
4 Copyright (C) 2016 M. Muetzel 3 Copyright (C) 2016 M. Muetzel
5 4
6 This file is part of Octave. 5 This file is part of Octave.
19 along with Octave; see the file COPYING. If not, see 18 along with Octave; see the file COPYING. If not, see
20 <http://www.gnu.org/licenses/>. 19 <http://www.gnu.org/licenses/>.
21 20
22 */ 21 */
23 22
23 #include <ctime>
24
24 #include <string> 25 #include <string>
25 26
26 extern OCTAVE_API std::string octave_hg_id (void); 27 extern OCTAVE_API std::string octave_hg_id (void);
27 28
28 extern OCTAVE_API std::string octave_build_date (void); 29 extern OCTAVE_API time_t octave_build_time (void);
29
30 extern OCTAVE_API std::string octave_build_time (void);