From b3ca3ac1478c6db962857ef2d69663d718143513 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 2 Mar 2017 20:41:06 +0100 Subject: add compile time features to version string --- netlink-notify.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/netlink-notify.c b/netlink-notify.c index 4526ebe..ba55662 100644 --- a/netlink-notify.c +++ b/netlink-notify.c @@ -482,7 +482,11 @@ int main (int argc, char **argv) { } if (verbose > 0) - printf ("%s: %s v%s (compiled: " __DATE__ ", " __TIME__ ")\n", program, PROGNAME, VERSION); + printf ("%s: %s v%s" +#ifdef HAVE_SYSTEMD + " +systemd" +#endif + " (compiled: " __DATE__ ", " __TIME__ ")\n", program, PROGNAME, VERSION); if (help > 0) printf("usage: %s [-h] [-t TIMEOUT] [-v[v]] [-V]\n", program); -- cgit v1.2.3-70-g09d2