17d1ab061SEirik Nygaard /* include/ncurses_cfg.h.  Generated automatically by configure.  */
27d1ab061SEirik Nygaard /****************************************************************************
3*2ff0cc30SDaniel Fojt  * Copyright 2020 Thomas E. Dickey                                          *
4*2ff0cc30SDaniel Fojt  * Copyright 1998-2016,2017 Free Software Foundation, Inc.                  *
57d1ab061SEirik Nygaard  *                                                                          *
67d1ab061SEirik Nygaard  * Permission is hereby granted, free of charge, to any person obtaining a  *
77d1ab061SEirik Nygaard  * copy of this software and associated documentation files (the            *
87d1ab061SEirik Nygaard  * "Software"), to deal in the Software without restriction, including      *
97d1ab061SEirik Nygaard  * without limitation the rights to use, copy, modify, merge, publish,      *
107d1ab061SEirik Nygaard  * distribute, distribute with modifications, sublicense, and/or sell       *
117d1ab061SEirik Nygaard  * copies of the Software, and to permit persons to whom the Software is    *
127d1ab061SEirik Nygaard  * furnished to do so, subject to the following conditions:                 *
137d1ab061SEirik Nygaard  *                                                                          *
147d1ab061SEirik Nygaard  * The above copyright notice and this permission notice shall be included  *
157d1ab061SEirik Nygaard  * in all copies or substantial portions of the Software.                   *
167d1ab061SEirik Nygaard  *                                                                          *
177d1ab061SEirik Nygaard  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS  *
187d1ab061SEirik Nygaard  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF               *
197d1ab061SEirik Nygaard  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.   *
207d1ab061SEirik Nygaard  * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,   *
217d1ab061SEirik Nygaard  * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR    *
227d1ab061SEirik Nygaard  * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR    *
237d1ab061SEirik Nygaard  * THE USE OR OTHER DEALINGS IN THE SOFTWARE.                               *
247d1ab061SEirik Nygaard  *                                                                          *
257d1ab061SEirik Nygaard  * Except as contained in this notice, the name(s) of the above copyright   *
267d1ab061SEirik Nygaard  * holders shall not be used in advertising or otherwise to promote the     *
277d1ab061SEirik Nygaard  * sale, use or other dealings in this Software without prior written       *
287d1ab061SEirik Nygaard  * authorization.                                                           *
297d1ab061SEirik Nygaard  ****************************************************************************/
307d1ab061SEirik Nygaard 
317d1ab061SEirik Nygaard /****************************************************************************
323eec8774SJohn Marino  *  Author: Thomas E. Dickey      1997-on                                   *
337d1ab061SEirik Nygaard  ****************************************************************************/
347d1ab061SEirik Nygaard /*
35*2ff0cc30SDaniel Fojt  * $Id: ncurses_cfg.hin,v 1.12 2020/02/02 23:34:34 tom Exp $
36*2ff0cc30SDaniel Fojt  *
37*2ff0cc30SDaniel Fojt  * Both ncurses_cfg.h and ncurses_def.h are internal header-files used when
38*2ff0cc30SDaniel Fojt  * building ncurses.
397d1ab061SEirik Nygaard  *
407d1ab061SEirik Nygaard  * This is a template-file used to generate the "ncurses_cfg.h" file.
417d1ab061SEirik Nygaard  *
427d1ab061SEirik Nygaard  * Rather than list every definition, the configuration script substitutes the
437d1ab061SEirik Nygaard  * definitions that it finds using 'sed'.  You need a patch (original date
447d1ab061SEirik Nygaard  * 971222) to autoconf 2.12 or 2.13 to do this.
457d1ab061SEirik Nygaard  *
467d1ab061SEirik Nygaard  * See:
477d1ab061SEirik Nygaard  *	http://invisible-island.net/autoconf/
48*2ff0cc30SDaniel Fojt  *	ftp://ftp.invisible-island.net/autoconf/
497d1ab061SEirik Nygaard  */
507d1ab061SEirik Nygaard #ifndef NC_CONFIG_H
517d1ab061SEirik Nygaard #define NC_CONFIG_H
527d1ab061SEirik Nygaard 
533eec8774SJohn Marino #define PACKAGE "ncurses"
54*2ff0cc30SDaniel Fojt #define NCURSES_VERSION "6.2"
55*2ff0cc30SDaniel Fojt #define NCURSES_PATCHDATE 20200212
56*2ff0cc30SDaniel Fojt #define SYSTEM_NAME "dragonfly5.9"
57946ecb11SJan Lentfer #if 0
5848d750c1SJeroen Ruigrok/asmodai #include <stdlib.h>
5948d750c1SJeroen Ruigrok/asmodai #endif
607d1ab061SEirik Nygaard #define HAVE_LONG_FILE_NAMES 1
617d1ab061SEirik Nygaard #define MIXEDCASE_FILENAMES 1
627d1ab061SEirik Nygaard #define USE_SYSMOUSE 1
633ac91e86SJohn Marino #define TERMINFO_DIRS "/usr/share/terminfo"
643ac91e86SJohn Marino #define TERMINFO "/usr/share/terminfo"
657d1ab061SEirik Nygaard #define HAVE_BIG_CORE 1
667d1ab061SEirik Nygaard #define TERMPATH "/etc/termcap:/usr/share/misc/termcap"
673ac91e86SJohn Marino #define USE_GETCAP 1
687d1ab061SEirik Nygaard #define USE_HOME_TERMINFO 1
69946ecb11SJan Lentfer #define USE_ROOT_ENVIRON 1
70*2ff0cc30SDaniel Fojt #define HAVE_UNISTD_H 1
717d1ab061SEirik Nygaard #define HAVE_REMOVE 1
727d1ab061SEirik Nygaard #define HAVE_UNLINK 1
737d1ab061SEirik Nygaard #define HAVE_LINK 1
747d1ab061SEirik Nygaard #define HAVE_SYMLINK 1
75946ecb11SJan Lentfer #define USE_LINKS 1
76946ecb11SJan Lentfer #define BSD_TPUTS 1
77946ecb11SJan Lentfer #define HAVE_LANGINFO_CODESET 1
78946ecb11SJan Lentfer #define HAVE_FSEEKO 1
79*2ff0cc30SDaniel Fojt #define RGB_PATH "/usr/lib64/X11/rgb.txt"
80946ecb11SJan Lentfer #define STDC_HEADERS 1
81946ecb11SJan Lentfer #define HAVE_SYS_TYPES_H 1
82946ecb11SJan Lentfer #define HAVE_SYS_STAT_H 1
83946ecb11SJan Lentfer #define HAVE_STDLIB_H 1
84946ecb11SJan Lentfer #define HAVE_STRING_H 1
85946ecb11SJan Lentfer #define HAVE_MEMORY_H 1
86946ecb11SJan Lentfer #define HAVE_STRINGS_H 1
87946ecb11SJan Lentfer #define HAVE_INTTYPES_H 1
88946ecb11SJan Lentfer #define HAVE_STDINT_H 1
89946ecb11SJan Lentfer #define HAVE_UNISTD_H 1
90946ecb11SJan Lentfer #define SIZEOF_SIGNED_CHAR 1
91*2ff0cc30SDaniel Fojt #define NCURSES_EXT_FUNCS 1
92*2ff0cc30SDaniel Fojt #define HAVE_ASSUME_DEFAULT_COLORS 1
93*2ff0cc30SDaniel Fojt #define HAVE_CURSES_VERSION 1
94*2ff0cc30SDaniel Fojt #define HAVE_HAS_KEY 1
95*2ff0cc30SDaniel Fojt #define HAVE_RESIZETERM 1
96*2ff0cc30SDaniel Fojt #define HAVE_RESIZE_TERM 1
97*2ff0cc30SDaniel Fojt #define HAVE_TERM_ENTRY_H 1
98*2ff0cc30SDaniel Fojt #define HAVE_USE_DEFAULT_COLORS 1
99*2ff0cc30SDaniel Fojt #define HAVE_USE_EXTENDED_NAMES 1
100*2ff0cc30SDaniel Fojt #define HAVE_USE_SCREEN 1
101*2ff0cc30SDaniel Fojt #define HAVE_USE_WINDOW 1
102*2ff0cc30SDaniel Fojt #define HAVE_WRESIZE 1
103*2ff0cc30SDaniel Fojt #define NCURSES_SP_FUNCS 1
104*2ff0cc30SDaniel Fojt #define HAVE_TPUTS_SP 1
105*2ff0cc30SDaniel Fojt #define NCURSES_EXT_PUTWIN 1
106*2ff0cc30SDaniel Fojt #define NCURSES_NO_PADDING 1
107946ecb11SJan Lentfer #define USE_SIGWINCH 1
108*2ff0cc30SDaniel Fojt #define NCURSES_WRAP_PREFIX "_nc_"
109946ecb11SJan Lentfer #define USE_ASSUMED_COLOR 1
110946ecb11SJan Lentfer #define USE_HASHMAP 1
1117d1ab061SEirik Nygaard #define GCC_SCANF 1
112ee39cac4SJohn Marino #define GCC_SCANFLIKE(fmt,var) __attribute__((format(scanf,fmt,var)))
1137d1ab061SEirik Nygaard #define GCC_PRINTF 1
114ee39cac4SJohn Marino #define GCC_PRINTFLIKE(fmt,var) __attribute__((format(printf,fmt,var)))
1157d1ab061SEirik Nygaard #define GCC_UNUSED __attribute__((unused))
1167d1ab061SEirik Nygaard #define GCC_NORETURN __attribute__((noreturn))
1177d1ab061SEirik Nygaard #define HAVE_NC_ALLOC_H 1
1187d1ab061SEirik Nygaard #define HAVE_GETTIMEOFDAY 1
1197d1ab061SEirik Nygaard #define STDC_HEADERS 1
1207d1ab061SEirik Nygaard #define HAVE_DIRENT_H 1
1217d1ab061SEirik Nygaard #define TIME_WITH_SYS_TIME 1
1227d1ab061SEirik Nygaard #define HAVE_REGEX_H_FUNCS 1
1237d1ab061SEirik Nygaard #define HAVE_FCNTL_H 1
1247d1ab061SEirik Nygaard #define HAVE_GETOPT_H 1
1257d1ab061SEirik Nygaard #define HAVE_LIMITS_H 1
1267d1ab061SEirik Nygaard #define HAVE_LOCALE_H 1
127ee39cac4SJohn Marino #define HAVE_MATH_H 1
1287d1ab061SEirik Nygaard #define HAVE_POLL_H 1
1297d1ab061SEirik Nygaard #define HAVE_SYS_IOCTL_H 1
1307d1ab061SEirik Nygaard #define HAVE_SYS_PARAM_H 1
1317d1ab061SEirik Nygaard #define HAVE_SYS_POLL_H 1
1327d1ab061SEirik Nygaard #define HAVE_SYS_SELECT_H 1
1337d1ab061SEirik Nygaard #define HAVE_SYS_TIME_H 1
1347d1ab061SEirik Nygaard #define HAVE_SYS_TIMES_H 1
1357d1ab061SEirik Nygaard #define HAVE_TTYENT_H 1
1367d1ab061SEirik Nygaard #define HAVE_UNISTD_H 1
1377d1ab061SEirik Nygaard #define HAVE_WCTYPE_H 1
1383eec8774SJohn Marino #define HAVE_UNISTD_H 1
1393eec8774SJohn Marino #define HAVE_GETOPT_H 1
1403eec8774SJohn Marino #define HAVE_GETOPT_HEADER 1
141*2ff0cc30SDaniel Fojt #define DECL_ENVIRON 1
142*2ff0cc30SDaniel Fojt #define HAVE_ENVIRON 1
143*2ff0cc30SDaniel Fojt #define HAVE_PUTENV 1
144*2ff0cc30SDaniel Fojt #define HAVE_SETENV 1
145*2ff0cc30SDaniel Fojt #define HAVE_STRDUP 1
1467d1ab061SEirik Nygaard #define HAVE_SYS_TIME_SELECT 1
147946ecb11SJan Lentfer #define SIG_ATOMIC_T volatile sig_atomic_t
1487d1ab061SEirik Nygaard #define HAVE_GETCWD 1
1497d1ab061SEirik Nygaard #define HAVE_GETEGID 1
1507d1ab061SEirik Nygaard #define HAVE_GETEUID 1
1513eec8774SJohn Marino #define HAVE_GETOPT 1
1527d1ab061SEirik Nygaard #define HAVE_GETTTYNAM 1
1537d1ab061SEirik Nygaard #define HAVE_ISSETUGID 1
154*2ff0cc30SDaniel Fojt #define HAVE_LOCALECONV 1
1557d1ab061SEirik Nygaard #define HAVE_POLL 1
1563eec8774SJohn Marino #define HAVE_PUTENV 1
1577d1ab061SEirik Nygaard #define HAVE_REMOVE 1
1587d1ab061SEirik Nygaard #define HAVE_SELECT 1
1597d1ab061SEirik Nygaard #define HAVE_SETBUF 1
1607d1ab061SEirik Nygaard #define HAVE_SETBUFFER 1
1613eec8774SJohn Marino #define HAVE_SETENV 1
1627d1ab061SEirik Nygaard #define HAVE_SETVBUF 1
1637d1ab061SEirik Nygaard #define HAVE_SIGACTION 1
1647d1ab061SEirik Nygaard #define HAVE_SIGVEC 1
1657d1ab061SEirik Nygaard #define HAVE_STRDUP 1
1667d1ab061SEirik Nygaard #define HAVE_STRSTR 1
167*2ff0cc30SDaniel Fojt #define HAVE_SYSCONF 1
1687d1ab061SEirik Nygaard #define HAVE_TCGETPGRP 1
1697d1ab061SEirik Nygaard #define HAVE_TIMES 1
170*2ff0cc30SDaniel Fojt #define HAVE_TSEARCH 1
1717d1ab061SEirik Nygaard #define HAVE_VSNPRINTF 1
1723ac91e86SJohn Marino #define HAVE_BSD_CGETENT 1
1733eec8774SJohn Marino #define CGETENT_CONST const
1747d1ab061SEirik Nygaard #define HAVE_ISASCII 1
175946ecb11SJan Lentfer #define HAVE_NANOSLEEP 1
1767d1ab061SEirik Nygaard #define HAVE_TERMIOS_H 1
1777d1ab061SEirik Nygaard #define HAVE_UNISTD_H 1
178*2ff0cc30SDaniel Fojt #define HAVE_SYS_IOCTL_H 1
1797d1ab061SEirik Nygaard #define HAVE_TCGETATTR 1
1807d1ab061SEirik Nygaard #define HAVE_VSSCANF 1
181*2ff0cc30SDaniel Fojt #define HAVE_UNISTD_H 1
1827d1ab061SEirik Nygaard #define HAVE_MKSTEMP 1
1837d1ab061SEirik Nygaard #define HAVE_SIZECHANGE 1
1847d1ab061SEirik Nygaard #define HAVE_WORKING_POLL 1
185ee39cac4SJohn Marino #define HAVE_VA_COPY 1
186ee39cac4SJohn Marino #define HAVE_UNISTD_H 1
187ee39cac4SJohn Marino #define HAVE_FORK 1
188ee39cac4SJohn Marino #define HAVE_VFORK 1
189ee39cac4SJohn Marino #define HAVE_WORKING_VFORK 1
190ee39cac4SJohn Marino #define HAVE_WORKING_FORK 1
191*2ff0cc30SDaniel Fojt #define USE_FOPEN_BIN_R 1
192ee39cac4SJohn Marino #define USE_OPENPTY_HEADER <libutil.h>
193ee39cac4SJohn Marino #define USE_XTERM_PTY 1
1947d1ab061SEirik Nygaard #define HAVE_TYPEINFO 1
1953eec8774SJohn Marino #define HAVE_IOSTREAM 1
196946ecb11SJan Lentfer #define IOSTREAM_NAMESPACE 1
197946ecb11SJan Lentfer #define CPP_HAS_STATIC_CAST 1
1987d1ab061SEirik Nygaard #define HAVE_SLK_COLOR 1
1997d1ab061SEirik Nygaard #define HAVE_PANEL_H 1
2007d1ab061SEirik Nygaard #define HAVE_LIBPANEL 1
2017d1ab061SEirik Nygaard #define HAVE_MENU_H 1
2027d1ab061SEirik Nygaard #define HAVE_LIBMENU 1
2037d1ab061SEirik Nygaard #define HAVE_FORM_H 1
2047d1ab061SEirik Nygaard #define HAVE_LIBFORM 1
2057d1ab061SEirik Nygaard #define NCURSES_PATHSEP ':'
206*2ff0cc30SDaniel Fojt #define NCURSES_VERSION_STRING "6.2.20200212"
2073eec8774SJohn Marino #define NCURSES_OSPEED_COMPAT 1
208*2ff0cc30SDaniel Fojt #define HAVE_CURSES_DATA_BOOLNAMES 1
2093eec8774SJohn Marino 
2103eec8774SJohn Marino /*
2113eec8774SJohn Marino  * Begin DragonFly-specific changes
2123eec8774SJohn Marino  */
2133eec8774SJohn Marino /* Support ENABLE_WIDEC */
2143eec8774SJohn Marino #ifdef ENABLE_WIDEC
2153eec8774SJohn Marino #define USE_WIDEC_SUPPORT 1
2163eec8774SJohn Marino #define NCURSES_WIDECHAR 1
217*2ff0cc30SDaniel Fojt #define HAVE_WCHAR_H 1
218*2ff0cc30SDaniel Fojt #define HAVE_WCTYPE_H 1
2193eec8774SJohn Marino #define HAVE_PUTWC 1
2203eec8774SJohn Marino #define HAVE_BTOWC 1
2213eec8774SJohn Marino #define HAVE_WCTOB 1
2223eec8774SJohn Marino #define HAVE_MBTOWC 1
2233eec8774SJohn Marino #define HAVE_WCTOMB 1
2243eec8774SJohn Marino #define HAVE_MBLEN 1
2253eec8774SJohn Marino #define HAVE_MBRLEN 1
2263eec8774SJohn Marino #define HAVE_MBRTOWC 1
2273eec8774SJohn Marino #define HAVE_WCSRTOMBS 1
2283eec8774SJohn Marino #define HAVE_MBSRTOWCS 1
2293eec8774SJohn Marino #define HAVE_WCSTOMBS 1
2303eec8774SJohn Marino #define HAVE_MBSTOWCS 1
2313eec8774SJohn Marino #define NEED_WCHAR_H 1
2323eec8774SJohn Marino #define SIZEOF_WCHAR_T 4
2333eec8774SJohn Marino #define NCURSES_EXT_COLORS 1
234*2ff0cc30SDaniel Fojt #define HAVE_ALLOC_PAIR 1
235*2ff0cc30SDaniel Fojt #define HAVE_INIT_EXTENDED_COLOR 1
236*2ff0cc30SDaniel Fojt #define HAVE_RESET_COLOR_PAIRS 1
2373eec8774SJohn Marino #else
2383eec8774SJohn Marino #define NEED_WCHAR_H 0
2393eec8774SJohn Marino #define NCURSES_EXT_COLORS 0
240*2ff0cc30SDaniel Fojt #define HAVE_ALLOC_PAIR 0
241*2ff0cc30SDaniel Fojt #define HAVE_INIT_EXTENDED_COLOR 0
242*2ff0cc30SDaniel Fojt #define HAVE_RESET_COLOR_PAIRS 0
2433eec8774SJohn Marino #endif
2443eec8774SJohn Marino /*
2453eec8774SJohn Marino  * End DragonFly-specific changes
2463eec8774SJohn Marino  */
2477d1ab061SEirik Nygaard 
2487d1ab061SEirik Nygaard #include <ncurses_def.h>
2497d1ab061SEirik Nygaard 
2507d1ab061SEirik Nygaard 	/* The C compiler may not treat these properly but C++ has to */
2517d1ab061SEirik Nygaard #ifdef __cplusplus
2527d1ab061SEirik Nygaard #undef const
2537d1ab061SEirik Nygaard #undef inline
2547d1ab061SEirik Nygaard #endif
2557d1ab061SEirik Nygaard 
256946ecb11SJan Lentfer 	/* On HP-UX, the C compiler doesn't grok mbstate_t without
257946ecb11SJan Lentfer 	   -D_XOPEN_SOURCE=500. However, this causes problems on
258946ecb11SJan Lentfer 	   IRIX. So, we #define mbstate_t to int in configure.in
259946ecb11SJan Lentfer 	   only for the C compiler if needed. */
260946ecb11SJan Lentfer #ifndef __cplusplus
261946ecb11SJan Lentfer #ifdef NEED_MBSTATE_T_DEF
262946ecb11SJan Lentfer #define mbstate_t int
263946ecb11SJan Lentfer #endif
264946ecb11SJan Lentfer #endif
265946ecb11SJan Lentfer 
2663eec8774SJohn Marino /*
2673eec8774SJohn Marino  * vile:cmode
2683eec8774SJohn Marino  */
2697d1ab061SEirik Nygaard #endif /* NC_CONFIG_H */
270