From: Arun Persaud Date: Sat, 23 Nov 2013 18:17:39 +0000 (-0800) Subject: output configure options when looking at --version X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=26ce8c65cece5e82b8d08d75b253061c9037b09d;p=xboard.git output configure options when looking at --version --- diff --git a/gtk/xboard.c b/gtk/xboard.c index cf1b4e0..33aa548 100644 --- a/gtk/xboard.c +++ b/gtk/xboard.c @@ -727,7 +727,7 @@ main (int argc, char **argv) debugFP = stderr; if(argc > 1 && (!strcmp(argv[1], "-v" ) || !strcmp(argv[1], "--version" ))) { - printf("%s version %s\n", PACKAGE_NAME, PACKAGE_VERSION); + printf("%s version %s\n\n configure options: %s\n", PACKAGE_NAME, PACKAGE_VERSION, CONFIGURE_OPTIONS); exit(0); } diff --git a/xaw/xboard.c b/xaw/xboard.c index 4b4d864..b59b961 100644 --- a/xaw/xboard.c +++ b/xaw/xboard.c @@ -1107,7 +1107,7 @@ main (int argc, char **argv) debugFP = stderr; if(argc > 1 && (!strcmp(argv[1], "-v" ) || !strcmp(argv[1], "--version" ))) { - printf("%s version %s\n", PACKAGE_NAME, PACKAGE_VERSION); + printf("%s version %s\n\n configure options: %s\n", PACKAGE_NAME, PACKAGE_VERSION, CONFIGURE_OPTIONS); exit(0); }