LuK1337 | 52a81d5 | 2025-07-08 18:07:20 -0400 | [diff] [blame] | 1 | /* include/ncurses_cfg.h. Generated automatically by configure. */ |
| 2 | /**************************************************************************** |
| 3 | * Copyright 2020 Thomas E. Dickey * |
| 4 | * Copyright 1998-2016,2017 Free Software Foundation, Inc. * |
| 5 | * * |
| 6 | * Permission is hereby granted, free of charge, to any person obtaining a * |
| 7 | * copy of this software and associated documentation files (the * |
| 8 | * "Software"), to deal in the Software without restriction, including * |
| 9 | * without limitation the rights to use, copy, modify, merge, publish, * |
| 10 | * distribute, distribute with modifications, sublicense, and/or sell * |
| 11 | * copies of the Software, and to permit persons to whom the Software is * |
| 12 | * furnished to do so, subject to the following conditions: * |
| 13 | * * |
| 14 | * The above copyright notice and this permission notice shall be included * |
| 15 | * in all copies or substantial portions of the Software. * |
| 16 | * * |
| 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * |
| 18 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * |
| 19 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * |
| 20 | * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * |
| 21 | * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * |
| 22 | * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * |
| 23 | * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * |
| 24 | * * |
| 25 | * Except as contained in this notice, the name(s) of the above copyright * |
| 26 | * holders shall not be used in advertising or otherwise to promote the * |
| 27 | * sale, use or other dealings in this Software without prior written * |
| 28 | * authorization. * |
| 29 | ****************************************************************************/ |
| 30 | |
| 31 | /**************************************************************************** |
| 32 | * Author: Thomas E. Dickey 1997-on * |
| 33 | ****************************************************************************/ |
| 34 | /* |
| 35 | * $Id: ncurses_cfg.hin,v 1.13 2020/03/08 12:37:59 tom Exp $ |
| 36 | * |
| 37 | * Both ncurses_cfg.h and ncurses_def.h are internal header-files used when |
| 38 | * building ncurses. |
| 39 | * |
| 40 | * This is a template-file used to generate the "ncurses_cfg.h" file. |
| 41 | * |
| 42 | * Rather than list every definition, the configuration script substitutes the |
| 43 | * definitions that it finds using 'sed'. You need a patch (original date |
| 44 | * 971222) to autoconf 2.12 or 2.13 to do this. |
| 45 | * |
| 46 | * See: |
| 47 | * https://invisible-island.net/autoconf/ |
| 48 | * ftp://ftp.invisible-island.net/autoconf/ |
| 49 | */ |
| 50 | #ifndef NC_CONFIG_H |
| 51 | #define NC_CONFIG_H |
| 52 | |
| 53 | #define PACKAGE "ncurses" |
| 54 | #define NCURSES_VERSION "6.5" |
| 55 | #define NCURSES_PATCHDATE 20240427 |
| 56 | #define SYSTEM_NAME "linux-gnu" |
| 57 | #if 0 |
| 58 | #include <stdlib.h> |
| 59 | #endif |
| 60 | #define HAVE_LONG_FILE_NAMES 1 |
| 61 | #define MIXEDCASE_FILENAMES 1 |
| 62 | #define STDC_HEADERS 1 |
| 63 | #define HAVE_SYS_TYPES_H 1 |
| 64 | #define HAVE_SYS_STAT_H 1 |
| 65 | #define HAVE_STDLIB_H 1 |
| 66 | #define HAVE_STRING_H 1 |
| 67 | #define HAVE_MEMORY_H 1 |
| 68 | #define HAVE_STRINGS_H 1 |
| 69 | #define HAVE_INTTYPES_H 1 |
| 70 | #define HAVE_STDINT_H 1 |
| 71 | #define HAVE_UNISTD_H 1 |
| 72 | #define HAVE_DIRENT_H 1 |
| 73 | #define TERMINFO_DIRS "/system_ext/etc/terminfo" |
| 74 | #define TERMINFO "/system_ext/etc/terminfo" |
| 75 | #define HAVE_BIG_CORE 1 |
| 76 | #define PURE_TERMINFO 1 |
| 77 | #define USE_HOME_TERMINFO 1 |
| 78 | #define USE_ROOT_ENVIRON 1 |
| 79 | #define USE_ROOT_ACCESS 1 |
| 80 | #define USE_SETUID_ENVIRON 1 |
| 81 | #define HAVE_UNISTD_H 1 |
| 82 | #define HAVE_REMOVE 1 |
| 83 | #define HAVE_UNLINK 1 |
| 84 | #define HAVE_LINK 1 |
| 85 | #define HAVE_SYMLINK 1 |
| 86 | #define USE_LINKS 1 |
| 87 | #define HAVE_LANGINFO_CODESET 1 |
| 88 | #define USE_WIDEC_SUPPORT 1 |
| 89 | #define NCURSES_WIDECHAR 1 |
| 90 | #define HAVE_WCHAR_H 1 |
| 91 | #define HAVE_WCTYPE_H 1 |
| 92 | #define HAVE_PUTWC 1 |
| 93 | #define HAVE_BTOWC 1 |
| 94 | #define HAVE_WCTOB 1 |
| 95 | #define HAVE_WMEMCHR 1 |
| 96 | #define HAVE_MBTOWC 1 |
| 97 | #define HAVE_WCTOMB 1 |
| 98 | #define HAVE_MBLEN 1 |
| 99 | #define HAVE_MBRLEN 1 |
| 100 | #define HAVE_MBRTOWC 1 |
| 101 | #define HAVE_WCSRTOMBS 1 |
| 102 | #define HAVE_MBSRTOWCS 1 |
| 103 | #define HAVE_WCSTOMBS 1 |
| 104 | #define HAVE_MBSTOWCS 1 |
| 105 | #define NEED_WCHAR_H 1 |
| 106 | #define HAVE_FSEEKO 1 |
| 107 | #define RGB_PATH "/usr/share/X11/rgb.txt" |
| 108 | #define SIZEOF_SIGNED_CHAR 1 |
| 109 | #define NCURSES_EXT_FUNCS 1 |
| 110 | #define HAVE_ASSUME_DEFAULT_COLORS 1 |
| 111 | #define HAVE_CURSES_VERSION 1 |
| 112 | #define HAVE_HAS_KEY 1 |
| 113 | #define HAVE_RESIZETERM 1 |
| 114 | #define HAVE_RESIZE_TERM 1 |
| 115 | #define HAVE_TERM_ENTRY_H 1 |
| 116 | #define HAVE_USE_DEFAULT_COLORS 1 |
| 117 | #define HAVE_USE_SCREEN 1 |
| 118 | #define HAVE_USE_WINDOW 1 |
| 119 | #define HAVE_WRESIZE 1 |
| 120 | #define NCURSES_SP_FUNCS 1 |
| 121 | #define HAVE_TPUTS_SP 1 |
| 122 | #define NCURSES_EXT_COLORS 1 |
| 123 | #define HAVE_ALLOC_PAIR 1 |
| 124 | #define HAVE_INIT_EXTENDED_COLOR 1 |
| 125 | #define HAVE_RESET_COLOR_PAIRS 1 |
| 126 | #define NCURSES_EXT_PUTWIN 1 |
| 127 | #define NCURSES_NO_PADDING 1 |
| 128 | #define USE_SIGWINCH 1 |
| 129 | #define NCURSES_XNAMES 1 |
| 130 | #define NCURSES_WRAP_PREFIX "_nc_" |
| 131 | #define USE_ASSUMED_COLOR 1 |
| 132 | #define USE_HASHMAP 1 |
| 133 | #define GCC_SCANF 1 |
| 134 | #define GCC_SCANFLIKE(fmt,var) __attribute__((format(scanf,fmt,var))) |
| 135 | #define GCC_PRINTF 1 |
| 136 | #define GCC_PRINTFLIKE(fmt,var) __attribute__((format(printf,fmt,var))) |
| 137 | #define GCC_UNUSED __attribute__((unused)) |
| 138 | #define GCC_NORETURN __attribute__((noreturn)) |
| 139 | #define HAVE_NC_ALLOC_H 1 |
| 140 | #define HAVE_MATH_FUNCS 1 |
| 141 | #define TIME_WITH_SYS_TIME 1 |
| 142 | #define HAVE_REGEX_H_FUNCS 1 |
| 143 | #define HAVE_FCNTL_H 1 |
| 144 | #define HAVE_GETOPT_H 1 |
| 145 | #define HAVE_LIMITS_H 1 |
| 146 | #define HAVE_LOCALE_H 1 |
| 147 | #define HAVE_MATH_H 1 |
| 148 | #define HAVE_POLL_H 1 |
| 149 | #define HAVE_SYS_AUXV_H 1 |
| 150 | #define HAVE_SYS_IOCTL_H 1 |
| 151 | #define HAVE_SYS_PARAM_H 1 |
| 152 | #define HAVE_SYS_POLL_H 1 |
| 153 | #define HAVE_SYS_SELECT_H 1 |
| 154 | #define HAVE_SYS_TIME_H 1 |
| 155 | #define HAVE_SYS_TIMES_H 1 |
| 156 | #define HAVE_UNISTD_H 1 |
| 157 | #define HAVE_WCTYPE_H 1 |
| 158 | #define HAVE_UNISTD_H 1 |
| 159 | #define HAVE_GETOPT_H 1 |
| 160 | #define HAVE_GETOPT_HEADER 1 |
| 161 | #define DECL_ENVIRON 1 |
| 162 | #define HAVE_ENVIRON 1 |
| 163 | #define HAVE_PUTENV 1 |
| 164 | #define HAVE_SETENV 1 |
| 165 | #define HAVE_STRDUP 1 |
| 166 | #define HAVE_SYS_TIME_SELECT 1 |
| 167 | #define SIG_ATOMIC_T volatile sig_atomic_t |
| 168 | #define HAVE_CLOCK_GETTIME 1 |
| 169 | #define HAVE_FPATHCONF 1 |
| 170 | #define HAVE_GETCWD 1 |
| 171 | #define HAVE_GETAUXVAL 1 |
| 172 | #define HAVE_GETEGID 1 |
| 173 | #define HAVE_GETEUID 1 |
| 174 | #define HAVE_GETOPT 1 |
| 175 | #define HAVE_GETUID 1 |
| 176 | #define HAVE_LOCALECONV 1 |
| 177 | #define HAVE_POLL 1 |
| 178 | #define HAVE_REMOVE 1 |
| 179 | #define HAVE_SELECT 1 |
| 180 | #define HAVE_SETBUF 1 |
| 181 | #define HAVE_SETBUFFER 1 |
| 182 | #define HAVE_SETFSUID 1 |
| 183 | #define HAVE_SETVBUF 1 |
| 184 | #define HAVE_SIGACTION 1 |
| 185 | #define HAVE_SNPRINTF 1 |
| 186 | #define HAVE_STRDUP 1 |
| 187 | #define HAVE_STRSTR 1 |
| 188 | #define HAVE_SYSCONF 1 |
| 189 | #define HAVE_TCGETPGRP 1 |
| 190 | #define HAVE_TIMES 1 |
| 191 | #define HAVE_TSEARCH 1 |
| 192 | #define HAVE_VSNPRINTF 1 |
| 193 | #define HAVE_ISASCII 1 |
| 194 | #define HAVE_NANOSLEEP 1 |
| 195 | #define HAVE_TERMIO_H 1 |
| 196 | #define HAVE_TERMIOS_H 1 |
| 197 | #define HAVE_UNISTD_H 1 |
| 198 | #define HAVE_SYS_IOCTL_H 1 |
| 199 | #define HAVE_TCGETATTR 1 |
| 200 | #define HAVE_VSSCANF 1 |
| 201 | #define HAVE_UNISTD_H 1 |
| 202 | #define HAVE_MKSTEMP 1 |
| 203 | #define HAVE_SIZECHANGE 1 |
| 204 | #define HAVE_WORKING_POLL 1 |
| 205 | #define HAVE_CONSISTENT_MB_LEN_MAX 1 |
| 206 | #define HAVE_VA_COPY 1 |
| 207 | #define HAVE_UNISTD_H 1 |
| 208 | #define HAVE_FORK 1 |
| 209 | #define HAVE_VFORK 1 |
| 210 | #define HAVE_WORKING_VFORK 1 |
| 211 | #define HAVE_WORKING_FORK 1 |
| 212 | #define USE_FOPEN_BIN_R 1 |
| 213 | #define USE_OPENPTY_HEADER <pty.h> |
| 214 | #define USE_XTERM_PTY 1 |
| 215 | #define HAVE_TYPEINFO 1 |
| 216 | #define HAVE_IOSTREAM 1 |
| 217 | #define IOSTREAM_NAMESPACE 1 |
| 218 | #define SIZEOF_BOOL 1 |
| 219 | #define CPP_HAS_OVERRIDE 1 |
| 220 | #define CPP_HAS_STATIC_CAST 1 |
| 221 | #define SIZEOF_WCHAR_T 4 |
| 222 | #define HAVE_SLK_COLOR 1 |
| 223 | #define HAVE_PANEL_H 1 |
| 224 | #define HAVE_LIBPANEL 1 |
| 225 | #define HAVE_MENU_H 1 |
| 226 | #define HAVE_LIBMENU 1 |
| 227 | #define HAVE_FORM_H 1 |
| 228 | #define HAVE_LIBFORM 1 |
| 229 | #define NCURSES_PATHSEP ':' |
| 230 | #define NCURSES_VERSION_STRING "6.5.20240427" |
| 231 | #define NCURSES_OSPEED_COMPAT 1 |
| 232 | |
| 233 | #include <ncurses_def.h> |
| 234 | |
| 235 | /* The C compiler may not treat these properly but C++ has to */ |
| 236 | #ifdef __cplusplus |
| 237 | #undef const |
| 238 | #undef inline |
| 239 | #endif |
| 240 | |
| 241 | /* On HP-UX, the C compiler doesn't grok mbstate_t without |
| 242 | -D_XOPEN_SOURCE=500. However, this causes problems on |
| 243 | IRIX. So, we #define mbstate_t to int in configure.in |
| 244 | only for the C compiler if needed. */ |
| 245 | #ifndef __cplusplus |
| 246 | #ifdef NEED_MBSTATE_T_DEF |
| 247 | #define mbstate_t int |
| 248 | #endif |
| 249 | #endif |
| 250 | |
| 251 | /* |
| 252 | * vile:cmode |
| 253 | */ |
| 254 | #endif /* NC_CONFIG_H */ |