aboutsummaryrefslogtreecommitdiffstats
path: root/mpd-notification.c
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2017-03-02 20:35:37 +0100
committerGravatar Christian Hesse <mail@eworm.de>2017-03-02 21:22:47 +0100
commit9e11a2255485bea0ddf13575d6de173045f8fc97 (patch)
tree4a74110559743e179c1766186717692a80b152b5 /mpd-notification.c
parenta9ccf14e418a5032c4efff78ce5c8269382a30dd (diff)
downloadmpd-notification-9e11a2255485bea0ddf13575d6de173045f8fc97.tar.gz
mpd-notification-9e11a2255485bea0ddf13575d6de173045f8fc97.tar.zst
add compile time features to version string
Diffstat (limited to 'mpd-notification.c')
-rw-r--r--mpd-notification.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/mpd-notification.c b/mpd-notification.c
index d352c5f..64081a5 100644
--- a/mpd-notification.c
+++ b/mpd-notification.c
@@ -281,7 +281,14 @@ int main(int argc, char ** argv) {
/* say hello */
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
+#ifdef HAVE_LIBAV
+ " +libav"
+#endif
+ " (compiled: " __DATE__ ", " __TIME__ ")\n", program, PROGNAME, VERSION);
if (help > 0)
fprintf(stderr, "usage: %s [-h] [-H HOST] [-m MUSIC-DIR] [-o] [-p PORT] [-s PIXELS] [-t TIMEOUT] [-v] [-V]\n", program);