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