aboutsummaryrefslogtreecommitdiff
path: root/hack/systemd_tag.sh
blob: 19a7bf6a6483098b367dc6dbbdc1d9358b220da3 (plain)
1
2
3
4
5
6
7
#!/usr/bin/env bash
cc -E - > /dev/null 2> /dev/null << EOF
#include <systemd/sd-daemon.h>
EOF
if test $? -eq 0 ; then
	echo systemd
fi