CtrlAgentProcess::garbageCollectListeners(size_t leaving) {
// We expect only one active listener. If there are more (most likely 2),
// it means we have just reconfigured the server and need to shut down all
- // listeners execept the most recently added.
+ // listeners except the most recently added.
if (http_listeners_.size() > leaving) {
// Stop no longer used listeners.
for (auto l = http_listeners_.begin();
# Install keactrl in sbin and the keactrl.conf required by the keactrl
# in etc. keactrl will look for its configuration file in the etc folder.
sbin_SCRIPTS = keactrl
-KEA_CONFIGFILES = \
- kea-dhcp4.conf kea-dhcp6.conf kea-dhcp-ddns.conf kea-ctrl-agent.conf
+KEA_CONFIGFILES = kea-dhcp4.conf
+KEA_CONFIGFILES += kea-dhcp6.conf
+KEA_CONFIGFILES += kea-dhcp-ddns.conf
+KEA_CONFIGFILES += kea-ctrl-agent.conf
if HAVE_SYSREPO
KEA_CONFIGFILES += kea-netconf.conf
DISTCLEANFILES = keactrl keactrl.conf
CLEANFILES = $(KEA_CONFIGFILES)
-EXTRA_DIST = \
- keactrl.in keactrl.conf.in kea-dhcp4.conf.pre \
- kea-dhcp6.conf.pre kea-dhcp-ddns.conf.pre \
- kea-ctrl-agent.conf.pre kea-netconf.conf.pre
+EXTRA_DIST = keactrl.in
+EXTRA_DIST += keactrl.conf.in
+EXTRA_DIST += kea-dhcp4.conf.pre
+EXTRA_DIST += kea-dhcp6.conf.pre
+EXTRA_DIST += kea-dhcp-ddns.conf.pre
+EXTRA_DIST += kea-ctrl-agent.conf.pre
+EXTRA_DIST += kea-netconf.conf.pre
# *.conf files are not really sources used for building other targets, but we need
# these files to be generated before make install is called.
# to unexpected errors. For this reason, the --enable-static-link option is
# ignored for unit tests built here.
-noinst_LTLIBRARIES = \
- libnvl.la libivl.la libfxl.la libbcl.la liblcl.la \
- liblecl.la libucl.la libfcl.la libpcl.la libacl.la
+noinst_LTLIBRARIES = libnvl.la libivl.la libfxl.la libbcl.la liblcl.la
+noinst_LTLIBRARIES += liblecl.la libucl.la libfcl.la libpcl.la libacl.la
# -rpath /nowhere is a hack to trigger libtool to not create a
# convenience archive, resulting in shared modules
# Include utilities. Use installed version if available and
# use build version if it isn't.
-if [ -e @datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh ]; then
- . "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
+if [ -e "@abs_top_srcdir@/src/bin/admin/admin-utils.sh" ]; then
+ . "@abs_top_srcdir@/src/bin/admin/admin-utils.sh"
else
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# Include utilities. Use installed version if available and
# use build version if it isn't.
-if [ -e @datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh ]; then
- . "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
+if [ -e "@abs_top_srcdir@/src/bin/admin/admin-utils.sh" ]; then
+ . "@abs_top_srcdir@/src/bin/admin/admin-utils.sh"
else
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi