about summary refs log tree commit diff stats
path: root/config.hin
blob: 68bfb6ce657c67b8fbd219750ca1346e1de9d08b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
/* The configure script translates "config.hin" into "lynx_cfg.h" */
#ifndef LYNX_CFG_H
#define LYNX_CFG_H 1

#undef ALL_CHARSETS		/* AC_ARG_WITH(charsets) */
#undef ALT_CHAR_SET		/* CF_ALT_CHAR_SET */
#undef ANSI_VARARGS		/* CF_VARARGS */
#undef ARCHIVE_ONLY		/* CF_ARG_DISABLE(dired-archive) */
#undef BZIP2_PATH		/* CF_PATH_PROG(bzip2) */
#undef CAN_SET_ERRNO		/* CF_SET_ERRNO */
#undef CHMOD_PATH		/* CF_PATH_PROG(chmod) */
#undef CJK_EX			/* CF_ARG_ENABLE(cjk) */
#undef COLOR_CURSES		/* defined by CF_COLOR_CURSES */
#undef COMPRESS_PATH		/* CF_PATH_PROG(compress) */
#undef CONV_JISX0201KANA_JISX0208KANA /* CF_ARG_ENABLE(kanji) */
#undef COPY_PATH		/* CF_PATH_PROG(cp) */
#undef CURS_PERFORMANCE		/* CF_CURS_PERFORMANCE */
#undef DEBUG			/* configure --enable-debug */
#undef DECL_ERRNO
#undef DECL_GETGRGID
#undef DECL_GETGRNAM
#undef DECL_STRSTR
#undef DECL_SYS_ERRLIST
#undef DIRED_SUPPORT		/* AC_ARG_WITH(dired) */
#undef DISABLE_FINGER		/* CF_ARG_DISABLE(finger) */
#undef DISABLE_FTP		/* CF_ARG_DISABLE(ftp) */
#undef DISABLE_GOPHER		/* CF_ARG_DISABLE(gopher) */
#undef DISABLE_NEWS		/* CF_ARG_DISABLE(news) */
#undef DISP_PARTIAL		/* CF_ARG_ENABLE(partial) */
#undef DONT_TRACK_INTERNAL_LINKS /* CF_ARG_DISABLE(internal-links) */
#undef EBCDIC			/* CF_EBCDIC */
#undef ENABLE_NLS		/* defined if NLS is requested */
#undef ENABLE_OPTS_CHANGE_EXEC	/* CF_ARG_ENABLE(change-exec) */
#undef EXEC_LINKS		/* CF_ARG_ENABLE(exec-links) */
#undef EXEC_SCRIPTS		/* CF_ARG_ENABLE(exec-scripts) */
#undef EXP_ADDRLIST_PAGE	/* CF_ARG_ENABLE(addrlist-page) */
#undef EXP_ALT_BINDINGS		/* CF_ARG_ENABLE(alt-bindings) */
#undef EXP_CHARSET_CHOICE	/* CF_ARG_ENABLE(charset-choice) */
#undef EXP_CHARTRANS_AUTOSWITCH	/* CF_ARG_ENABLE(font-switch) */
#undef EXP_FILE_UPLOAD		/* CF_ARG_ENABLE(file-upload) */
#undef EXP_JUSTIFY_ELTS		/* CF_ARG_ENABLE(justify-elts) */
#undef EXP_KEYBOARD_LAYOUT	/* CF_ARG_ENABLE(kbd-layout) */
#undef EXP_LIBJS		/* CF_ARG_ENABLE(libjs) */
#undef EXP_PERSISTENT_COOKIES	/* CF_ARG_ENABLE(persistent-cookies) */
#undef EXP_READPROGRESS		/* CF_ARG_ENABLE(read-eta) */
#undef FANCY_CURSES		/* defined by CF_FANCY_CURSES */
#undef GCC_NORETURN		/* CF_GCC_ATTRIBUTES */
#undef GCC_PRINTF		/* CF_GCC_ATTRIBUTES */
#undef GCC_UNUSED		/* CF_GCC_ATTRIBUTES */
#undef GETGROUPS_T		/* AC_TYPE_GETGROUPS */
#undef GZIP_PATH		/* CF_PATH_PROG(gzip) */
#undef HAVE_ALLOCA		/* defined by AM_GNU_GETTEXT */
#undef HAVE_ALLOCA_H		/* defined by AM_GNU_GETTEXT */
#undef HAVE_ARGZ_H		/* defined by AM_GNU_GETTEXT */
#undef HAVE_ARPA_INET_H
#undef HAVE_ASSUME_DEFAULT_COLORS /* ncurses extension */
#undef HAVE_CATGETS		/* defined if you want to use non-GNU catgets */
#undef HAVE_CBREAK
#undef HAVE_CURSESX_H
#undef HAVE_CUSERID
#undef HAVE_DCGETTEXT		/* defined by AM_GNU_GETTEXT */
#undef HAVE_DEFINE_KEY
#undef HAVE_DIRENT_H		/* defined by AC_HEADER_DIRENT */
#undef HAVE_FCNTL_H		/* have <fcntl.h> */
#undef HAVE_GETBKGD		/* defined by CF_COLOR_CURSES */
#undef HAVE_GETCWD
#undef HAVE_GETGROUPS
#undef HAVE_GETTEXT		/* defined if you want to use non-GNU gettext */
#undef HAVE_GETTIMEOFDAY
#undef HAVE_GETUID
#undef HAVE_H_ERRNO
#undef HAVE_INET_ATON		/* CF_INET_ADDR */
#undef HAVE_JCURSES_H
#undef HAVE_KEYPAD
#undef HAVE_LC_MESSAGES		/* locale messages */
#undef HAVE_LIBINTL_H		/* AM_GNU_GETTEXT, or cleanup from that */
#undef HAVE_LIMITS_H
#undef HAVE_LOCALE_H
#undef HAVE_LSTAT		/* defined by CF_FUNC_LSTAT */
#undef HAVE_MALLOC_H		/* defined by AM_GNU_GETTEXT */
#undef HAVE_MKSTEMP
#undef HAVE_MKTEMP
#undef HAVE_MMAP		/* defined by AM_GNU_GETTEXT */
#undef HAVE_MUNMAP		/* defined by AM_GNU_GETTEXT */
#undef HAVE_NCURSES_H		/* defined if we include <ncurses.h> */
#undef HAVE_NL_TYPES_H		/* defined by AM_GNU_GETTEXT */
#undef HAVE_POPEN
#undef HAVE_PUTENV
#undef HAVE_RAND
#undef HAVE_READDIR
#undef HAVE_RESIZETERM
#undef HAVE_RESOLV_H
#undef HAVE_SETENV		/* defined by AM_GNU_GETTEXT */
#undef HAVE_SETLOCALE
#undef HAVE_SETUID
#undef HAVE_SIGACTION		/* CF_FUNC_SIGACTION */
#undef HAVE_SIZECHANGE		/* defined by CF_SIZECHANGE */
#undef HAVE_SRAND
#undef HAVE_STDARG_H		/* CF_VARARGS */
#undef HAVE_STDLIB_H
#undef HAVE_STPCPY		/* defined by AM_GNU_GETTEXT */
#undef HAVE_STRCASECMP		/* defined by AM_GNU_GETTEXT */
#undef HAVE_STRCHR		/* defined by AM_GNU_GETTEXT */
#undef HAVE_STRERROR
#undef HAVE_STRING_H
#undef HAVE_SYSLOG_H
#undef HAVE_SYS_DIR_H		/* defined by AC_HEADER_DIRENT */
#undef HAVE_SYS_FCNTL_H		/* have <sys/fcntl.h> */
#undef HAVE_SYS_FILIO_H		/* have <sys/filio.h> */
#undef HAVE_SYS_IOCTL_H		/* have <sys/ioctl.h> */
#undef HAVE_SYS_NDIR_H		/* defined by AC_HEADER_DIRENT */
#undef HAVE_SYS_PARAM_H		/* defined by AM_GNU_GETTEXT */
#undef HAVE_SYS_WAIT_H		/* have <sys/wait.h> */
#undef HAVE_TERMIOS_H		/* have <termios.h> */
#undef HAVE_TERMIO_H		/* have <termio.h> */
#undef HAVE_TRUNCATE
#undef HAVE_TTYTYPE
#undef HAVE_TYPE_UNIONWAIT	/* CF_UNION_WAIT */
#undef HAVE_UNISTD_H		/* have <unistd.h> */
#undef HAVE_UNSETENV
#undef HAVE_USE_DEFAULT_COLORS	/* ncurses extension */
#undef HAVE_UTMP
#undef HAVE_VALUES_H		/* defined by AM_GNU_GETTEXT */
#undef HAVE_VARARGS_H		/* CF_VARARGS */
#undef HAVE_VASPRINTF
#undef HAVE_WAITPID
#undef HAVE_WBORDER
#undef HAVE_WREDRAWLN
#undef HAVE___ARGZ_COUNT	/* defined by AM_GNU_GETTEXT */
#undef HAVE___ARGZ_NEXT		/* defined by AM_GNU_GETTEXT */
#undef HAVE___ARGZ_STRINGIFY	/* defined by AM_GNU_GETTEXT */
#undef IGNORE_CTRL_C		/* FIXME: make tests? */
#undef INSTALL_ARGS		/* CF_PATH_PROG(install) */
#undef INSTALL_PATH		/* CF_PATH_PROG(install) */
#undef KANJI_CODE_OVERRIDE	/* CF_ARG_ENABLE(kanji) */
#undef LINKEDSTYLES		/* see USE_COLOR_STYLE */
#undef LINUX			/* FIXME: make tests? */
#undef LOCALE			/* for locale support */
#undef LONG_LIST		/* CF_ARG_DISABLE(long-list) */
#undef LYNXCGI_LINKS		/* CF_ARG_ENABLE(cgi-links) */
#undef LYNX_CFG_FILE		/* $libdir/lynx.cfg */
#undef LYNX_LSS_FILE		/* $libdir/lynx.lss */
#undef LY_FIND_LEAKS		/* configure --disable-leaks */
#undef MKDIR_PATH		/* CF_PATH_PROG(mkdir) */
#undef MV_PATH			/* CF_PATH_PROG(mv) */
#undef NCURSES			/* defined for ncurses support */
#undef NCURSES_BROKEN		/* defined for ncurses color support */
#undef NEED_PTEM_H		/* defined by CF_SIZECHANGE */
#undef NEED_REMOVE		/* defined by CF_REMOVE_BROKEN */
#undef NGROUPS			/* defined by CF_NGROUPS */
#undef NOT_ASCII		/* CF_NOT_ASCII */
#undef NO_CHANGE_EXECUTE_PERMS	/* CF_ARG_DISABLE(dired-xpermit) */
#undef NO_CONFIG_INFO		/* CF_ARG_DISABLE(config-info) */
#undef NO_EXTENDED_HTMLDTD	/* CF_ARG_DISABLE(extended-dtd) */
#undef NO_LYNX_TRACE		/* CF_ARG_DISABLE(trace) */
#undef NO_OPTION_FORMS		/* CF_ARG_DISABLE(forms-options) */
#undef NO_OPTION_MENU		/* CF_ARG_DISABLE(option-menu) */
#undef NO_PARENT_DIR_REFERENCE	/* configure --disable-parent-dir */
#undef NSL_FORK			/* CF_ARG_ENABLE(nsl-fork) */
#undef OK_GZIP			/* CF_ARG_DISABLE(dired-gzip) */
#undef OK_INSTALL
#undef OK_OVERRIDE		/* CF_ARG_DISABLE(dired-override) */
#undef OK_PERMIT		/* CF_ARG_DISABLE(dired-permit) */
#undef OK_TAR			/* CF_ARG_DISABLE(dired-tar) */
#undef OK_UUDECODE		/* CF_ARG_DISABLE(dired-uudecode) */
#undef OK_ZIP			/* CF_ARG_DISABLE(dired-zip) */
#undef RLOGIN_PATH		/* CF_PATH_PROG(rlogin) */
#undef RM_PATH			/* CF_PATH_PROG(rm) */
#undef SOCKS			/* CF_SOCKS, CF_SOCKS5 */
#undef SOURCE_CACHE		/* CF_ARG_ENABLE(source-cache) */
#undef STDC_HEADERS
#undef SYSTEM_MAIL		/* CF_DEFINE_PROG */
#undef SYSTEM_MAIL_FLAGS	/* defined by CF_SYSTEM_MAIL_FLAGS */
#undef SYSTEM_NAME		/* CF_CHECK_CACHE */
#undef TAR_PATH			/* CF_PATH_PROG(tar) */
#undef TELNET_PATH		/* CF_PATH_PROG(telnet) */
#undef TERMIO_AND_CURSES	/* CF_TERMIO_AND_CURSES workaround */
#undef TERMIO_AND_TERMIOS	/* CF_TERMIO_AND_TERMIOS workaround */
#undef TN3270_PATH		/* CF_PATH_PROG(tn3270) */
#undef TOUCH_PATH		/* CF_PATH_PROG(touch) */
#undef ULTRIX			/* config.sub */
#undef UNCOMPRESS_PATH		/* CF_PATH_PROG(gunzip) */
#undef UNDERLINE_LINKS		/* CF_ARG_ENABLE(underlines) */
#undef UNIX
#undef UNZIP_PATH		/* CF_PATH_PROG(unzip) */
#undef USE_COLOR_STYLE		/* CF_ARG_ENABLE(color-style) */
#undef USE_DEFAULT_COLORS	/* CF_ARG_ENABLE(default-colors) */
#undef USE_EXECVP		/* CF_ARG_DISABLE(full-paths) */
#undef USE_EXTERNALS		/* CF_ARG_ENABLE(externs) */
#undef USE_FCNTL		/* CF_FIONBIO */
#undef USE_HASH			/* see USE_COLOR_STYLE */
#undef USE_PRETTYSRC		/* CF_ARG_ENABLE(prettysrc) */
#undef USE_SCROLLBAR		/* CF_ARG_ENABLE(scrollbar) */
#undef USE_SIZECHANGEHACK	/* FIXME: find a case where this works! */
#undef USE_SLANG		/* AC_ARG_WITH(screen=slang) */
#undef USE_SOCKS4_PREFIX	/* CF_SOCKS5 */
#undef USE_SOCKS5		/* CF_SOCKS5 */
#undef USE_TH_JP_AUTO_DETECT	/* CF_ARG_ENABLE(kanji) */
#undef USE_ZLIB			/* AC_ARG_WITH(zlib) */
#undef UTMPX_FOR_UTMP		/* use <utmpx.h> since <utmp.h> not found */
#undef UUDECODE_PATH		/* CF_PATH_PROG(uudecode) */
#undef WAITPID_USES_UNION	/* CF_FUNC_WAIT */
#undef WAIT_USES_UNION		/* CF_FUNC_WAIT */
#undef ZCAT_PATH		/* CF_PATH_PROG(zcat) */
#undef ZIP_PATH			/* CF_PATH_PROG(zip) */
#undef _ALL_SOURCE		/* AC_AIX */
#undef inline			/* defined by AC_C_INLINE */
#undef mode_t			/* defined by AC_TYPE_MODE_T */
#undef off_t			/* defined by AC_TYPE_OFF_T */
#undef pid_t			/* defined by AC_TYPE_PID_T */
#undef uid_t			/* defined by AC_TYPE_UID_T */
#undef vfork			/* defined by AC_FUNC_FORK */

/* 'const' may be defined externally by the compiler-wrapper, as in 'unproto'
 * or by AC_C_CONST
 */
#ifndef const
#undef const
#endif

/* FIXME:DECLARE_WAIS_LOGFILES */
/* FIXME:DGUX */
/* FIXME:DGUX_OLD */
/* FIXME:HP_TERMINAL */
/* FIXME:REVERSE_CLEAR_SCREEN_PROBLEM */
/* FIXME:SHORTENED_RBIND */
/* FIXME:SNAKE */
/* FIXME:SVR4_BSDSELECT */

/* Some older socks libraries, especially AIX need special definitions */
#if defined(_AIX) && !defined(USE_SOCKS5)
#undef accept
#undef bind
#undef connect
#undef getpeername
#undef getsockname
#undef listen
#undef recvfrom
#undef select
#endif

#ifdef HAVE_SYSLOG_H
#undef SYSLOG_REQUESTED_URLS	/* CF_ARG_ENABLE(syslog) */
#endif

#ifndef HAVE_LSTAT
#define lstat stat
#endif

#ifdef DECL_GETGRGID
extern struct group * getgrgid ();
#endif

#ifdef DECL_GETGRNAM
extern struct group * getgrnam ();
#endif

#ifdef DECL_STRSTR
extern char * strstr ();
#endif

#endif /* LYNX_CFG_H */