mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-14 09:47:56 +08:00
Problem: radix tree never used in autotools builds
Solution: add a switch and a default to autoconf
This commit is contained in:
parent
25e069d131
commit
6253591655
15
configure.ac
15
configure.ac
@ -819,6 +819,21 @@ if test "x$enable_libunwind" != "xno"; then
|
||||
])
|
||||
fi
|
||||
|
||||
AC_ARG_ENABLE([radix-tree],
|
||||
AS_HELP_STRING([--enable-radix-tree],
|
||||
[Use radix tree implementation to manage subscriptions [default=DRAFT]]),
|
||||
[radix_tree=$enableval],
|
||||
[radix_tree=$enable_drafts])
|
||||
|
||||
AM_CONDITIONAL([ENABLE_RADIX_TREE], [test x$radix_tree != xno])
|
||||
|
||||
if test "x$radix_tree" = "xyes"; then
|
||||
AC_MSG_NOTICE([Using radix tree implementation to manage subscriptions])
|
||||
AC_DEFINE(ZMQ_USE_RADIX_TREE, 1, [Use radix tree implementation to manage subscriptions])
|
||||
else
|
||||
AC_MSG_NOTICE([Using mtree implementation to manage subscriptions])
|
||||
fi
|
||||
|
||||
# See if clang-format is in PATH; the result unblocks the relevant recipes
|
||||
WITH_CLANG_FORMAT=""
|
||||
AS_IF([test x"$CLANG_FORMAT" = x],
|
||||
|
Loading…
x
Reference in New Issue
Block a user