From 763cb8341f8ae80b05dcebf7c46008f58bbc8fc6 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Sun, 19 Mar 2017 18:08:55 +0100 Subject: [PATCH] make help screen print some more compile time options --- src/main.c | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/src/main.c b/src/main.c index c8c3bf2..b5a39fb 100644 --- a/src/main.c +++ b/src/main.c @@ -1,7 +1,7 @@ /* * mbsync - mailbox synchronizer * Copyright (C) 2000-2002 Michael R. Elkins - * Copyright (C) 2002-2006,2010-2012 Oswald Buddenhagen + * Copyright (C) 2002-2006,2010-2017 Oswald Buddenhagen * * 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 @@ -64,7 +64,7 @@ usage( int code ) fputs( PACKAGE " " VERSION " - mailbox synchronizer\n" "Copyright (C) 2000-2002 Michael R. Elkins \n" -"Copyright (C) 2002-2006,2008,2010-2012 Oswald Buddenhagen \n" +"Copyright (C) 2002-2006,2008,2010-2017 Oswald Buddenhagen \n" "Copyright (C) 2004 Theodore Ts'o \n" "usage:\n" " " EXE " [flags] {{channel[:box,...]|group} ...|-a}\n" @@ -91,9 +91,29 @@ PACKAGE " " VERSION " - mailbox synchronizer\n" "\nSupported mailbox formats are: IMAP4rev1, Maildir\n" "\nCompile time options:\n" #ifdef HAVE_LIBSSL -" +HAVE_LIBSSL\n" +" +HAVE_LIBSSL" #else -" -HAVE_LIBSSL\n" +" -HAVE_LIBSSL" +#endif +#ifdef HAVE_LIBSASL +" +HAVE_LIBSASL" +#else +" -HAVE_LIBSASL" +#endif +#ifdef HAVE_LIBZ +" +HAVE_LIBZ" +#else +" -HAVE_LIBZ" +#endif +#ifdef USE_DB +" +USE_DB" +#else +" -USE_DB" +#endif +#ifdef HAVE_IPV6 +" +HAVE_IPV6\n" +#else +" -HAVE_IPV6\n" #endif , code ? stderr : stdout ); exit( code );