29 lines
861 B
Plaintext
29 lines
861 B
Plaintext
$OpenBSD: patch-boehm-gc_configure,v 1.2 2012/02/22 12:40:04 kurt Exp $
|
|
--- boehm-gc/configure.orig Mon May 19 10:28:07 2008
|
|
+++ boehm-gc/configure Mon Feb 20 13:13:23 2012
|
|
@@ -5451,6 +5451,14 @@ _ACEOF
|
|
{ echo "$as_me:$LINENO: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&5
|
|
echo "$as_me: WARNING: \"Only HP-UX 11 POSIX threads are supported.\"" >&2;}
|
|
;;
|
|
+ *-*-openbsd*)
|
|
+ cat >>confdefs.h <<\_ACEOF
|
|
+#define GC_OPENBSD_THREADS 1
|
|
+_ACEOF
|
|
+
|
|
+ THREADDLLIBS=-pthread
|
|
+ INCLUDES="$INCLUDES -pthread"
|
|
+ ;;
|
|
*-*-kfreebsd*-gnu)
|
|
cat >>confdefs.h <<\_ACEOF
|
|
#define GC_FREEBSD_THREADS 1
|
|
@@ -6886,6 +6894,9 @@ _ACEOF
|
|
;;
|
|
sparc-*-netbsd*)
|
|
machdep="sparc_netbsd_mach_dep.lo"
|
|
+ ;;
|
|
+ sparc*-*-openbsd*)
|
|
+ machdep="sparc_mach_dep.lo"
|
|
;;
|
|
sparc-sun-solaris2.3)
|
|
machdep="sparc_mach_dep.lo"
|