In configure the systemd unit path is optional, but in the code it's
assumed to be defined. Add an `#ifdef` that throws an error when it's
not defined like the handling of `HAVE_LIBMOUNT` below it.
const char *late_dir,
GError **error)
{
+#ifdef SYSTEM_DATA_UNIT_PATH
GCancellable *cancellable = NULL;
glnx_autofd int normal_dir_dfd = -1;
return glnx_throw_errno_prefix (error, "symlinkat");
return TRUE;
+#else
+ return glnx_throw (error, "Not implemented");
+#endif
}
/* Generate var.mount */