From b83d9e3c95757ab55cddbdd7c22886dacbe106e5 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Sun, 7 Dec 2008 20:02:44 +0100 Subject: [PATCH] options: Include all build options in version output. --- src/options.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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 -- 2.30.2