aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2025-01-28 18:31:48 +0000
committerPádraig Brady <P@draigBrady.com>2025-01-28 18:35:44 +0000
commitf45202b7e03ca8cf1d2153a4d939ee7c2d9e8175 (patch)
tree87f5ff5c5af651334160afd5c52bc42f9843d131
parentsort: drop "note" from a --debug message (diff)
downloadcoreutils-f45202b7e03ca8cf1d2153a4d939ee7c2d9e8175.tar.gz
coreutils-f45202b7e03ca8cf1d2153a4d939ee7c2d9e8175.zip
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.
-rw-r--r--src/system.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/system.h b/src/system.h
index 10fddf4fe..4a47e15ca 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);