changes to allow building under Mac OS X/Rhapsody
[mmh] / config.h.in
index 2192ddf..ae0684e 100644 (file)
  */
 
 /*
- * 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
  */
 #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.  */
 /* Define vfork as fork if vfork does not work.  */
 #undef vfork
 
-/* 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 -- does
- * PicoBSD have uname? :) */
-#undef BIND
-#undef BSD42
-
-/* Defined for SunOS 4, FreeBSD, NetBSD, OpenBSD, BSD/OS */
-#undef BSD44
-
-/* Defined for SCO5 */
-#undef SCO_5_STDIO
-
-/* Defined for Linux */
-#undef LINUX_STDIO
-
 /*
  * Define this if you want SMTP (simple mail transport protocol)
  * support.  When sending mail, instead of passing the message to
  */
 #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
 /* 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
 
 /* Define if you have the <crypt.h> header file.  */
 #undef HAVE_CRYPT_H
 
+/* Define if you have the <db1/ndbm.h> header file.  */
+#undef HAVE_DB1_NDBM_H
+
 /* Define if you have the <dirent.h> header file.  */
 #undef HAVE_DIRENT_H
 
 /* Define if you have the <ndir.h> header file.  */
 #undef HAVE_NDIR_H
 
+/* Define if you have the <netdb.h> header file.  */
+#undef HAVE_NETDB_H
+
 /* Define if you have the <stdlib.h> header file.  */
 #undef HAVE_STDLIB_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