2019-05-08 06:49:08 +00:00
|
|
|
#!/usr/bin/env bash
|
2020-11-06 08:03:32 +00:00
|
|
|
${CPP:-${CC:-cc} -E} ${CPPFLAGS} - > /dev/null 2> /dev/null << EOF
|
2019-12-16 10:42:14 +00:00
|
|
|
#include <systemd/sd-daemon.h>
|
|
|
|
EOF
|
|
|
|
if test $? -eq 0 ; then
|
|
|
|
echo systemd
|
2019-05-08 06:49:08 +00:00
|
|
|
fi
|