blob: be3c298e27b90d7af80343d60cd12d0af7c371d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
$NetBSD: patch-ab,v 1.3 2009/06/02 18:39:20 hasso Exp $
--- libgc/configure.orig 2009-06-02 16:41:38 +0300
+++ libgc/configure 2009-06-02 16:43:54 +0300
@@ -4754,6 +4754,14 @@ _ACEOF
INCLUDES="$INCLUDES -pthread"
THREADDLLIBS=-pthread
;;
+ *-*-dragonfly*)
+ cat >>confdefs.h <<\_ACEOF
+#define GC_FREEBSD_THREADS 1
+_ACEOF
+
+ INCLUDES="$INCLUDES -pthread"
+ THREADDLLIBS=-pthread
+ ;;
*-*-kfreebsd*-gnu)
cat >>confdefs.h <<\_ACEOF
#define GC_FREEBSD_THREADS 1
|