1 /* include/ncurses_cfg.h. Generated automatically by configure. */ 2 /**************************************************************************** 3 * Copyright (c) 1998-2004,2005 Free Software Foundation, Inc. * 4 * * 5 * Permission is hereby granted, free of charge, to any person obtaining a * 6 * copy of this software and associated documentation files (the * 7 * "Software"), to deal in the Software without restriction, including * 8 * without limitation the rights to use, copy, modify, merge, publish, * 9 * distribute, distribute with modifications, sublicense, and/or sell * 10 * copies of the Software, and to permit persons to whom the Software is * 11 * furnished to do so, subject to the following conditions: * 12 * * 13 * The above copyright notice and this permission notice shall be included * 14 * in all copies or substantial portions of the Software. * 15 * * 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * 17 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * 18 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * 19 * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * 20 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * 21 * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * 22 * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * 23 * * 24 * Except as contained in this notice, the name(s) of the above copyright * 25 * holders shall not be used in advertising or otherwise to promote the * 26 * sale, use or other dealings in this Software without prior written * 27 * authorization. * 28 ****************************************************************************/ 29 30 /**************************************************************************** 31 * Author: Thomas E. Dickey <dickey@clark.net> 1997 * 32 ****************************************************************************/ 33 /* 34 * $Id: ncurses_cfg.hin,v 1.7 2005/01/02 01:26:58 tom Exp $ 35 * 36 * This is a template-file used to generate the "ncurses_cfg.h" file. 37 * 38 * Rather than list every definition, the configuration script substitutes the 39 * definitions that it finds using 'sed'. You need a patch (original date 40 * 971222) to autoconf 2.12 or 2.13 to do this. 41 * 42 * See: 43 * http://invisible-island.net/autoconf/ 44 * ftp://invisible-island.net/autoconf/ 45 */ 46 #ifndef NC_CONFIG_H 47 #define NC_CONFIG_H 48 49 #define SYSTEM_NAME "dragonfly3.1" 50 #define CC_HAS_PROTOS 1 51 #if 0 52 #include <stdlib.h> 53 #endif 54 #define HAVE_LONG_FILE_NAMES 1 55 #define MIXEDCASE_FILENAMES 1 56 #define USE_SYSMOUSE 1 57 #define USE_DATABASE 1 58 #define TERMINFO_DIRS "/usr/share/terminfo" 59 #define TERMINFO "/usr/share/terminfo" 60 #define HAVE_BIG_CORE 1 61 #define USE_TERMCAP 1 62 #define TERMPATH "/etc/termcap:/usr/share/misc/termcap" 63 #define USE_GETCAP 1 64 #define USE_HOME_TERMINFO 1 65 #define USE_ROOT_ENVIRON 1 66 #define HAVE_REMOVE 1 67 #define HAVE_UNLINK 1 68 #define HAVE_LINK 1 69 #define HAVE_SYMLINK 1 70 #define USE_LINKS 1 71 #define BSD_TPUTS 1 72 #define HAVE_LANGINFO_CODESET 1 73 #ifdef ENABLE_WIDEC 74 #define USE_WIDEC_SUPPORT 1 75 #define HAVE_PUTWC 1 76 #define HAVE_BTOWC 1 77 #define HAVE_WCTOB 1 78 #define HAVE_MBTOWC 1 79 #define HAVE_WCTOMB 1 80 #define HAVE_MBLEN 1 81 #define HAVE_MBRLEN 1 82 #define HAVE_MBRTOWC 1 83 #define HAVE_WCSRTOMBS 1 84 #define HAVE_MBSRTOWCS 1 85 #define HAVE_WCSTOMBS 1 86 #define HAVE_MBSTOWCS 1 87 #define NEED_WCHAR_H 1 88 #endif 89 #define HAVE_FSEEKO 1 90 #define HAVE_CURSES_VERSION 1 91 #define HAVE_HAS_KEY 1 92 #define HAVE_RESIZETERM 1 93 #define HAVE_RESIZE_TERM 1 94 #define HAVE_TERM_ENTRY_H 1 95 #define HAVE_USE_DEFAULT_COLORS 1 96 #define HAVE_WRESIZE 1 97 #define NCURSES_EXT_FUNCS 1 98 #define NCURSES_NO_PADDING 1 99 #define STDC_HEADERS 1 100 #define HAVE_SYS_TYPES_H 1 101 #define HAVE_SYS_STAT_H 1 102 #define HAVE_STDLIB_H 1 103 #define HAVE_STRING_H 1 104 #define HAVE_MEMORY_H 1 105 #define HAVE_STRINGS_H 1 106 #define HAVE_INTTYPES_H 1 107 #define HAVE_STDINT_H 1 108 #define HAVE_UNISTD_H 1 109 #define SIZEOF_SIGNED_CHAR 1 110 #define USE_SIGWINCH 1 111 #define USE_ASSUMED_COLOR 1 112 #define USE_HASHMAP 1 113 #define NCURSES_WRAP_PREFIX "_nc_" 114 #define GCC_SCANF 1 115 #define GCC_SCANFLIKE(fmt,var) __attribute__((format(scanf,fmt,var))) 116 #define GCC_PRINTF 1 117 #define GCC_PRINTFLIKE(fmt,var) __attribute__((format(printf,fmt,var))) 118 #define GCC_UNUSED __attribute__((unused)) 119 #define GCC_NORETURN __attribute__((noreturn)) 120 #define NDEBUG 1 121 #define HAVE_NC_ALLOC_H 1 122 #define HAVE_GETTIMEOFDAY 1 123 #define STDC_HEADERS 1 124 #define HAVE_DIRENT_H 1 125 #define TIME_WITH_SYS_TIME 1 126 #define HAVE_REGEX_H_FUNCS 1 127 #define HAVE_FCNTL_H 1 128 #define HAVE_GETOPT_H 1 129 #define HAVE_LIMITS_H 1 130 #define HAVE_LOCALE_H 1 131 #define HAVE_MATH_H 1 132 #define HAVE_POLL_H 1 133 #define HAVE_SYS_IOCTL_H 1 134 #define HAVE_SYS_PARAM_H 1 135 #define HAVE_SYS_POLL_H 1 136 #define HAVE_SYS_SELECT_H 1 137 #define HAVE_SYS_TIME_H 1 138 #define HAVE_SYS_TIMES_H 1 139 #define HAVE_TTYENT_H 1 140 #define HAVE_UNISTD_H 1 141 #define HAVE_WCTYPE_H 1 142 #define HAVE_SYS_TIME_SELECT 1 143 #define SIG_ATOMIC_T volatile sig_atomic_t 144 #define TYPEOF_CHTYPE int 145 #define HAVE_GETCWD 1 146 #define HAVE_GETEGID 1 147 #define HAVE_GETEUID 1 148 #define HAVE_GETTTYNAM 1 149 #define HAVE_ISSETUGID 1 150 #define HAVE_POLL 1 151 #define HAVE_REMOVE 1 152 #define HAVE_SELECT 1 153 #define HAVE_SETBUF 1 154 #define HAVE_SETBUFFER 1 155 #define HAVE_SETVBUF 1 156 #define HAVE_SIGACTION 1 157 #define HAVE_SIGVEC 1 158 #define HAVE_STRDUP 1 159 #define HAVE_STRSTR 1 160 #define HAVE_TCGETPGRP 1 161 #define HAVE_TIMES 1 162 #define HAVE_VSNPRINTF 1 163 #define HAVE_BSD_CGETENT 1 164 #define HAVE_ISASCII 1 165 #define HAVE_NANOSLEEP 1 166 #define HAVE_TERMIOS_H 1 167 #define HAVE_UNISTD_H 1 168 #define HAVE_TCGETATTR 1 169 #define HAVE_VSSCANF 1 170 #define HAVE_MKSTEMP 1 171 #define RETSIGTYPE void 172 #define HAVE_SIZECHANGE 1 173 #define HAVE_WORKING_POLL 1 174 #define HAVE_VA_COPY 1 175 #define HAVE___VA_COPY 1 176 #define HAVE_UNISTD_H 1 177 #define HAVE_FORK 1 178 #define HAVE_VFORK 1 179 #define HAVE_WORKING_VFORK 1 180 #define HAVE_WORKING_FORK 1 181 #define USE_OPENPTY_HEADER <libutil.h> 182 #define USE_XTERM_PTY 1 183 #define HAVE_IOSTREAM 1 184 #define HAVE_TYPEINFO 1 185 #define IOSTREAM_NAMESPACE 1 186 #define ETIP_NEEDS_MATH_H 1 187 #define CPP_HAS_STATIC_CAST 1 188 #define HAVE_SLK_COLOR 1 189 #define HAVE_PANEL_H 1 190 #define HAVE_LIBPANEL 1 191 #define HAVE_MENU_H 1 192 #define HAVE_LIBMENU 1 193 #define HAVE_FORM_H 1 194 #define HAVE_LIBFORM 1 195 #define NCURSES_PATHSEP ':' 196 #define NCURSES_VERSION_STRING "5.9.20110404" 197 198 #include <ncurses_def.h> 199 200 /* The C compiler may not treat these properly but C++ has to */ 201 #ifdef __cplusplus 202 #undef const 203 #undef inline 204 #else 205 #if defined(lint) || defined(TRACE) 206 #undef inline 207 #define inline /* nothing */ 208 #endif 209 #endif 210 211 /* On HP-UX, the C compiler doesn't grok mbstate_t without 212 -D_XOPEN_SOURCE=500. However, this causes problems on 213 IRIX. So, we #define mbstate_t to int in configure.in 214 only for the C compiler if needed. */ 215 #ifndef __cplusplus 216 #ifdef NEED_MBSTATE_T_DEF 217 #define mbstate_t int 218 #endif 219 #endif 220 221 #endif /* NC_CONFIG_H */ 222