From: Brendan Cully Date: Mon, 26 Feb 2007 17:27:29 +0000 (+0000) Subject: Add curses_version to mutt -v output (thanks to Vincent Lefevre for X-Git-Tag: mutt-1-5-15-rel~47^2~46 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3dfcf40268902e421b1888a1471d4a82e4262b88;p=mutt Add curses_version to mutt -v output (thanks to Vincent Lefevre for the initial patch), and reformat library information. --- diff --git a/main.c b/main.c index 4dd54680..e8b7300e 100644 --- a/main.c +++ b/main.c @@ -167,18 +167,18 @@ static void show_version (void) printf (" (%s)", uts.machine); #ifdef NCURSES_VERSION - printf (" [using ncurses %s]", NCURSES_VERSION); + printf ("\nncurses: %s (compiled with %s)", curses_version(), NCURSES_VERSION); #elif defined(USE_SLANG_CURSES) - printf (" [using slang %d]", SLANG_VERSION); + printf ("\nslang: %d", SLANG_VERSION); #endif #ifdef _LIBICONV_VERSION - printf (" [using libiconv %d.%d]", _LIBICONV_VERSION >> 8, + printf ("\nlibiconv: %d.%d", _LIBICONV_VERSION >> 8, _LIBICONV_VERSION & 0xff); #endif #ifdef HAVE_LIBIDN - printf (" [using libidn %s (compiled with %s)]", stringprep_check_version (NULL), + printf ("\nlibidn: %s (compiled with %s)", stringprep_check_version (NULL), STRINGPREP_VERSION); #endif