X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=config.h.in;h=ae0684e7cbe69ea7e7c96b57e82c02641a9ab543;hp=3915bde2e78febd6dfa5feae54a760e6e517d751;hb=d3a67123c9d05b6d639adb0e6b4a874807602a6b;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b diff --git a/config.h.in b/config.h.in index 3915bde..ae0684e 100644 --- a/config.h.in +++ b/config.h.in @@ -3,7 +3,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 @@ -11,57 +13,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 @@ -166,6 +117,31 @@ */ #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. */ @@ -204,6 +180,9 @@ /* 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 @@ -294,6 +273,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 @@ -307,12 +293,24 @@ /* 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 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 @@ -328,9 +326,6 @@ /* Define if you have the sigrelse function. */ #undef HAVE_SIGRELSE -/* Define if you have the sigsetjmp function. */ -#undef HAVE_SIGSETJMP - /* Define if you have the sigsetmask function. */ #undef HAVE_SIGSETMASK @@ -367,6 +362,9 @@ /* 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 @@ -388,6 +386,9 @@ /* 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 @@ -421,6 +422,12 @@ /* Define if you have the header file. */ #undef HAVE_UNISTD_H +/* 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