aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-06-26 16:42:06 +0200
committerMax Kellermann <max@duempel.org>2015-06-26 16:42:06 +0200
commit39c5bb95d2764dedd424b7541b48fea1e623e8ca (patch)
treeb3c8769915eb1bf9db80bd35f0af9d65195b7f4c /src
parent4d33b089dae0d97f0144239fcf1d254f51a5fd8f (diff)
downloadmpd-39c5bb95d2764dedd424b7541b48fea1e623e8ca.tar.gz
mpd-39c5bb95d2764dedd424b7541b48fea1e623e8ca.tar.xz
mpd-39c5bb95d2764dedd424b7541b48fea1e623e8ca.zip
CommandLine: show more compile-time features in --version
Diffstat (limited to 'src')
-rw-r--r--src/CommandLine.cxx36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/CommandLine.cxx b/src/CommandLine.cxx
index b63b9b53f..7e3871f70 100644
--- a/src/CommandLine.cxx
+++ b/src/CommandLine.cxx
@@ -150,6 +150,14 @@ static void version(void)
});
printf("\n"
+ "Filters:\n"
+#ifdef ENABLE_LIBSAMPLERATE
+ " libsamplerate"
+#endif
+#ifdef ENABLE_SOXR
+ " soxr"
+#endif
+ "\n\n"
"Tag plugins:\n"
#ifdef ENABLE_ID3TAG
" id3tag"
@@ -199,6 +207,34 @@ static void version(void)
"Protocols:\n");
print_supported_uri_schemes_to_fp(stdout);
+ printf("\n"
+ "Other features:\n"
+#ifdef HAVE_AVAHI
+ " avahi"
+#endif
+#ifdef USE_EPOLL
+ " epoll"
+#endif
+#ifdef HAVE_ICU
+ " icu"
+#endif
+#ifdef ENABLE_INOTIFY
+ " inotify"
+#endif
+#ifdef HAVE_IPV6
+ " ipv6"
+#endif
+#ifdef ENABLE_SYSTEMD_DAEMON
+ " systemd"
+#endif
+#ifdef HAVE_TCP
+ " tcp"
+#endif
+#ifdef HAVE_UN
+ " un"
+#endif
+ "\n");
+
exit(EXIT_SUCCESS);
}