From: Ken Hornstein Date: Wed, 3 Jul 2002 14:49:24 +0000 (+0000) Subject: Bring these changes over from the branch. X-Git-Tag: RELEASE_1_2~119 X-Git-Url: http://git.marmaro.de/?p=mmh;a=commitdiff_plain;h=f422ef658bd5a190e08177c67361c874e679c526;ds=sidebyside Bring these changes over from the branch. --- diff --git a/.cvsignore b/.cvsignore index e8c05a6..e93c9ee 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1,2 @@ configure +config.h.in diff --git a/config.h.in b/config.h.in deleted file mode 100644 index 85f9f96..0000000 --- a/config.h.in +++ /dev/null @@ -1,469 +0,0 @@ -/* config.h.in. Generated automatically from configure.in by autoheader. */ - -/****** BEGIN USER CONFIGURATION SECTION *****/ - -/* - * IMPORTANT: You should no longer need to edit this file to handle - * your operating system. That should be handled and set correctly by - * configure now. - * - * These are slowly being phased out, but currently - * not everyone is auto-configured. Then decide if you - * wish to change the features that are compiled into nmh. - */ - -/* - * Turn on locale (setlocale) support - */ -#define LOCALE 1 - -/* - * Define to 1 the type of file locking to use. You need to - * make sure the type of locking you use is compatible with - * other programs which may modify your maildrops. - * Currently you can only use one type. - */ -#undef DOT_LOCKING -#undef FCNTL_LOCKING -#undef LOCKF_LOCKING -#undef FLOCK_LOCKING - -/* - * If you have defined DOT_LOCKING, then the default is to - * place the lock files in the same directory as the file that - * is to be locked. Alternately, if you define LOCKDIR, you - * can specify that all lock files go in a specific directory. - * Don't define this unless you know you need it. - */ -/* #define LOCKDIR "/usr/spool/locks" */ - -/* - * Define this if your passwords are stored in some type of - * distributed name service, such as NIS, or NIS+. - */ -#define DBMPWD 1 - -/* - * Directs nmh not to try and rewrite addresses - * to their official form. You probably don't - * want to change this without good reason. - */ -#define DUMB 1 - -/* - * Define this if you do not want nmh to attach the local hostname - * to local addresses. You must also define DUMB. You probably - * 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 - * header which is then added to the message. - */ -#define RPATHS 1 - -/* - * If defined, slocal will use `mbox' format when saving to - * your standard mail spool. If not defined, it will use - * mmdf format. - */ -#define SLOCAL_MBOX 1 - -/* - * If this is defined, nmh will recognize the ~ construct. - */ -#define MHRC 1 - -/* - * Compile simple ftp client into mhn. This will be used by mhn - * for ftp access unless you have specified another access method - * in your .mh_profile or mhn.defaults. Use the "mhn-access-ftp" - * profile entry to override this. Check mhn(1) man page for - * details. - */ -#define BUILTIN_FTP 1 - -/* - * If you enable POP support, this is the the port name that nmh will use. Make - * sure this is defined in your /etc/services file (or its NIS/NIS+ equivalent). - * If you are using KPOP, you will need to change this to "kpop" unless you want - * to be able to use both POP3 _and_ Kerberized POP and plan to use inc and - * msgchk's -kpop switch every time in the latter case. - */ -#define POPSERVICE "pop3" - -/* - * Define the default creation modes for folders and messages. - */ -#define DEFAULT_FOLDER_MODE "700" -#define DEFAULT_MESSAGE_MODE "600" - -/* - * Name of link to file to which you are replying. - */ -#define LINK "@" - -/* - * If wait/waitpid returns an int (no union wait). - */ -#define WAITINT 1 - -/* The following are autoconfigured, but you may wish to override the - * decisions of autoconf (and AC_CANONICAL_SYSTEM) and do your own - * 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, Mac OS X/Rhapsody - * -- does PicoBSD have uname? :) */ -#undef BSD42 - -/* Defined for SCO5 */ -#undef SCO_5_STDIO - -/* This tells nmh to use the Linux _IO_*_ptr defines from libio.h */ -#undef LINUX_STDIO - - -/***** END USER CONFIGURATION SECTION *****/ - -/* Define to empty if the keyword does not work. */ -#undef const - -/* Define to `int' if doesn't define. */ -#undef gid_t - -/* Define if your struct stat has st_blksize. */ -#undef HAVE_ST_BLKSIZE - -/* Define if you have that is POSIX.1 compatible. */ -#undef HAVE_SYS_WAIT_H - -/* Define if you have . */ -#undef HAVE_VFORK_H - -/* Define to `int' if doesn't define. */ -#undef mode_t - -/* Define to `long' if doesn't define. */ -#undef off_t - -/* Define to `int' if doesn't define. */ -#undef pid_t - -/* Define as the return type of signal handlers (int or void). */ -#undef RETSIGTYPE - -/* Define to `unsigned' if doesn't define. */ -#undef size_t - -/* Define if the `S_IS*' macros in do not work properly. */ -#undef STAT_MACROS_BROKEN - -/* Define if you have the ANSI C header files. */ -#undef STDC_HEADERS - -/* Define on System V Release 4. */ -#undef SVR4 - -/* Define if you can safely include both and . */ -#undef TIME_WITH_SYS_TIME - -/* Define to `int' if doesn't define. */ -#undef uid_t - -/* Define vfork as fork if vfork does not work. */ -#undef vfork - -/* - * The prefix which is prepended to the name of messages when they - * are "removed" by rmm. This should typically be `,' or `#' - */ -#define BACKUP_PREFIX "," - -/* - * Define this if you want SMTP (simple mail transport protocol) - * support. This is currently always enabled. - */ -#define SMTPMTS 1 - -/* - * Define this to compile client-side support for pop into - * inc and msgchk. Do not change this value manually. You - * must run configure with the '--enable-pop' option to - * correctly build the pop client support. - */ -#undef POP - -/* - * Define this to compile client-side support for apop into - * inc and msgchk. Do not change this value manually. You - * must run configure with the '--enable-apop' option to - * correctly build the apop client support. - */ -#undef APOP - -/* - * Define this to compile client-side support for kpop - * (kerberized pop) into inc and msgchk. Do not change this - * value manually. You must run configure with the option - * '--with-krb4=PREFIX' to correctly build the kpop client support. - */ -#undef KPOP - -/* - * Define this to "pop" when using Kerberos V4 - */ -#undef KPOP_PRINCIPAL - -/* - * Define this to use the Cyrus SASL library for authentication of - * POP and SMTP - */ -#undef CYRUS_SASL - -/* - * Define this to compile support for using Hesiod to locate - * pop servers into inc and msgchk. Do not change this value - * manually. You must run configure with the option - * '--with-hesiod=PREFIX' to correctly build Hesiod support. - */ -#undef HESIOD - -/* - * Compile in support for the Emacs front-end mh-e. - */ -#undef MHE - -/* Define to 1 if your termcap library has the ospeed variable */ -#undef HAVE_OSPEED -/* Define to 1 if you have ospeed, but it is not defined in termcap.h */ -#undef MUST_DEFINE_OSPEED - -/* Define to 1 if you have reliable signals */ -#undef RELIABLE_SIGNALS - -/* Define to 1 if you use POSIX style signal handling */ -#undef POSIX_SIGNALS - - -/* Define to 1 if you use BSD style signal handling (and can block signals) */ -#undef BSD_SIGNALS - - -/* Define to 1 if you use SYS style signal handling (and can block signals) */ -#undef SYSV_SIGNALS - - -/* Define to 1 if you have no signal blocking at all (bummer) */ -#undef NO_SIGNAL_BLOCKING - -/* Define to `unsigned int' if or doesn't define */ -#undef sigset_t - -/* - * Define to 1 if your vi has ATT bug, such that it returns - * non-zero exit codes on `pseudo-errors'. - */ -#undef ATTVIBUG - -/* - * Define to 1 if you need to make `inc' set-group-id because your mail spool is - * not world writable. There are no guarantees as to the safety of doing this, - * but this #define will add some extra security checks. - */ -#undef MAILGROUP - -/* Define if your system defines TIOCGWINSZ in sys/ioctl.h. */ -#undef GWINSZ_IN_SYS_IOCTL - -/* Define if your system defines `struct winsize' in sys/ptem.h. */ -#undef WINSIZE_IN_PTEM - -/* Define to 1 if struct tm has gmtoff */ -#undef HAVE_TM_GMTOFF - -/* Define if your system has sigsetjmp */ -#undef HAVE_SIGSETJMP - -/* Define if your system has gethostbyname */ -#undef HAVE_GETHOSTBYNAME - -/* 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 - -/* Define if you have the getutent function. */ -#undef HAVE_GETUTENT - -/* Define if you have the killpg function. */ -#undef HAVE_KILLPG - -/* Define if you have the lstat function. */ -#undef HAVE_LSTAT - -/* Define if you have the mkstemp function. */ -#undef HAVE_MKSTEMP - -/* Define if you have the sethostent function. */ -#undef HAVE_SETHOSTENT - -/* Define if you have the sigaction function. */ -#undef HAVE_SIGACTION - -/* Define if you have the sigblock function. */ -#undef HAVE_SIGBLOCK - -/* Define if you have the sighold function. */ -#undef HAVE_SIGHOLD - -/* Define if you have the sigprocmask function. */ -#undef HAVE_SIGPROCMASK - -/* Define if you have the sigrelse function. */ -#undef HAVE_SIGRELSE - -/* Define if you have the sigsetmask function. */ -#undef HAVE_SIGSETMASK - -/* Define if you have the snprintf function. */ -#undef HAVE_SNPRINTF - -/* Define if you have the strdup function. */ -#undef HAVE_STRDUP - -/* Define if you have the strerror function. */ -#undef HAVE_STRERROR - -/* Define if you have the tzset function. */ -#undef HAVE_TZSET - -/* Define if you have the uname function. */ -#undef HAVE_UNAME - -/* Define if you have the wait3 function. */ -#undef HAVE_WAIT3 - -/* Define if you have the waitpid function. */ -#undef HAVE_WAITPID - -/* Define if you have the writev function. */ -#undef HAVE_WRITEV - -/* Define if you have the header file. */ -#undef HAVE_ARPA_FTP_H - -/* Define if you have the header file. */ -#undef HAVE_ARPA_INET_H - -/* Define if you have the header file. */ -#undef HAVE_CRYPT_H - -/* Define if you have the header file. */ -#undef HAVE_DB1_NDBM_H - -/* Define if you have the header file. */ -#undef HAVE_DIRENT_H - -/* Define if you have the header file. */ -#undef HAVE_ERRNO_H - -/* Define if you have the header file. */ -#undef HAVE_FCNTL_H - -/* Define if you have the header file. */ -#undef HAVE_LIMITS_H - -/* Define if you have the header file. */ -#undef HAVE_LOCALE_H - -/* Define if you have the header file. */ -#undef HAVE_MEMORY_H - -/* Define if you have the header file. */ -#undef HAVE_NDIR_H - -/* Define if you have the header file. */ -#undef HAVE_NETDB_H - -/* Define if you have the header file. */ -#undef HAVE_STDLIB_H - -/* Define if you have the header file. */ -#undef HAVE_STRING_H - -/* Define if you have the header file. */ -#undef HAVE_SYS_DIR_H - -/* Define if you have the header file. */ -#undef HAVE_SYS_NDIR_H - -/* Define if you have the header file. */ -#undef HAVE_SYS_PARAM_H - -/* Define if you have the header file. */ -#undef HAVE_SYS_TIME_H - -/* Define if you have the header file. */ -#undef HAVE_SYS_UTSNAME_H - -/* Define if you have the header file. */ -#undef HAVE_TERMCAP_H - -/* Define if you have the header file. */ -#undef HAVE_TERMIO_H - -/* Define if you have the header file. */ -#undef HAVE_TERMIOS_H - -/* Define if you have the header file. */ -#undef HAVE_UNISTD_H - -/* Define if you have the lockfile library (-llockfile). */ -#undef HAVE_LIBLOCKFILE - -/* Define if you have the m library (-lm). */ -#undef HAVE_LIBM - -/* Define if you have the mkstemp library (-lmkstemp). */ -#undef HAVE_LIBMKSTEMP - -/* Define if you have the ndbm library (-lndbm). */ -#undef HAVE_LIBNDBM - -/* Define if you have the nsl library (-lnsl). */ -#undef HAVE_LIBNSL - -/* Define if you have the socket library (-lsocket). */ -#undef HAVE_LIBSOCKET