X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=acconfig.h;h=15178d7e042df6319b26c24a45823379fd74eeee;hp=64a9da0cc29fee14ce8085a7165dcf2d2eceeacc;hb=84b98d0484fe61d4ebe205016e35a06da194f525;hpb=34019fa0a2ec3e20b9256394acf54a53d5c35402 diff --git a/acconfig.h b/acconfig.h index 64a9da0..15178d7 100644 --- a/acconfig.h +++ b/acconfig.h @@ -2,7 +2,9 @@ /****** BEGIN USER CONFIGURATION SECTION *****/ /* - * IMPORTANT: UNCOMMENT THE DEFINES FOR YOUR OPERATING SYSTEM + * 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 @@ -10,57 +12,6 @@ */ /* - * Solaris 2.x - * Irix - * OSF/1 - * HP-UX - * AIX - */ -/* #define SYS5 1 */ -/* #define SVR4 1 */ - -/* - * SunOS 4.1.x - */ -/* #define BIND 1 */ -/* #define BSD42 1 */ - -/* - * Linux - */ -/* #define LINUX_STDIO 1 */ - -/* - * FreeBSD 2.x - * NetBSD 1.x, - * OpenBSD 2.x - * BSD/OS 2.x - */ -/* #define BIND 1 */ -/* #define BSD42 1 */ -/* #define BSD44 1 */ - -/* - * SCO 4.x - * SCO 5.x - * - * I believe the second `define' is only necessary - * for SCO 5.x, not SCO 4.x - */ -/* #define SYS5 1 */ -/* #define SCO_5_STDIO 1 */ - -/* - * Define to 1 if you need to make `inc' set-group-id - * because your mail spool is not world writable. This - * will add some extra security checks, although I can't - * guarantee it is safe. Also, you will need to change the - * group and add the setgid bit to `inc' manually after - * installation. - */ -/* #define MAILGROUP 1 */ - -/* * Turn on locale (setlocale) support */ #define LOCALE 1 @@ -165,9 +116,35 @@ */ #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 *****/ @TOP@ + /* * Define this if you want SMTP (simple mail transport protocol) * support. When sending mail, instead of passing the message to @@ -249,6 +226,13 @@ */ #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 ruserpass as _ruserpass if your libraries have a bug * * such that it can't find ruserpass, but can find _ruserpass. */ #undef ruserpass @@ -264,3 +248,28 @@ /* Define if your system has sigsetjmp */ #undef HAVE_SIGSETJMP + +/* 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