summaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* [build]: Discard now-unneeded Autoconf macro.G. Branden Robinson2023-03-021-3/+0
| | | | | | | | | | ...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.
* configure.ac: Drop now-redundant explicit check.G. Branden Robinson2023-02-251-4/+0
| | | | | | * configure.ac: Drop now-redundant explicit `GROFF_URW_FONTS_CHECK`. `GROFF_GROPDF_DEPENDENCIES_CHECK` `AC_REQUIRE`s it as of commit ec001d2a23, 18 February.
* [build]: Detangle pdfroff, gropdf config (2/2).G. Branden Robinson2023-02-181-1/+4
| | | | | | | | | | | | | | | | | | | | | | * 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`.
* [build]: Rename GROFF_CHECK_GROPDF_PROGRAMS macro.G. Branden Robinson2023-02-181-1/+1
| | | | | | | | | [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.
* [build, gropdf]: Fix Savannah #63808 (3/3).G. Branden Robinson2023-02-151-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: Add Automake conditional, `HAVE_GHOSTSCRIPT`, so that we can populate the list of PDF device font tests dynamically. * font/devpdf/devpdf.am: Test availability of "basic" (PDF base 14) fonts (plus groff's "EURO") if either Ghostscript or URW fonts are available. Test availability of URW fonts (35) only if Ghostscript _and_ the URW fonts were found at configuration time. Test procedure for Savannah #63808: ./configure --prefix=$HOME make -j check make install make uninstall test -z "$(find $HOME/{bin,lib,share} -type f)" && echo clean make distclean Configurations and test results (total/pass/skip/xfail) ------------------------------------------------------- without gs, without URW fonts: 161/152/7/2 with gs, without URW fonts: 162/155/5/2 without gs, with URW fonts: 162/153/7/2 with gs, with URW fonts: 163/156/5/2
* [build]: Fix Savannah #63808 (2/3).G. Branden Robinson2023-02-151-1/+3
| | | | | | | | | | | | | | | | | | | | * 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.
* configure.ac: Rechristen self "GNU roff".G. Branden Robinson2022-11-121-1/+1
|
* configure.ac: Report where URW fonts were located.G. Branden Robinson2022-10-091-1/+7
| | | | | | | * configure.ac: If URW fonts were located, add the directory where they were found to the configuration report. Attempts to fix <https://savannah.gnu.org/bugs/?62860> (2/2).
* Revert "configure.ac: Give git-version-gen --fallback arg."G. Branden Robinson2022-08-031-3/+2
| | | | | | | | | | | | | | This reverts commit 200837c1d6a9c7ebee451c9eaab46ddc032ed253. The reward/effort ratio for supporting Savannah/cgit snapshot builds seems too low to bother with. See https://lists.gnu.org/archive/html/groff/2022-06/msg00025.html https://lists.gnu.org/archive/html/groff/2022-07/msg00066.html for discussion.
* Weaken build dependency on TeX.G. Branden Robinson2022-06-091-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [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.
* [build]: Rename some groff Autoconf macros.G. Branden Robinson2022-06-081-2/+2
| | | | | | | | | | | | ... 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]: Add Automake `HAVE_URW_FONTS` condition.G. Branden Robinson2022-06-031-0/+1
| | | | | | | | | | | | | | | | | | | | * configure.ac: Add `AM_CONDITIONAL`: `HAVE_URW_FONTS`, so our Automake files can more easily cope with their absence. * contrib/mom/mom.am (MOMPROCESSEDEXAMPLEFILES): Include "typesetting.pdf" only if `HAVE_URW_FONTS`, since the document demands them. * font/devpdf/Foundry.in: Add easily matched phrases to comments, to clearly delimit the URW foundry portion of the file so it can be omitted if those fonts are absent. * font/devpdf/devpdf.am (font/devpdf/Foundry): Generate file differently depending on `HAVE_URW_FONTS`; keep the existing procedure if true, and delete the URW section from the generated file otherwise, avoiding diagnostic messages from afmtodit(1) and our BuildFoundries script. Also update comments in Foundry.in file to be more helpful.
* configure.ac: Identify poppler tools in report.G. Branden Robinson2022-06-031-11/+13
| | | | | | * configure.ac: Explicitly identify poppler tools in report. Also wrap long lines and update indentation to be internally consistent.
* [build]: Rename variables and macros for clarity.G. Branden Robinson2022-06-031-3/+2
| | | | | | | | | | | | | | | | | | | | | [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`".
* [build]: Rename APPRES* stuff to APPDEF*.G. Branden Robinson2022-06-031-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | * 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.
* configure.ac: Give git-version-gen --fallback arg.G. Branden Robinson2022-05-311-2/+3
| | | | | * configure.ac (AC_INIT): Add `--fallback` argument to `git-version-gen` to facilitate snapshot builds.
* [build]: Report more configuration data.G. Branden Robinson2022-05-311-2/+14
| | | | | | | | * 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.
* configure.ac: Fix code style nits; tweak report.G. Branden Robinson2022-05-311-4/+4
| | | | | | | | | * configure.ac: Fix code style nits and tweak report. Stop superfluously using braces for shell parameter expansions that don't require them. The shell is not make(1). Say "installation _directory_ prefix" since another kind of prefix can be used by groff (the "g" in front of command and macro package names shared with AT&T troff).
* configure.ac: Fix code style and reporting nits.G. Branden Robinson2022-05-311-3/+3
| | | | | | | * configure.ac: In configuration report, say that we're reporting compiler options along with the compiler executable. Fix leftover test(1) comparison with garbage, overlooked in commit faa22d89d2, 20 May.
* [build]: Add print spooler to ./configure report.G. Branden Robinson2022-05-241-0/+1
| | | | | | | | | | [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.
* [build]: Refactor uchardet-related macros.G. Branden Robinson2022-05-211-2/+2
| | | | | | | | | | | | | * 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.
* [build]: Rename URW-related macros.G. Branden Robinson2022-05-211-2/+2
| | | | | | | | | | | * m4/groff.m4 (GROFF_URW_FONTS_CHECK): Rename this... (GROFF_URW_FONTS_NOTICE): ...to this. (GROFF_URW_FONTS): ...and this... (GROFF_URW_FONTS_CHECK): ...to this. (GROFF_URW_FONTS_NOTICE): Give lengthy notice message a one-line summary.
* [build]: Refactor gropdf runtime-dep check.G. Branden Robinson2022-05-211-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Handle missing programs required to construct files needed at runtime by gropdf more gracefully. Rename and refactor configuration-time logic to be more understandable. * configure.ac: * m4/groff.m4: Rename `GROFF_PDFDOC_PROGRAMS` macro to `GROFF_CHECK_GROPDF_PROGRAMS`. Rename shell variable `make_pdfdoc` to `use_gropdf`. Set it explicitly to "no" or "yes" instead of null or not null. * configure.ac: * m4/groff.m4: * doc/doc.am: * contrib/mom/mom.am: * contrib/pdfmark/pdfmark.am: * contrib/sboxes/sboxes.am: Rename `BUILD_PDFDOC` to `USE_GROPDF`. * configure.ac: Call `GROFF_GROPDF_PROGRAM_NOTICE`. * doc/doc.am: Bracket definition of `PROCESSEDDOCFILES_PDF` macro and `$(PROCESSEDDOCFILES_PDF)` dependency declaration in Automake `if USE_GROPDF` conditional. This prevents attempts to build PDF documents using groff that are doomed to fail. * m4/groff.m4: Refactor gropdf runtime-dependency program check. Split into two macros: one (`GROFF_CHECK_GROPDF_PROGRAMS`) performs the check, the other (`GROFF_GROPDF_PROGRAM_NOTICE`) issues a notice at the end of the configuration process if at least one program was not found. Rename `docnote` shell variable to `gropdf_notice`. Tighten wording of notice. Drop unused `make_install_pdfdoc` and `make_uninstall_pdfdoc` shell variables. Also make code style more readable.
* [build]: Refactor grohtml runtime-dep check.G. Branden Robinson2022-05-211-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Handle missing programs required at runtime by grohtml more gracefully. Rename and refactor configuration-time logic to be more understandable. * configure.ac: * m4/groff.m4: Rename `GROFF_HTML_PROGRAMS` macro to `GROFF_CHECK_GROHTML_PROGRAMS`. Rename shell variable `make_htmldoc` to `use_grohtml`. Set it explicitly to "no" or "yes" instead of null or not null. * configure.ac: * m4/groff.m4: * doc/doc.am: Rename `BUILD_HTML` to `USE_GROHTML`. * configure.ac: Call `GROFF_GROHTML_PROGRAM_NOTICE`. * doc/doc.am: Bracket definition of `PROCESSEDDOCFILES_HTML` macro and `$(PROCESSEDDOCFILES_HTML)` dependency declaration in Automake `if USE_GROHTML` conditional. This prevents an attempt to build an HTML version of the "pic.ms" document that is doomed to fail (noisily). * m4/groff.m4: Refactor grohtml runtime-dependency program check. Split into two macros: one (`GROFF_CHECK_GROHTML_PROGRAMS`) performs the check, the other (`GROFF_GROHTML_PROGRAM_NOTICE`) issues a notice at the end of the configuration process if at least one program was not found. Rename `html_docnote` shell variable to `grohtml_notice`. Tighten wording of notice. Drop unused `make_install_htmldoc` and `make_uninstall_htmldoc` shell variables. Also make code style more readable.
* Check for m4 program at configuration time.G. Branden Robinson2022-05-211-0/+1
| | | | | | | | | | | | | * m4/groff.m4 (GROFF_PROG_M4): Define new macro to perform the check and error out if the program is missing. * configure.ac: Call the new macro. * tmac/tmac.am (tmac/groff_man.7.man, tmac/groff_man_style.7.man): Use the new implicitly AC_SUBST-ed variable `M4` to run the program. * NEWS: Document build dependency.
* configure.ac: Fix shell style nits.G. Branden Robinson2022-05-211-11/+12
| | | | | | | | | * configure.ac: Fix shell style nits. Get rid of string (non-)nullity tests and comparisons involving concatenation with garbage (usually "x"). See 13 November entry regarding m4. Use idiomatic shell "brace style" for control structures. Also fix trailing whitespace.
* [build]: Refactor libgroff allocator config.G. Branden Robinson2022-05-211-10/+3
| | | | | | | | | | | | | | | Trivially refactor libgroff allocator configuration. * m4/groff.m4 (GROFF_USE_GROFF_ALLOCATOR): Update description of configuration flag to clarify that it's implemented in a library. Rename shell variable to prefix it with "groff_", putting it in an ad hoc name space as with other variables. If feature disabled, set variable to literal "no". * configure.ac: Use renamed variable and interpolate it directly into configuration report, simplifying shell logic. Make code style more readable.
* configure.ac: Revise configuration report.G. Branden Robinson2022-05-211-10/+13
| | | | | | | | | * configure.ac: Revise configuration report for intelligibility. Add report of C++ compiler and flags used: we compile much more C++ than C code so this seems appropriate. Report Perl interpreter version so that we can collect build reports and turn the ratchet past Perl 5.6.1 at some point. Fix X11 "resources" misnomer (application defaults are what is meant). Rephrase generally.
* [configure] Delete the --with-doc option.Ingo Schwarze2022-04-151-13/+0
| | | | | | | | This option was harmful, ill-designed, buggy, and essentially unmaintained and untested. For more details on the rationale, see the NEWS file. OK gbranden@ and no objection when shown on groff at gnu dot org.
* [build]: Use pnmtops's -quiet option if possible.G. Branden Robinson2022-01-081-0/+1
| | | | | | | | | | | | | ...to quieten build. * m4/groff.m4 (GROFF_PNMTOOLS_CAN_BE_QUIET): Add new macro to test pnmtops for support for (undocumented) '-quiet' option. * configure.ac: Perform the check. * doc/doc.am: Alter check of shell variable `pnmtops_nosetpage` (processed by AC_SUBST) to correctly match even if pnmtops accepts the '-quiet' option.
* configure.ac (AC_CHECK_HEADERS): Expect stdbool.h.G. Branden Robinson2022-01-081-2/+3
| | | | ...since we now use it in src/include/lib.h.
* Revamp Texinfo manual handling, part one.G. Branden Robinson2021-11-121-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Drop `BUILD_INFODOC` symbol. Ship manual in GNU Info, text, and HTML forms in distribution archive. * Makefile.am (MAINTAINERCLEANFILES): Initialize. (MOSTLYCLEANADD): Drop unused variable. * configure.ac: Drop `AM_CONDITIONAL([BUILD_INFODOC]...`. * doc/doc.am (EXTRA_DIST): Rearrange shipment of our Texinfo manual source files to precede all of the generated forms, for clarity. Drop all `BUILD_INFODOC` conditionals. Make `build_infodoc` phony target depend on plain text, GNU Info, and HTML forms of Texinfo manual unconditionally. Also drop unused variables `groffinfodir`, `groffpdfdir`, and `texi2dvi_missing`. (EXTRA_DIST, MAINTAINERCLEANFILES): Add Info form of manual. Drop glob pattern attempting to match the segments that `makeinfo` breaks it into. It isn't necessary for MAINTAINERCLEANFILES. (EXTRA_DIST, MAINTAINERCLEANFILES): Add text form of manual. (EXTRA_DIST, MAINTAINERCLEANFILES): Add HTML form of manual. (dist-hook): Depend on new (phony) target `dist-info-bits`. (dist-info-bits): Look for the info document in the build directory, then the source directory. (It could be in either place depending on whether the build from a Git working tree is being done in or out of a separate build directory.) When found, copy the segments to the assembly area for the distribution archive. (install_infodoc): Refactor. Remove any groff info files from the destination info directory using a shell glob directly instead of a partly redundant ls(1) command substitution. Similarly, use a shell glob to cp(1) the info files (including any matched segments) to the destination info directory before running `install-info`. (In this process I learned that `install-info` doesn't "install" anything; instead, it (de-)registers info files with their top-level catalog.) Tested by building: 1. from Git working tree with separate build directory; 2. from distribution archive w/ separate build directory (`distcheck`); 3. from distribution archive directly; 4. from Git working tree directly.
* [libgroff]: Make allocator replacement optional.G. Branden Robinson2021-11-091-0/+11
| | | | | | | | | | | | | | | | | Switch it off by default, relying on C++ runtime new/delete support. * configure.ac: Call new `GROFF_USE_GROFF_ALLOCATOR` m4 macro. Use `AM_CONDITIONAL` to set Automake variable `USE_GROFF_ALLOCATOR` if appropriate. Report whether the allocator is used in configure script output summary. * m4/groff.m4 (GROFF_USE_GROFF_ALLOCATOR): Define new macro to collect user preference. The default is off. * src/libs/libgroff/libgroff.am (libgroff_a_SOURCES): Build and link new.cpp only if `USE_GROFF_ALLOCATOR`. * NEWS: Add item.
* configure.ac: Add `strdup` to AC_CHECK_FUNCS.G. Branden Robinson2021-11-091-1/+2
| | | | | | | | * configure.ac: Add `strdup` to AC_CHECK_FUNCS since we are using it and the whole point of libgroff's `strsave()` was to get along without it. But `strdup` has been standardized in POSIX for 20 years (SUSv3, POSIX:2001) and is on its way into ISO standard C (N2354) and C++ (P2391R0) as well.
* grog: Clean up after aggressive refactor.G. Branden Robinson2021-06-101-1/+0
| | | | | | | | | | * Makefile.am: Delete references to $(grog_dir). * configure.ac: Delete call of `GROFF_GROGDIR_DEFAULT` macro. * m4/groff.m4: Delete definition of same. * src/roff/grog/grog.am (grogdir): Drop variable. (grog): Remove sed expression replacing `@grog_dir@` with `$(grog_dir)` in grog.pl.
* [configure]: Warn of buggy Ghostscript versions.G. Branden Robinson2021-05-161-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * m4/groff.m4 (GROFF_GHOSTSCRIPT_VERSION_CHECK): Add new autoconf macro to check if Ghostscript version. Versions 9.00 <= x < 9.54 suffer from a rendering glitch that affects the AT&T troff (and groff) special character \(lh; see <https://bugs.ghostscript.com/show_bug.cgi?id=703187>. Store the result of the check. (GROFF_GHOSTSCRIPT_VERSION_NOTICE): Add new macro to report the problem detected by GROFF_GHOSTSCRIPT_VERSION_CHECK to the user. * configure.ac: Call the macros in appropriate places. Fixes <https://savannah.gnu.org/bugs/index.php?59531>. I did not name GROFF_GHOSTSCRIPT_VERSION_NOTICE consistently with other groff autoconf macros of similar purpose; I find the existing names, ending in "_CHECK", confusing because these don't perform checks except in a trivial sense (effectively of a single Boolean variable). Instead they are wrappers around a lengthy parameter to AC_MSG_NOTICE. By contrast, GROFF_GHOSTSCRIPT_VERSION_CHECK does the actual ugly business of calling `gs -v`, munging the resulting string, and comparison. (I tried AX_COMPARE_VERSION but couldn't get it to work, and in any case the Ghostscript versioning scheme is simple and sane.) I'm open to feedback on writing more idiomatic autoconf macros.
* src/roff/groff/pipeline.c: Use strsignal().G. Branden Robinson2021-01-101-0/+1
| | | | | | | | | | | | | | POSIX.1-2008 added strsignal() to the C library and recommended its use over sys_siglist[], but groff's pipeline management hadn't been updated in that respect since that time. * configure.ac: Check for strsignal(). * src/roff/groff/pipeline.c (xstrsignal): Use return value of strsignal() if it is available. Thanks to an anonymous contributor for the report and the patch. Fixes <https://savannah.gnu.org/bugs/?59835>.
* Update copyright1.23.0.rc1Bertrand Garrigues2020-11-111-1/+1
| | | | | | | | * update-copyright.sh: use gnulib's 'update-copyright' script. Pass this script in directories 'arch', 'contrib', 'font', 'man', 'tmac', 'src' and on a list of extra files. * FOR-RELEASE: mention this point.
* Revert "Update copyright"Bertrand Garrigues2020-10-251-1/+1
| | | | | | This reverts commit a2e955e07354c83939fabffebcf720d3333d1f6b. Some files (COPYING, FDL, bootstrap) should not have been updated
* Update copyrightBertrand Garrigues2020-10-251-1/+1
| | | | | | | | Use gnulib's update-copyright script. * src/roff/groff/groff.cpp: update the printf displayed when 'groff -v' is invoked. * FOR-RELEASE: mention this point.
* Update 'gnulib' submodule.Bertrand Garrigues2020-10-121-1/+1
| | | | | | | | | | * gnulib: now points on d60a35e94c4f5b8f09f15828242418f5073d46e7 from 'gnulib' repository. * configure.ac: minimum autoconf version is now 2.64 due to gnulib upgrade. * FOR-RELEASE: add the gnulib update to the checklist.
* configure.ac: Kill unused groffer-related macros.G. Branden Robinson2020-04-291-2/+0
| | | | | | Should have been part of 1d2df80a933dd9c32dd0076280629b034f67892b; for some reason having these present did not cause a build failure due to undefined macros.
* Fix 'dvi' and 'pdf' texinfo doc generation.1.22.4.rc5Bertrand Garrigues2018-12-181-0/+2
| | | | | | | | | | | | | | | | | GNU make has a built-in variable 'TEXI2DVI' but it is not the case of all 'make' implementations, which causes 'make doc' to fail with an unclear message although 'texi2dvi' is available. Also, 'texi2dvi' is invoked inconditionnally. * m4/groff.m4 (GROFF_TEXI2DVI): new macro to detect properly the presence of 'texi2dvi'. * configure.ac: use 'GROFF_TEXI2DVI' and define automake conditional 'HAVE_TEXI2DVI'. * doc/doc.am: - Define TEXI2DVI to 'texi2dvi'. - Print an error message if 'texi2dvi' is not available.
* Use gnulib's 'hypot' module.Bertrand Garrigues2018-12-091-1/+0
| | | | | | | | | | | | | In 'configure.ac', the macro call 'GROFF_NEED_DECLARATION([hypot])' checks whether the function 'hypot' is correctly declared in 'math.h', but the test is buggy and may yields false results. * bootsrap.conf: add 'hypot' module. * configure.ac: Remove GROFF_NEED_DECLARATION([hypot]). * src/libs/libgroff/hypot.cpp: remove declaration of hypot.
* Add automatic tests on mom examplesBertrand Garrigues2018-11-241-1/+4
| | | | | | | * m4/groff.m4 (GROFF_PDFTOOLS): check presence of some pdf tools. * configure.ac: use 'GROFF_PDFTOOLS', add new AM conditional. * contrib/mom/examples/test-mom.sh.in: new file that use 'pdfinfo' and 'pdfimages' to make some basic checks on mom examples.
* configure.ac: Submit bugs via Web, not email.G. Branden Robinson2018-11-111-1/+1
| | | | | | Continues fixing <https://savannah.gnu.org/bugs/?54910>. Signed-off-by: G. Branden Robinson <g.branden.robinson@gmail.com>
* Update copyright (use gnulib's update-copyright script)Bertrand Garrigues2018-07-031-1/+1
|
* Document SHORT_VERSION where it is defined.G. Branden Robinson2018-04-231-2/+3
| | | | | | | | | | | Leave a breadcrumb in Makefile.am since SHORT_VERSION is logically related but handled by a different layer of GNU Autotools. Further clarify what SHORT_VERSION actually expands to: not just the truncated revision number, but the whole version string _up to_ the truncation point. Signed-off-by: G. Branden Robinson <g.branden.robinson@gmail.com>
* configure.ac: Fix typo in comment.G. Branden Robinson2018-04-211-1/+1
| | | | | | | | | | Thanks to Bjarni Ingli Gislason for catching this. It is, after all, an autoconf script, not a bass script. Fixes bug https://savannah.gnu.org/bugs/?53673. Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is> Signed-off-by: G. Branden Robinson <g.branden.robinson@gmail.com>
* Define a short version for data installation dir name.1.22.4.rc2Bertrand Garrigues2018-03-281-0/+5
| | | | | | | | | | | | | This is the full version stripped of any characters after the third digit. Used for installation of font, macro and various data (by default in /usr/local/share/groff). The various programs and scripts still use the full version from gnulib script 'git-version-gen' . * configure.ac (SHORT_VERSION): short version definition. * Makefile.am: use 'SHORT_VERSION' for 'docdir' and 'datasubdir' definitions.