]> git.ipfire.org Git - thirdparty/gettext.git/commit
xgettext: Give a hint about --no-git when max_vc_mtime() took more than 10 sec.
authorBruno Haible <bruno@clisp.org>
Fri, 2 May 2025 15:02:17 +0000 (17:02 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 2 May 2025 15:04:04 +0000 (17:04 +0200)
commitec9dbddb54ce6cb9a358d1822408216ae05ed47a
treee9762d22116fe23e0d9011d201f5c6a2236e55e6
parent59782d1f8cc54be387273e3023a4ddcd6416590a
xgettext: Give a hint about --no-git when max_vc_mtime() took more than 10 sec.

* autogen.sh (GNULIB_MODULES_TOOLS_FOR_SRC): Add getrusage.
* gettext-tools/src/xgettext.c: Include <sys/resource.h>.
(max_mtime): New function.
(finalize_header): Invoke it.
autogen.sh
gettext-tools/src/xgettext.c