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$ */ 4862456Speter 4950624Speter#ifndef NC_CONFIG_H 5050624Speter#define NC_CONFIG_H 5150624Speter 52262629Sdelphij#define SYSTEM_NAME "FreeBSD" 53262629Sdelphij#if 0 54166130Srafan#include <stdlib.h> 55166130Srafan#endif 56262629Sdelphij#define HAVE_LONG_FILE_NAMES 1 57262629Sdelphij#define MIXEDCASE_FILENAMES 1 58262629Sdelphij#define USE_SYSMOUSE 1 59262629Sdelphij#define HAVE_BIG_CORE 1 60262629Sdelphij#define TERMPATH "/etc/termcap:/usr/share/misc/termcap" 61262629Sdelphij#define USE_GETCAP 1 62262629Sdelphij#define HAVE_REMOVE 1 63262629Sdelphij#define HAVE_UNLINK 1 64262629Sdelphij#define HAVE_LINK 1 65262629Sdelphij#define HAVE_SYMLINK 1 66262629Sdelphij#define USE_LINKS 1 6750624Speter#define BSD_TPUTS 1 68262629Sdelphij#define HAVE_LANGINFO_CODESET 1 69262629Sdelphij#define HAVE_FSEEKO 1 70262685Sdelphij#define HAVE_ASSUME_DEFAULT_COLORS 1 71262629Sdelphij#define HAVE_CURSES_VERSION 1 72262629Sdelphij#define HAVE_HAS_KEY 1 73262629Sdelphij#define HAVE_RESIZETERM 1 74262629Sdelphij#define HAVE_RESIZE_TERM 1 75262629Sdelphij#define HAVE_TERM_ENTRY_H 1 76262629Sdelphij#define HAVE_USE_DEFAULT_COLORS 1 77262685Sdelphij#define HAVE_USE_SCREEN 1 78262685Sdelphij#define HAVE_USE_WINDOW 1 79262629Sdelphij#define HAVE_WRESIZE 1 80262629Sdelphij#define NCURSES_EXT_FUNCS 1 81262629Sdelphij#define NCURSES_NO_PADDING 1 82262629Sdelphij#define STDC_HEADERS 1 83262629Sdelphij#define HAVE_SYS_TYPES_H 1 84262629Sdelphij#define HAVE_SYS_STAT_H 1 85262629Sdelphij#define HAVE_STDLIB_H 1 86262629Sdelphij#define HAVE_STRING_H 1 87262629Sdelphij#define HAVE_MEMORY_H 1 88262629Sdelphij#define HAVE_STRINGS_H 1 89262629Sdelphij#define HAVE_INTTYPES_H 1 90262629Sdelphij#define HAVE_STDINT_H 1 91262629Sdelphij#define HAVE_UNISTD_H 1 92262629Sdelphij#define SIZEOF_SIGNED_CHAR 1 93262629Sdelphij#define USE_SIGWINCH 1 94262629Sdelphij#define USE_ASSUMED_COLOR 1 95262629Sdelphij#define USE_HASHMAP 1 96262629Sdelphij#define USE_COLORFGBG 1 97262629Sdelphij#define NCURSES_WRAP_PREFIX "_nc_" 98262629Sdelphij#define GCC_SCANF 1 99262685Sdelphij#define GCC_SCANFLIKE(fmt,var) __attribute__((format(scanf,fmt,var))) 10050624Speter#define GCC_PRINTF 1 101262629Sdelphij#define GCC_PRINTFLIKE(fmt,var) __attribute__((format(printf,fmt,var))) 102166130Srafan#define GCC_UNUSED __attribute__((unused)) 103262629Sdelphij#define GCC_NORETURN __attribute__((noreturn)) 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 125262685Sdelphij#define HAVE_UNISTD_H 1 126262685Sdelphij#define HAVE_GETOPT_H 1 127262685Sdelphij#define HAVE_GETOPT_HEADER 1 128262629Sdelphij#define HAVE_SYS_TIME_SELECT 1 129262629Sdelphij#define SIG_ATOMIC_T volatile sig_atomic_t 130262629Sdelphij#define TYPEOF_CHTYPE int 13150624Speter#define HAVE_ERRNO 1 13250624Speter#define HAVE_GETCWD 1 13366968Speter#define HAVE_GETEGID 1 13466968Speter#define HAVE_GETEUID 1 13550624Speter#define HAVE_GETTTYNAM 1 13666968Speter#define HAVE_ISSETUGID 1 13750624Speter#define HAVE_POLL 1 138262685Sdelphij#define HAVE_PUTENV 1 13950624Speter#define HAVE_REMOVE 1 14050624Speter#define HAVE_SELECT 1 14150624Speter#define HAVE_SETBUF 1 14250624Speter#define HAVE_SETBUFFER 1 143262685Sdelphij#define HAVE_SETENV 1 14450624Speter#define HAVE_SETVBUF 1 14550624Speter#define HAVE_SIGACTION 1 14650624Speter#define HAVE_SIGVEC 1 14750624Speter#define HAVE_STRDUP 1 14850624Speter#define HAVE_STRSTR 1 14950624Speter#define HAVE_TCGETPGRP 1 150262629Sdelphij#define HAVE_TIMES 1 151262629Sdelphij#define HAVE_VSNPRINTF 1 152262629Sdelphij#define HAVE_BSD_CGETENT 1 153262685Sdelphij#define CGETENT_CONST const 154262629Sdelphij#define HAVE_ISASCII 1 155262629Sdelphij#define HAVE_NANOSLEEP 1 15650624Speter#define HAVE_TERMIOS_H 1 15750624Speter#define HAVE_UNISTD_H 1 158262629Sdelphij#define HAVE_TCGETATTR 1 159262629Sdelphij#define HAVE_VSSCANF 1 160262629Sdelphij#define HAVE_MKSTEMP 1 161262629Sdelphij#define HAVE_SIZECHANGE 1 162262629Sdelphij#define HAVE_WORKING_POLL 1 163262629Sdelphij#define HAVE_VA_COPY 1 164262629Sdelphij#define HAVE___VA_COPY 1 16566968Speter#define HAVE_UNISTD_H 1 166262629Sdelphij#define HAVE_FORK 1 167262629Sdelphij#define HAVE_VFORK 1 168262629Sdelphij#define HAVE_WORKING_VFORK 1 169262629Sdelphij#define HAVE_WORKING_FORK 1 170262629Sdelphij#define USE_OPENPTY_HEADER <libutil.h> 171262629Sdelphij#define USE_XTERM_PTY 1 172262685Sdelphij#define HAVE_TYPEINFO 1 173262629Sdelphij#define HAVE_IOSTREAM 1 174184989Srafan#define IOSTREAM_NAMESPACE 1 175262685Sdelphij#define CPP_HAS_STATIC_CAST 1 176262629Sdelphij#define HAVE_SLK_COLOR 1 177262629Sdelphij#define HAVE_PANEL_H 1 178262629Sdelphij#define HAVE_LIBPANEL 1 179262629Sdelphij#define HAVE_MENU_H 1 180262629Sdelphij#define HAVE_LIBMENU 1 181262629Sdelphij#define HAVE_FORM_H 1 182262629Sdelphij#define HAVE_LIBFORM 1 18376731Speter#define NCURSES_PATHSEP ':' 184262685Sdelphij#define NCURSES_VERSION_STRING "5.9.20140222" 185262685Sdelphij#define NCURSES_OSPEED_COMPAT 1 186262629Sdelphij 187262629Sdelphij/* 188262629Sdelphij * Begin FreeBSD-specific changes 189262629Sdelphij */ 190262629Sdelphij/* Support ENABLE_WIDEC */ 191167359Srafan#ifdef ENABLE_WIDEC 192167359Srafan#define USE_WIDEC_SUPPORT 1 193262685Sdelphij#define NCURSES_WIDECHAR 1 194262629Sdelphij#define HAVE_PUTWC 1 195167359Srafan#define HAVE_BTOWC 1 196262629Sdelphij#define HAVE_WCTOB 1 197262629Sdelphij#define HAVE_MBTOWC 1 198262629Sdelphij#define HAVE_WCTOMB 1 199167359Srafan#define HAVE_MBLEN 1 200167359Srafan#define HAVE_MBRLEN 1 201167359Srafan#define HAVE_MBRTOWC 1 202262629Sdelphij#define HAVE_WCSRTOMBS 1 203184989Srafan#define HAVE_MBSRTOWCS 1 204262629Sdelphij#define HAVE_WCSTOMBS 1 205184989Srafan#define HAVE_MBSTOWCS 1 206176190Srafan#define NEED_WCHAR_H 1 207262685Sdelphij#define SIZEOF_WCHAR_T 4 208167359Srafan#endif 209262629Sdelphij/* 210262629Sdelphij * End FreeBSD-specific changes 211262629Sdelphij */ 21250624Speter 21366968Speter#include <ncurses_def.h> 21466968Speter 21550624Speter /* The C compiler may not treat these properly but C++ has to */ 21650624Speter#ifdef __cplusplus 21750624Speter#undef const 21850624Speter#undef inline 21950624Speter#else 22050624Speter#if defined(lint) || defined(TRACE) 22150624Speter#undef inline 22250624Speter#define inline /* nothing */ 22350624Speter#endif 22450624Speter#endif 22550624Speter 226166130Srafan /* On HP-UX, the C compiler doesn't grok mbstate_t without 227166130Srafan -D_XOPEN_SOURCE=500. However, this causes problems on 228166130Srafan IRIX. So, we #define mbstate_t to int in configure.in 229166130Srafan only for the C compiler if needed. */ 230166130Srafan#ifndef __cplusplus 231166130Srafan#ifdef NEED_MBSTATE_T_DEF 232166130Srafan#define mbstate_t int 233166130Srafan#endif 234166130Srafan#endif 235166130Srafan 23650624Speter#endif /* NC_CONFIG_H */ 237