github.com/containers/podman/v5@v5.1.0-rc1/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