summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am5
-rw-r--r--configure.ac11
2 files changed, 15 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index bccc2ff..da7bce4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4,10 +4,13 @@ SUBDIRS = \
common \
legacy-app-handler \
node-startup-controller \
- nsm-dummy \
docs \
tests
+if ENABLE_NSM_DUMMY
+SUBDIRS += nsm-dummy
+endif
+
.PHONY: ChangeLog
ChangeLog: Makefile
diff --git a/configure.ac b/configure.ac
index 4f05617..60e4bd8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -135,6 +135,17 @@ AC_DEFINE_UNQUOTED([PRIORITISED_LUC_TYPES],
["$with_prioritised_luc_types"],
[Prioritised LUC types])
+dnl ************************
+dnl *** Enable NSM dummy ***
+dnl ************************
+
+AC_ARG_ENABLE([nsm-dummy],
+ [AC_HELP_STRING([--enable-nsm-dummy],
+ [Enable the Node State Manager dummy application])],
+ [enable_nsm_dummy=yes],
+ [])
+AM_CONDITIONAL(ENABLE_NSM_DUMMY, test "x$enable_nsm_dummy" = "xyes")
+
AC_OUTPUT([
Makefile
node-startup-controller/busconf/Makefile