14b169a6bSchristos /* The configure generated header settings. 24b169a6bSchristos 3*88241920Schristos Copyright 2002-2024 Free Software Foundation, Inc. 44b169a6bSchristos 54b169a6bSchristos This program is free software; you can redistribute it and/or modify 64b169a6bSchristos it under the terms of the GNU General Public License as published by 74b169a6bSchristos the Free Software Foundation; either version 3 of the License, or 84b169a6bSchristos (at your option) any later version. 94b169a6bSchristos 104b169a6bSchristos This program is distributed in the hope that it will be useful, 114b169a6bSchristos but WITHOUT ANY WARRANTY; without even the implied warranty of 124b169a6bSchristos MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 134b169a6bSchristos GNU General Public License for more details. 144b169a6bSchristos 154b169a6bSchristos You should have received a copy of the GNU General Public License 164b169a6bSchristos along with this program. If not, see <http://www.gnu.org/licenses/>. */ 174b169a6bSchristos 184b169a6bSchristos /* This file should be included by every .c file before any other header. */ 194b169a6bSchristos 204b169a6bSchristos #ifndef DEFS_H 214b169a6bSchristos #define DEFS_H 224b169a6bSchristos 234b169a6bSchristos #ifdef HAVE_CONFIG_H 244b169a6bSchristos 254b169a6bSchristos /* Include gnulib's various configure tests. */ 264b169a6bSchristos #include "gnulib/config.h" 274b169a6bSchristos 28*88241920Schristos /* This comes from gnulib. Export it until ansidecl.h handles it. */ 29*88241920Schristos #define ATTRIBUTE_FALLTHROUGH _GL_ATTRIBUTE_FALLTHROUGH 30*88241920Schristos 314b169a6bSchristos /* Reset macros that our config.h will provide. */ 324b169a6bSchristos #undef PACKAGE 334b169a6bSchristos #undef PACKAGE_BUGREPORT 344b169a6bSchristos #undef PACKAGE_NAME 354b169a6bSchristos #undef PACKAGE_STRING 364b169a6bSchristos #undef PACKAGE_TARNAME 374b169a6bSchristos #undef PACKAGE_URL 384b169a6bSchristos #undef PACKAGE_VERSION 394b169a6bSchristos 404b169a6bSchristos /* Include common sim's various configure tests. */ 41*88241920Schristos #ifndef SIM_TOPDIR_BUILD 424b169a6bSchristos #include "../config.h" 434b169a6bSchristos #else 444b169a6bSchristos #include "config.h" 454b169a6bSchristos #endif 464b169a6bSchristos 474b169a6bSchristos #endif 484b169a6bSchristos 494b169a6bSchristos #endif 50