xref: /freebsd/contrib/ncurses/include/ncurses_cfg.hin (revision 18259542b2f8fa7e3f76f4bb0dd37995dfd424aa)
10e3d5408SPeter Wemm/****************************************************************************
20e3d5408SPeter Wemm * Copyright (c) 1998 Free Software Foundation, Inc.                        *
30e3d5408SPeter Wemm *                                                                          *
40e3d5408SPeter Wemm * Permission is hereby granted, free of charge, to any person obtaining a  *
50e3d5408SPeter Wemm * copy of this software and associated documentation files (the            *
60e3d5408SPeter Wemm * "Software"), to deal in the Software without restriction, including      *
70e3d5408SPeter Wemm * without limitation the rights to use, copy, modify, merge, publish,      *
80e3d5408SPeter Wemm * distribute, distribute with modifications, sublicense, and/or sell       *
90e3d5408SPeter Wemm * copies of the Software, and to permit persons to whom the Software is    *
100e3d5408SPeter Wemm * furnished to do so, subject to the following conditions:                 *
110e3d5408SPeter Wemm *                                                                          *
120e3d5408SPeter Wemm * The above copyright notice and this permission notice shall be included  *
130e3d5408SPeter Wemm * in all copies or substantial portions of the Software.                   *
140e3d5408SPeter Wemm *                                                                          *
150e3d5408SPeter Wemm * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS  *
160e3d5408SPeter Wemm * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF               *
170e3d5408SPeter Wemm * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.   *
180e3d5408SPeter Wemm * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,   *
190e3d5408SPeter Wemm * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR    *
200e3d5408SPeter Wemm * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR    *
210e3d5408SPeter Wemm * THE USE OR OTHER DEALINGS IN THE SOFTWARE.                               *
220e3d5408SPeter Wemm *                                                                          *
230e3d5408SPeter Wemm * Except as contained in this notice, the name(s) of the above copyright   *
240e3d5408SPeter Wemm * holders shall not be used in advertising or otherwise to promote the     *
250e3d5408SPeter Wemm * sale, use or other dealings in this Software without prior written       *
260e3d5408SPeter Wemm * authorization.                                                           *
270e3d5408SPeter Wemm ****************************************************************************/
280e3d5408SPeter Wemm
290e3d5408SPeter Wemm/****************************************************************************
300e3d5408SPeter Wemm *  Author: Thomas E. Dickey <dickey@clark.net> 1997                        *
310e3d5408SPeter Wemm ****************************************************************************/
320e3d5408SPeter Wemm/*
3318259542SPeter Wemm * $Id: ncurses_cfg.hin,v 1.3 2000/09/02 17:13:32 tom Exp $
340e3d5408SPeter Wemm *
350e3d5408SPeter Wemm * This is a template-file used to generate the "ncurses_cfg.h" file.
360e3d5408SPeter Wemm *
3718259542SPeter Wemm * Rather than list every definition, the configuration script substitutes the
3818259542SPeter Wemm * definitions that it finds using 'sed'.  You need a patch (original date
3918259542SPeter Wemm * 971222) to autoconf 2.12 or 2.13 to do this.
4018259542SPeter Wemm *
4118259542SPeter Wemm * See:
4218259542SPeter Wemm *	http://dickey.his.com/autoconf/
4318259542SPeter Wemm *	ftp://dickey.his.com/autoconf/
440e3d5408SPeter Wemm */
450e3d5408SPeter Wemm#ifndef NC_CONFIG_H
460e3d5408SPeter Wemm#define NC_CONFIG_H
470e3d5408SPeter Wemm@DEFS@
480e3d5408SPeter Wemm
4918259542SPeter Wemm#include <ncurses_def.h>
5018259542SPeter Wemm
510e3d5408SPeter Wemm	/* The C compiler may not treat these properly but C++ has to */
520e3d5408SPeter Wemm#ifdef __cplusplus
530e3d5408SPeter Wemm#undef const
540e3d5408SPeter Wemm#undef inline
550e3d5408SPeter Wemm#else
560e3d5408SPeter Wemm#if defined(lint) || defined(TRACE)
570e3d5408SPeter Wemm#undef inline
580e3d5408SPeter Wemm#define inline /* nothing */
590e3d5408SPeter Wemm#endif
600e3d5408SPeter Wemm#endif
610e3d5408SPeter Wemm
620e3d5408SPeter Wemm#endif /* NC_CONFIG_H */
63