diff --git a/configure.ac b/configure.ac index e2e4d63da1..45cf92dae0 100644 --- a/configure.ac +++ b/configure.ac @@ -2,6 +2,7 @@ AC_PREREQ(2.65) AC_INIT([xrdp], [0.9.24], [xrdp-devel@googlegroups.com]) +AC_DEFINE([VERSION_YEAR], 2024, [Copyright year]) AC_CONFIG_HEADERS(config_ac.h:config_ac-h.in) AM_INIT_AUTOMAKE([1.7.2 foreign]) AC_CONFIG_MACRO_DIR([m4]) diff --git a/sesman/sesman.c b/sesman/sesman.c index 1155154f82..b8300d86a3 100644 --- a/sesman/sesman.c +++ b/sesman/sesman.c @@ -567,8 +567,9 @@ print_version(void) { g_writeln("xrdp-sesman %s", PACKAGE_VERSION); g_writeln(" The xrdp session manager"); - g_writeln(" Copyright (C) 2004-2020 Jay Sorg, " - "Neutrino Labs, and all contributors."); + g_writeln(" Copyright (C) 2004-%d Jay Sorg, " + "Neutrino Labs, and all contributors.", + VERSION_YEAR); g_writeln(" See https://github.com/neutrinolabs/xrdp for more information."); g_writeln("%s", ""); diff --git a/xrdp/xrdp.c b/xrdp/xrdp.c index 60d805d211..9231051e60 100644 --- a/xrdp/xrdp.c +++ b/xrdp/xrdp.c @@ -55,8 +55,9 @@ print_version(void) { g_writeln("xrdp %s", PACKAGE_VERSION); g_writeln(" A Remote Desktop Protocol Server."); - g_writeln(" Copyright (C) 2004-2020 Jay Sorg, " - "Neutrino Labs, and all contributors."); + g_writeln(" Copyright (C) 2004-%d Jay Sorg, " + "Neutrino Labs, and all contributors.", + VERSION_YEAR); g_writeln(" See https://github.com/neutrinolabs/xrdp for more information."); g_writeln("%s", "");