summaryrefslogtreecommitdiff
path: root/mail/nmh/patches/patch-aa
blob: a9b7e5ec89a7338df3f9b71cc6533ea170dcd6e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
$NetBSD: patch-aa,v 1.2 1998/08/07 11:09:43 agc Exp $

diff -ur nmh-0.14-dist/acconfig.h nmh-0.14/acconfig.h
--- acconfig.h-dist	Wed Apr 16 21:25:42 1997
+++ acconfig.h	Tue May 20 18:59:52 1997
@@ -1,3 +1,9 @@
+/* Define if you have the <sys/param.h> header file.  */
+#undef HAVE_SYS_PARAM_H
+#ifdef HAVE_SYS_PARAM_H
+#include <sys/param.h>
+#endif
+
 
 /****** BEGIN USER CONFIGURATION SECTION *****/
 
@@ -37,9 +40,11 @@
  *  OpenBSD 2.x
  *  BSD/OS 2.x
  */
-/* #define BIND     1 */
-/* #define BSD42    1 */
-/* #define BSD44    1 */
+#ifdef BSD4_4
+#define BIND     1
+#define BSD42    1
+#define BSD44    1
+#endif
 
 /*
  *  SCO 4.x
@@ -72,10 +77,14 @@
  * other programs which may modify your maildrops.
  * Currently you can only use one type.
  */
+#if defined(BSD44)
+#define FCNTL_LOCKING 1
+#else
 #define DOT_LOCKING   1
 /* #define FCNTL_LOCKING 1 */
 /* #define LOCKF_LOCKING 1 */
 /* #define FLOCK_LOCKING 1 */
+#endif
 
 /*
  * If you have defined DOT_LOCKING, then the default is to