diff options
author | Christian Hesse <mail@eworm.de> | 2017-03-02 20:43:39 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2017-03-02 20:43:39 +0100 |
commit | a42c9ec106a2927f4d7af5a35547a9f212d62c9f (patch) | |
tree | 7479872dbc3fd171ca5b7a3cdb314a94cda34a07 | |
parent | 6220ed0444b2855400339dfadb6e65364c1251dd (diff) | |
download | udev-block-notify-a42c9ec106a2927f4d7af5a35547a9f212d62c9f.tar.gz udev-block-notify-a42c9ec106a2927f4d7af5a35547a9f212d62c9f.tar.zst |
add compile time features to version string
-rw-r--r-- | udev-block-notify.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/udev-block-notify.c b/udev-block-notify.c index ee86208..b44a634 100644 --- a/udev-block-notify.c +++ b/udev-block-notify.c @@ -107,7 +107,11 @@ int main (int argc, char ** argv) { } if (verbose > 0) - printf("%s: %s v%s (compiled: " __DATE__ ", " __TIME__ ")\n", argv[0], PROGNAME, VERSION); + printf("%s: %s v%s" +#ifdef HAVE_SYSTEMD + " +systemd" +#endif + " (compiled: " __DATE__ ", " __TIME__ ")\n", argv[0], PROGNAME, VERSION); if (help > 0) printf("usage: %s [-h] [-t TIMEOUT] [-v] [-V]\n", argv[0]); |