From: Sebastian Harl Date: Sun, 7 Dec 2008 19:02:44 +0000 (+0100) Subject: options: Include all build options in version output. X-Git-Tag: release-0.13~82 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b83d9e3c95757ab55cddbdd7c22886dacbe106e5;p=ncmpc.git options: Include all build options in version output. --- diff --git a/src/options.c b/src/options.c index 3c77fb4..63674ef 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