summaryrefslogtreecommitdiff
path: root/databases/mysql/patches/patch-bd
blob: 948f52732851600c97967da2233c73528cd2b96e (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
$NetBSD: patch-bd,v 1.1 1999/04/08 21:54:37 bad Exp $

--- mit-pthreads/config/configure.in.orig	Mon Mar  9 11:30:59 1998
+++ mit-pthreads/config/configure.in	Sat Mar 20 23:56:33 1999
@@ -124,6 +124,12 @@
 name=$host_cpu-$host_os
 
 case $host in
+    alpha-*-netbsd1.3[H-Z])
+	name=alpha-netbsd-1.3
+	sysincludes=netbsd-1.1
+	except="fork lseek pipe fstat"
+	available_syscalls="sigsuspend sigprocmask"
+	;;
     alpha-*-netbsd1.3*)
 	name=alpha-netbsd-1.3
 	sysincludes=netbsd-1.1
@@ -142,6 +148,17 @@
 	  CFLAGS="$CFLAGS -std"
 	fi
 	;;
+    arm32-*-netbsd1.3[H-Z])
+	name=arm32-netbsd-1.3
+	sysincludes=netbsd-1.1
+	except="fork pipe lseek ftruncate fstat"
+	available_syscalls="sigsuspend sigprocmask"
+	;;
+    arm32-*-netbsd1.3*)
+	name=arm32-netbsd-1.3
+	sysincludes=netbsd-1.1
+	except="fork pipe lseek ftruncate sigsuspend sigprocmask fstat"
+	;;
     hppa1.0-*-hpux10.20 | hppa1.1-*-hpux10.20)
 	name=hppa-hpux-10.20
 	sysincludes=hpux-10.20
@@ -176,6 +193,17 @@
 	AC_DEFINE(LD_LINKS_STATIC_DATA)
 	AC_DEFINE(BROKEN_SIGNALS)
 	;;
+    sparc-*-netbsd1.3[H-Z])
+	name=sparc-netbsd-1.3
+	sysincludes=netbsd-1.1
+	except="pipe fork lseek ftruncate fstat"
+	available_syscalls="sigprocmask sigsuspend"
+	;;
+    sparc-*-netbsd1.3*)
+	name=sparc-netbsd-1.3
+	sysincludes=netbsd-1.1
+	except="pipe fork lseek ftruncate sigprocmask sigsuspend fstat"
+	;;
     sparc-*-netbsd1.0A | sparc-*-netbsd1.1* | sparc-*-netbsd1.2*)
 	name=sparc-sunos-4.1.3
 	sysincludes=netbsd-1.0
@@ -201,6 +229,12 @@
         syscall=i386-bsdi-2.0
         except="fork lseek ftruncate sigsuspend"
 		;;
+    i386-*-netbsd1.3[H-Z])
+	name=i386-netbsd-1.3
+	sysincludes=netbsd-1.1
+	except="fork lseek ftruncate pipe fstat"
+	available_syscalls="sigsuspend sigprocmask"
+		;;
     i386-*-netbsd1.3*)
 	name=i386-netbsd-1.3
 	sysincludes=netbsd-1.1
@@ -339,6 +373,16 @@
 AC_MSG_RESULT($pthreads_cv_timespec_in_time)
 if test $pthreads_cv_timespec_in_time = yes ; then
   AC_DEFINE(_OS_HAS_TIMESPEC)
+fi
+
+dnl	socklen_t
+AC_CACHE_VAL(pthreads_cv_socklen_t,
+  AC_TRY_COMPILE([#include <sys/types.h>
+#include <sys/socket.h>], [socklen_t foo;],
+	pthreads_cv_socklen_t=yes, pthreads_cv_socklen_t=no))
+AC_MSG_RESULT($pthreads_cv_socklen_t)
+if test $pthreads_cv_socklen_t = yes ; then
+  AC_DEFINE(_OS_HAS_SOCKLEN_T)
 fi