summaryrefslogtreecommitdiff
path: root/bootstrap.conf
Commit message (Collapse)AuthorAgeFilesLines
* Use a better type for symbol hashes.G. Branden Robinson2023-03-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bootstrap.conf: Add "stdint" module to ensure that the `uintptr_t` type is available. * src/include/symbol.h: Include <stdint.h> for `uintptr_t`. (class symbol): (symbol::hash): Change return type from `unsigned long`, which causes build failures on 64-bit MinGW, to `uintptr_t`. (symbol::hash): Use a C++ type cast, not a C-style one. Thanks to Bruno Haible for reporting the build failure in the 64-bit MinGW environment, and for suggesting a remedy. Also update editor aid comments; drop old style Emacs file-local variable setting. Any day you get to use the foot-Howitzer reinterpret_cast is a good one. Commits since 0221b657fe tested on: Debian bullseye Debian sid 2023-03-06 chroot macOS 12 OpenBSD 7.2 Solaris 10 Solaris 11
* bootstrap.conf: Add "stdbool-c99" gnulib module.G. Branden Robinson2023-03-061-0/+1
| | | | | | | * bootstrap.conf (gnulib_modules): Add "stdbool-c99" per recommendation from Bruno Haible. Fixes build problem on Solaris using Sun compiler.
* bootstrap.conf: Add "pkg-config" to `buildreq`.G. Branden Robinson2022-05-261-0/+1
| | | | | | | * bootstrap.conf: Add "pkg-config" to `buildreq`. Not having it causes pretty horrible macro expansion problems and diagnostics when 'autoreconf' is run; they're still pretty bad even if you use `AC_REQUIRE` and `m4_pattern_forbid`. So just demand it.
* gnulib: replace non-recursive-gnulib-prefix-hack with automake-subdir optionBertrand Garrigues2022-04-241-4/+3
| | | | | | | | | | | | | | | | | | | | 'non-recursive-gnulib-prefix-hack' is deprecated by gnulib's commit f8eed11b15e9141d061900e4068ea1f3ba9b63f6 and replaced by '--automake-subdir'. * bootstrap.conf: (gnulib_modules): Remove option 'non-recursive-gnulib-prefix-hack'. (gnulib_tool_option_extras): Add option '--automake-subdir'. (bootstrap_post_import_hook): Remove the invocation of ' build-aux/prefix-gnulib-mk'. * doc/automake.mom: update documentation accordingly. Fixes <http://savannah.gnu.org/bugs/?61708> and <https://savannah.gnu.org/bugs/?62205> , issues reported and fix suggested by Bjarni Ingi Gislason <bjarniig@rhi.hi.is>. Fix also suggested by Werner LEMBERG <wl@gnu.org> (see <https://repo.or.cz/ttfautohint.git/commit/a938fc63cb55ef48393a924d7083b13c1352d294>).
* Update gnulib submoduleBertrand Garrigues2022-04-231-3/+3
| | | | | | | | | * gnulib now points on c8b8f3bbcde37a53cd226f4c9cebd0dde6aca37f * bootstrap: merge the latest version from gnulib/build-aux (groff's bootstrap has a patch for OS x). * bootstrap.conf: update copyright date.
* 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.
* Remove gnulib's hypot module.Bertrand Garrigues2018-12-101-1/+0
| | | | | | | | | The removal of 'GROFF_NEED_DECLARATION([hypot])' in 'configure.ac' was correct as the test was buggy, but there is no need to use gnulib's hypot module as previously we did not need to provide a replacement function. * bootstrap.conf: do it.
* Use gnulib's 'hypot' module.Bertrand Garrigues2018-12-091-0/+1
| | | | | | | | | | | | | 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.
* Bump Autoconf dependency to 2.68.G. Branden Robinson2018-11-121-1/+1
| | | | | | | | | | * bootstrap.conf: We need it to support our bug-reporting URL, which contains a "?". Strictly, Autoconf 2.65 is fine, but 2.66 and 2.67 broke this. Even 2.69 is over 6 years old now. See <https://savannah.gnu.org/support/?107450>. 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
|
* Switch to Gnulib implementation of snprintfColin Watson2018-03-111-0/+2
| | | | | | | | | | | | | | | | | | | This is more actively maintained, straightforward to integrate now that we have Gnulib integration, and simplifies groff's overall licensing. * bootstrap.conf (gnulib_modules): Add `snprintf' and `vsnprintf'. * configure.ac: Remove local checks for `snprintf' and `vsnprintf'. * Makefile.am: Remove various comments related to local checks for `snprintf' and `vsnprintf'. * src/include/lib.h: Remove declarations of `snprintf' and `vsnprintf'. * src/libs/libgroff/libgroff.am (EXTRA_DIST): Remove `src/libs/snprintf/snprintf.c'. * src/libs/snprintf/snprintf.c: Remove. * LICENSES: Remove section about `src/libs/snprintf/snprintf.c'. * MANIFEST: Remove entry for `src/libs/libxutil'.
* Use gnulib script 'git-version-gen' to define groff's versionBertrand Garrigues2018-02-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * bootstrap.conf: add 'git-version-gen' script. * configure.ac: suppress 'GROFF_VERSION_STRING' and replace it by the script. If the current commit corresponds to a tag, then the version is simply the tag name. Otherwise the version has the format: <tag>-<nb_commits_from_latest_tag>-<commit sha1>. The version is now stored in '.version'. * REVISION: removed. * VERSION: removed. * Makefile.am: define 'MAJOR_VERSION', 'MINOR_VERSION' and 'REVISION'. * src/libs/libgroff/libgroff.am: use 'MAJOR_VERSION', 'MINOR_VERSION' and 'REVISION', add dependency on '.version'. * src/roff/troff/troff.am: ditto. * contrib/mom/om.tmac-u (short_revision): new string that extracts the first digit of the revision, to be used when checking groff version.
* Add gnulib module fprintf-posixBertrand Garrigues2017-07-221-0/+1
| | | | | | | | | * bootstrap.conf: do it. * Fix compilation in some files that needed inclusion of `config.h'. See https://savannah.gnu.org/bugs/?51330
* Gnulib integrationBertrand Garrigues2015-01-271-0/+100
Applied the following command: git submodule add git://git.sv.gnu.org/gnulib.git This added gnulib in .git/index and created an empty `gnulib' directory. This directory contains all the gnulib code, but is not distributed. gnulib m4 dir are now in `gnulib_m4', while gnulib .c files are located in `lib'. `gnulib_m4' and `lib' are generated and distributed. * .gitsubmodules: new file. * src/libs/gnulib: removed. Minimal Automake support. Makefile in non-recursive style. Removed old build system Makefile.*. Removed various files that are now generated by the bootstrap script: `configure', `src/include/config.hin', various helper scripts (`config.guess', `config.rpath' etc...) that are now installed by in `build-aux'. Added the minimal code in Makefile.am to build the gnulib. * Makefile.am: new file (moved and adapted from Makefile.in). * acinclude.m4: new file (moved from aclocal.m4, which is now generated). * INSTALL.extra: new file (moved from the original INSTALL file, which is now a symlink to gnulib/doc/INSTALL). * THANKS, AUTHORS: new empty files. * TESTS: new file to sum up the tests that were done for the Automake migration.