From: Peter Stuge Date: Sat, 30 Oct 2010 20:13:05 +0000 (+0200) Subject: configure.ac: Do not use -pthread on Darwin X-Git-Tag: upstream/1.0.21~861 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=16cf11a1213272afd616598fa3aba0941e66ec3c;p=platform%2Fupstream%2Flibusb.git configure.ac: Do not use -pthread on Darwin It's not needed because Darwin has POSIX Threads in libc. Fixes #96. --- 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],