From: Pádraig Brady Date: Tue, 28 Jan 2025 18:31:48 +0000 (+0000) Subject: doc: support --with-packager-bug-reports X-Git-Tag: v9.7~54 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f45202b7e03ca8cf1d2153a4d939ee7c2d9e8175;p=thirdparty%2Fcoreutils.git doc: support --with-packager-bug-reports * src/system.h (emit_ancillary_info): Output PACKAGE_PACKAGER_BUG_REPORTS if the build is configured --with-packager-bug-reports. Reported by Bruno Haible. --- diff --git a/src/system.h b/src/system.h index 10fddf4fe2..4a47e15cac 100644 --- a/src/system.h +++ b/src/system.h @@ -653,6 +653,13 @@ emit_ancillary_info (char const *program) printf (_("\n%s online help: <%s>\n"), PACKAGE_NAME, PACKAGE_URL); +#ifdef PACKAGE_PACKAGER +# ifdef PACKAGE_PACKAGER_BUG_REPORTS + printf (_("Report %s bugs to: <%s>\n"), PACKAGE_PACKAGER, + PACKAGE_PACKAGER_BUG_REPORTS); +# endif +#endif + /* Don't output this redundant message for English locales. Note we still output for 'C' so that it gets included in the man page. */ char const *lc_messages = setlocale (LC_MESSAGES, nullptr);