diff options
author | Max Kellermann <max@duempel.org> | 2015-06-26 16:42:06 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-06-26 16:42:06 +0200 |
commit | 39c5bb95d2764dedd424b7541b48fea1e623e8ca (patch) | |
tree | b3c8769915eb1bf9db80bd35f0af9d65195b7f4c | |
parent | 4d33b089dae0d97f0144239fcf1d254f51a5fd8f (diff) | |
download | mpd-39c5bb95d2764dedd424b7541b48fea1e623e8ca.tar.gz mpd-39c5bb95d2764dedd424b7541b48fea1e623e8ca.tar.xz mpd-39c5bb95d2764dedd424b7541b48fea1e623e8ca.zip |
CommandLine: show more compile-time features in --version
Diffstat (limited to '')
-rw-r--r-- | src/CommandLine.cxx | 36 |
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); } |