summaryrefslogtreecommitdiff
path: root/cmake/config.cmake
diff options
context:
space:
mode:
authorChristian Mueller <christian.ei.mueller@bmw.de>2012-05-21 19:00:35 +0200
committerchristian mueller <christian.ei.mueller@bmw.de>2012-05-24 13:40:23 +0200
commit3f65139b2825e654dd0cc36d1cee055b7ac959d9 (patch)
treef9baf9833b8da138428c7ee295f6af7953c7085f /cmake/config.cmake
parenta572fc87a811563f62b88116de699f803915383e (diff)
downloadaudiomanager-3f65139b2825e654dd0cc36d1cee055b7ac959d9.tar.gz
* [GAM-24] Watchdog concept for the AudioManager. This patch introduces the watchdog functionality of the AudioManager. The function is based on the systemd watchdog functionality. The desired time intervals for checking the watchdog can be tweaked by the unit file for systemd. A sample unit file is added to the subdirectory cmake. Via Cmake build option, the watchdog functionality can be switched off.
If the development package from systemd is available it will use the lib that comes with it. If not, the default handler will be compiled along with the audiomanager and this one will be used. Signed-off-by: Christian Mueller <christian.ei.mueller@bmw.de>
Diffstat (limited to 'cmake/config.cmake')
-rw-r--r--cmake/config.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/config.cmake b/cmake/config.cmake
index c492276..4e65e3d 100644
--- a/cmake/config.cmake
+++ b/cmake/config.cmake
@@ -7,6 +7,8 @@
#cmakedefine WITH_DLT
#cmakedefine WITH_TELNET
#cmakedefine GLIB_DBUS_TYPES_TOLERANT
+#cmakedefine WITH_SYSTEMD_WATCHDOG
+#cmakedefine SYSTEMD_FOUND
#cmakedefine DEFAULT_PLUGIN_COMMAND_DIR "@DEFAULT_PLUGIN_COMMAND_DIR@"
#cmakedefine DEFAULT_PLUGIN_ROUTING_DIR "@DEFAULT_PLUGIN_ROUTING_DIR@"