From 16cf11a1213272afd616598fa3aba0941e66ec3c Mon Sep 17 00:00:00 2001 From: Peter Stuge Date: Sat, 30 Oct 2010 22:13:05 +0200 Subject: [PATCH] configure.ac: Do not use -pthread on Darwin It's not needed because Darwin has POSIX Threads in libc. Fixes #96. --- configure.ac | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index c6515ad..febe0e9 100644 --- a/configure.ac +++ b/configure.ac @@ -59,8 +59,7 @@ case $host in AC_MSG_RESULT([Darwin/MacOS X]) backend="darwin" threads="posix" - THREAD_CFLAGS="-pthread" - PC_LIBS_PRIVATE="-Wl,-framework,IOKit -Wl,-framework,CoreFoundation -Wl,-prebind -no-undefined -pthread" + PC_LIBS_PRIVATE="-Wl,-framework,IOKit -Wl,-framework,CoreFoundation -Wl,-prebind -no-undefined" AM_LDFLAGS=${PC_LIBS_PRIVATE} AC_CHECK_HEADERS([poll.h]) AC_CHECK_TYPE([nfds_t],