From: Ivan Maidanski Date: Wed, 17 Jan 2018 22:14:27 +0000 (+0300) Subject: Support threads for DragonFly in configure X-Git-Tag: v8.0.0~415 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=19c81d80518a7f4f00383080aed887c42f0c7419;p=platform%2Fupstream%2Flibgc.git Support threads for DragonFly in configure * configure.ac [THREADS=posix && host=*-*-dragonfly*] (GC_THREADS, _REENTRANT, PARALLEL_MARK, THREAD_LOCAL_ALLOC): Define similar to *-*-freebsd*. --- 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.])