SASL support from Ken Hornstein <kenh@cmf.nrl.navy.mil>.
[mmh] / config.h.in
1 /* config.h.in.  Generated automatically from configure.in by autoheader.  */
2
3 /****** BEGIN USER CONFIGURATION SECTION *****/
4
5 /*
6  * IMPORTANT: You should no longer need to edit this file to handle
7  * your operating system. That should be handled and set correctly by
8  * configure now.
9  *
10  * These are slowly being phased out, but currently
11  * not everyone is auto-configured.  Then decide if you
12  * wish to change the features that are compiled into nmh.
13  */
14
15 /*
16  * Turn on locale (setlocale) support
17  */
18 #define LOCALE  1
19
20 /*
21  * Define to 1 the type of file locking to use.  You need to
22  * make sure the type of locking you use is compatible with
23  * other programs which may modify your maildrops.
24  * Currently you can only use one type.
25  */
26 #define DOT_LOCKING   1
27 /* #define FCNTL_LOCKING 1 */
28 /* #define LOCKF_LOCKING 1 */
29 /* #define FLOCK_LOCKING 1 */
30
31 /*
32  * If you have defined DOT_LOCKING, then the default is to
33  * place the lock files in the same directory as the file that
34  * is to be locked.  Alternately, if you define LOCKDIR, you
35  * can specify that all lock files go in a specific directory.
36  * Don't define this unless you know you need it.
37  */
38 /* #define LOCKDIR "/usr/spool/locks" */
39
40 /*
41  * Define this if your passwords are stored in some type of
42  * distributed name service, such as NIS, or NIS+.
43  */
44 #define DBMPWD  1
45
46 /*
47  * Directs nmh not to try and rewrite addresses
48  * to their official form.  You probably don't
49  * want to change this without good reason.
50  */
51 #define DUMB    1
52
53 /*
54  * Define this if you do not want nmh to attach the local hostname
55  * to local addresses.  You must also define DUMB.  You probably
56  * don't need this unless you are behind a firewall.
57  */
58 /* #define REALLYDUMB  1 */
59
60 /*
61  * Starting on January 1, 2000, some MUAs like ELM and Ultrix's DXmail started
62  * generated bad dates ("00" or "100" for the year).  If this #define is active,
63  * we use windowing to correct those dates to what we presume to be the intended
64  * values.  About the only time this could get us into trouble would be if a MUA
65  * was generating a year of "00" in 2001 or later, due to an unrelated bug.  In
66  * this case we would "correct" the year to 2000, which could result in
67  * inaccurate bug reports against the offending MUA.  A much more esoteric case
68  * in which you might not want to #define this would be if you were OCR'ing in
69  * old written correspondence and saving it in email format, and you had dates
70  * of 1899 or earlier.
71  */
72 #define FIX_NON_Y2K_COMPLIANT_MUA_DATES 1
73
74 /*
75  * Directs inc/slocal to extract the envelope sender from "From "
76  * line.  If inc/slocal is saving message to folder, then this
77  * sender information is then used to create a Return-Path
78  * header which is then added to the message.
79  */
80 #define RPATHS  1
81
82 /*
83  * If defined, slocal will use `mbox' format when saving to
84  * your standard mail spool.  If not defined, it will use
85  * mmdf format.
86  */
87 #define SLOCAL_MBOX  1
88
89 /*
90  * If this is defined, nmh will recognize the ~ construct.
91  */
92 #define MHRC    1
93
94 /*
95  * Compile simple ftp client into mhn.  This will be used by mhn
96  * for ftp access unless you have specified another access method
97  * in your .mh_profile or mhn.defaults.  Use the "mhn-access-ftp"
98  * profile entry to override this.  Check mhn(1) man page for
99  * details.
100  */
101 #define BUILTIN_FTP 1
102
103 /*
104  * If you enable POP support, this is the the port name that nmh will use.  Make
105  * sure this is defined in your /etc/services file (or its NIS/NIS+ equivalent).
106  * If you are using KPOP, you will need to change this to "kpop" unless you want
107  * to be able to use both POP3 _and_ Kerberized POP and plan to use inc and
108  * msgchk's -kpop switch every time in the latter case.
109  */
110 #define POPSERVICE "pop3"
111
112 /*
113  * Define the default creation modes for folders and messages.
114  */
115 #define DEFAULT_FOLDER_MODE "700"
116 #define DEFAULT_MESSAGE_MODE "600"
117
118 /*
119  * The prefix which is prepended to the name of messages when they
120  * are "removed" by rmm.  This should typically be `,' or `#'
121  */
122 #define BACKUP_PREFIX ","
123
124 /*
125  * Name of link to file to which you are replying.
126  */
127 #define LINK "@"
128
129 /*
130  * If wait/waitpid returns an int (no union wait).
131  */
132 #define WAITINT 1
133
134 /* The following are autoconfigured, but you may wish to override the
135  * decisions of autoconf (and AC_CANONICAL_SYSTEM) and do your own
136  * thing. If so, you can modify the definitions. The Comments are as
137  * useful as ever. */
138
139 /* these three are only used in vmh.c, which currently is not being
140  * built anyway. -Doug */
141 /* Defined for Solaris 2.x, Irix, OSF/1, HP-UX, AIX, SCO5 */
142 #undef SYS5
143 /* Defined for Solaris 2.x, Irix, OSF/1, HP-UX, AIX */
144 #undef SVR4
145 /* Defined for SunOS 4, FreeBSD, NetBSD, OpenBSD, BSD/OS, Mac OS X/Rhapsody */
146 #undef BSD44
147
148 /* Defined for SunOS 4, FreeBSD, NetBSD, OpenBSD, BSD/OS, Mac OS X/Rhapsody 
149  * -- does PicoBSD have uname? :) */
150 #undef BSD42
151
152 /* Defined for SCO5 */
153 #undef SCO_5_STDIO
154
155 /* This tells nmh to use the Linux _IO_*_ptr defines from libio.h */ 
156 #undef LINUX_STDIO
157
158
159 /***** END USER CONFIGURATION SECTION *****/
160
161 /* Define to empty if the keyword does not work.  */
162 #undef const
163
164 /* Define to `int' if <sys/types.h> doesn't define.  */
165 #undef gid_t
166
167 /* Define if your struct stat has st_blksize.  */
168 #undef HAVE_ST_BLKSIZE
169
170 /* Define if you have <sys/wait.h> that is POSIX.1 compatible.  */
171 #undef HAVE_SYS_WAIT_H
172
173 /* Define if you have <vfork.h>.  */
174 #undef HAVE_VFORK_H
175
176 /* Define to `int' if <sys/types.h> doesn't define.  */
177 #undef mode_t
178
179 /* Define to `long' if <sys/types.h> doesn't define.  */
180 #undef off_t
181
182 /* Define to `int' if <sys/types.h> doesn't define.  */
183 #undef pid_t
184
185 /* Define as the return type of signal handlers (int or void).  */
186 #undef RETSIGTYPE
187
188 /* Define to `unsigned' if <sys/types.h> doesn't define.  */
189 #undef size_t
190
191 /* Define if the `S_IS*' macros in <sys/stat.h> do not work properly.  */
192 #undef STAT_MACROS_BROKEN
193
194 /* Define if you have the ANSI C header files.  */
195 #undef STDC_HEADERS
196
197 /* Define on System V Release 4.  */
198 #undef SVR4
199
200 /* Define if you can safely include both <sys/time.h> and <time.h>.  */
201 #undef TIME_WITH_SYS_TIME
202
203 /* Define to `int' if <sys/types.h> doesn't define.  */
204 #undef uid_t
205
206 /* Define vfork as fork if vfork does not work.  */
207 #undef vfork
208
209 /*
210  * Define this if you want SMTP (simple mail transport protocol)
211  * support.  This is currently always enabled.
212  */
213 #define SMTPMTS 1
214
215 /*
216  * Define this to compile client-side support for pop into
217  * inc and msgchk.  Do not change this value manually.  You
218  * must run configure with the '--enable-pop' option to
219  * correctly build the pop client support.
220  */
221 #undef POP
222
223 /*
224  * Define this to compile client-side support for apop into
225  * inc and msgchk. Do not change this value manually. You
226  * must run configure with the '--enable-apop' option to
227  * correctly build the apop client support.
228  */
229 #undef APOP
230
231 /*
232  * Define this to compile client-side support for kpop
233  * (kerberized pop) into inc and msgchk.  Do not change this
234  * value manually.  You must run configure with the option
235  * '--with-krb4=PREFIX' to correctly build the kpop client support.
236  */
237 #undef KPOP
238
239 /*
240  * Define this to "pop" when using Kerberos V4
241  */
242 #undef KPOP_PRINCIPAL
243
244 /*
245  * Define this to use the Cyrus SASL library for authentication of
246  * POP and SMTP
247  */
248 #undef CYRUS_SASL
249
250 /*
251  * Define this to compile support for using Hesiod to locate
252  * pop servers into inc and msgchk.  Do not change this value
253  * manually.  You must run configure with the option
254  * '--with-hesiod=PREFIX' to correctly build Hesiod support.
255  */
256 #undef HESIOD
257
258 /*
259  * Compile in support for the Emacs front-end mh-e.
260  */
261 #undef MHE
262
263 /* Define to 1 if your termcap library has the ospeed variable */
264 #undef HAVE_OSPEED
265 /* Define to 1 if you have ospeed, but it is not defined in termcap.h */
266 #undef MUST_DEFINE_OSPEED
267
268 /* Define to 1 if you have reliable signals */
269 #undef RELIABLE_SIGNALS
270
271 /* Define to 1 if you use POSIX style signal handling */
272 #undef POSIX_SIGNALS
273
274  
275 /* Define to 1 if you use BSD style signal handling (and can block signals) */
276 #undef BSD_SIGNALS
277
278  
279 /* Define to 1 if you use SYS style signal handling (and can block signals) */
280 #undef SYSV_SIGNALS
281
282  
283 /* Define to 1 if you have no signal blocking at all (bummer) */
284 #undef NO_SIGNAL_BLOCKING
285
286 /* Define to `unsigned int' if <sys/types.h> or <signal.h> doesn't define */
287 #undef sigset_t
288
289 /*
290  * Define to 1 if your vi has ATT bug, such that it returns
291  * non-zero exit codes on `pseudo-errors'.
292  */
293 #undef ATTVIBUG
294
295 /*
296  * Define to 1 if you need to make `inc' set-group-id because your mail spool is
297  * not world writable.  There are no guarantees as to the safety of doing this,
298  * but this #define will add some extra security checks.
299  */
300 #undef MAILGROUP
301
302 /* Define if your system defines TIOCGWINSZ in sys/ioctl.h.  */
303 #undef GWINSZ_IN_SYS_IOCTL
304
305 /* Define if your system defines `struct winsize' in sys/ptem.h.  */
306 #undef WINSIZE_IN_PTEM
307
308 /* Define to 1 if struct tm has gmtoff */
309 #undef HAVE_TM_GMTOFF
310
311 /* Define if your system has sigsetjmp */
312 #undef HAVE_SIGSETJMP
313
314 /* Define if your system has gethostbyname */
315 #undef HAVE_GETHOSTBYNAME
316
317 /* Define to the header containing the declaration of initgroups() on your
318    system, if any.  AIX 4.[13], SunOS 4.1.3, and ULTRIX 4.2A have the function
319    in libc but don't have a declaration anywhere. */
320 #undef INITGROUPS_HEADER
321
322 /* Define if your system actually has a prototype for snprintf() in <stdio.h>
323    (or a file it includes) rather than just having a "stealth" definition of it
324    in libc.a the way AIX 4.1 does. */
325 #undef HAVE_SNPRINTF_PROTOTYPE
326
327 /* Define if you have the getutent function.  */
328 #undef HAVE_GETUTENT
329
330 /* Define if you have the killpg function.  */
331 #undef HAVE_KILLPG
332
333 /* Define if you have the lstat function.  */
334 #undef HAVE_LSTAT
335
336 /* Define if you have the mkstemp function.  */
337 #undef HAVE_MKSTEMP
338
339 /* Define if you have the sethostent function.  */
340 #undef HAVE_SETHOSTENT
341
342 /* Define if you have the sigaction function.  */
343 #undef HAVE_SIGACTION
344
345 /* Define if you have the sigblock function.  */
346 #undef HAVE_SIGBLOCK
347
348 /* Define if you have the sighold function.  */
349 #undef HAVE_SIGHOLD
350
351 /* Define if you have the sigprocmask function.  */
352 #undef HAVE_SIGPROCMASK
353
354 /* Define if you have the sigrelse function.  */
355 #undef HAVE_SIGRELSE
356
357 /* Define if you have the sigsetmask function.  */
358 #undef HAVE_SIGSETMASK
359
360 /* Define if you have the snprintf function.  */
361 #undef HAVE_SNPRINTF
362
363 /* Define if you have the strdup function.  */
364 #undef HAVE_STRDUP
365
366 /* Define if you have the strerror function.  */
367 #undef HAVE_STRERROR
368
369 /* Define if you have the tzset function.  */
370 #undef HAVE_TZSET
371
372 /* Define if you have the uname function.  */
373 #undef HAVE_UNAME
374
375 /* Define if you have the wait3 function.  */
376 #undef HAVE_WAIT3
377
378 /* Define if you have the waitpid function.  */
379 #undef HAVE_WAITPID
380
381 /* Define if you have the writev function.  */
382 #undef HAVE_WRITEV
383
384 /* Define if you have the <arpa/ftp.h> header file.  */
385 #undef HAVE_ARPA_FTP_H
386
387 /* Define if you have the <arpa/inet.h> header file.  */
388 #undef HAVE_ARPA_INET_H
389
390 /* Define if you have the <crypt.h> header file.  */
391 #undef HAVE_CRYPT_H
392
393 /* Define if you have the <db1/ndbm.h> header file.  */
394 #undef HAVE_DB1_NDBM_H
395
396 /* Define if you have the <dirent.h> header file.  */
397 #undef HAVE_DIRENT_H
398
399 /* Define if you have the <errno.h> header file.  */
400 #undef HAVE_ERRNO_H
401
402 /* Define if you have the <fcntl.h> header file.  */
403 #undef HAVE_FCNTL_H
404
405 /* Define if you have the <limits.h> header file.  */
406 #undef HAVE_LIMITS_H
407
408 /* Define if you have the <locale.h> header file.  */
409 #undef HAVE_LOCALE_H
410
411 /* Define if you have the <memory.h> header file.  */
412 #undef HAVE_MEMORY_H
413
414 /* Define if you have the <ndir.h> header file.  */
415 #undef HAVE_NDIR_H
416
417 /* Define if you have the <netdb.h> header file.  */
418 #undef HAVE_NETDB_H
419
420 /* Define if you have the <stdlib.h> header file.  */
421 #undef HAVE_STDLIB_H
422
423 /* Define if you have the <string.h> header file.  */
424 #undef HAVE_STRING_H
425
426 /* Define if you have the <sys/dir.h> header file.  */
427 #undef HAVE_SYS_DIR_H
428
429 /* Define if you have the <sys/ndir.h> header file.  */
430 #undef HAVE_SYS_NDIR_H
431
432 /* Define if you have the <sys/param.h> header file.  */
433 #undef HAVE_SYS_PARAM_H
434
435 /* Define if you have the <sys/time.h> header file.  */
436 #undef HAVE_SYS_TIME_H
437
438 /* Define if you have the <sys/utsname.h> header file.  */
439 #undef HAVE_SYS_UTSNAME_H
440
441 /* Define if you have the <termcap.h> header file.  */
442 #undef HAVE_TERMCAP_H
443
444 /* Define if you have the <termio.h> header file.  */
445 #undef HAVE_TERMIO_H
446
447 /* Define if you have the <termios.h> header file.  */
448 #undef HAVE_TERMIOS_H
449
450 /* Define if you have the <unistd.h> header file.  */
451 #undef HAVE_UNISTD_H
452
453 /* Define if you have the lockfile library (-llockfile).  */
454 #undef HAVE_LIBLOCKFILE
455
456 /* Define if you have the m library (-lm).  */
457 #undef HAVE_LIBM
458
459 /* Define if you have the mkstemp library (-lmkstemp).  */
460 #undef HAVE_LIBMKSTEMP
461
462 /* Define if you have the ndbm library (-lndbm).  */
463 #undef HAVE_LIBNDBM
464
465 /* Define if you have the nsl library (-lnsl).  */
466 #undef HAVE_LIBNSL
467
468 /* Define if you have the resolv library (-lresolv).  */
469 #undef HAVE_LIBRESOLV
470
471 /* Define if you have the socket library (-lsocket).  */
472 #undef HAVE_LIBSOCKET