diff options
author | Christian Hesse <mail@eworm.de> | 2017-03-02 20:41:06 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2017-03-02 20:41:06 +0100 |
commit | b3ca3ac1478c6db962857ef2d69663d718143513 (patch) | |
tree | faf865e867016317f79ee08148c0f3bdfc6a186b | |
parent | b759e9df4b2da57f2fc6dd99d150a375aa6e9081 (diff) | |
download | netlink-notify-b3ca3ac1478c6db962857ef2d69663d718143513.tar.gz netlink-notify-b3ca3ac1478c6db962857ef2d69663d718143513.tar.zst |
add compile time features to version string
-rw-r--r-- | netlink-notify.c | 6 |
1 files changed, 5 insertions, 1 deletions
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); |