Home | History | Annotate | Line # | Download | only in include
      1 /* xtermcfg.h.  Generated automatically by configure.  */
      2 /* $XTermId: xtermcfg.hin,v 1.234 2025/01/03 01:01:56 tom Exp $ */
      3 
      4 /*
      5  * Copyright 1997-2024,2025 by Thomas E. Dickey
      6  *
      7  *                         All Rights Reserved
      8  *
      9  * Permission is hereby granted, free of charge, to any person obtaining a
     10  * copy of this software and associated documentation files (the
     11  * "Software"), to deal in the Software without restriction, including
     12  * without limitation the rights to use, copy, modify, merge, publish,
     13  * distribute, sublicense, and/or sell copies of the Software, and to
     14  * permit persons to whom the Software is furnished to do so, subject to
     15  * the following conditions:
     16  *
     17  * The above copyright notice and this permission notice shall be included
     18  * in all copies or substantial portions of the Software.
     19  *
     20  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
     21  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
     22  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
     23  * IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY
     24  * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
     25  * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
     26  * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
     27  *
     28  * Except as contained in this notice, the name(s) of the above copyright
     29  * holders shall not be used in advertising or otherwise to promote the
     30  * sale, use or other dealings in this Software without prior written
     31  * authorization.
     32  */
     33 
     34 #ifndef included_xtermcfg_h
     35 #define included_xtermcfg_h 1
     36 
     37 /* This is a template for <xtermcfg.h> */
     38 
     39 /*
     40  * There are no configure options for these features:
     41  * ALLOWLOGFILECHANGES
     42  * ALLOWLOGFILEONOFF
     43  * CANT_OPEN_DEV_TTY
     44  * DEBUG* (any debug-option)
     45  * DUMP_* (mostly in the ReGIS/SIXEL code)
     46  * HAS_LTCHARS
     47  * PUCC_PTYD
     48  * USE_LOGIN_DASH_P
     49  * USE_X11TERM
     50  */
     51 
     52 /* #undef ALLOWLOGFILEEXEC */		/* CF_ARG_ENABLE(enable-logfile-exec) */
     53 /* #undef ALLOWLOGGING */		/* CF_ARG_ENABLE(enable-logging) */
     54 #define CC_HAS_PROTOS 1		/* CF_ANSI_CC */
     55 /* #undef CSRG_BASED */		/* CF_TYPE_FD_MASK */
     56 /* #undef DECL_ERRNO */		/* CF_ERRNO */
     57 #define DEFDELETE_DEL Maybe		/* AC_ARG_ENABLE(delete-is-del) */
     58 #define DEF_ALT_SENDS_ESC False	/* CF_ARG_ENABLE(alt-sends-esc) */
     59 #define DEF_BACKARO_BS True		/* CF_ARG_DISABLE(backarrow-key) */
     60 #define DEF_BACKARO_ERASE False	/* CF_ARG_ENABLE(backarrow-is-erase) */
     61 #define DEF_INITIAL_ERASE False	/* CF_ARG_DISABLE(initial-erase) */
     62 #define DEF_META_SENDS_ESC False	/* CF_ARG_ENABLE(meta-sends-esc) */
     63 /* #undef DFT_COLORMODE */		/* AC_ARG_WITH(default-color-mode) */
     64 #define DFT_DECID "420"		/* AC_ARG_WITH(default-terminal-id) */
     65 #define DFT_TERMTYPE "xterm"		/* AC_ARG_WITH(default-term-type) */
     66 /* #undef DISABLE_SETGID */		/* CF_ARG_DISABLE(setgid) */
     67 /* #undef DISABLE_SETUID */		/* CF_ARG_DISABLE(setuid) */
     68 #define HAVE_CLOCK_GETTIME 1	/* CF_FUNC_GETTIME */
     69 #define HAVE_ENDUSERSHELL 1	/* AC_CHECK_FUNCS(endusershell) */
     70 #define HAVE_GETHOSTNAME 1		/* AC_CHECK_FUNCS(gethostname) */
     71 #define HAVE_GETLOGIN 1		/* AC_CHECK_FUNCS(getlogin) */
     72 #define HAVE_GETTIMEOFDAY 1	/* CF_FUNC_GETTIME */
     73 #define HAVE_GETUSERSHELL 1	/* AC_CHECK_FUNCS(getusershell) */
     74 #define HAVE_GRANTPT 1		/* CF_FUNC_GRANTPT */
     75 /* #undef HAVE_GRANTPT_PTY_ISATTY */	/* CF_FUNC_GRANTPT */
     76 #define HAVE_INITGROUPS 1		/* AC_CHECK_FUNCS(initgroups) */
     77 #define HAVE_LANGINFO_CODESET 1	/* AM_LANGINFO_CODESET */
     78 /* #undef HAVE_LASTLOG_H */		/* CF_LASTLOG */
     79 /* #undef HAVE_LIBUTIL_H */		/* AC_CHECK_HEADERS(libutil.h) */
     80 #define HAVE_LIBXPM 1		/* CF_WITH_XPM */
     81 /* #undef HAVE_LIB_NEXTAW */		/* CF_X_ATHENA(--with-neXtaw) */
     82 /* #undef HAVE_LIB_PCRE */		/* CF_WITH_PCRE */
     83 /* #undef HAVE_LIB_PCRE2 */		/* CF_WITH_PCRE2 */
     84 #define HAVE_LIB_XAW 1		/* CF_X_ATHENA */
     85 /* #undef HAVE_LIB_XAW3D */		/* CF_X_ATHENA(--with-Xaw3d) */
     86 /* #undef HAVE_LIB_XAW3DXFT */	/* CF_X_ATHENA(--with-Xaw3dxft) */
     87 /* #undef HAVE_LIB_XAWPLUS */		/* CF_X_ATHENA(--with-XawPlus) */
     88 #define HAVE_LIB_XCURSOR 1		/* AC_CHECK_LIB(Xcursor) */
     89 #define HAVE_MKDTEMP 1		/* AC_CHECK_FUNCS(mkdtemp) */
     90 /* #undef HAVE_NCURSES_CURSES_H */	/* AC_CHECK_HEADERS(ncurses/curses.h) */
     91 /* #undef HAVE_NCURSES_TERM_H */	/* AC_CHECK_HEADERS(ncurses/term.h) */
     92 #define HAVE_PATHS_H 1		/* CF_LASTLOG */
     93 /* #undef HAVE_PCRE2POSIX_H */	/* CF_WITH_PCRE2 */
     94 /* #undef HAVE_PCRE2REGCOMP */	/* CF_WITH_PCRE2 */
     95 /* #undef HAVE_PCREPOSIX_H */		/* CF_WITH_PCRE */
     96 #define HAVE_POSIX_OPENPT 1	/* CF_FUNC_GRANTPT */
     97 #define HAVE_POSIX_SAVED_IDS 1	/* CF_POSIX_SAVED_IDS */
     98 #define HAVE_PTSNAME 1		/* CF_FUNC_GRANTPT */
     99 #define HAVE_PTY_H 1		/* AC_CHECK_HEADERS(pty.h) */
    100 #define HAVE_PUTENV 1		/* AC_CHECK_FUNCS(putenv) */
    101 #define HAVE_SCHED_YIELD 1		/* AC_CHECK_FUNCS(sched_yield) */
    102 #define HAVE_SETPGID 1		/* AC_CHECK_FUNCS(setpgid) */
    103 #define HAVE_STDINT_H 1		/* AC_PROG_CC_STDC */
    104 #define HAVE_STDLIB_H 1		/* AC_CHECK_HEADERS(stdlib.h) */
    105 #if 0
    106 /*
    107  * clang treats _Noreturn and __attribute__((__noreturn__)) differently,
    108  * so we end up labeling xt_error() with _Noreturn and using it in
    109  * XtSetErrorHandler which is marked with the attribute noreturn, and clang
    110  * complains. IMHO this is a bug in clang. We tell everyone that we don't
    111  * have the header, so we use the attribute consistently and everyone is happy.
    112  */
    113 #define HAVE_STDNORETURN_H 1		/* CF_C11_NORETURN */
    114 #endif
    115 #define HAVE_STRFTIME 1		/* AC_CHECK_FUNCS(strftime) */
    116 /* #undef HAVE_STROPTS_H */		/* AC_CHECK_HEADERS(stropts.h) */
    117 #define HAVE_SYS_PARAM_H 1		/* AC_CHECK_HEADERS(sys/param.h) */
    118 /* #undef HAVE_SYS_PTEM_H */		/* AC_CHECK_HEADERS(sys/ptem.h) */
    119 /* #undef HAVE_SYS_TIME_H */		/* AC_HEADER_TIME */
    120 #define HAVE_SYS_TTYDEFAULTS_H 1	/* AC_CHECK_HEADERS(sys/ttydefaults.h) */
    121 #define HAVE_SYS_WAIT_H 1		/* AC_HEADER_SYS_WAIT */
    122 #define HAVE_TCGETATTR 1		/* AC_CHECK_FUNCS(tcgetattr) */
    123 #define HAVE_TERMCAP_H 1		/* AC_CHECK_HEADERS(termcap.h) */
    124 #define HAVE_TERMIOS_H 1		/* AC_CHECK_HEADERS(termios.h) */
    125 /* #undef HAVE_TERMIO_C_ISPEED */	/* CF_TERMIO_C_ISPEED */
    126 #define HAVE_TERM_H 1		/* AC_CHECK_HEADERS(term.h) */
    127 #define HAVE_TIGETSTR 1		/* AC_CHECK_FUNCS(tigetstr) */
    128 #define HAVE_UNISTD_H 1		/* AC_CHECK_HEADERS(unistd.h) */
    129 #define HAVE_UNSETENV 1		/* AC_CHECK_FUNCS(unsetenv) */
    130 /* #undef HAVE_USE_EXTENDED_NAMES */	/* AC_CHECK_FUNCS(use_extended_names) */
    131 #define HAVE_UTIL_H 1		/* AC_CHECK_HEADERS(util.h) */
    132 #define HAVE_UTMP 1		/* CF_UTMP */
    133 #define HAVE_UTMP_UT_HOST 1	/* CF_UTMP_UT_HOST */
    134 #define HAVE_UTMP_UT_SESSION 1	/* CF_UTMP_UT_SESSION */
    135 /* #undef HAVE_UTMP_UT_SYSLEN */	/* CF_UTMP_UT_SYSLEN */
    136 #define HAVE_UTMP_UT_XSTATUS 1	/* CF_UTMP_UT_XSTATUS */
    137 #define HAVE_UTMP_UT_XTIME 1	/* CF_UTMP_UT_XTIME */
    138 #define HAVE_WAITPID 1		/* AC_CHECK_FUNCS(waitpid) */
    139 #define HAVE_WCHAR_H 1		/* AC_CHECK_HEADERS(wchar.h) */
    140 #define HAVE_WCSWIDTH 1		/* AC_CHECK_FUNCS(wcswidth) */
    141 #define HAVE_WCWIDTH 1		/* AC_CHECK_FUNCS(wcwidth) */
    142 #define HAVE_X11_DECKEYSYM_H 1	/* AC_CHECK_HEADERS(X11/DECkeysym.h) */
    143 #define HAVE_X11_EXTENSIONS_XDBE_H 1 /* AC_CHECK_HEADERS(X11/extensions/Xdbe.h) */
    144 #define HAVE_X11_EXTENSIONS_XINERAMA_H 1 /* AC_CHECK_HEADERS(X11/extensions/Xinerama.h) */
    145 #define HAVE_X11_EXTENSIONS_XKB_H 1 /* AC_CHECK_HEADERS(X11/extensions/XKB.h) */
    146 #define HAVE_X11_SUNKEYSYM_H 1	/* AC_CHECK_HEADERS(X11/Sunkeysym.h) */
    147 #define HAVE_X11_TRANSLATEI_H 1	/* AC_CHECK_HEADERS(X11/TranslateI.h) */
    148 #define HAVE_X11_XF86KEYSYM_H 1	/* AC_CHECK_HEADERS(X11/XF86keysym.h) */
    149 #define HAVE_X11_XKBLIB_H 1	/* AC_CHECK_HEADERS(X11/XKBlib.h) */
    150 #define HAVE_X11_XPOLL_H 1		/* AC_CHECK_HEADERS(X11/Xpoll.h) */
    151 #define HAVE_XDBESWAPBUFFERS 1	/* AC_CHECK_FUNC(XdbeSwapBuffers) */
    152 #define HAVE_XFTDRAWSETCLIP 1	/* CF_X_FREETYPE */
    153 #define HAVE_XFTDRAWSETCLIPRECTANGLES 1 /* CF_X_FREETYPE */
    154 #define HAVE_XKBKEYCODETOKEYSYM 1	/* AC_CHECK_FUNCS(XkbKeycodeToKeysym) */
    155 #define HAVE_XKBQUERYEXTENSION 1	/* AC_CHECK_FUNCS(XkbQueryExtension) */
    156 #define HAVE_XKB_BELL_EXT 1	/* CF_XKB_BELL_EXT */
    157 #define LUIT_PATH "/usr/X11R7/bin/luit"		/* CF_ARG_ENABLE(luit) */
    158 /* #undef NO_ACTIVE_ICON */		/* CF_ARG_DISABLE(active-icon) */
    159 /* #undef NO_LEAKS */			/* CF_ARG_DISABLE(leaks) */
    160 #define OPT_256_COLORS 1		/* CF_ARG_ENABLE(256-color) */
    161 /* #undef OPT_88_COLORS */		/* CF_ARG_ENABLE(88-color) */
    162 /* #undef OPT_AIX_COLORS */		/* CF_ARG_DISABLE(16-color) */
    163 /* #undef OPT_BLINK_CURS */		/* CF_ARG_DISABLE(blink-cursor) */
    164 /* #undef OPT_BLINK_TEXT */		/* CF_ARG_DISABLE(blink-text) */
    165 #define OPT_BLOCK_SELECT 0		/* CF_ARG_ENABLE(block-select) */
    166 /* #undef OPT_BOX_CHARS */		/* CF_ARG_DISABLE(boxchars) */
    167 #define OPT_BROKEN_OSC 0		/* CF_ARG_ENABLE(broken-osc) */
    168 /* #undef OPT_BROKEN_ST */		/* CF_ARG_DISABLE(broken-st) */
    169 /* #undef OPT_BUILTIN_XPMS */		/* CF_ARG_ENABLE(builtin-xpms) */
    170 /* #undef OPT_C1_PRINT */		/* CF_ARG_DISABLE(c1-print) */
    171 /* #undef OPT_COLOR_CLASS */		/* CF_ARG_DISABLE(color-class) */
    172 /* #undef OPT_DABBREV */		/* CF_ARG_ENABLE(dabbrev) */
    173 /* #undef OPT_DEC_CHRSET */		/* CF_ARG_DISABLE(doublechars) */
    174 /* #undef OPT_DEC_LOCATOR */		/* CF_ARG_ENABLE(dec-locator) */
    175 #define OPT_DEC_RECTOPS 1		/* CF_ARG_DISABLE(rectangles) */
    176 #define OPT_DIRECT_COLOR 1		/* CF_ARG_ENABLE(direct-color) */
    177 /* #undef OPT_DOUBLE_BUFFER */	/* CF_ARG_ENABLE(double-buffer) */
    178 /* #undef OPT_EXEC_XTERM */		/* CF_ARG_ENABLE(exec-xterm) */
    179 #define OPT_GRAPHICS 1		/* CF_ARG_ENABLE(graphics) */
    180 /* #undef OPT_HIGHLIGHT_COLOR */	/* CF_ARG_DISABLE(highlighting) */
    181 /* #undef OPT_HP_FUNC_KEYS */		/* CF_ARG_ENABLE(hp-fkeys) */
    182 /* #undef OPT_I18N_SUPPORT */		/* CF_ARG_DISABLE(i18n) */
    183 /* #undef OPT_INITIAL_ERASE */	/* CF_ARG_DISABLE(initial-erase) */
    184 /* #undef OPT_INPUT_METHOD */		/* CF_ARG_DISABLE(input-method) */
    185 /* #undef OPT_ISO_COLORS */		/* CF_ARG_DISABLE(ansi-color) */
    186 /* #undef OPT_LOAD_VTFONTS */		/* CF_ARG_ENABLE(load-vt-fonts) */
    187 #define OPT_LUIT_PROG 1		/* CF_ARG_ENABLE(luit) */
    188 /* #undef OPT_MAXIMIZE */		/* CF_ARG_DISABLE(maximize) */
    189 #define OPT_MINI_LUIT 1		/* CF_ARG_ENABLE(mini-luit) */
    190 /* #undef OPT_NUM_LOCK */		/* CF_ARG_DISABLE(num-lock) */
    191 #define OPT_PASTE64 1		/* CF_ARG_ENABLE(past64) */
    192 /* #undef OPT_PC_COLORS */		/* CF_ARG_DISABLE(pc-color) */
    193 /* #undef OPT_PRINT_GRAPHICS */	/* CF_ARG_ENABLE(print-graphics) */
    194 #define OPT_PTY_HANDSHAKE 1	/* CF_ARG_ENABLE(pty-handshake) */
    195 #define OPT_READLINE 1		/* CF_ARG_ENABLE(readline-mouse) */
    196 /* #undef OPT_REGIS_GRAPHICS */	/* CF_ARG_ENABLE(regis-graphics) */
    197 /* #undef OPT_SAME_NAME */		/* CF_ARG_DISABLE(samename) */
    198 /* #undef OPT_SCO_FUNC_KEYS */	/* CF_ARG_ENABLE(sco-fkeys) */
    199 /* #undef OPT_SCREEN_DUMPS */		/* CF_ARG_ENABLE(screen-dumps) */
    200 /* #undef OPT_SELECTION_OPS */	/* CF_ARG_DISABLE(selection-ops) */
    201 #define OPT_SELECT_REGEX 1		/* CF_ARG_DISABLE(regex) */
    202 /* #undef OPT_SESSION_MGT */		/* CF_ARG_DISABLE(session-mgt) */
    203 #define OPT_SIXEL_GRAPHICS 1	/* CF_ARG_ENABLE(sixel-graphics) */
    204 #define OPT_STATUS_LINE 1	/* CF_ARG_ENABLE(status-line) */
    205 /* #undef OPT_SUN_FUNC_KEYS */	/* CF_ARG_ENABLE(sun-fkeys) */
    206 #define OPT_TCAP_FKEYS 1		/* CF_ARG_ENABLE(tcap-fkeys) */
    207 #define OPT_TCAP_QUERY 1		/* CF_ARG_ENABLE(tcap-query) */
    208 /* #undef OPT_TEK4014 */		/* CF_ARG_DISABLE(tek4014) */
    209 /* #undef OPT_TOOLBAR */		/* CF_ARG_ENABLE(toolbar) */
    210 /* #undef OPT_VT52_MODE */		/* CF_ARG_DISABLE(vt52) */
    211 /* #undef OPT_WIDER_ICHAR */		/* CF_ARG_ENABLE(16bit-chars) */
    212 #define OPT_WIDE_ATTRS 1		/* CF_ARG_DISABLE(wide-attrs) */
    213 #define OPT_WIDE_CHARS 1		/* CF_ARG_DISABLE(wide-chars) */
    214 /* #undef OPT_XMC_GLITCH */		/* CF_ARG_ENABLE(xmc-glitch) */
    215 /* #undef OPT_ZICONBEEP */		/* CF_ARG_DISABLE(ziconbeep) */
    216 /* #undef OWN_TERMINFO_DIR */		/* AC_ARG_WITH(own-terminfo) */
    217 /* #undef OWN_TERMINFO_ENV */		/* AC_ARG_ENABLE(env-terminfo) */
    218 /* #undef PROCFS_ROOT */		/* CF_ARG_ENABLE(exec-xterm) */
    219 #define SCROLLBAR_RIGHT 1		/* CF_ARG_ENABLE(rightbar) */
    220 #define SIG_ATOMIC_T volatile sig_atomic_t		/* CF_SIG_ATOMIC_T */
    221 #define STDC_NORETURN _Noreturn			/* CF_C11_NORETURN */
    222 /* #undef SVR4 */			/* CF_SVR4, imake */
    223 /* #undef SYSV */			/* CF_SYSV, imake */
    224 #define TIME_WITH_SYS_TIME 1	/* AC_HEADER_TIME */
    225 #define TTY_GROUP_NAME "tty"		/* CF_TTY_GROUP */
    226 /* #undef USE_LASTLOG */		/* CF_LASTLOG */
    227 #define USE_POSIX_WAIT 1		/* CF_POSIX_WAIT */
    228 /* #undef USE_STRUCT_LASTLOG */	/* CF_STRUCT_LASTLOG */
    229 #define USE_SYSV_UTMP 1		/* CF_UTMP */
    230 /* #undef USE_SYS_SELECT_H */		/* CF_TYPE_FD_SET */
    231 /* #undef USE_TERMCAP */		/* CF_FUNC_TGETENT */
    232 #define USE_TERMINFO 1		/* CF_FUNC_TGETENT */
    233 #define USE_TTY_GROUP 1		/* CF_TTY_GROUP */
    234 /* #undef USE_UTEMPTER */		/* CF_UTEMPTER */
    235 /* #undef USE_UTMP_SETGID */		/* AC_ARG_WITH(utmp-setgid) */
    236 #define UTMPX_FOR_UTMP 1		/* CF_UTMP */
    237 #define XRENDERFONT 1		/* CF_X_FREETYPE */
    238 /* #undef cc_t */			/* CF_TYPE_CC_T */
    239 /* #undef gid_t */			/* AC_TYPE_UID_T */
    240 /* #undef mode_t */			/* AC_TYPE_MODE_T */
    241 /* #undef off_t */			/* AC_TYPE_OFF_T */
    242 /* #undef pid_t */			/* AC_TYPE_PID_T */
    243 /* #undef time_t */			/* AC_CHECK_TYPE(time_t, long) */
    244 /* #undef uid_t */			/* AC_TYPE_UID_T */
    245 /* #undef ut_name */			/* CF_UTMP */
    246 #define ut_xstatus ut_exit.e_exit		/* CF_UTMP_UT_XSTATUS */
    247 /* #undef ut_xtime */			/* CF_UTMP_UT_XTIME */
    248 
    249 /*
    250  * Ifdef'd to make it simple to override.
    251  */
    252 #ifndef OPT_TRACE
    253 /* #undef OPT_TRACE */		/* CF_ARG_ENABLE(trace) */
    254 /* #undef OPT_TRACE_FLAGS */		/* ...no option */
    255 #endif
    256 
    257 /*
    258  * g++ support for __attribute__() is haphazard.
    259  */
    260 #ifndef __cplusplus
    261 #define GCC_PRINTF	1
    262 #define GCC_PRINTFLIKE(fmt,var)	__attribute__((__format__(__printf__,fmt,var)))
    263 #define GCC_NORETURN	__attribute__((__noreturn__))
    264 #define GCC_UNUSED	__attribute__((__unused__))
    265 #endif
    266 
    267 #ifndef HAVE_X11_XPOLL_H
    268 #define NO_XPOLL_H	/* X11R6.1 & up use Xpoll.h for select() definitions */
    269 #endif
    270 
    271 /* vile:cmode
    272  */
    273 #endif /* included_xtermcfg_h */
    274