ncurses_cfg.h revision 262629
150624Speter/* include/ncurses_cfg.h. Generated automatically by configure. */ 250624Speter/**************************************************************************** 3166130Srafan * Copyright (c) 1998-2004,2005 Free Software Foundation, Inc. * 450624Speter * * 550624Speter * Permission is hereby granted, free of charge, to any person obtaining a * 650624Speter * copy of this software and associated documentation files (the * 750624Speter * "Software"), to deal in the Software without restriction, including * 850624Speter * without limitation the rights to use, copy, modify, merge, publish, * 950624Speter * distribute, distribute with modifications, sublicense, and/or sell * 1050624Speter * copies of the Software, and to permit persons to whom the Software is * 1150624Speter * furnished to do so, subject to the following conditions: * 1250624Speter * * 1350624Speter * The above copyright notice and this permission notice shall be included * 1450624Speter * in all copies or substantial portions of the Software. * 1550624Speter * * 1650624Speter * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * 1750624Speter * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * 1850624Speter * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * 1950624Speter * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * 2050624Speter * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * 2150624Speter * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * 2250624Speter * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * 2350624Speter * * 2450624Speter * Except as contained in this notice, the name(s) of the above copyright * 2550624Speter * holders shall not be used in advertising or otherwise to promote the * 2650624Speter * sale, use or other dealings in this Software without prior written * 2750624Speter * authorization. * 2850624Speter ****************************************************************************/ 2950624Speter 3050624Speter/**************************************************************************** 3150624Speter * Author: Thomas E. Dickey <dickey@clark.net> 1997 * 3250624Speter ****************************************************************************/ 3350624Speter/* 34166130Srafan * $Id: ncurses_cfg.hin,v 1.7 2005/01/02 01:26:58 tom Exp $ 3550624Speter * 3650624Speter * This is a template-file used to generate the "ncurses_cfg.h" file. 3750624Speter * 3866968Speter * Rather than list every definition, the configuration script substitutes the 3966968Speter * definitions that it finds using 'sed'. You need a patch (original date 4066968Speter * 971222) to autoconf 2.12 or 2.13 to do this. 4166968Speter * 4266968Speter * See: 43166130Srafan * http://invisible-island.net/autoconf/ 44166130Srafan * ftp://invisible-island.net/autoconf/ 4550624Speter */ 4662456Speter 4762456Speter/* $FreeBSD: head/lib/ncurses/ncurses/ncurses_cfg.h 262629 2014-02-28 23:48:13Z delphij $ */ 4862456Speter 4950624Speter#ifndef NC_CONFIG_H 5050624Speter#define NC_CONFIG_H 5150624Speter 52262629Sdelphij#define SYSTEM_NAME "FreeBSD" 53262629Sdelphij#define CC_HAS_PROTOS 1 54262629Sdelphij#if 0 55166130Srafan#include <stdlib.h> 56166130Srafan#endif 57262629Sdelphij#define HAVE_LONG_FILE_NAMES 1 58262629Sdelphij#define MIXEDCASE_FILENAMES 1 59262629Sdelphij#define USE_SYSMOUSE 1 60262629Sdelphij#define HAVE_BIG_CORE 1 61262629Sdelphij#define USE_TERMCAP 1 62262629Sdelphij#define TERMPATH "/etc/termcap:/usr/share/misc/termcap" 63262629Sdelphij#define USE_GETCAP 1 64262629Sdelphij#define HAVE_REMOVE 1 65262629Sdelphij#define HAVE_UNLINK 1 66262629Sdelphij#define HAVE_LINK 1 67262629Sdelphij#define HAVE_SYMLINK 1 68262629Sdelphij#define USE_LINKS 1 6950624Speter#define BSD_TPUTS 1 70262629Sdelphij#define HAVE_LANGINFO_CODESET 1 71262629Sdelphij#define HAVE_FSEEKO 1 72262629Sdelphij#define HAVE_CURSES_VERSION 1 73262629Sdelphij#define HAVE_HAS_KEY 1 74262629Sdelphij#define HAVE_RESIZETERM 1 75262629Sdelphij#define HAVE_RESIZE_TERM 1 76262629Sdelphij#define HAVE_TERM_ENTRY_H 1 77262629Sdelphij#define HAVE_USE_DEFAULT_COLORS 1 78262629Sdelphij#define HAVE_WRESIZE 1 79262629Sdelphij#define NCURSES_EXT_FUNCS 1 80262629Sdelphij#define NCURSES_NO_PADDING 1 81262629Sdelphij#define STDC_HEADERS 1 82262629Sdelphij#define HAVE_SYS_TYPES_H 1 83262629Sdelphij#define HAVE_SYS_STAT_H 1 84262629Sdelphij#define HAVE_STDLIB_H 1 85262629Sdelphij#define HAVE_STRING_H 1 86262629Sdelphij#define HAVE_MEMORY_H 1 87262629Sdelphij#define HAVE_STRINGS_H 1 88262629Sdelphij#define HAVE_INTTYPES_H 1 89262629Sdelphij#define HAVE_STDINT_H 1 90262629Sdelphij#define HAVE_UNISTD_H 1 91262629Sdelphij#define SIZEOF_SIGNED_CHAR 1 92262629Sdelphij#define USE_SIGWINCH 1 93262629Sdelphij#define USE_ASSUMED_COLOR 1 94262629Sdelphij#define USE_HASHMAP 1 95262629Sdelphij#define USE_COLORFGBG 1 96262629Sdelphij#define NCURSES_WRAP_PREFIX "_nc_" 97262629Sdelphij#define GCC_SCANF 1 98262629Sdelphij#define GCC_SCANFLIKE(fmt,var) __attribute__((format(scanf,fmt,var))) 9950624Speter#define GCC_PRINTF 1 100262629Sdelphij#define GCC_PRINTFLIKE(fmt,var) __attribute__((format(printf,fmt,var))) 101166130Srafan#define GCC_UNUSED __attribute__((unused)) 102262629Sdelphij#define GCC_NORETURN __attribute__((noreturn)) 103262629Sdelphij#define NDEBUG 1 104262629Sdelphij#define HAVE_NC_ALLOC_H 1 105262629Sdelphij#define HAVE_GETTIMEOFDAY 1 106262629Sdelphij#define STDC_HEADERS 1 10750624Speter#define HAVE_DIRENT_H 1 108262629Sdelphij#define TIME_WITH_SYS_TIME 1 109262629Sdelphij#define HAVE_REGEX_H_FUNCS 1 110262629Sdelphij#define HAVE_FCNTL_H 1 111262629Sdelphij#define HAVE_GETOPT_H 1 112262629Sdelphij#define HAVE_LIMITS_H 1 113262629Sdelphij#define HAVE_LOCALE_H 1 114262629Sdelphij#define HAVE_MATH_H 1 115262629Sdelphij#define HAVE_POLL_H 1 116262629Sdelphij#define HAVE_SYS_IOCTL_H 1 117262629Sdelphij#define HAVE_SYS_PARAM_H 1 118262629Sdelphij#define HAVE_SYS_POLL_H 1 119262629Sdelphij#define HAVE_SYS_SELECT_H 1 120262629Sdelphij#define HAVE_SYS_TIME_H 1 121262629Sdelphij#define HAVE_SYS_TIMES_H 1 122262629Sdelphij#define HAVE_TTYENT_H 1 123262629Sdelphij#define HAVE_UNISTD_H 1 124262629Sdelphij#define HAVE_WCTYPE_H 1 125262629Sdelphij#define HAVE_SYS_TIME_SELECT 1 126262629Sdelphij#define SIG_ATOMIC_T volatile sig_atomic_t 127262629Sdelphij#define TYPEOF_CHTYPE int 12850624Speter#define HAVE_ERRNO 1 12950624Speter#define HAVE_GETCWD 1 13066968Speter#define HAVE_GETEGID 1 13166968Speter#define HAVE_GETEUID 1 13250624Speter#define HAVE_GETTTYNAM 1 13366968Speter#define HAVE_ISSETUGID 1 13450624Speter#define HAVE_POLL 1 13550624Speter#define HAVE_REMOVE 1 13650624Speter#define HAVE_SELECT 1 13750624Speter#define HAVE_SETBUF 1 13850624Speter#define HAVE_SETBUFFER 1 13950624Speter#define HAVE_SETVBUF 1 14050624Speter#define HAVE_SIGACTION 1 14150624Speter#define HAVE_SIGVEC 1 14250624Speter#define HAVE_STRDUP 1 14350624Speter#define HAVE_STRSTR 1 14450624Speter#define HAVE_TCGETPGRP 1 145262629Sdelphij#define HAVE_TIMES 1 146262629Sdelphij#define HAVE_VSNPRINTF 1 147262629Sdelphij#define HAVE_BSD_CGETENT 1 148262629Sdelphij#define HAVE_ISASCII 1 149262629Sdelphij#define HAVE_NANOSLEEP 1 15050624Speter#define HAVE_TERMIOS_H 1 15150624Speter#define HAVE_UNISTD_H 1 152262629Sdelphij#define HAVE_TCGETATTR 1 153262629Sdelphij#define HAVE_VSSCANF 1 154262629Sdelphij#define HAVE_MKSTEMP 1 155262629Sdelphij#define RETSIGTYPE void 156262629Sdelphij#define HAVE_SIZECHANGE 1 157262629Sdelphij#define HAVE_WORKING_POLL 1 158262629Sdelphij#define HAVE_VA_COPY 1 159262629Sdelphij#define HAVE___VA_COPY 1 16066968Speter#define HAVE_UNISTD_H 1 161262629Sdelphij#define HAVE_FORK 1 162262629Sdelphij#define HAVE_VFORK 1 163262629Sdelphij#define HAVE_WORKING_VFORK 1 164262629Sdelphij#define HAVE_WORKING_FORK 1 165262629Sdelphij#define USE_OPENPTY_HEADER <libutil.h> 166262629Sdelphij#define USE_XTERM_PTY 1 167262629Sdelphij#define HAVE_IOSTREAM 1 168262629Sdelphij#define HAVE_TYPEINFO 1 169184989Srafan#define IOSTREAM_NAMESPACE 1 170262629Sdelphij#define ETIP_NEEDS_MATH_H 1 171262629Sdelphij#define HAVE_SLK_COLOR 1 172262629Sdelphij#define HAVE_PANEL_H 1 173262629Sdelphij#define HAVE_LIBPANEL 1 174262629Sdelphij#define HAVE_MENU_H 1 175262629Sdelphij#define HAVE_LIBMENU 1 176262629Sdelphij#define HAVE_FORM_H 1 177262629Sdelphij#define HAVE_LIBFORM 1 17876731Speter#define NCURSES_PATHSEP ':' 179262629Sdelphij#define NCURSES_VERSION_STRING "5.9.20110404" 180262629Sdelphij 181262629Sdelphij/* 182262629Sdelphij * Begin FreeBSD-specific changes 183262629Sdelphij */ 184262629Sdelphij/* Support ENABLE_WIDEC */ 185167359Srafan#ifdef ENABLE_WIDEC 186167359Srafan#define USE_WIDEC_SUPPORT 1 187262629Sdelphij#define HAVE_PUTWC 1 188167359Srafan#define HAVE_BTOWC 1 189262629Sdelphij#define HAVE_WCTOB 1 190262629Sdelphij#define HAVE_MBTOWC 1 191262629Sdelphij#define HAVE_WCTOMB 1 192167359Srafan#define HAVE_MBLEN 1 193167359Srafan#define HAVE_MBRLEN 1 194167359Srafan#define HAVE_MBRTOWC 1 195262629Sdelphij#define HAVE_WCSRTOMBS 1 196184989Srafan#define HAVE_MBSRTOWCS 1 197262629Sdelphij#define HAVE_WCSTOMBS 1 198184989Srafan#define HAVE_MBSTOWCS 1 199176190Srafan#define NEED_WCHAR_H 1 200167359Srafan#endif 201262629Sdelphij/* 202262629Sdelphij * End FreeBSD-specific changes 203262629Sdelphij */ 20450624Speter 20566968Speter#include <ncurses_def.h> 20666968Speter 20750624Speter /* The C compiler may not treat these properly but C++ has to */ 20850624Speter#ifdef __cplusplus 20950624Speter#undef const 21050624Speter#undef inline 21150624Speter#else 21250624Speter#if defined(lint) || defined(TRACE) 21350624Speter#undef inline 21450624Speter#define inline /* nothing */ 21550624Speter#endif 21650624Speter#endif 21750624Speter 218166130Srafan /* On HP-UX, the C compiler doesn't grok mbstate_t without 219166130Srafan -D_XOPEN_SOURCE=500. However, this causes problems on 220166130Srafan IRIX. So, we #define mbstate_t to int in configure.in 221166130Srafan only for the C compiler if needed. */ 222166130Srafan#ifndef __cplusplus 223166130Srafan#ifdef NEED_MBSTATE_T_DEF 224166130Srafan#define mbstate_t int 225166130Srafan#endif 226166130Srafan#endif 227166130Srafan 22850624Speter#endif /* NC_CONFIG_H */ 229