github.com/hanks177/podman/v4@v4.1.3-0.20220613032544-16d90015bc83/hack/systemd_tag.sh (about)

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