Do the condition at one level higher.
@@ -1,5 +1,11 @@
SUBDIRS = bind10 bindctl cfgmgr ddns loadzone msgq cmdctl auth xfrin \
xfrout usermgr zonemgr stats tests resolver sockcreator dhcp4 dhcp6 d2\
- dbutil sysinfo memmgr
+ dbutil sysinfo
+
+if USE_SHARED_MEMORY
+# Build the memory manager only if we have shared memory.
+# It is useless without it.
+SUBDIRS += memmgr
+endif
check-recursive: all-recursive
@@ -1,8 +1,3 @@
-if USE_SHARED_MEMORY
-
-# If we don't have shared memory, the memory manager is useless.
-# Skip building, testing and installing it completely.
SUBDIRS = . tests
pkglibexecdir = $(libexecdir)/@PACKAGE@
@@ -65,5 +60,3 @@ install-data-hook:
clean-local:
rm -rf $(CLEANDIRS)
-endif
@@ -1,5 +1,9 @@
SUBDIRS = datasrc util cc config dns log net notify testutils acl bind10
-SUBDIRS += xfrin log_messages server_common ddns sysinfo statistics memmgr
+SUBDIRS += xfrin log_messages server_common ddns sysinfo statistic
+# The memory manager is useless without shared memory support
python_PYTHON = __init__.py
-# We use the memory manager only with shared memory. No reason to
-# install on platforms without it and tests may fail there.
python_PYTHON = __init__.py builder.py datasrc_info.py logger.py
@@ -28,5 +23,3 @@ CLEANDIRS = __pycache__