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