1/* The configure generated header settings.
2
3   Copyright 2002-2023 Free Software Foundation, Inc.
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
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
37/* Include common sim's various configure tests.  */
38#ifndef SIM_COMMON_BUILD
39#include "../config.h"
40#else
41#include "config.h"
42#endif
43
44#endif
45
46#endif
47