diff options
author | Sebastian Harl <sh@tokkee.org> | 2008-12-07 20:02:44 +0100 |
---|---|---|
committer | Sebastian Harl <sh@tokkee.org> | 2008-12-07 20:02:44 +0100 |
commit | b83d9e3c95757ab55cddbdd7c22886dacbe106e5 (patch) | |
tree | bd21448272e6d7a7ba36b763188533f4c3a553c4 | |
parent | f45a510cc47ffe88b13374d92e34170f76ede081 (diff) | |
download | mpd-b83d9e3c95757ab55cddbdd7c22886dacbe106e5.tar.gz mpd-b83d9e3c95757ab55cddbdd7c22886dacbe106e5.tar.xz mpd-b83d9e3c95757ab55cddbdd7c22886dacbe106e5.zip |
options: Include all build options in version output.
-rw-r--r-- | src/options.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/options.c b/src/options.c index 3c77fb4d6..63674ef5c 100644 --- a/src/options.c +++ b/src/options.c @@ -158,9 +158,15 @@ handle_option(int c, const char *arg) case 'V': /* --version */ puts(PACKAGE " version: " VERSION "\n" "build options:" +#ifdef NCMPC_MINI + " mini" +#endif #ifndef NDEBUG " debug" #endif +#ifdef ENABLE_WIDE + " wide" +#endif #ifdef ENABLE_NLS " nls" #endif @@ -169,18 +175,30 @@ handle_option(int c, const char *arg) #else " no-colors" #endif +#ifdef ENABLE_LIRC + " lirc" +#endif #ifdef HAVE_GETMOUSE " getmouse" #endif #ifdef ENABLE_ARTIST_SCREEN " artist-screen" #endif +#ifdef ENABLE_HELP_SCREEN + " help-screen" +#endif #ifdef ENABLE_SEARCH_SCREEN " search-screen" #endif +#ifdef ENABLE_SONG_SCREEN + " song-screen" +#endif #ifdef ENABLE_KEYDEF_SCREEN " key-screen" #endif +#ifdef ENABLE_LYRICS_SCREEN + " lyrics-screen" +#endif #ifdef ENABLE_OUTPUTS_SCREEN " outputs-screen" #endif |