Add --with-prioritised-luc-types=foo,bar configure option
authorJannis Pohlmann <jannis.pohlmann@codethink.co.uk>
Fri, 15 Jun 2012 15:29:09 +0000 (16:29 +0100)
committerJannis Pohlmann <jannis.pohlmann@codethink.co.uk>
Tue, 19 Jun 2012 13:40:04 +0000 (14:40 +0100)
This option results in a PRIORITISED_LUC_TYPES define in config.h. The
LUCStarter can then parse that to find out in which order to start the
applications in the LUC.

configure.ac

index 13297c9..1188850 100644 (file)
@@ -121,6 +121,17 @@ else
   AC_MSG_RESULT([no])
 fi
 
+dnl ***************************************************
+dnl *** Configure option for prioritising LUC types ***
+dnl ***************************************************
+AC_ARG_WITH([prioritised-luc-types],
+           [AS_HELP_STRING([--with-prioritised-luc-types=LIST],
+                           [Comma-separated list of LUC types to be prioritised during start-up])],
+           [with_prioritised_luc_types=$withval], [with_prioritised_luc_types=])
+AC_DEFINE_UNQUOTED([PRIORITISED_LUC_TYPES],
+                  ["$with_prioritised_luc_types"],
+                  [Prioritised LUC types])
+
 AC_OUTPUT([
 Makefile
 boot-manager/Makefile