]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: support --with-packager-bug-reports
authorPádraig Brady <P@draigBrady.com>
Tue, 28 Jan 2025 18:31:48 +0000 (18:31 +0000)
committerPádraig Brady <P@draigBrady.com>
Tue, 28 Jan 2025 18:35:44 +0000 (18:35 +0000)
* src/system.h (emit_ancillary_info): Output
PACKAGE_PACKAGER_BUG_REPORTS if the build is configured
--with-packager-bug-reports.
Reported by Bruno Haible.

src/system.h

index 10fddf4fe2c6f692aaf918f187255fc001d8a524..4a47e15cac2acab450b0f258b02de06af951060e 100644 (file)
@@ -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);