blob: a5752da49d410a9ef02148b66ac0c821dad3fba7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$NetBSD: patch-ab,v 1.3 2006/01/08 21:22:58 joerg Exp $
--- configure.orig 2006-01-08 21:08:17.000000000 +0000
+++ configure
@@ -267,7 +267,7 @@ echo "ERROR: ${CPP} cannot parse sources
printf "checking for POSIX threads... "
-if [ "${TARGET_OS}" = "freebsd" ]; then
+if [ "${TARGET_OS}" = "freebsd" -o "${TARGET_OS}" = "dragonfly" ]; then
PTHREAD_LIBS=-pthread ; else
PTHREAD_LIBS=-lpthread ; fi
echo '#include <pthread.h>' > test.c
@@ -339,6 +339,7 @@ if [ "$USE_GTK" = 0 ]; then GTK_LDFLAGS=
if [ "$USE_GTK" = 0 ]; then GTK_CFLAGS="" ; fi
if [ "$USE_GTK" = 0 ]; then GTK_LDFLAGS="" ; fi
if [ "${TARGET_OS}" = "netbsd" ]; then OS_OK="1" ; fi ;
+if [ "${TARGET_OS}" = "dragonfly" ]; then OS_OK="1" ; fi ;
if [ "${TARGET_OS}" = "freebsd" ]; then OS_OK="1" ; fi ;
if [ "${TARGET_OS}" = "openbsd" ]; then OS_OK="1" ; fi ;
|