podman/hack/systemd_tag.sh
Sascha Grunert d1fc3fc702
Add systemd build tag
If the systemd development files are not present on the system which
builds podman, then `podman events` will error on runtime creation.
Beside this, a warning will be printed when compiling podman.

This commit mainly exists because projects which depend on libpod
would not need the podman event support and therefore do not need to
rely on the systemd headers.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-05-13 14:00:27 +02:00

5 lines
80 B
Bash
Executable file

#!/usr/bin/env bash
if pkg-config --exists libsystemd; then
echo systemd
fi