X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=main.c;h=25d6071eee3d98877539e019858f8f61a61506cb;hp=6f66b2b4b0342b8f8e70a448098c7abf04c494b1;hb=0bf7fde20048a2b0c5af096545979d678aba44cf;hpb=96fa341bc302bf602e096ae49312c478e922cee3 diff --git a/main.c b/main.c index 6f66b2b..25d6071 100644 --- a/main.c +++ b/main.c @@ -1,6 +1,7 @@ /* * Copyright (C) 1996-2002 Michael R. Elkins * Copyright (C) 1999-2002 Thomas Roessler + * Copyright (C) 2004 g10 Code GmbH * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -217,9 +218,15 @@ static void show_version (void) #endif #ifdef USE_FLOCK - "+USE_FLOCK" + "+USE_FLOCK " #else - "-USE_FLOCK" + "-USE_FLOCK " +#endif + +#ifdef USE_INODESORT + "+USE_INODESORT " +#else + "-USE_INODESORT " #endif ); puts ( @@ -266,6 +273,12 @@ static void show_version (void) "-USE_GNUTLS " #endif +#ifdef USE_GNUTLS + "+USE_GNUTLS " +#else + "-USE_GNUTLS " +#endif + #ifdef USE_SASL "+USE_SASL " #else @@ -448,6 +461,18 @@ static void show_version (void) "-HAVE_GETADDRINFO " #endif +#if USE_HCACHE + "+USE_HCACHE " +#else + "-USE_HCACHE " +#endif + +#if USE_HCACHE + "+USE_HCACHE " +#else + "-USE_HCACHE " +#endif + ); #ifdef ISPELL @@ -481,6 +506,7 @@ static void start_curses (void) #ifdef USE_SLANG_CURSES SLtt_Ignore_Beep = 1; /* don't do that #*$@^! annoying visual beep! */ SLsmg_Display_Eight_Bit = 128; /* characters above this are printable */ + SLtt_set_color(0, NULL, "default", "default"); #else /* should come before initscr() so that ncurses 4.2 doesn't try to install its own SIGWINCH handler */ @@ -711,6 +737,9 @@ int main (int argc, char **argv) mutt_init (flags & M_NOSYSRC, commands); mutt_free_list (&commands); + /* Initialize crypto backends. */ + crypt_init (); + if (queries) return mutt_query_variables (queries);