From fba1b26575c75390be28a8a020953f030114df87 Mon Sep 17 00:00:00 2001 From: Jonathan Maw Date: Mon, 1 Dec 2014 12:59:33 +0000 Subject: Disable the NSM dummy by default The Node State Manager now exists, so the dummy is not required. --- Makefile.am | 5 ++++- configure.ac | 11 +++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1