From: Michael Elkins Date: Wed, 2 Jan 2013 23:43:38 +0000 (+0000) Subject: display +/-NCURSES_WIDECHAR when displaying ncurses version to show whether we are... X-Git-Tag: neomutt-20160307~190 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eaaf181e9f34eca96800a13a6149bc87f98a4729;p=neomutt display +/-NCURSES_WIDECHAR when displaying ncurses version to show whether we are linked against -lncurses or -lncursesw --- diff --git a/main.c b/main.c index 1c3d0b763..ce2e68e32 100644 --- a/main.c +++ b/main.c @@ -192,7 +192,13 @@ static void show_version (void) printf (" (%s)", uts.machine); #ifdef NCURSES_VERSION - printf ("\nncurses: %s (compiled with %s)", curses_version(), NCURSES_VERSION); + printf ("\nncurses: %s (compiled with %s) %cNCURSES_WIDECHAR", curses_version(), NCURSES_VERSION, +#ifdef NCURSES_WIDECHAR + '+' +#else + '-' +#endif + ); #elif defined(USE_SLANG_CURSES) printf ("\nslang: %d", SLANG_VERSION); #endif