150276Speter/**************************************************************************** 2166124Srafan * Copyright (c) 1998-2004,2005 Free Software Foundation, Inc. * 350276Speter * * 450276Speter * Permission is hereby granted, free of charge, to any person obtaining a * 550276Speter * copy of this software and associated documentation files (the * 650276Speter * "Software"), to deal in the Software without restriction, including * 750276Speter * without limitation the rights to use, copy, modify, merge, publish, * 850276Speter * distribute, distribute with modifications, sublicense, and/or sell * 950276Speter * copies of the Software, and to permit persons to whom the Software is * 1050276Speter * furnished to do so, subject to the following conditions: * 1150276Speter * * 1250276Speter * The above copyright notice and this permission notice shall be included * 1350276Speter * in all copies or substantial portions of the Software. * 1450276Speter * * 1550276Speter * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * 1650276Speter * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * 1750276Speter * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * 1850276Speter * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * 1950276Speter * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * 2050276Speter * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * 2150276Speter * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * 2250276Speter * * 2350276Speter * Except as contained in this notice, the name(s) of the above copyright * 2450276Speter * holders shall not be used in advertising or otherwise to promote the * 2550276Speter * sale, use or other dealings in this Software without prior written * 2650276Speter * authorization. * 2750276Speter ****************************************************************************/ 2850276Speter 2950276Speter/**************************************************************************** 3050276Speter * Author: Thomas E. Dickey <dickey@clark.net> 1997 * 3150276Speter ****************************************************************************/ 3250276Speter/* 33166124Srafan * $Id: ncurses_cfg.hin,v 1.7 2005/01/02 01:26:58 tom Exp $ 3450276Speter * 3550276Speter * This is a template-file used to generate the "ncurses_cfg.h" file. 3650276Speter * 3766963Speter * Rather than list every definition, the configuration script substitutes the 3866963Speter * definitions that it finds using 'sed'. You need a patch (original date 3966963Speter * 971222) to autoconf 2.12 or 2.13 to do this. 4066963Speter * 4166963Speter * See: 42166124Srafan * http://invisible-island.net/autoconf/ 43166124Srafan * ftp://invisible-island.net/autoconf/ 4450276Speter */ 4550276Speter#ifndef NC_CONFIG_H 4650276Speter#define NC_CONFIG_H 4750276Speter@DEFS@ 4850276Speter 4966963Speter#include <ncurses_def.h> 5066963Speter 5150276Speter /* The C compiler may not treat these properly but C++ has to */ 5250276Speter#ifdef __cplusplus 5350276Speter#undef const 5450276Speter#undef inline 5550276Speter#else 5650276Speter#if defined(lint) || defined(TRACE) 5750276Speter#undef inline 5850276Speter#define inline /* nothing */ 5950276Speter#endif 6050276Speter#endif 6150276Speter 62166124Srafan /* On HP-UX, the C compiler doesn't grok mbstate_t without 63166124Srafan -D_XOPEN_SOURCE=500. However, this causes problems on 64166124Srafan IRIX. So, we #define mbstate_t to int in configure.in 65166124Srafan only for the C compiler if needed. */ 66166124Srafan#ifndef __cplusplus 67166124Srafan#ifdef NEED_MBSTATE_T_DEF 68166124Srafan#define mbstate_t int 69166124Srafan#endif 70166124Srafan#endif 71166124Srafan 7250276Speter#endif /* NC_CONFIG_H */ 73