changes to allow building under Mac OS X/Rhapsody
[mmh] / config.h.in
index 3915bde..ae0684e 100644 (file)
@@ -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
  */
 
 /*
- *  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
  */
 #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 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 <sys/time.h> and <time.h>.  */
 #undef TIME_WITH_SYS_TIME
 
  */
 #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 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
 
 /* 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
 
 /* 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 <unistd.h> 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