From 19c81d80518a7f4f00383080aed887c42f0c7419 Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Thu, 18 Jan 2018 01:14:27 +0300 Subject: [PATCH] Support threads for DragonFly in configure * configure.ac [THREADS=posix && host=*-*-dragonfly*] (GC_THREADS, _REENTRANT, PARALLEL_MARK, THREAD_LOCAL_ALLOC): Define similar to *-*-freebsd*. --- configure.ac | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index c379695..1ecc31d 100644 --- a/configure.ac +++ b/configure.ac @@ -184,9 +184,10 @@ case "$THREADS" in THREADS=posix # Common defines for most POSIX platforms. case "$host" in - *-*-aix* | *-*-cygwin* | *-*-darwin* | *-*-freebsd* | *-*-hpux11* | \ - *-*-irix* | *-*-kfreebsd*-gnu | *-*-gnu* | *-*-*linux* | *-*-nacl* | \ - *-*-netbsd* | *-*-openbsd* | *-*-osf* | *-*-solaris*) + *-*-aix* | *-*-cygwin* | *-*-darwin* | *-*-dragonfly* | \ + *-*-freebsd* | *-*-hpux11* | *-*-irix* | *-*-kfreebsd*-gnu | \ + *-*-gnu* | *-*-*linux* | *-*-nacl* | *-*-netbsd* | *-*-openbsd* | \ + *-*-osf* | *-*-solaris*) AC_DEFINE(GC_THREADS) AC_DEFINE([_REENTRANT], [1], [Required define if using POSIX threads.]) -- 2.7.4