+if dep_libsystemd.found()
+ config_h.set('HAVE_SYSTEMD', 1)
+
+ srcs_agl_compositor += 'src/systemd-notify.c'
+ deps_libweston += dep_libsystemd
+
+ message('Found systemd, enabling notify support')
+endif
+
+configure_file(output: 'config.h', configuration: config_h)
+