From 6936d97ac72e8b6986ff387d305e8ae18839b252 Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Tue, 6 Mar 2018 11:02:02 +0300 Subject: [PATCH] Fix 'pthreads not supported by GC' configure error for DragonFly and Haiku (fix of commits 19c81d8, 847927f) Issue #97 (bdwgc). * configure.ac [$THREADS=pthreads && ($host=*-*-dragonfly* || $host=*-*-haiku*)]: Do not AC_MSG_ERROR (i.e. use the default THREADDLLIBS). --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 4ed9fe2..f08ef5a 100644 --- a/configure.ac +++ b/configure.ac @@ -202,7 +202,8 @@ case "$THREADS" in esac AC_CHECK_LIB(pthread, pthread_self, THREADDLLIBS="-lpthread",,) case "$host" in - *-*-aix* | *-*-irix* | *-*-*linux* | *-*-nacl*) + *-*-aix* | *-*-dragonfly* | *-*-haiku* | *-*-irix* | *-*-*linux* | \ + *-*-nacl*) # The default THREADDLLIBS. ;; *-*-hpux11*) -- 2.7.4