Don't fail build when systemd unit path not defined
authorDan Nicholson <dbn@endlessos.org>
Fri, 18 Jun 2021 18:35:41 +0000 (12:35 -0600)
committerDan Nicholson <dbn@endlessos.org>
Fri, 18 Jun 2021 18:35:41 +0000 (12:35 -0600)
commitd9ef76a598ca66fba04b4a1de87e20ebf41ebcf2
treeec0492a96b2fd678392a3bdf36054e5a0e8b330c
parent35c5433d713d1350f10ad5d4e9f3444416e2f711
Don't fail build when systemd unit path not defined

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.
src/libostree/ostree-impl-system-generator.c