diff options
author | Colin Watson <cjwatson@debian.org> | 2011-01-03 03:03:40 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2011-01-03 03:03:40 +0000 |
commit | 0f4620d4ac262733db798f986aece1ef03796a12 (patch) | |
tree | 7666943c59a9c7451223d526960f0aa4b7ff3a53 /config.h.in | |
parent | f6d95ff590d165444141825069c4ad6da4680599 (diff) |
Add basic support for the Heirloom Documentation Tools.
* m4/man-heirloom-nroff.m4: New file.
* configure.ac: Call MAN_PROG_HEIRLOOM_NROFF. If successful and an
nroff macro was found, prepend -mg -msafe -mpadj to the nroff and
troff options.
* lib/encodings.c (charset_table) [HEIRLOOM_NROFF]: Disable latin1
and nippon devices.
(device_table) [HEIRLOOM_NROFF]: Add locale device.
* src/man.c (heirloom_line_length) [HEIRLOOM_NROFF]: New function.
(add_roff_line_length): Optionally return a command, which should
be inserted before troff.
(add_roff_line_length) [HEIRLOOM_NROFF]: Support Heirloom, which
needs text inserted at the start of the input.
(make_roff_command) [HEIRLOOM_NROFF]: Use locale device instead of
utf8 in UTF-8 locales. Handle add_roff_line_length return value.
Unset TROFFMACS if running setuid.
(make_browser): Compile only if TROFF_IS_GROFF.
(format_display): Only declare variables related to HTML output if
TROFF_IS_GROFF.
* src/tests/zsoelim-1: Ignore .ll and .lt lines inserted by
heirloom_line_length.
* NEWS: Document this.
Diffstat (limited to 'config.h.in')
-rw-r--r-- | config.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in index 66f55dfa..16b9765d 100644 --- a/config.h.in +++ b/config.h.in @@ -1446,6 +1446,9 @@ /* Define to 1 if you have the `_ftime' function. */ #undef HAVE__FTIME +/* Define if nroff is Heirloom nroff. */ +#undef HEIRLOOM_NROFF + /* Define as const if the declaration of iconv() needs const. */ #undef ICONV_CONST |