Support DragonFlyBSD

Note that in contrast to FreeBSD, DragonFly does not work
with force_lazy_lock enabled.
This commit is contained in:
Michael Neumann 2014-08-05 03:06:02 +02:00
parent 087ef3bc71
commit 1aa25a3ca2

View File

@ -283,6 +283,11 @@ case "${host}" in
AC_DEFINE([JEMALLOC_PURGE_MADVISE_FREE], [ ])
force_lazy_lock="1"
;;
*-*-dragonfly*)
CFLAGS="$CFLAGS"
abi="elf"
AC_DEFINE([JEMALLOC_PURGE_MADVISE_FREE], [ ])
;;
*-*-linux*)
CFLAGS="$CFLAGS"
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"