/* $XTermId: xtermcfg.hin,v 1.182 2010/11/11 01:14:49 tom Exp $ */

/************************************************************

Copyright 1997-2009,2010 by Thomas E. Dickey

                        All Rights Reserved

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Except as contained in this notice, the name(s) of the above copyright
holders shall not be used in advertising or otherwise to promote the
sale, use or other dealings in this Software without prior written
authorization.

********************************************************/

#ifndef included_xtermcfg_h
#define included_xtermcfg_h 1

/* This is a template for <xtermcfg.h> */

#undef ALLOWLOGFILEEXEC		/* CF_ARG_ENABLE(enable-logfile-exec) */
#undef ALLOWLOGGING		/* CF_ARG_ENABLE(enable-logging) */
#undef CC_HAS_PROTOS		/* CF_ANSI_CC */
#undef CSRG_BASED		/* CF_TYPE_FD_MASK */
#undef DECL_ERRNO		/* CF_ERRNO */
#undef DFT_COLORMODE		/* AC_ARG_WITH(default-color-mode) */
#undef DFT_DECID		/* AC_ARG_WITH(default-terminal-id) */
#undef DFT_TERMTYPE		/* AC_ARG_WITH(default-term-type) */
#undef DISABLE_SETGID		/* CF_ARG_DISABLE(setgid) */
#undef DISABLE_SETUID		/* CF_ARG_DISABLE(setuid) */
#undef HAVE_GETHOSTNAME		/* AC_CHECK_FUNCS(gethostname) */
#undef HAVE_GETLOGIN		/* AC_CHECK_FUNCS(getlogin) */
#undef HAVE_LANGINFO_CODESET	/* AM_LANGINFO_CODESET */
#undef HAVE_LASTLOG_H		/* CF_LASTLOG */
#undef HAVE_LIB_NEXTAW		/* CF_X_ATHENA(--with-neXtaw) */
#undef HAVE_LIB_PCRE		/* CF_WITH_PCRE */
#undef HAVE_LIB_XAW		/* CF_X_ATHENA */
#undef HAVE_LIB_XAW3D		/* CF_X_ATHENA(--with-Xaw3d) */
#undef HAVE_LIB_XAWPLUS		/* CF_X_ATHENA(--with-XawPlus) */
#undef HAVE_NCURSES_TERM_H	/* AC_CHECK_HEADERS(ncurses/term.h) */
#undef HAVE_PATHS_H		/* CF_LASTLOG */
#undef HAVE_PCREPOSIX_H		/* CF_WITH_PCRE */
#undef HAVE_POSIX_SAVED_IDS	/* CF_POSIX_SAVED_IDS */
#undef HAVE_PUTENV		/* AC_CHECK_FUNCS(putenv) */
#undef HAVE_SCHED_YIELD		/* AC_CHECK_FUNCS(sched_yield) */
#undef HAVE_STDLIB_H		/* AC_CHECK_HEADERS(stdlib.h) */
#undef HAVE_STRERROR		/* AC_CHECK_FUNCS(strerror) */
#undef HAVE_STRFTIME		/* AC_CHECK_FUNCS(strftime) */
#undef HAVE_SYS_TIME_H		/* AC_HEADER_TIME */
#undef HAVE_SYS_TTYDEFAULTS_H	/* AC_CHECK_HEADERS(sys/ttydefaults.h) */
#undef HAVE_SYS_WAIT_H		/* AC_HEADER_SYS_WAIT */
#undef HAVE_TCGETATTR		/* AC_CHECK_FUNCS(tcgetattr) */
#undef HAVE_TERMCAP_H		/* AC_CHECK_HEADERS(termcap.h) */
#undef HAVE_TERMIOS_H		/* AC_CHECK_HEADERS(termios.h) */
#undef HAVE_TERMIO_C_ISPEED	/* CF_TERMIO_C_ISPEED */
#undef HAVE_TERM_H		/* AC_CHECK_HEADERS(term.h) */
#undef HAVE_TIGETSTR		/* AC_CHECK_FUNCS(tigetstr) */
#undef HAVE_UNISTD_H		/* AC_CHECK_HEADERS(unistd.h) */
#undef HAVE_USE_EXTENDED_NAMES	/* AC_CHECK_FUNCS(use_extended_names) */
#undef HAVE_UTMP		/* CF_UTMP */
#undef HAVE_UTMP_UT_HOST	/* CF_UTMP_UT_HOST */
#undef HAVE_UTMP_UT_SESSION	/* CF_UTMP_UT_SESSION */
#undef HAVE_UTMP_UT_SYSLEN	/* CF_UTMP_UT_SYSLEN */
#undef HAVE_UTMP_UT_XSTATUS	/* CF_UTMP_UT_XSTATUS */
#undef HAVE_UTMP_UT_XTIME	/* CF_UTMP_UT_XTIME */
#undef HAVE_WAITPID		/* AC_CHECK_FUNCS(waitpid) */
#undef HAVE_WCHAR_H		/* AC_CHECK_HEADERS(wchar.h) */
#undef HAVE_WCSWIDTH		/* AC_CHECK_FUNCS(wcswidth) */
#undef HAVE_WCWIDTH		/* AC_CHECK_FUNCS(wcwidth) */
#undef HAVE_X11_DECKEYSYM_H	/* AC_CHECK_HEADERS(X11/DECkeysym.h) */
#undef HAVE_X11_EXTENSIONS_XKB_H /* AC_CHECK_HEADERS(X11/extensions/XKB.h) */
#undef HAVE_X11_SUNKEYSYM_H	/* AC_CHECK_HEADERS(X11/Sunkeysym.h) */
#undef HAVE_X11_XF86KEYSYM_H	/* AC_CHECK_HEADERS(X11/XF86keysym.h) */
#undef HAVE_X11_XKBLIB_H	/* AC_CHECK_HEADERS(X11/XKBlib.h) */
#undef HAVE_X11_XPOLL_H		/* AC_CHECK_HEADERS(X11/Xpoll.h) */
#undef HAVE_XFTDRAWSETCLIP	/* CF_X_FREETYPE */
#undef HAVE_XFTDRAWSETCLIPRECTANGLES /* CF_X_FREETYPE */
#undef HAVE_XKBQUERYEXTENSION	/* AC_CHECK_FUNCS(XkbQueryExtension) */
#undef HAVE_XKB_BELL_EXT	/* CF_XKB_BELL_EXT */
#undef LUIT_PATH		/* CF_ARG_ENABLE(luit) */
#undef NO_ACTIVE_ICON		/* CF_ARG_DISABLE(active-icon) */
#undef NO_LEAKS			/* CF_ARG_DISABLE(leaks) */
#undef OPT_256_COLORS		/* CF_ARG_ENABLE(256-color) */
#undef OPT_88_COLORS		/* CF_ARG_ENABLE(88-color) */
#undef OPT_AIX_COLORS		/* CF_ARG_DISABLE(16-color) */
#undef OPT_BLINK_CURS		/* CF_ARG_DISABLE(blink-cursor) */
#undef OPT_BLINK_TEXT		/* CF_ARG_DISABLE(blink-text) */
#undef OPT_BOX_CHARS		/* CF_ARG_DISABLE(boxchars) */
#undef OPT_BROKEN_OSC		/* CF_ARG_ENABLE(broken-osc) */
#undef OPT_BROKEN_ST		/* CF_ARG_DISABLE(broken-st) */
#undef OPT_C1_PRINT		/* CF_ARG_DISABLE(c1-print) */
#undef OPT_COLOR_CLASS		/* CF_ARG_DISABLE(color-class) */
#undef OPT_DABBREV		/* CF_ARG_ENABLE(dabbrev) */
#undef OPT_DEC_CHRSET		/* CF_ARG_DISABLE(doublechars) */
#undef OPT_DEC_LOCATOR		/* CF_ARG_ENABLE(dec-locator) */
#undef OPT_DEC_RECTOPS		/* CF_ARG_ENABLE(rectangles) */
#undef OPT_EXEC_XTERM		/* CF_ARG_ENABLE(exec-xterm) */
#undef OPT_FIFO_LINES		/* CF_ARG_ENABLE(fifo-lines) */
#undef OPT_HIGHLIGHT_COLOR	/* CF_ARG_DISABLE(highlighting) */
#undef OPT_HP_FUNC_KEYS		/* CF_ARG_ENABLE(hp-fkeys) */
#undef OPT_I18N_SUPPORT		/* CF_ARG_DISABLE(i18n) */
#undef OPT_INITIAL_ERASE	/* CF_ARG_DISABLE(initial-erase) */
#undef OPT_INPUT_METHOD		/* CF_ARG_DISABLE(input-method) */
#undef OPT_ISO_COLORS		/* CF_ARG_DISABLE(ansi-color) */
#undef OPT_LOAD_VTFONTS		/* CF_ARG_ENABLE(load-vt-fonts) */
#undef OPT_LUIT_PROG		/* CF_ARG_ENABLE(luit) */
#undef OPT_MAXIMIZE		/* CF_ARG_DISABLE(maximize) */
#undef OPT_MINI_LUIT		/* CF_ARG_ENABLE(mini-luit) */
#undef OPT_NUM_LOCK		/* CF_ARG_DISABLE(num-lock) */
#undef OPT_PASTE64		/* CF_ARG_ENABLE(past64) */
#undef OPT_PC_COLORS		/* CF_ARG_DISABLE(pc-color) */
#undef OPT_PTY_HANDSHAKE	/* CF_ARG_ENABLE(pty-handshake) */
#undef OPT_READLINE		/* CF_ARG_ENABLE(readline-mouse) */
#undef OPT_SAME_NAME		/* CF_ARG_DISABLE(samename) */
#undef OPT_SCO_FUNC_KEYS	/* CF_ARG_ENABLE(sco-fkeys) */
#undef OPT_SELECT_REGEX		/* CF_ARG_DISABLE(regex) */
#undef OPT_SESSION_MGT		/* CF_ARG_DISABLE(session-mgt) */
#undef OPT_SUN_FUNC_KEYS	/* CF_ARG_ENABLE(sun-fkeys) */
#undef OPT_TCAP_FKEYS		/* CF_ARG_ENABLE(tcap-fkeys) */
#undef OPT_TCAP_QUERY		/* CF_ARG_ENABLE(tcap-query) */
#undef OPT_TEK4014		/* CF_ARG_DISABLE(tek4014) */
#undef OPT_TOOLBAR		/* CF_ARG_ENABLE(toolbar) */
#undef OPT_VT52_MODE		/* CF_ARG_DISABLE(vt52) */
#undef OPT_WIDER_ICHAR		/* CF_ARG_ENABLE(16bit-chars) */
#undef OPT_WIDE_CHARS		/* CF_ARG_OPTION(wide-chars) */
#undef OPT_XMC_GLITCH		/* CF_ARG_ENABLE(xmc-glitch) */
#undef OPT_ZICONBEEP		/* CF_ARG_DISABLE(ziconbeep) */
#undef OWN_TERMINFO_DIR		/* AC_ARG_WITH(own-terminfo) */
#undef PROCFS_ROOT		/* CF_ARG_ENABLE(exec-xterm) */
#undef SCROLLBAR_RIGHT		/* CF_ARG_ENABLE(rightbar) */
#undef SIG_ATOMIC_T		/* CF_SIG_ATOMIC_T */
#undef SVR4			/* CF_SVR4, imake */
#undef SYSV			/* CF_SYSV, imake */
#undef TIME_WITH_SYS_TIME	/* AC_HEADER_TIME */
#undef TTY_GROUP_NAME		/* CF_TTY_GROUP */
#undef USE_LASTLOG		/* CF_LASTLOG */
#undef USE_MY_MEMMOVE		/* CF_FUNC_MEMMOVE */
#undef USE_OK_BCOPY		/* CF_FUNC_MEMMOVE */
#undef USE_POSIX_WAIT		/* CF_POSIX_WAIT */
#undef USE_STRUCT_LASTLOG	/* CF_STRUCT_LASTLOG */
#undef USE_SYSV_UTMP		/* CF_UTMP */
#undef USE_SYS_SELECT_H		/* CF_TYPE_FD_SET */
#undef USE_TERMCAP		/* CF_FUNC_TGETENT */
#undef USE_TERMINFO		/* CF_FUNC_TGETENT */
#undef USE_TTY_GROUP		/* CF_TTY_GROUP */
#undef USE_UTEMPTER		/* CF_UTEMPTER */
#undef USE_UTMP_SETGID		/* AC_ARG_WITH(utmp-setgid) */
#undef UTMPX_FOR_UTMP		/* CF_UTMP */
#undef XRENDERFONT		/* CF_X_FREETYPE */
#undef const			/* AC_CONST */
#undef gid_t			/* AC_TYPE_UID_T */
#undef mode_t			/* AC_TYPE_MODE_T */
#undef off_t			/* AC_TYPE_OFF_T */
#undef pid_t			/* AC_TYPE_PID_T */
#undef size_t			/* AC_TYPE_SIZE_T */
#undef time_t			/* AC_CHECK_TYPE(time_t, long) */
#undef uid_t			/* AC_TYPE_UID_T */
#undef ut_name			/* CF_UTMP */
#undef ut_xstatus		/* CF_UTMP_UT_XSTATUS */
#undef ut_xtime			/* CF_UTMP_UT_XTIME */

/*
 * Ifdef'd to make it simple to override.
 */
#ifndef OPT_TRACE
#undef OPT_TRACE		/* CF_ARG_ENABLE(trace) */
#undef OPT_TRACE_FLAGS		/* ...no option */
#endif

/*
 * g++ support for __attribute__() is haphazard.
 */
#ifndef __cplusplus
#undef GCC_PRINTF
#undef GCC_PRINTFLIKE
#undef GCC_UNUSED
#endif

#ifdef USE_OK_BCOPY
#define memmove(d,s,n) bcopy(s,d,n)
#endif

#ifdef USE_MY_MEMMOVE
#define memmove(d,s,n) my_memmove(d,s,n)
extern void * my_memmove(void * s1, void * s2, size_t n);
#endif

#ifndef HAVE_STRERROR
#define strerror(n) my_strerror(n)
extern char *my_strerror(int n);
#endif

#ifndef HAVE_X11_XPOLL_H
#define NO_XPOLL_H	/* X11R6.1 & up use Xpoll.h for select() definitions */
#endif

/* vile:cmode
 */
#endif /* included_xtermcfg_h */
