From 4de50f49a1a20e59b2a97743ac80b85920e94ac5 Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Sun, 12 Feb 2023 13:27:15 +0100 Subject: Add info about compile features to --version --- src/global.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/global.h') diff --git a/src/global.h b/src/global.h index 036765b8..5a29796d 100644 --- a/src/global.h +++ b/src/global.h @@ -128,6 +128,15 @@ public: if (Ledger_VERSION_DATE != 0) out << '-' << Ledger_VERSION_DATE; out << _(", the command-line accounting tool"); + out << _("\nwith"); +#if !HAVE_GPGME + out << _("out"); +#endif + out << _(" support for gpg encrypted journals and with"); +#if !HAVE_BOOST_PYTHON + out <<_("out"); +#endif + out << _(" Python support"); out << _("\n\nCopyright (c) 2003-2023, John Wiegley. All rights reserved.\n\n\ This program is made available under the terms of the BSD Public License.\n\ -- cgit v1.2.3