]> 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:02:17 +0000 (17:02 +0200)
commit4d743ba20677eef90bd4ea49580bd29566ee9910
tree94ccc51b28c37d59880433ad561a59c6bc9ad53c
parent26c8529d0ee30d79579024a43da2c77275ee586e
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