blob: 313277101f3456682e033964f7fe8cecfdb7b4bb (
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
|
$NetBSD: patch-aq,v 1.3 2006/02/05 14:49:05 ghen Exp $
--- directory/c-sdk/configure.in.orig 2006-02-02 13:29:07.000000000 +0100
+++ directory/c-sdk/configure.in
@@ -54,7 +54,7 @@ USE_64=
USE_CPLUS=
USE_IPV6=
USE_MDUPDATE=
-_OPTIMIZE_FLAGS=-O
+_OPTIMIZE_FLAGS=
_DEBUG_FLAGS=-g
MOZ_DEBUG=1
MOZ_OPTIMIZE=
@@ -907,7 +907,7 @@ case "$target" in
PR_MD_CSRCS=dgux.c
;;
-*-freebsd*)
+*-freebsd*|*-dragonfly*)
if test -z "$USE_NSPR_THREADS"; then
USE_PTHREADS=1
fi
@@ -2061,7 +2061,7 @@ if test -n "$USE_PTHREADS"; then
_PTHREAD_LDFLAGS=
fi
;;
- *-freebsd*|*-openbsd*|*-bsdi*|*-netbsd*)
+ *-freebsd*|*-openbsd*|*-bsdi*|*-netbsd*|*-dragonfly*)
AC_DEFINE(_THREAD_SAFE)
dnl -pthread links in -lc_r, so don't specify it explicitly.
if test "$ac_cv_have_dash_pthread" = "yes"; then
@@ -2114,7 +2114,7 @@ case "$target" in
AC_DEFINE(_PR_NEED_PTHREAD_INIT)
fi
;;
-*-freebsd*)
+*-freebsd*|*-dragonfly*)
if test -n "$USE_NSPR_THREADS"; then
AC_DEFINE(_PR_LOCAL_THREADS_ONLY)
fi
|