Use SIGHUP instead of SIGINT for simulating an NSM shutdown
[profile/ivi/node-startup-controller.git] / configure.ac
index 14f0d8f..250216f 100644 (file)
@@ -3,7 +3,7 @@ dnl *** Version information ***
 dnl ***************************
 m4_define([boot_manager_version_api_major], [1])
 m4_define([boot_manager_version_major], [0])
-m4_define([boot_manager_version_minor], [0])
+m4_define([boot_manager_version_minor], [1])
 m4_define([boot_manager_version_micro], [0])
 m4_define([boot_manager_version], [boot_manager_version_major().boot_manager_version_minor().boot_manager_version_micro()])
 
@@ -87,6 +87,7 @@ PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.30.0])
 PKG_CHECK_MODULES([GIO], [gio-2.0 >= 2.30.0])
 PKG_CHECK_MODULES([GIO_UNIX], [gio-unix-2.0 >= 2.30.0])
 PKG_CHECK_MODULES([SYSTEMD_DAEMON], [libsystemd-daemon >= 37])
+PKG_CHECK_MODULES([DLT], [automotive-dlt >= 2.2.0])
 
 dnl *********************************************
 dnl *** Include GLib/GSettings specific stuff ***
@@ -110,7 +111,7 @@ if test x"$enable_debug" = x"yes"; then
             -Wno-unused-parameter -Wold-style-definition \
             -Wdeclaration-after-statement \
             -Wmissing-declarations \
-            -Wmissing-noreturn -Wshadow -Wpointer-arith \
+            -Wmissing-noreturn -Wpointer-arith \
             -Wcast-align -Wformat-security \
             -Winit-self -Wmissing-include-dirs -Wundef \
             -Wmissing-format-attribute -Wnested-externs \
@@ -121,12 +122,28 @@ 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
+common/Makefile
+boot-manager/busconf/Makefile
 boot-manager/Makefile
 legacy-app-handler/Makefile
-luc-handler/Makefile
-luc-handler/org.genivi.LUCHandler1.gschema.xml
+nsm-dummy/busconf/Makefile
+nsm-dummy/dbus/Makefile
+nsm-dummy/systemd/Makefile
+nsm-dummy/Makefile
 tests/Makefile
-tests/luc-handler/Makefile
+tests/boot-manager/Makefile
+tests/legacy-app-handler/Makefile
 ])