| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
...and variables.
* configure.ac: Stop calling `GROFF_POPPLER`. Stop populating the
Automake conditional `HAVE_PDFTOOLS`. Eliminate chatter about their
availability in the configuration report.
* m4/groff.m4 (GROFF_POPPLER): Delete.
|
|
|
|
|
|
|
|
|
|
| |
* m4/groff.m4 (GROFF_URW_FONTS_NOTICE): Adapt wording of notice to
presence and identity of Ghostscript interpreter command. Clarify
that it is gropdf(1) specifically that traverses the Ghostscript
search path reported by its "-h" option.
Continues <https://savannah.gnu.org/bugs/?63808>. Thanks to Deri James
for the ongoing discussion.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* font/devpdf/tests/check-default-foundry.sh.in: Test only the base 14
fonts of the PDF standard unconditionally. Test the remainder from
the set of 35 commonly distributed only if a Ghostscript interpreter
was detected at configuration time, because the latter fonts _must_ be
embedded in PDF documents. If they're not present, skip the test
rather than failing it.
* font/devpdf/tests/check-urw-foundry.sh.in: Skip test if no URW fonts
detected at configuration time, rather than failing it.
* m4/groff.m4 (GROFF_GROPDF_PROGRAM_NOTICE, GROFF_URW_FONTS_NOTICE):
Drop warnings of expected test failures. The tests no longer fail in
the anticipated circumstances.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[build]: Stop scraping output of Ghostscript executable with "-h" option
to attempt to find URW fonts. Fonts that ship with Ghostscript are
regarded as the "default" foundry, not the URW foundry (though they
often ultimately originate with URW fonts). They are often missing
Adobe Font Metric (AFM) files, so it is impossible for groff to generate
font description files for them at build time.
* m4/groff.m4 (GROFF_URW_FONTS_CHECK): Drop `AC_REQUIRE` on
`GROFF_AWK_PATH`. Drop awk-based scraping of Ghostscript "-h" output.
Annotate need for sync between this list of characteristic font file
names and the one in BuildFoundries.
Thanks to Deri James for the ongoing discussions.
|
|
|
|
|
|
|
|
| |
* m4/groff.m4 (GROFF_URW_FONTS_CHECK): When looking for a characteristic
URW font by its file name, also check for "URWGothic-Book" with no
file extension. Avoids false negatives in URW Type 1 font detection
when using Ghostscript 9.53.3. Thanks to Deri James for suggesting
the test procedure that uncovered this flaw.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[gropdf]: Revise tests to run unconditionally, rather than configuring
them away at build time, which can cause a distribution archive to be
incorrectly structured. Update configuration notices when optional
dependencies are absent.
* font/devpdf/devpdf.am (font_devpdf_TESTS): Remove `USE_GROPDF` and
`HAVE_URW_FONTS` conditionals.
* m4/groff.m4 (GROFF_GROPDF_PROGRAM_NOTICE, GROFF_URW_FONTS_NOTICE):
Warn reader that a gropdf test failure is to be expected.
Fixes <https://savannah.gnu.org/bugs/?63824> (2/2).
ANNOUNCE: Update bug counts.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[grohtml]: Revise tests to check for requisite programs at test time and
skip if not found, rather than configuring them away at build time,
which can cause a distribution archive to be incorrectly structured.
* m4/groff.m4: Annotate requisite program list since we're violating the
DRY principle.
* src/roff/groff/groff.am (groff_TESTS): Populate unconditionally.
* src/roff/groff/tests/html_works_with_grn_and_eqn.sh:
* src/roff/groff/tests/smoke-test_html_device.sh: Check for requisite
programs and skip test if any are not found.
Fixes <https://savannah.gnu.org/bugs/?63824> (1/2).
|
|
|
|
|
|
|
| |
* m4/groff.m4 (GROFF_MAKE_DEFINES_RM): Test the make(1) in the
environment variable $MAKE if defined, instead a literal "make".
Required on (some) Solaris 10 configurations where traditional make(1)
is not installed but GNU make is installed as "gmake".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* m4/groff.m4: Give pdfroff its own Autoconf macros to handle dependency
checking, build objectives, and user notice.
(GROFF_PDFROFF_DEPENDENCIES_CHECK): New macro requires
`GROFF_AWK_PATH` and `GROFF_GHOSTSCRIPT_PATH`, determines whether
pdfroff can be used at build time, and (if not) constructs part of
message to be shown to user explaining why.
(GROFF_PDFROFF_PROGRAM_NOTICE): New macro requires
`GROFF_PDFROFF_DEPENDENCIES_CHECK` and emits message if needed.
(GROFF_GHOSTSCRIPT_AVAILABILITY_NOTICE): Drop mention of impact on
pdfroff since its dedicated notice covers this now.
* configure.ac: Call the new macros at appropriate times. Produce a new
Automake macro, `USE_PDFROFF`, to replace inapposite use of
`USE_GROPDF` in pdfmark.am.
* contrib/pdfmark/pdfmark.am: Use `USE_PDFROFF` instead of `USE_GROPDF`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* m4/groff.m4 (GROFF_GROPDF_DEPENDENCIES_CHECK): Add `AC_REQUIRE`ment on
`GROFF_URW_FONTS_CHECK`. Per discussion with Deri James, if _either_
Ghostscript or the URW fonts are avilable, gropdf will be fully
functional, consequent to commit d5515, 22 June. Drop dependency on
awk; it is used only at configuration time (in an Autoconf macro) and
since Savannah #62775 was resolved (19 September), it has not been
strictly necessary. (It is useful for searching more locations for
URW fonts, but several others are searched even if it is absent.)
Stop populating notice text here, instead moving it...
(GROFF_GROPDF_PROGRAM_NOTICE): ...here, since it no longer needs to be
dynamically constructed.
Continues <https://savannah.gnu.org/bugs/?63808>. Thanks to Deri James
for the continued discussion.
|
|
|
|
|
|
|
|
|
| |
[build]: Rename `GROFF_CHECK_GROPDF_PROGRAMS` macro to
`GROFF_GROPDF_DEPENDENCIES_CHECK` to generalize for greater accuracy in
forthcoming change.
* configure.ac:
* m4/groff.m4: Do it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac: Call new macro `GROFF_GHOSTSCRIPT_AVAILABILITY_NOTICE`.
Call `GROFF_GHOSTSCRIPT_VERSION_NOTICE` after it, but before
`GROFF_URW_FONTS_NOTICE`.
* m4/groff.m4 (GROFF_AWK_NOTICE): New macro produces warning if no awk
could be found. This reduces gropdf functionality, but so do missing
URW fonts, so we report this problem separately. Report the names
under which we sought it, since there's configure script option for
that.
(GROFF_GHOSTSCRIPT_AVAILABILITY_NOTICE): New macro explains
consequences of missing optional dependency on Ghostscript program:
reduced grohtml functionality, nonfunctional pdfroff. Report the
names under which we sought it, since there's configure script option
for that.
(GROFF_CHECK_GROPDF_PROGRAMS): Simplify the computational grammar.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* m4/groff.m4 (GROFF_CHECK_GROPDF_PROGRAMS): Better characterize
gropdf's reduced function, pointing out the ways in which it would be
more useful if the dependencies were met.
(GROFF_URW_FONTS_NOTICE): Identify 'U' as the foundry name gropdf uses
for the URW fonts. Confirm continuing availability of most recent URW
fonts release; bump date.
Fixes <https://savannah.gnu.org/bugs/?63808>. Thanks to Deri James for
the report and extremely helpful pseudocode.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
...for maintainability and comprehensibility.
* m4/groff.m4 (GROFF_GHOSTSCRIPT_VERSION_CHECK, GROFF_URW_FONTS_NOTICE):
Add macro dependency on `GROFF_GHOSTSCRIPT_PATH`, which should have
been there already.
(GROFF_GROHTML_PROGRAM_NOTICE): Add macro dependency on
`GROFF_CHECK_GROHTML_PROGRAMS`, which should have been there already.
(GROFF_CHECK_GROHTML_PROGRAMS, GROFF_CHECK_GROPDF_PROGRAMS,
GROFF_PNMTOOLS_CAN_BE_QUIET): Move `AC_REQUIRE` expansions to precede
shell variable assignments (after checking that the required macros
don't clobber the assignments we're making).
Add dnl annotations to assist maintainers.
Also stop uselessly quoting some literals.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* font/devpdf/tests/basic-fonts-present.sh: Revise test. Improve
explanation of why we're looking for the gs(1) command in a font
availability test. Prefix diagnostic output with name of test script.
Perform a search for the 'ps' device font descriptions that will work
in more build scenarios (i.e., don't assume an out-of-tree build
taking place in an immediate subdirectory of the source). Distinguish
failure to find the font descriptions from a failure to locate the
'gs' command, skipping the test in both scenarios. Reduce noise in
output.
* m4/groff.m4 (GROFF_CHECK_GROPDF_PROGRAMS): Revise warning issued when
awk and Ghostscript are unavailable; gropdf will not be completely
inoperative. Characterize its reduced function.
Thanks to Deri James in <https://lists.gnu.org/archive/html/\
groff-commit/2023-02/msg00089.html> for prompting me to take a another
look at this.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Correct numerous typos and solecisms throughout the source tree.
* ChangeLog:
* ChangeLog.115:
* ChangeLog.116:
* ChangeLog.117:
* ChangeLog.118:
* ChangeLog.119:
* ChangeLog.121:
* ChangeLog.122:
* Makefile.am:
* NEWS:
* PROBLEMS:
* README:
* contrib/chem/chem.am:
* contrib/chem/chem.pl:
* contrib/glilypond/README.txt:
* contrib/glilypond/glilypond.pl:
* contrib/hdtbl/groff_hdtbl.7.man:
* contrib/mm/ChangeLog:
* contrib/mm/m.tmac:
* contrib/pdfmark/pdfmark.ms:
* doc/automake.mom:
* doc/groff.texi:
* doc/me-revisions:
* doc/webpage.ms:
* m4/lib-link.m4:
* man/groff.7.man:
* man/groff_diff.7.man:
* man/roff.7.man:
* src/devices/grohtml/post-html.cpp:
* src/devices/grolbp/lbp.h:
* src/devices/gropdf/TODO:
* src/devices/gropdf/gropdf.1.man:
* src/devices/gropdf/gropdf.pl:
* src/devices/xditview/ChangeLog:
* src/devices/xditview/xditview.c:
* src/libs/libdriver/input.cpp:
* src/libs/libgroff/glyphuni.cpp:
* src/preproc/eqn/eqn.1.man:
* src/preproc/grn/gprint.h:
* src/preproc/grn/main.cpp:
* src/preproc/html/pre-html.cpp:
* src/preproc/preconv/preconv.cpp:
* src/preproc/tbl/table.cpp:
* src/roff/groff/pipeline.c:
* src/roff/groff/tests/substring_works.sh:
* src/roff/groff/tests/use_point_size_escape_with_single_digit_arg.sh:
* src/roff/troff/div.cpp:
* src/roff/troff/input.cpp:
* src/roff/troff/troff.1.man:
* src/utils/grog/grog.pl:
* src/utils/indxbib/indxbib.cpp:
* src/utils/tfmtodit/tfmtodit.1.man:
* tmac/doc-old.tmac:
* tmac/doc.tmac:
* tmac/groff_man.7.man.in:
* tmac/hyphen.fr: Do it.
Fixes <https://savannah.gnu.org/bugs/?63589>. Thanks to Bjarni Ingi
Gislason for the report.
* ANNOUNCE: Update bug counts.
I also killed some pointless white space, refilled affected lines at 72
columns where convenient and non-disruptive to existing text flow, and
corrected a misspelling of Ralph Corderoy's surname.
|
|
|
|
|
|
|
|
|
|
|
| |
* m4/groff.m4 (GROFF_POPPLER): Improve shell code portability. Per the
GNU Autoconf manual, "The -a, -o, '(', and ')' operands are not
present in all implementations, and have been marked obsolete by Posix
2008. ...portable uses of test should never have more than four
arguments, and scripts should use shell constructs like '&&' and '||'
instead."
Continues commit 1e4d06f1dc, 24 May.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Migrate terminology from "paper size" to "paper format" or "paper
dimensions" as appropriate in documentation and diagnostic messages.
"Format" implies an orientation (which can be overridden in many cases)
whereas size does not. When only the magnitudes of measurements are at
issue (mainly for internal purposes), use the term "dimensions".
* NEWS:
* PROBLEMS:
* doc/groff.texi:
* m4/groff.m4 (GROFF_PAGE):
* man/groff_font.5.man:
* man/groff_tmac.5.man:
* src/devices/grodvi/dvi.cpp (main):
* src/devices/grolbp/grolbp.1.man:
* src/devices/grolbp/lbp.cpp (main):
* src/devices/grolj4/grolj4.1.man:
* src/devices/grolj4/lj4.cpp (lj4_printer::lj4_printer, main):
* src/devices/grolj4/lj4_font.5.man:
* src/devices/gropdf/gropdf.1.man:
* src/devices/grops/grops.1.man:
* src/devices/grops/ps.cpp (main):
* src/roff/groff/groff.1.man:
* tmac/papersize.tmac: Do it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* m4/groff.m4: Try to make gropdf's search for URW font files more
deterministic. To disambiguate cases where multiple--not necessarily
identical--copies may be found on the system, search _only_ in the
directory given to the `--with-urw-fonts-dir` configure option, if
present. This populates the "Foundry" file generated by the build,
causing gropdf to search there first.
(GROFF_URW_FONTS_PATH): Stop `AC_SUBST`ing `urwfontsdir` here.
(GROFF_URW_FONTS_CHECK): `AC_REQUIRE` `GROFF_URW_FONTS_CHECK` to be
run first. If `urwfontsdir` is not null, search only there for URW
fonts. Assign `urwfontsdir` the value of the directory in which the
fonts are found. Assign it an empty value if none are found. Either
way, `AC_SUBST` the variable.
Attempts to fix <https://savannah.gnu.org/bugs/?62860> (1/2).
|
|
|
|
|
| |
Tidy up after previous commit. Also put blank lines between control
structures for readability.
|
|
|
|
|
|
|
|
|
|
|
| |
* m4/groff.m4 (GROFF_URW_FONTS_CHECK): If Ghostscript or awk are
unavailable, skip only the prepopulation of the URW font search path
instead of the entire check. This way we still locate the URW fonts
if they are in one of several standard locations.
Fixes <https://savannah.gnu.org/bugs/?62775>.
This commit does _not_ update indentation, for clarity.
|
|
|
|
| |
See previous reversion commit for rationale.
|
|
|
|
|
|
|
|
| |
* m4/groff.m4 (GROFF_PAGE): Use 'grep -q' instead of redirecting
standard output to null device. The '-q' option was standardized in
POSIX Issue 5 (1997). Also drop the redirection of the standard error
stream; we have already checked the file named in "$descfile" for
existence and readability. grep should not emit diagnostic messages.
|
|
|
|
| |
Update indentation and "brace style" to match recent practice.
|
|
|
|
|
|
|
|
|
|
| |
* m4/groff.m4 (GROFF_PAGE): Macro used awk(1) without `AC_REQUIRE`-ing a
relevant macro or checking for its existence. Fortunately, sed is
powerful enough for our needs. Remove dependency on awk. Cope with
"search" directive in resolv.conf having multiple arguments. Match
"domain" directive in same file instead of "dom", which I cannot find
attested (this logic dates to 1991). Rename `dom` shell variable to
`domains` for clarity, since its multiplicity could be greater than 1.
|
|
|
|
|
| |
* m4/groff.m4 (GROFF_PAGE): Refactor: drop AC_DEFINE of `PAGEA4`. This
symbol appears to be a relic; it is nowhere tested or dereferenced.
|
|
|
|
| |
OK deri@ gbranden@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[build]: Weaken dependency on TeX, instead using it (to generate the DVI
and PDF forms of our Texinfo manual) only if it is available.
* m4/groff.m4 (GROFF_USE_TEX_CHECK): Check for presence of 'tex'
executable in path. Set shell variable `groff_use_tex` to "yes" if
present, and "no" otherwise. This check runs only if the 'makeinfo'
and 'texi2dvi' version checks have already passed.
* configure.ac: Run the new check. Set Automake conditional `USE_TEX`
only if shell variable `groff_use_tex` is "yes". Report whether
"groff.dvi" and "groff.pdf" are (re-)buildable.
* doc/doc.am: Parameterize names of groff.{dvi,pdf} targets as Make
macros `GROFF_DVI` and `GROFF_PDF`. Define them only if `USE_TEX`.
Do _not_ update `EXTRA_DIST` macro; leave the literal file names there
because we require that distribution archives contain these files.
(.texi.dvi, .texi.pdf): Update suffix rules to check `USE_TEX` and
fail, complaining of missing 'tex' program, if these targets are
attempted without it being true. Only manually specifying the file
names as targets to 'make' or attempting to generate a distribution
archive without TeX present should cause these errors.
* INSTALL.REPO: Update dependency information.
Fixes <https://savannah.gnu.org/bugs/?62592>. Thanks to Deri James for
the report.
|
|
|
|
|
|
|
|
|
|
| |
* m4/groff.m4 (GROFF_PROG_MAKEINFO, GROFF_PROG_TEXI2DVI): Largely revert
commit d5013ededc, 21 May: run checks for 'makeinfo' and 'texi2dvi'
programs regardless of presence of ".tarball-version" file. Their
presence is a necessary (but not sufficient) condition for refresh of
formatted forms of our Texinfo manual if the source is modified.
Begins addressing <https://savannah.gnu.org/bugs/?62592>.
|
|
|
|
|
|
|
|
|
|
|
|
| |
... to better match Autoconf's own naming conventions.
* m4/groff.m4 (GROFF_MAKEINFO): Rename to...
(GROFF_PROG_MAKEINFO): ...this.
(GROFF_TEXI2DVI): Rename to...
(GROFF_PROG_TEXI2DVI): ...this.
* configure.ac:
* m4/groff.m4 (GROFF_TEXI2DVI): Update call sites.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[build]: Rename shell variables and Autoconf/Automake macros of Boolean
sense to have names more like logical predicates and avoid doofy "DONT"
nomenclature.
* m4/groff.m4 (GROFF_MAKE_RM): Rename shell variable
`groff_is_rm_defined` to `groff_make_defines_rm` (purely for clarity;
it already had a good name).
(GROFF_MAKE_RM): Rename this...
(GROFF_MAKE_DEFINES_RM): to this, to make parallelism obvious, and
enabling...
* configure.ac: ...rename of `MAKE_DONT_HAVE_RM` to `MAKE_DEFINES_RM`
with sense of test reversed. Also interpolate `GROFF_MAKE_DEFINES_RM`
instead of `GROFF_MAKE_RM`. This in turn enables...
* Makefile.am: ...revision of conditional from `MAKE_DONT_HAVE_RM` to
"!`MAKE_DEFINES_RM`".
|
|
|
|
|
|
|
|
|
|
|
|
| |
* m4/groff.m4 (GROFF_PERL, GROFF_APPDEFDIR_OPTION, GROFF_MAKE_RM): Fix
code style nits. Update indentation and "brace style" to match recent
practice. Use `dnl` to provide comments that are relevant only to
m4/Autoconf source and keep them from going into the generated
'configure' shell script.
Also recast some comments and tweak whitespace for consistency.
Also give `GROFF_APPDEFDIR_NOTICE` message a one-sentence summary.
|
|
|
|
|
|
|
|
| |
* m4/groff.m4 (GROFF_URW_FONTS_PATH, GROFF_WITH_COMPATIBILITY_WRAPPERS,
GROFF_APPDEFDIR_OPTION, GROFF_UCHARDET): Recast help strings to more
closely parallel structure any style of Autoconf's own help strings.
(GROFF_WITH_COMPATIBILITY_WRAPPERS): Recast to tighten wording.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac:
* m4/groff.m4 (GROFF_APPDEFDIR_OPTION, GROFF_APPDEFDIR_DEFAULT,
GROFF_APPDEFDIR_CHECK): Rename m4 macros and shell variable from
"*appres*" to "*appdef*. Update interpolation sites.
* configure.ac:
* m4/groff.m4 (GROFF_APPDEFDIR_CHECK): Further rename this...
(GROFF_APPDEFDIR_NOTICE): ...to this, for consistency with other
post-report output macros.
* Makefile.am:
* PROBLEMS:
* doc/automake.mom:
* src/devices/xditview/xditview.am: Update interpolation sites
of `appresdir`.
* Makefile.am:
* src/devices/xditview/gxditview.1.man:
* src/roff/groff/groff.1.man: Update interpolation site of `APPRESDIR`.
* NEWS: Add item.
|
|
|
|
|
| |
Update quotation, indentation, and "brace style" to match recent
practice.
|
|
|
|
|
|
|
|
| |
* m4/groff.m4 (GROFF_X11, GROFF_UCHARDET): Drop redundant messages
(which are easily overlooked amid the torrent of "checking" output
anyway). Discovery failures of X11 and the unchardet library are
already parts of the configuration report at or near the end of
output.
|
|
|
|
|
|
|
|
| |
* m4/groff.m4 (GROFF_PNMTOPS_NOSETPAGE): Partially revert change from 21
May and document why in a comment.
We require 'pnmtops' both for grohtml operation and generation of
doc/gnu.eps from repository/snapshot archive builds.
|
|
|
|
|
|
|
|
| |
* configure.ac: Report use of "g" prefix for commands and macro package
compatibility wrappers.
* m4/groff.m4 (GROFF_G): Fix code style nits. Update indentation to
match recent practice.
|
|
|
|
|
|
|
|
|
|
| |
* m4/groff.m4 (GROFF_PROG_YACC, GROFF_MAKEINFO, GROFF_TEXI2DVI): Fix
logic error in detection of build scenario: the presence of a ".git"
directory is not an indicator that we're not building from a
distribution archive, because we might be building from a snapshot
archive (which also lacks it). Instead, perform checks required only
by builds from Git checkouts and snapshot archives if the
".tarball-version" file is not present.
|
|
|
|
|
|
|
|
| |
* m4/groff.m4 (GROFF_PRINT): Refactor. Stop performing checks for
spooler options if none is available. Stop redundantly reporting
command name used for spooling PostScript files. If an option is
required for spooling DVI files, report it alone instead of repeating
the command name as well.
|
|
|
|
|
| |
* m4/groff.m4 (GROFF_UCHARDET_CHECK): Fix grammar nit in failure message
when user demands uchardet support but the library cannot be located.
|
|
|
|
|
|
|
|
| |
* m4/groff.m4 (GROFF_CHECK_GROHTML_PROGRAMS): Fix logic error in
computation of verb to be used in notice message.
Also fix code style nit: drop unnecessary quotation when setting shell
variable to empty value.
|
|
|
|
|
|
|
|
|
|
| |
* m4/groff.m4 (GROFF_PROG_YACC, GROFF_URW_FONTS_CHECK,
GROFF_WITH_COMPATIBILITY_WRAPPERS, GROFF_UCHARDET_NOTICE): Improve
shell code portability. Per the GNU Autoconf manual, "The -a, -o,
'(', and ')' operands are not present in all implementations, and have
been marked obsolete by Posix 2008. ...portable uses of test should
never have more than four arguments, and scripts should use shell
constructs like '&&' and '||' instead."
|
|
|
|
|
|
|
| |
* m4/groff.m4 (GROFF_GHOSTSCRIPT_VERSION_CHECK): Fix code style nits.
Use lowercase for shell variables we define. Don't quote literal
operands to test(1) that don't contain syntactically shell-significant
characters. Update indentation to match recent practice.
|
|
|
|
|
|
| |
* m4/groff.m4 (GROFF_URW_FONTS_NOTICE): Don't emit the notice if
Ghostscript isn't available, since it was a prerequisite for the
`GROFF_URW_FONTS_CHECK` macro in the first place.
|
|
|
|
|
|
|
|
|
|
| |
[build]: Add print spooler determination to configuration report.
* m4/groff.m4 (GROFF_PRINT): Add shell variable `groff_have_spooler` to
house the name of the print spooler {"lp" or "lpr"} or the word "no".
* configure.ac: Report determined spooler, or its absence.
Also make code style more readable.
|
|
|
|
|
|
|
|
|
|
|
| |
* m4/groff.m4 (GROFF_CHECK_GROHTML_PROGRAMS): Migrate from `AC_FOREACH`
to `m4_foreach` to avoid obsolescence warning from GNU Autoconf 2.70
or later.
Fixes <https://savannah.gnu.org/bugs/?61059>. Thanks to Bjarni Ingi
Gislason for the report.
Also make code style more readable.
|
|
|
|
|
|
|
|
| |
* m4/groff.m4 (GROFF_MAKEINFO, GROFF_TEXI2DVI): Check for makeinfo(1)
and texi2dvi(1) programs only if building from Git, not a distribution
archive.
Also make code style more readable.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* m4/groff.m4 (GROFF_UCHARDET_CHECK): Rename this...
(GROFF_UCHARDET_NOTICE): ...to this.
* configure.ac: Update call site.
* m4/groff.m4 (GROFF_UCHARDET_NOTICE): Tighten wording of message
reported to user.
Make code style more readable and use indentation style that (mostly)
prevails in the file.
|
|
|
|
|
|
|
| |
* m4/groff.m4 (GROFF_PNMTOOLS_CAN_BE_QUIET, GROFF_PNMTOPS_NOSETPAGE):
Skip check if prerequisite not met.
Also make code style more readable.
|