1 | /* config.h.in. Generated automatically from configure.in by autoheader. */ |
---|
2 | |
---|
3 | /****** BEGIN USER CONFIGURATION SECTION *****/ |
---|
4 | |
---|
5 | /* |
---|
6 | * IMPORTANT: UNCOMMENT THE DEFINES FOR YOUR OPERATING SYSTEM |
---|
7 | * |
---|
8 | * These are slowly being phased out, but currently |
---|
9 | * not everyone is auto-configured. Then decide if you |
---|
10 | * wish to change the features that are compiled into nmh. |
---|
11 | */ |
---|
12 | |
---|
13 | /* |
---|
14 | * Solaris 2.x |
---|
15 | * Irix |
---|
16 | * OSF/1 |
---|
17 | * HP-UX |
---|
18 | * AIX |
---|
19 | */ |
---|
20 | /* #define SYS5 1 */ |
---|
21 | /* #define SVR4 1 */ |
---|
22 | |
---|
23 | /* |
---|
24 | * SunOS 4.1.x |
---|
25 | */ |
---|
26 | /* #define BIND 1 */ |
---|
27 | /* #define BSD42 1 */ |
---|
28 | |
---|
29 | /* |
---|
30 | * Linux |
---|
31 | */ |
---|
32 | /* #define LINUX_STDIO 1 */ |
---|
33 | |
---|
34 | /* |
---|
35 | * FreeBSD 2.x |
---|
36 | * NetBSD 1.x, |
---|
37 | * OpenBSD 2.x |
---|
38 | * BSD/OS 2.x |
---|
39 | */ |
---|
40 | /* #define BIND 1 */ |
---|
41 | /* #define BSD42 1 */ |
---|
42 | /* #define BSD44 1 */ |
---|
43 | |
---|
44 | /* |
---|
45 | * SCO 4.x |
---|
46 | * SCO 5.x |
---|
47 | * |
---|
48 | * I believe the second `define' is only necessary |
---|
49 | * for SCO 5.x, not SCO 4.x |
---|
50 | */ |
---|
51 | /* #define SYS5 1 */ |
---|
52 | /* #define SCO_5_STDIO 1 */ |
---|
53 | |
---|
54 | /* |
---|
55 | * Define to 1 if you need to make `inc' set-group-id |
---|
56 | * because your mail spool is not world writable. This |
---|
57 | * will add some extra security checks, although I can't |
---|
58 | * guarantee it is safe. Also, you will need to change the |
---|
59 | * group and add the setgid bit to `inc' manually after |
---|
60 | * installation. |
---|
61 | */ |
---|
62 | /* #define MAILGROUP 1 */ |
---|
63 | |
---|
64 | /* |
---|
65 | * Turn on locale (setlocale) support |
---|
66 | */ |
---|
67 | #define LOCALE 1 |
---|
68 | |
---|
69 | /* |
---|
70 | * Define to 1 the type of file locking to use. You need to |
---|
71 | * make sure the type of locking you use is compatible with |
---|
72 | * other programs which may modify your maildrops. |
---|
73 | * Currently you can only use one type. |
---|
74 | */ |
---|
75 | #define DOT_LOCKING 1 |
---|
76 | /* #define FCNTL_LOCKING 1 */ |
---|
77 | /* #define LOCKF_LOCKING 1 */ |
---|
78 | /* #define FLOCK_LOCKING 1 */ |
---|
79 | |
---|
80 | /* |
---|
81 | * If you have defined DOT_LOCKING, then the default is to |
---|
82 | * place the lock files in the same directory as the file that |
---|
83 | * is to be locked. Alternately, if you define LOCKDIR, you |
---|
84 | * can specify that all lock files go in a specific directory. |
---|
85 | * Don't define this unless you know you need it. |
---|
86 | */ |
---|
87 | /* #define LOCKDIR "/usr/spool/locks" */ |
---|
88 | |
---|
89 | /* |
---|
90 | * Define this if your passwords are stored in some type of |
---|
91 | * distributed name service, such as NIS, or NIS+. |
---|
92 | */ |
---|
93 | #define DBMPWD 1 |
---|
94 | |
---|
95 | /* |
---|
96 | * Directs nmh not to try and rewrite addresses |
---|
97 | * to their official form. You probably don't |
---|
98 | * want to change this without good reason. |
---|
99 | */ |
---|
100 | #define DUMB 1 |
---|
101 | |
---|
102 | /* |
---|
103 | * Define this if you do not want nmh to attach the local hostname |
---|
104 | * to local addresses. You must also define DUMB. You probably |
---|
105 | * dont' need this unless you are behind a firewall. |
---|
106 | */ |
---|
107 | #define REALLYDUMB 1 |
---|
108 | |
---|
109 | /* |
---|
110 | * Directs inc/slocal to extract the envelope sender from "From " |
---|
111 | * line. If inc/slocal is saving message to folder, then this |
---|
112 | * sender information is then used to create a Return-Path |
---|
113 | * header which is then added to the message. |
---|
114 | */ |
---|
115 | #define RPATHS 1 |
---|
116 | |
---|
117 | /* |
---|
118 | * If defined, slocal will use `mbox' format when saving to |
---|
119 | * your standard mail spool. If not defined, it will use |
---|
120 | * mmdf format. |
---|
121 | */ |
---|
122 | #define SLOCAL_MBOX 1 |
---|
123 | |
---|
124 | /* |
---|
125 | * If this is defined, nmh will recognize the ~ construct. |
---|
126 | */ |
---|
127 | #define MHRC 1 |
---|
128 | |
---|
129 | /* |
---|
130 | * Compile simple ftp client into mhn. This will be used by mhn |
---|
131 | * for ftp access unless you have specified another access method |
---|
132 | * in your .mh_profile or mhn.defaults. Use the "mhn-access-ftp" |
---|
133 | * profile entry to override this. Check mhn(1) man page for |
---|
134 | * details. |
---|
135 | */ |
---|
136 | #define BUILTIN_FTP 1 |
---|
137 | |
---|
138 | /* |
---|
139 | * If you enable POP support, this is the the port name |
---|
140 | * that nmh will use. Make sure this is defined in your |
---|
141 | * /etc/services file (or its NIS/NIS+ equivalent). If you |
---|
142 | * are using KPOP, you will probably need to change this |
---|
143 | * to "kpop". |
---|
144 | */ |
---|
145 | #define POPSERVICE "kpop" |
---|
146 | |
---|
147 | /* |
---|
148 | * Define the default creation modes for folders and messages. |
---|
149 | */ |
---|
150 | #define DEFAULT_FOLDER_MODE "0700" |
---|
151 | #define DEFAULT_MESSAGE_MODE "0600" |
---|
152 | |
---|
153 | /* |
---|
154 | * The prefix which is prepended to the name of messages when they |
---|
155 | * are "removed" by rmm. This should typically be `,' or `#' |
---|
156 | */ |
---|
157 | #define BACKUP_PREFIX ".#" |
---|
158 | |
---|
159 | /* |
---|
160 | * Name of link to file to which you are replying. |
---|
161 | */ |
---|
162 | #define LINK "@" |
---|
163 | |
---|
164 | /* |
---|
165 | * If wait/waitpid returns an int (no union wait). |
---|
166 | */ |
---|
167 | #define WAITINT 1 |
---|
168 | |
---|
169 | /***** END USER CONFIGURATION SECTION *****/ |
---|
170 | |
---|
171 | /* Define to empty if the keyword does not work. */ |
---|
172 | #undef const |
---|
173 | |
---|
174 | /* Define to `int' if <sys/types.h> doesn't define. */ |
---|
175 | #undef gid_t |
---|
176 | |
---|
177 | /* Define if your struct stat has st_blksize. */ |
---|
178 | #undef HAVE_ST_BLKSIZE |
---|
179 | |
---|
180 | /* Define if you have <sys/wait.h> that is POSIX.1 compatible. */ |
---|
181 | #undef HAVE_SYS_WAIT_H |
---|
182 | |
---|
183 | /* Define if you have <vfork.h>. */ |
---|
184 | #undef HAVE_VFORK_H |
---|
185 | |
---|
186 | /* Define to `int' if <sys/types.h> doesn't define. */ |
---|
187 | #undef mode_t |
---|
188 | |
---|
189 | /* Define to `long' if <sys/types.h> doesn't define. */ |
---|
190 | #undef off_t |
---|
191 | |
---|
192 | /* Define to `int' if <sys/types.h> doesn't define. */ |
---|
193 | #undef pid_t |
---|
194 | |
---|
195 | /* Define as the return type of signal handlers (int or void). */ |
---|
196 | #undef RETSIGTYPE |
---|
197 | |
---|
198 | /* Define to `unsigned' if <sys/types.h> doesn't define. */ |
---|
199 | #undef size_t |
---|
200 | |
---|
201 | /* Define if the `S_IS*' macros in <sys/stat.h> do not work properly. */ |
---|
202 | #undef STAT_MACROS_BROKEN |
---|
203 | |
---|
204 | /* Define if you have the ANSI C header files. */ |
---|
205 | #undef STDC_HEADERS |
---|
206 | |
---|
207 | /* Define if you can safely include both <sys/time.h> and <time.h>. */ |
---|
208 | #undef TIME_WITH_SYS_TIME |
---|
209 | |
---|
210 | /* Define to `int' if <sys/types.h> doesn't define. */ |
---|
211 | #undef uid_t |
---|
212 | |
---|
213 | /* Define vfork as fork if vfork does not work. */ |
---|
214 | #undef vfork |
---|
215 | |
---|
216 | /* |
---|
217 | * Define this if you want SMTP (simple mail transport protocol) |
---|
218 | * support. When sending mail, instead of passing the message to |
---|
219 | * the mail transport agent (typically sendmail), nmh will open a |
---|
220 | * socket connection to the mail port on the machine specified in |
---|
221 | * the `mts.conf' file (default is localhost), and speak SMTP directly. |
---|
222 | */ |
---|
223 | #undef SMTPMTS |
---|
224 | |
---|
225 | /* |
---|
226 | * Use sendmail as transport agent. Post messages by piping |
---|
227 | * them directly to sendmail. |
---|
228 | */ |
---|
229 | #undef SENDMTS |
---|
230 | |
---|
231 | /* |
---|
232 | * Define this to compile client-side support for pop into |
---|
233 | * inc and msgchk. Do not change this value manually. You |
---|
234 | * must run configure with the '--enable-nmh-pop' option |
---|
235 | * to correctly build the pop client support. |
---|
236 | */ |
---|
237 | #undef POP |
---|
238 | |
---|
239 | /* |
---|
240 | * Define this to compile client-side support for kpop |
---|
241 | * (kerberized pop) into inc and msgchk. Do not change this |
---|
242 | * value manually. You must run configure with the option |
---|
243 | * '--with-krb4=PREFIX' to correctly build the kpop client support. |
---|
244 | */ |
---|
245 | #undef KPOP |
---|
246 | |
---|
247 | /* |
---|
248 | * Define this to "pop" when using Kerberos V4 |
---|
249 | */ |
---|
250 | #undef KPOP_PRINCIPAL |
---|
251 | |
---|
252 | /* |
---|
253 | * Define this to compile support for using Hesiod to locate |
---|
254 | * pop servers into inc and msgchk. Do not change this value |
---|
255 | * manually. You must run configure with the option |
---|
256 | * '--with-hesiod=PREFIX' to correctly build Hesiod support. |
---|
257 | */ |
---|
258 | #undef HESIOD |
---|
259 | |
---|
260 | /* |
---|
261 | * Compile in support for the Emacs front-end mh-e. |
---|
262 | */ |
---|
263 | #undef MHE |
---|
264 | |
---|
265 | /* Define to 1 if your termcap library has the ospeed variable */ |
---|
266 | #undef HAVE_OSPEED |
---|
267 | /* Define to 1 if you have ospeed, but it is not defined in termcap.h */ |
---|
268 | #undef MUST_DEFINE_OSPEED |
---|
269 | |
---|
270 | /* Define to 1 if you have reliable signals */ |
---|
271 | #undef RELIABLE_SIGNALS |
---|
272 | |
---|
273 | /* Define to 1 if you use POSIX style signal handling */ |
---|
274 | #undef POSIX_SIGNALS |
---|
275 | |
---|
276 | |
---|
277 | /* Define to 1 if you use BSD style signal handling (and can block signals) */ |
---|
278 | #undef BSD_SIGNALS |
---|
279 | |
---|
280 | |
---|
281 | /* Define to 1 if you use SYS style signal handling (and can block signals) */ |
---|
282 | #undef SYSV_SIGNALS |
---|
283 | |
---|
284 | |
---|
285 | /* Define to 1 if you have no signal blocking at all (bummer) */ |
---|
286 | #undef NO_SIGNAL_BLOCKING |
---|
287 | |
---|
288 | /* Define to `unsigned int' if <sys/types.h> or <signal.h> doesn't define */ |
---|
289 | #undef sigset_t |
---|
290 | |
---|
291 | /* |
---|
292 | * Define to 1 if your vi has ATT bug, such that it returns |
---|
293 | * non-zero exit codes on `pseudo-errors'. |
---|
294 | */ |
---|
295 | #undef ATTVIBUG |
---|
296 | |
---|
297 | /* Define ruserpass as _ruserpass if your libraries have a bug * |
---|
298 | * such that it can't find ruserpass, but can find _ruserpass. */ |
---|
299 | #undef ruserpass |
---|
300 | |
---|
301 | /* Define if your system defines TIOCGWINSZ in sys/ioctl.h. */ |
---|
302 | #undef GWINSZ_IN_SYS_IOCTL |
---|
303 | |
---|
304 | /* Define if your system defines `struct winsize' in sys/ptem.h. */ |
---|
305 | #undef WINSIZE_IN_PTEM |
---|
306 | |
---|
307 | /* Define to 1 if struct tm has gmtoff */ |
---|
308 | #undef HAVE_TM_GMTOFF |
---|
309 | |
---|
310 | /* Define if you have the killpg function. */ |
---|
311 | #undef HAVE_KILLPG |
---|
312 | |
---|
313 | /* Define if you have the lstat function. */ |
---|
314 | #undef HAVE_LSTAT |
---|
315 | |
---|
316 | /* Define if you have the sigaction function. */ |
---|
317 | #undef HAVE_SIGACTION |
---|
318 | |
---|
319 | /* Define if you have the sigblock function. */ |
---|
320 | #undef HAVE_SIGBLOCK |
---|
321 | |
---|
322 | /* Define if you have the sighold function. */ |
---|
323 | #undef HAVE_SIGHOLD |
---|
324 | |
---|
325 | /* Define if you have the sigprocmask function. */ |
---|
326 | #undef HAVE_SIGPROCMASK |
---|
327 | |
---|
328 | /* Define if you have the sigrelse function. */ |
---|
329 | #undef HAVE_SIGRELSE |
---|
330 | |
---|
331 | /* Define if you have the sigsetjmp function. */ |
---|
332 | #undef HAVE_SIGSETJMP |
---|
333 | |
---|
334 | /* Define if you have the sigsetmask function. */ |
---|
335 | #undef HAVE_SIGSETMASK |
---|
336 | |
---|
337 | /* Define if you have the snprintf function. */ |
---|
338 | #undef HAVE_SNPRINTF |
---|
339 | |
---|
340 | /* Define if you have the strdup function. */ |
---|
341 | #undef HAVE_STRDUP |
---|
342 | |
---|
343 | /* Define if you have the strerror function. */ |
---|
344 | #undef HAVE_STRERROR |
---|
345 | |
---|
346 | /* Define if you have the tzset function. */ |
---|
347 | #undef HAVE_TZSET |
---|
348 | |
---|
349 | /* Define if you have the uname function. */ |
---|
350 | #undef HAVE_UNAME |
---|
351 | |
---|
352 | /* Define if you have the wait3 function. */ |
---|
353 | #undef HAVE_WAIT3 |
---|
354 | |
---|
355 | /* Define if you have the waitpid function. */ |
---|
356 | #undef HAVE_WAITPID |
---|
357 | |
---|
358 | /* Define if you have the writev function. */ |
---|
359 | #undef HAVE_WRITEV |
---|
360 | |
---|
361 | /* Define if you have the <arpa/ftp.h> header file. */ |
---|
362 | #undef HAVE_ARPA_FTP_H |
---|
363 | |
---|
364 | /* Define if you have the <arpa/inet.h> header file. */ |
---|
365 | #undef HAVE_ARPA_INET_H |
---|
366 | |
---|
367 | /* Define if you have the <crypt.h> header file. */ |
---|
368 | #undef HAVE_CRYPT_H |
---|
369 | |
---|
370 | /* Define if you have the <dirent.h> header file. */ |
---|
371 | #undef HAVE_DIRENT_H |
---|
372 | |
---|
373 | /* Define if you have the <errno.h> header file. */ |
---|
374 | #undef HAVE_ERRNO_H |
---|
375 | |
---|
376 | /* Define if you have the <fcntl.h> header file. */ |
---|
377 | #undef HAVE_FCNTL_H |
---|
378 | |
---|
379 | /* Define if you have the <limits.h> header file. */ |
---|
380 | #undef HAVE_LIMITS_H |
---|
381 | |
---|
382 | /* Define if you have the <locale.h> header file. */ |
---|
383 | #undef HAVE_LOCALE_H |
---|
384 | |
---|
385 | /* Define if you have the <memory.h> header file. */ |
---|
386 | #undef HAVE_MEMORY_H |
---|
387 | |
---|
388 | /* Define if you have the <ndir.h> header file. */ |
---|
389 | #undef HAVE_NDIR_H |
---|
390 | |
---|
391 | /* Define if you have the <stdlib.h> header file. */ |
---|
392 | #undef HAVE_STDLIB_H |
---|
393 | |
---|
394 | /* Define if you have the <string.h> header file. */ |
---|
395 | #undef HAVE_STRING_H |
---|
396 | |
---|
397 | /* Define if you have the <sys/dir.h> header file. */ |
---|
398 | #undef HAVE_SYS_DIR_H |
---|
399 | |
---|
400 | /* Define if you have the <sys/ndir.h> header file. */ |
---|
401 | #undef HAVE_SYS_NDIR_H |
---|
402 | |
---|
403 | /* Define if you have the <sys/param.h> header file. */ |
---|
404 | #undef HAVE_SYS_PARAM_H |
---|
405 | |
---|
406 | /* Define if you have the <sys/time.h> header file. */ |
---|
407 | #undef HAVE_SYS_TIME_H |
---|
408 | |
---|
409 | /* Define if you have the <sys/utsname.h> header file. */ |
---|
410 | #undef HAVE_SYS_UTSNAME_H |
---|
411 | |
---|
412 | /* Define if you have the <termcap.h> header file. */ |
---|
413 | #undef HAVE_TERMCAP_H |
---|
414 | |
---|
415 | /* Define if you have the <termio.h> header file. */ |
---|
416 | #undef HAVE_TERMIO_H |
---|
417 | |
---|
418 | /* Define if you have the <termios.h> header file. */ |
---|
419 | #undef HAVE_TERMIOS_H |
---|
420 | |
---|
421 | /* Define if you have the <unistd.h> header file. */ |
---|
422 | #undef HAVE_UNISTD_H |
---|
423 | |
---|
424 | /* Define if you have the ndbm library (-lndbm). */ |
---|
425 | #undef HAVE_LIBNDBM |
---|
426 | |
---|
427 | /* Define if you have the nsl library (-lnsl). */ |
---|
428 | #undef HAVE_LIBNSL |
---|
429 | |
---|
430 | /* Define if you have the resolv library (-lresolv). */ |
---|
431 | #undef HAVE_LIBRESOLV |
---|
432 | |
---|
433 | /* Define if you have the socket library (-lsocket). */ |
---|
434 | #undef HAVE_LIBSOCKET |
---|