]>
Commit | Line | Data |
---|---|---|
6df01ab8 MF |
1 | /* The configure generated header settings. |
2 | ||
4a94e368 | 3 | Copyright 2002-2022 Free Software Foundation, Inc. |
6df01ab8 MF |
4 | |
5 | This program is free software; you can redistribute it and/or modify | |
6 | it under the terms of the GNU General Public License as published by | |
7 | the Free Software Foundation; either version 3 of the License, or | |
8 | (at your option) any later version. | |
9 | ||
10 | This program is distributed in the hope that it will be useful, | |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | GNU General Public License for more details. | |
14 | ||
15 | You should have received a copy of the GNU General Public License | |
16 | along with this program. If not, see <http://www.gnu.org/licenses/>. */ | |
17 | ||
18 | /* This file should be included by every .c file before any other header. */ | |
19 | ||
20 | #ifndef DEFS_H | |
21 | #define DEFS_H | |
22 | ||
23 | #ifdef HAVE_CONFIG_H | |
24 | ||
5c9e84c2 MF |
25 | /* Include gnulib's various configure tests. */ |
26 | #include "gnulib/config.h" | |
27 | ||
28 | /* Reset macros that our config.h will provide. */ | |
29 | #undef PACKAGE | |
30 | #undef PACKAGE_BUGREPORT | |
31 | #undef PACKAGE_NAME | |
32 | #undef PACKAGE_STRING | |
33 | #undef PACKAGE_TARNAME | |
34 | #undef PACKAGE_URL | |
35 | #undef PACKAGE_VERSION | |
36 | ||
b15c5d7a | 37 | /* Include common sim's various configure tests. */ |
52d37d2c | 38 | #ifndef SIM_COMMON_BUILD |
b15c5d7a | 39 | #include "../config.h" |
52d37d2c MF |
40 | #else |
41 | #include "config.h" | |
6df01ab8 MF |
42 | #endif |
43 | ||
44 | #endif | |
dd8e16ea MF |
45 | |
46 | #endif |