1 /* config.h.in. Generated automatically from configure.in by autoheader. */
3 /****** BEGIN USER CONFIGURATION SECTION *****/
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
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.
16 * Turn on locale (setlocale) support
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.
27 /* #define FCNTL_LOCKING 1 */
28 /* #define LOCKF_LOCKING 1 */
29 /* #define FLOCK_LOCKING 1 */
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.
38 /* #define LOCKDIR "/usr/spool/locks" */
41 * Define this if your passwords are stored in some type of
42 * distributed name service, such as NIS, or NIS+.
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.
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.
58 /* #define REALLYDUMB 1 */
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
72 #define FIX_NON_Y2K_COMPLIANT_MUA_DATES 1
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.
83 * If defined, slocal will use `mbox' format when saving to
84 * your standard mail spool. If not defined, it will use
90 * If this is defined, nmh will recognize the ~ construct.
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
101 #define BUILTIN_FTP 1
104 * If you enable POP support, this is the the port name
105 * that nmh will use. Make sure this is defined in your
106 * /etc/services file (or its NIS/NIS+ equivalent). If you
107 * are using KPOP, you will probably need to change this
110 #define POPSERVICE "pop3"
113 * Define the default creation modes for folders and messages.
115 #define DEFAULT_FOLDER_MODE "700"
116 #define DEFAULT_MESSAGE_MODE "600"
119 * The prefix which is prepended to the name of messages when they
120 * are "removed" by rmm. This should typically be `,' or `#'
122 #define BACKUP_PREFIX ","
125 * Name of link to file to which you are replying.
130 * If wait/waitpid returns an int (no union wait).
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
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 */
143 /* Defined for Solaris 2.x, Irix, OSF/1, HP-UX, AIX */
145 /* Defined for SunOS 4, FreeBSD, NetBSD, OpenBSD, BSD/OS, Mac OS X/Rhapsody */
148 /* Defined for SunOS 4, FreeBSD, NetBSD, OpenBSD, BSD/OS, Mac OS X/Rhapsody
149 * -- does PicoBSD have uname? :) */
152 /* Defined for SCO5 */
155 /* This tells nmh to use the Linux _IO_*_ptr defines from libio.h */
159 /***** END USER CONFIGURATION SECTION *****/
161 /* Define to empty if the keyword does not work. */
164 /* Define to `int' if <sys/types.h> doesn't define. */
167 /* Define if your struct stat has st_blksize. */
168 #undef HAVE_ST_BLKSIZE
170 /* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
171 #undef HAVE_SYS_WAIT_H
173 /* Define if you have <vfork.h>. */
176 /* Define to `int' if <sys/types.h> doesn't define. */
179 /* Define to `long' if <sys/types.h> doesn't define. */
182 /* Define to `int' if <sys/types.h> doesn't define. */
185 /* Define as the return type of signal handlers (int or void). */
188 /* Define to `unsigned' if <sys/types.h> doesn't define. */
191 /* Define if the `S_IS*' macros in <sys/stat.h> do not work properly. */
192 #undef STAT_MACROS_BROKEN
194 /* Define if you have the ANSI C header files. */
197 /* Define on System V Release 4. */
200 /* Define if you can safely include both <sys/time.h> and <time.h>. */
201 #undef TIME_WITH_SYS_TIME
203 /* Define to `int' if <sys/types.h> doesn't define. */
206 /* Define vfork as fork if vfork does not work. */
210 * Define this if you want SMTP (simple mail transport protocol)
211 * support. When sending mail, instead of passing the message to
212 * the mail transport agent (typically sendmail), nmh will open a
213 * socket connection to the mail port on the machine specified in
214 * the `mts.conf' file (default is localhost), and speak SMTP directly.
219 * Use sendmail as transport agent. Post messages by piping
220 * them directly to sendmail.
225 * Define this to compile client-side support for pop into
226 * inc and msgchk. Do not change this value manually. You
227 * must run configure with the '--enable-pop' option to
228 * correctly build the pop client support.
233 * Define this to compile client-side support for kpop
234 * (kerberized pop) into inc and msgchk. Do not change this
235 * value manually. You must run configure with the option
236 * '--with-krb4=PREFIX' to correctly build the kpop client support.
241 * Define this to "pop" when using Kerberos V4
243 #undef KPOP_PRINCIPAL
246 * Define this to compile support for using Hesiod to locate
247 * pop servers into inc and msgchk. Do not change this value
248 * manually. You must run configure with the option
249 * '--with-hesiod=PREFIX' to correctly build Hesiod support.
254 * Compile in support for the Emacs front-end mh-e.
258 /* Define to 1 if your termcap library has the ospeed variable */
260 /* Define to 1 if you have ospeed, but it is not defined in termcap.h */
261 #undef MUST_DEFINE_OSPEED
263 /* Define to 1 if you have reliable signals */
264 #undef RELIABLE_SIGNALS
266 /* Define to 1 if you use POSIX style signal handling */
270 /* Define to 1 if you use BSD style signal handling (and can block signals) */
274 /* Define to 1 if you use SYS style signal handling (and can block signals) */
278 /* Define to 1 if you have no signal blocking at all (bummer) */
279 #undef NO_SIGNAL_BLOCKING
281 /* Define to `unsigned int' if <sys/types.h> or <signal.h> doesn't define */
285 * Define to 1 if your vi has ATT bug, such that it returns
286 * non-zero exit codes on `pseudo-errors'.
291 * Define to 1 if you need to make `inc' set-group-id because your mail spool is
292 * not world writable. There are no guarantees as to the safety of doing this,
293 * but this #define will add some extra security checks.
297 /* Define ruserpass as _ruserpass if your libraries have a bug *
298 * such that it can't find ruserpass, but can find _ruserpass. */
301 /* Define if your system defines TIOCGWINSZ in sys/ioctl.h. */
302 #undef GWINSZ_IN_SYS_IOCTL
304 /* Define if your system defines `struct winsize' in sys/ptem.h. */
305 #undef WINSIZE_IN_PTEM
307 /* Define to 1 if struct tm has gmtoff */
308 #undef HAVE_TM_GMTOFF
310 /* Define if your system has sigsetjmp */
311 #undef HAVE_SIGSETJMP
313 /* Define if your system has gethostbyname */
314 #undef HAVE_GETHOSTBYNAME
316 /* Define to the header containing the declaration of initgroups() on your
317 system, if any. AIX 4.[13], SunOS 4.1.3, and ULTRIX 4.2A have the function
318 in libc but don't have a declaration anywhere. */
319 #undef INITGROUPS_HEADER
321 /* Define if your system actually has a prototype for snprintf() in <stdio.h>
322 (or a file it includes) rather than just having a "stealth" definition of it
323 in libc.a the way AIX 4.1 does. */
324 #undef HAVE_SNPRINTF_PROTOTYPE
326 /* Define if you have the killpg function. */
329 /* Define if you have the lstat function. */
332 /* Define if you have the mkstemp function. */
335 /* Define if you have the sethostent function. */
336 #undef HAVE_SETHOSTENT
338 /* Define if you have the sigaction function. */
339 #undef HAVE_SIGACTION
341 /* Define if you have the sigblock function. */
344 /* Define if you have the sighold function. */
347 /* Define if you have the sigprocmask function. */
348 #undef HAVE_SIGPROCMASK
350 /* Define if you have the sigrelse function. */
353 /* Define if you have the sigsetmask function. */
354 #undef HAVE_SIGSETMASK
356 /* Define if you have the snprintf function. */
359 /* Define if you have the strdup function. */
362 /* Define if you have the strerror function. */
365 /* Define if you have the tzset function. */
368 /* Define if you have the uname function. */
371 /* Define if you have the wait3 function. */
374 /* Define if you have the waitpid function. */
377 /* Define if you have the writev function. */
380 /* Define if you have the <arpa/ftp.h> header file. */
381 #undef HAVE_ARPA_FTP_H
383 /* Define if you have the <arpa/inet.h> header file. */
384 #undef HAVE_ARPA_INET_H
386 /* Define if you have the <crypt.h> header file. */
389 /* Define if you have the <db1/ndbm.h> header file. */
390 #undef HAVE_DB1_NDBM_H
392 /* Define if you have the <dirent.h> header file. */
395 /* Define if you have the <errno.h> header file. */
398 /* Define if you have the <fcntl.h> header file. */
401 /* Define if you have the <limits.h> header file. */
404 /* Define if you have the <locale.h> header file. */
407 /* Define if you have the <memory.h> header file. */
410 /* Define if you have the <ndir.h> header file. */
413 /* Define if you have the <netdb.h> header file. */
416 /* Define if you have the <stdlib.h> header file. */
419 /* Define if you have the <string.h> header file. */
422 /* Define if you have the <sys/dir.h> header file. */
423 #undef HAVE_SYS_DIR_H
425 /* Define if you have the <sys/ndir.h> header file. */
426 #undef HAVE_SYS_NDIR_H
428 /* Define if you have the <sys/param.h> header file. */
429 #undef HAVE_SYS_PARAM_H
431 /* Define if you have the <sys/time.h> header file. */
432 #undef HAVE_SYS_TIME_H
434 /* Define if you have the <sys/utsname.h> header file. */
435 #undef HAVE_SYS_UTSNAME_H
437 /* Define if you have the <termcap.h> header file. */
438 #undef HAVE_TERMCAP_H
440 /* Define if you have the <termio.h> header file. */
443 /* Define if you have the <termios.h> header file. */
444 #undef HAVE_TERMIOS_H
446 /* Define if you have the <unistd.h> header file. */
449 /* Define if you have the m library (-lm). */
452 /* Define if you have the mkstemp library (-lmkstemp). */
453 #undef HAVE_LIBMKSTEMP
455 /* Define if you have the ndbm library (-lndbm). */
458 /* Define if you have the nsl library (-lnsl). */
461 /* Define if you have the resolv library (-lresolv). */
462 #undef HAVE_LIBRESOLV
464 /* Define if you have the socket library (-lsocket). */
465 #undef HAVE_LIBSOCKET