comparison libinterp/liboctinterp-build-info.h @ 21607:37f6ed8a6f1b

store liboctave and liboctinterp hg ids separately * liboctinterp-build-info.h: Rename from build-info.h. * liboctinterp-build-info.in.cc: Rename from build-info.in.cc. * liboctinterp-build-info.h, liboctinterp-build-info.in.cc (liboctinterp_hg_id): Rename function from octave_hg_id. * libinterp/module.mk: Update. * liboctave/liboctave-build-info.h, liboctave/liboctave-build-info.in.cc: New files. * liboctave/module.mk: Update. * toplev.cc: Include both liboctave-build-info.h and liboctinterp-build-info.h. (F__octave_config_info__): Replace hg_id field with liboctave_hg_id and liboctinterp_hg_id fields.
author John W. Eaton <jwe@octave.org>
date Mon, 11 Apr 2016 12:16:19 -0400
parents libinterp/build-info.h@ec01be3b8f5d
children 34ce5be04942
comparison
equal deleted inserted replaced
21606:ec01be3b8f5d 21607:37f6ed8a6f1b
1 /*
2
3 Copyright (C) 2016 M. Muetzel
4
5 This file is part of Octave.
6
7 Octave is free software; you can redistribute it and/or modify it
8 under the terms of the GNU General Public License as published by the
9 Free Software Foundation; either version 3 of the License, or (at your
10 option) any later version.
11
12 Octave is distributed in the hope that it will be useful, but WITHOUT
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15 for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with Octave; see the file COPYING. If not, see
19 <http://www.gnu.org/licenses/>.
20
21 */
22
23 #if ! defined (octave_liboctinterp_build_info_h)
24 #define octave_liboctinterp_build_info_h 1
25
26 #include "octave-config.h"
27
28 #include <ctime>
29
30 #include <string>
31
32 extern OCTAVE_API std::string liboctinterp_hg_id (void);
33
34 #endif