Make the mit-pthreads configure scripts recognise 1.4ish systems.

This commit is contained in:
bad 1999-04-08 23:13:23 +00:00
parent c0372b883f
commit b98a17d30c
2 changed files with 62 additions and 14 deletions

View file

@ -1,11 +1,17 @@
$NetBSD: patch-ah,v 1.2 1999/04/08 21:54:36 bad Exp $
$NetBSD: patch-ah,v 1.3 1999/04/08 23:13:23 bad Exp $
--- mit-pthreads/config/configure.orig Tue Mar 10 10:11:25 1998
+++ mit-pthreads/config/configure Sun Mar 21 00:23:46 1999
@@ -1165,6 +1165,12 @@
+++ mit-pthreads/config/configure Thu Apr 8 23:58:29 1999
@@ -1165,6 +1165,18 @@
name=$host_cpu-$host_os
case $host in
+ alpha-*-netbsd1.4*)
+ name=alpha-netbsd-1.4
+ sysincludes=netbsd-1.1
+ except="fork lseek pipe fstat"
+ available_syscalls="sigsuspend sigprocmask"
+ ;;
+ alpha-*-netbsd1.3[H-Z])
+ name=alpha-netbsd-1.3
+ sysincludes=netbsd-1.1
@ -15,10 +21,16 @@ $NetBSD: patch-ah,v 1.2 1999/04/08 21:54:36 bad Exp $
alpha-*-netbsd1.3*)
name=alpha-netbsd-1.3
sysincludes=netbsd-1.1
@@ -1183,6 +1189,17 @@
@@ -1183,6 +1195,23 @@
CFLAGS="$CFLAGS -std"
fi
;;
+ arm32-*-netbsd1.4*)
+ name=arm32-netbsd-1.4
+ sysincludes=netbsd-1.1
+ except="fork pipe lseek ftruncate fstat"
+ available_syscalls="sigsuspend sigprocmask"
+ ;;
+ arm32-*-netbsd1.3[H-Z])
+ name=arm32-netbsd-1.3
+ sysincludes=netbsd-1.1
@ -33,10 +45,16 @@ $NetBSD: patch-ah,v 1.2 1999/04/08 21:54:36 bad Exp $
hppa1.0-*-hpux10.20 | hppa1.1-*-hpux10.20)
name=hppa-hpux-10.20
sysincludes=hpux-10.20
@@ -1232,6 +1249,17 @@
@@ -1232,6 +1261,23 @@
EOF
;;
+ sparc-*-netbsd1.4*)
+ name=sparc-netbsd-1.4
+ sysincludes=netbsd-1.1
+ except="pipe fork lseek ftruncate fstat"
+ available_syscalls="sigprocmask sigsuspend"
+ ;;
+ sparc-*-netbsd1.3[H-Z])
+ name=sparc-netbsd-1.3
+ sysincludes=netbsd-1.1
@ -51,10 +69,16 @@ $NetBSD: patch-ah,v 1.2 1999/04/08 21:54:36 bad Exp $
sparc-*-netbsd1.0A | sparc-*-netbsd1.1* | sparc-*-netbsd1.2*)
name=sparc-sunos-4.1.3
sysincludes=netbsd-1.0
@@ -1257,6 +1285,12 @@
@@ -1257,6 +1303,18 @@
syscall=i386-bsdi-2.0
except="fork lseek ftruncate sigsuspend"
;;
+ i386-*-netbsd1.4*)
+ name=i386-netbsd-1.4
+ sysincludes=netbsd-1.1
+ except="fork lseek ftruncate pipe fstat"
+ available_syscalls="sigsuspend sigprocmask"
+ ;;
+ i386-*-netbsd1.3[H-Z])
+ name=i386-netbsd-1.3
+ sysincludes=netbsd-1.1
@ -64,7 +88,7 @@ $NetBSD: patch-ah,v 1.2 1999/04/08 21:54:36 bad Exp $
i386-*-netbsd1.3*)
name=i386-netbsd-1.3
sysincludes=netbsd-1.1
@@ -1898,6 +1932,38 @@
@@ -1898,6 +1956,38 @@
if test $pthreads_cv_timespec_in_time = yes ; then
cat >> confdefs.h <<\EOF
#define _OS_HAS_TIMESPEC 1

View file

@ -1,11 +1,17 @@
$NetBSD: patch-bd,v 1.1 1999/04/08 21:54:37 bad Exp $
$NetBSD: patch-bd,v 1.2 1999/04/08 23:13:23 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 @@
+++ mit-pthreads/config/configure.in Thu Apr 8 23:59:26 1999
@@ -124,6 +124,18 @@
name=$host_cpu-$host_os
case $host in
+ alpha-*-netbsd1.4*)
+ name=alpha-netbsd-1.4
+ sysincludes=netbsd-1.1
+ except="fork lseek pipe fstat"
+ available_syscalls="sigsuspend sigprocmask"
+ ;;
+ alpha-*-netbsd1.3[H-Z])
+ name=alpha-netbsd-1.3
+ sysincludes=netbsd-1.1
@ -15,10 +21,16 @@ $NetBSD: patch-bd,v 1.1 1999/04/08 21:54:37 bad Exp $
alpha-*-netbsd1.3*)
name=alpha-netbsd-1.3
sysincludes=netbsd-1.1
@@ -142,6 +148,17 @@
@@ -142,6 +154,23 @@
CFLAGS="$CFLAGS -std"
fi
;;
+ arm32-*-netbsd1.4*)
+ name=arm32-netbsd-1.4
+ sysincludes=netbsd-1.1
+ except="fork pipe lseek ftruncate fstat"
+ available_syscalls="sigsuspend sigprocmask"
+ ;;
+ arm32-*-netbsd1.3[H-Z])
+ name=arm32-netbsd-1.3
+ sysincludes=netbsd-1.1
@ -33,10 +45,16 @@ $NetBSD: patch-bd,v 1.1 1999/04/08 21:54:37 bad Exp $
hppa1.0-*-hpux10.20 | hppa1.1-*-hpux10.20)
name=hppa-hpux-10.20
sysincludes=hpux-10.20
@@ -176,6 +193,17 @@
@@ -176,6 +205,23 @@
AC_DEFINE(LD_LINKS_STATIC_DATA)
AC_DEFINE(BROKEN_SIGNALS)
;;
+ sparc-*-netbsd1.4*)
+ name=sparc-netbsd-1.3
+ sysincludes=netbsd-1.1
+ except="pipe fork lseek ftruncate fstat"
+ available_syscalls="sigprocmask sigsuspend"
+ ;;
+ sparc-*-netbsd1.3[H-Z])
+ name=sparc-netbsd-1.3
+ sysincludes=netbsd-1.1
@ -51,10 +69,16 @@ $NetBSD: patch-bd,v 1.1 1999/04/08 21:54:37 bad Exp $
sparc-*-netbsd1.0A | sparc-*-netbsd1.1* | sparc-*-netbsd1.2*)
name=sparc-sunos-4.1.3
sysincludes=netbsd-1.0
@@ -201,6 +229,12 @@
@@ -201,6 +247,18 @@
syscall=i386-bsdi-2.0
except="fork lseek ftruncate sigsuspend"
;;
+ i386-*-netbsd1.4*)
+ name=i386-netbsd-1.4
+ sysincludes=netbsd-1.1
+ except="fork lseek ftruncate pipe fstat"
+ available_syscalls="sigsuspend sigprocmask"
+ ;;
+ i386-*-netbsd1.3[H-Z])
+ name=i386-netbsd-1.3
+ sysincludes=netbsd-1.1
@ -64,7 +88,7 @@ $NetBSD: patch-bd,v 1.1 1999/04/08 21:54:37 bad Exp $
i386-*-netbsd1.3*)
name=i386-netbsd-1.3
sysincludes=netbsd-1.1
@@ -339,6 +373,16 @@
@@ -339,6 +397,16 @@
AC_MSG_RESULT($pthreads_cv_timespec_in_time)
if test $pthreads_cv_timespec_in_time = yes ; then
AC_DEFINE(_OS_HAS_TIMESPEC)