blob: 70e1aef2e679b210bdb407a6f2528f8b57efe537 (
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
|
#ifndef CONFIG_H_SEEN
#define CONFIG_H_SEEN
/*
* Configuration for w3m
*/
#define JA 0
#define EN 1
/* Name of package */
#undef PACKAGE
#define HELP_FILE "w3mhelp.html"
#define HELP_CGI "w3mhelp"
#define W3MCONFIG "w3mconfig"
#define IMGDISPLAY "w3mimgdisplay"
#define XFACE2XPM "xface2xpm"
#define BOOKMARK "bookmark.html"
#define CONFIG_FILE "config"
#define KEYMAP_FILE "keymap"
#define MENU_FILE "menu"
#define MOUSE_FILE "mouse"
#define COOKIE_FILE "cookie"
#define HISTORY_FILE "history"
#define PASSWD_FILE RC_DIR "/passwd"
#define PRE_FORM_FILE RC_DIR "/pre_form"
#define SITECONF_FILE RC_DIR "/siteconf"
#define USER_MAILCAP RC_DIR "/mailcap"
#define SYS_MAILCAP CONF_DIR "/mailcap"
#define USER_MIMETYPES "~/.mime.types"
#define SYS_MIMETYPES ETC_DIR "/mime.types"
#define USER_URIMETHODMAP RC_DIR "/urimethodmap"
#define SYS_URIMETHODMAP CONF_DIR "/urimethodmap"
#define DEF_SAVE_FILE "index.html"
/* User Configuration */
#define DISPLAY_CHARSET @DISPLAY_CHARSET@
#define SYSTEM_CHARSET @SYSTEM_CHARSET@
#define DOCUMENT_CHARSET @DOCUMENT_CHARSET@
#undef USE_M17N
#undef USE_UNICODE
#define W3M_LANG @W3M_LANG@
#define LANG W3M_LANG
/* Define to 1 if translation of program messages to the user's
native language is requested. */
#undef ENABLE_NLS
#undef USE_COLOR
#undef USE_ANSI_COLOR
#undef USE_BG_COLOR
#undef USE_MIGEMO
#define USE_MARK
#undef USE_MOUSE
#undef USE_GPM
#undef USE_SYSMOUSE
#undef USE_MENU
#undef USE_COOKIE
#undef USE_DIGEST_AUTH
#undef USE_SSL
#undef USE_SSL_VERIFY
#undef USE_HELP_CGI
#undef USE_EXTERNAL_URI_LOADER
#undef USE_W3MMAILER
#undef USE_NNTP
#undef USE_GOPHER
#undef USE_ALARM
#undef USE_IMAGE
#undef USE_W3MIMG_X11
#undef USE_W3MIMG_FB
#undef USE_W3MIMG_WIN
#undef W3MIMGDISPLAY_SETUID
#undef USE_IMLIB
#undef USE_GDKPIXBUF
#undef USE_GTK2
#undef X_DISPLAY_MISSING
#undef USE_IMLIB2
#undef USE_XFACE
#undef USE_DICT
#undef USE_HISTORY
#undef FORMAT_NICE
#define ID_EXT
#undef CLEAR_BUF
#undef INET6
#undef HAVE_SOCKLEN_T
#undef HAVE_OLD_SS_FAMILY
#undef USE_EGD
#define ENABLE_REMOVE_TRAILINGSPACES
#undef MENU_THIN_FRAME
#undef USE_RAW_SCROLL
#undef TABLE_EXPAND
#undef TABLE_NO_COMPACT
#define NOWRAP
#define MATRIX
#define DEF_EDITOR "@DEF_EDITOR@"
#define DEF_MAILER "@DEF_MAILER@
#define DEF_EXT_BROWSER "@DEF_EXT_BROWSER@"
/* fallback viewer. mailcap override these configuration */
#define DEF_IMAGE_VIEWER "display"
#define DEF_AUDIO_PLAYER "showaudio"
/* for USE_MIGEMO */
#define DEF_MIGEMO_COMMAND "@DEF_MIGEMO_COMMAND@"
#undef USE_BINMODE_STREAM
#undef HAVE_TERMIOS_H
#undef HAVE_TERMIO_H
#undef HAVE_SGTTY_H
#undef HAVE_DIRENT_H
#undef HAVE_LOCALE_H
#undef HAVE_STDINT_H
#undef HAVE_INTTYPES_H
#define SIZEOF_LONG_LONG 8
#if SIZEOF_LONG_LONG > 0
typedef long long clen_t;
#else
typedef long clen_t;
#endif
#undef HAVE_STRTOLL
#undef HAVE_STROQ
#undef HAVE_ATOLL
#undef HAVE_ATOQ
#undef HAVE_STRCASECMP
#undef HAVE_STRCASESTR
#undef HAVE_STRCHR
#undef HAVE_STRERROR
#undef HAVE_BCOPY
#undef HAVE_WAITPID
#undef HAVE_WAIT3
#undef HAVE_STRFTIME
#undef HAVE_GETCWD
#undef HAVE_GETWD
#undef HAVE_SYMLINK
#undef HAVE_READLINK
#undef HAVE_LSTAT
#undef HAVE_SETENV
#undef HAVE_PUTENV
#undef HAVE_SRAND48
#undef HAVE_SRANDOM
#undef HAVE_GETPASSPHRASE
#undef HAVE_CHDIR
#undef HAVE_MKDTEMP
#undef HAVE_SETPGRP
#undef HAVE_SETLOCALE
#undef HAVE_LANGINFO_CODESET
#undef SETPGRP_VOID
#ifdef HAVE_SETPGRP
#ifdef SETPGRP_VOID
#define SETPGRP() setpgrp()
#else
#define SETPGRP() setpgrp(0,0)
#endif
#else /* no HAVE_SETPGRP; OS/2 EMX */
#define SETPGRP() setpgid(0, 0)
#endif
#undef HAVE_FLOAT_H
#undef HAVE_SYS_SELECT_H
#undef HAVE_SIGSETJMP
#define RETSIGTYPE @RETSIGTYPE@
typedef RETSIGTYPE MySignalHandler;
#define SIGNAL_ARG int _dummy /* XXX */
#define SIGNAL_ARGLIST 0 /* XXX */
#define SIGNAL_RETURN @SIGNAL_RETURN@
#ifdef HAVE_SIGSETJMP
#ifdef __MINGW32_VERSION
# define SETJMP(env) setjmp(env)
# define LONGJMP(env,val) longjmp(env, val)
# define JMP_BUF jmp_buf
#else
# define SETJMP(env) sigsetjmp(env,1)
# define LONGJMP(env,val) siglongjmp(env,val)
# define JMP_BUF sigjmp_buf
#endif /* __MINGW32_VERSION */
#else
# define SETJMP(env) setjmp(env)
# define LONGJMP(env,val) longjmp(env, val)
# define JMP_BUF jmp_buf
#endif
#ifndef HAVE_SRAND48
#ifdef HAVE_SRANDOM
#define srand48 srandom
#define lrand48 random
#else /* HAVE_SRANDOM */
#define USE_INCLUDED_SRAND48
#endif /* HAVE_SRANDOM */
#endif
#ifndef HAVE_LSTAT
#define lstat stat
#endif
#if defined( __CYGWIN32__ ) && !defined( __CYGWIN__ )
#define __CYGWIN__
#endif
#if defined( __CYGWIN__ ) || defined( __EMX__ )
#define SUPPORT_DOS_DRIVE_PREFIX 1
#endif
#if defined( __CYGWIN__ )
#define SUPPORT_NETBIOS_SHARE 1
#define SUPPORT_WIN9X_CONSOLE_MBCS 1
#endif
#if defined(__CYGWIN__) && defined(__x86_64__)
#define DONT_CALL_GC_AFTER_FORK
#endif
#if defined(__DJGPP__)
#define DEFAULT_TERM "dosansi"
#else
#define DEFAULT_TERM 0 /* XXX */
#endif
#if defined(__EMX__) /* use $extension? */
#define GUNZIP_CMDNAME "gzip"
#define BUNZIP2_CMDNAME "bzip2"
#define INFLATE_CMDNAME "inflate.exe"
#define W3MBOOKMARK_CMDNAME "w3mbookmark.exe"
#define W3MHELPERPANEL_CMDNAME "w3mhelperpanel.exe"
#define DEV_NULL_PATH "nul"
#define DEV_TTY_PATH "con"
#define CGI_EXTENSION ".cmd"
#define USE_PATH_ENVVAR
#else
#define GUNZIP_CMDNAME "gunzip"
#define BUNZIP2_CMDNAME "bunzip2"
#define INFLATE_CMDNAME "inflate"
#define W3MBOOKMARK_CMDNAME "w3mbookmark"
#define W3MHELPERPANEL_CMDNAME "w3mhelperpanel"
#define DEV_NULL_PATH "/dev/null"
#define DEV_TTY_PATH "/dev/tty"
#define CGI_EXTENSION ".cgi"
#endif
#define BROTLI_CMDNAME "brotli"
#define PATH_SEPARATOR ':'
#define GUNZIP_NAME "gunzip"
#define BUNZIP2_NAME "bunzip2"
#define INFLATE_NAME "inflate"
#define BROTLI_NAME "brotli"
#ifdef __MINGW32_VERSION
#define SIGKILL SIGTERM
#define S_IXGRP 0
#define S_IXOTH 0
#define S_IRWXG 0
#define S_IRWXO 0
#endif /* __MINGW32_VERSION */
#endif /* CONFIG_H_SEEN */
|