X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=acconfig.h;h=1050be7892cf738ab8eb719efebd6e1363bb1ecf;hb=36c5f274c2eda0d73f52a8e0066168f77475f324;hp=af77c9ebacddfe3e9d9d3374d6eb1fc83d659bfb;hpb=4a78892df0b95cc22a976632445f3dca8893aae4;p=mmh diff --git a/acconfig.h b/acconfig.h index af77c9e..1050be7 100644 --- a/acconfig.h +++ b/acconfig.h @@ -52,11 +52,25 @@ /* * Define this if you do not want nmh to attach the local hostname * to local addresses. You must also define DUMB. You probably - * dont' need this unless you are behind a firewall. + * don't need this unless you are behind a firewall. */ /* #define REALLYDUMB 1 */ /* + * Starting on January 1, 2000, some MUAs like ELM and Ultrix's DXmail started + * generated bad dates ("00" or "100" for the year). If this #define is active, + * we use windowing to correct those dates to what we presume to be the intended + * values. About the only time this could get us into trouble would be if a MUA + * was generating a year of "00" in 2001 or later, due to an unrelated bug. In + * this case we would "correct" the year to 2000, which could result in + * inaccurate bug reports against the offending MUA. A much more esoteric case + * in which you might not want to #define this would be if you were OCR'ing in + * old written correspondence and saving it in email format, and you had dates + * of 1899 or earlier. + */ +#define FIX_NON_Y2K_COMPLIANT_MUA_DATES 1 + +/* * Directs inc/slocal to extract the envelope sender from "From " * line. If inc/slocal is saving message to folder, then this * sender information is then used to create a Return-Path @@ -121,24 +135,23 @@ * thing. If so, you can modify the definitions. The Comments are as * useful as ever. */ +/* these three are only used in vmh.c, which currently is not being + * built anyway. -Doug */ /* Defined for Solaris 2.x, Irix, OSF/1, HP-UX, AIX, SCO5 */ #undef SYS5 - /* Defined for Solaris 2.x, Irix, OSF/1, HP-UX, AIX */ #undef SVR4 +/* Defined for SunOS 4, FreeBSD, NetBSD, OpenBSD, BSD/OS, Mac OS X/Rhapsody */ +#undef BSD44 -/* Defined for SunOS 4, FreeBSD, NetBSD, OpenBSD, BSD/OS -- does - * PicoBSD have uname? :) */ -#undef BIND +/* Defined for SunOS 4, FreeBSD, NetBSD, OpenBSD, BSD/OS, Mac OS X/Rhapsody + * -- does PicoBSD have uname? :) */ #undef BSD42 -/* Defined for SunOS 4, FreeBSD, NetBSD, OpenBSD, BSD/OS */ -#undef BSD44 - /* Defined for SCO5 */ #undef SCO_5_STDIO -/* Defined for Linux */ +/* This tells nmh to use the Linux _IO_*_ptr defines from libio.h */ #undef LINUX_STDIO @@ -253,5 +266,24 @@ /* Define if your system has mkstemp */ #undef HAVE_MKSTEMP +/* Define if your system has sethostent */ +#undef HAVE_SETHOSTENT + +/* Define if your system has gethostbyname */ +#undef HAVE_GETHOSTBYNAME + +/* Define if your system has netdb.h */ +#undef HAVE_NETDB_H + /* Define if your system has db1/ndbm.h instead of ndbm.h (ppclinux) */ #undef HAVE_DB1_NDBM_H + +/* Define to the header containing the declaration of initgroups() on your + system, if any. AIX 4.[13], SunOS 4.1.3, and ULTRIX 4.2A have the function + in libc but don't have a declaration anywhere. */ +#undef INITGROUPS_HEADER + +/* Define if your system actually has a prototype for snprintf() in + (or a file it includes) rather than just having a "stealth" definition of it + in libc.a the way AIX 4.1 does. */ +#undef HAVE_SNPRINTF_PROTOTYPE