summaryrefslogtreecommitdiffstats
path: root/configure.local.example
Commit message (Collapse)AuthorAgeFilesLines
* Install mandoc.css by default even if man.cgi(8) is not built.Ingo Schwarze2023-10-191-0/+4
| | | | | | It matters because users of "mandoc -T html" typically need it. Issue found in a conversation with Alejandro Colomar <alx at kernel aot org>.
* support for hunting memory leaks;Ingo Schwarze2022-04-141-1/+7
| | | | designed and written last autumn, polished today
* more details about Mac OS X; information from Sevan JaniyanIngo Schwarze2021-09-201-0/+2
|
* make the path to ar(1) configurable, needed by NixOS;Ingo Schwarze2021-09-201-1/+6
| | | | suggested by Lukas Epple <sternenseemann at systemli dot org>
* do not ship with an old OpenBSD version numberIngo Schwarze2021-09-191-1/+1
|
* Rename the compile-time configuration variable $HOMEBREWDIR toIngo Schwarze2021-08-071-6/+20
| | | | | | | | | $READ_ALLOWED_PATH, allow it to contain more than one directory, and explain how to use it for NixOS and for GNU Guix Linux. Feature improvement based on observations, input, and earlier patches from Lukas Epple <sternenseemann at systemli dot org>, and final patch also tested by Lukas.
* Switch the default pager from "more -s" to "less".Ingo Schwarze2020-07-201-0/+8
| | | | | | | | | | | | | | | | | | | | | | POSIX explicitly allows using a different default pager if that is documented. Nowadays, the pager provided in most operating systems is less(1). Our man(1) implementation uses less(1) features that traditional more(1) did not provide, in particular tagging. Besides, as noted by deraadt@, the user interface of less(1) is slightly more refined and preferable over the user inferface of more(1). This switch was originally suggested by Ian Ropers. In ./configure, test whether less(1) is available. If not, fall back to more(1). In ./configure.local, support overriding the automatic test by setting BINM_PAGER. As explained by jmc@ and deraadt@, the -s flag was added a very long time ago when an antique version of groff(1) had an annoying bug in terminal output that would randomly display blank lines in the middle of pages. Clearly, -s has no longer been needed for many years, so drop it from the default pager invocation. OK deraadt@ jmc@ martijn@ job@ on the OpenBSD version of this patch.
* Provide a real feature test for __attribute__().Ingo Schwarze2020-06-221-0/+1
| | | | | Looking at version numbers like __GNUC__ is always a bad idea. Believe it or not, this even makes ./configure shorter by one line.
* No longer try to ask make(1) what the default compiler is, just use "cc".Ingo Schwarze2020-02-051-15/+8
| | | | | | | | That line was a bad idea in the first place, it tried to be too clever, and it failed in different ways on different platforms. Even when it succeeded, what make(1) considered the default wasn't always useful. Having a simple and robust default and asking users to override it when needed is better.
* autoconfiguration test whether less(1) supports the -T option;Ingo Schwarze2019-03-061-0/+1
| | | | | needed for Alpine Linux because it uses busybox less(1) by default; based on a patch from Daniel Sabogal explained to me by Natanael Copa
* When the -S option is given to man(1) and the requested manual pageIngo Schwarze2019-03-041-2/+13
| | | | | | | | | | | | name is not found and the requested architecture is unknown, complain about the architecture rather than about the manual page name: $ man -S vax cpu man: Unknown architecture "vax". $ man -S sparc64 foobar man: No entry for foobar in the manual. Friendlier error message suggested by jmc@, who also OK'ed the patch.
* more 1.14.4 release preparations:Ingo Schwarze2018-07-311-19/+23
| | | | | | autodetect whether the compiler can use -W and -static, clearer output from ./configure, and adjust some configuration instructions
* more renaming from mdocml to mandocIngo Schwarze2017-07-201-1/+1
|
* Basic reporting of .Xrs to manual pages that don't existIngo Schwarze2017-07-011-0/+5
| | | | | | | | | | | | in the base system, inspired by mdoclint(1). We are able to do this because (1) the -mdoc parser, the -Tlint validator, and the man(1) manual page lookup code are all in the same program and (2) the mandoc.db(5) database format allows fast lookup. Feedback from, previous versions tested by, and OK jmc@. A few features will be added to this in the tree, step by step.
* Implement automatic line breakingIngo Schwarze2017-06-121-0/+1
| | | | | inside individual table cells that contain text blocks. This cures overlong lines in various Xenocara manuals.
* Debian needs relative symlinks not only for manual pages,Ingo Schwarze2017-03-041-0/+7
| | | | | | but also for program files. Issue reported by Michael <Stapelberg at debian dot org> and by Markus <Waldeck at gmx dot de>.
* proper test for O_DIRECTORYIngo Schwarze2017-02-181-0/+1
|
* add $(LN) configuration variable; requested by Michael <Stapelberg@debian.org>Ingo Schwarze2017-02-161-1/+10
|
* fix previous: stupid typoIngo Schwarze2017-02-161-2/+2
|
* Provide a variable BINM_CATMAN.Ingo Schwarze2017-02-161-1/+6
| | | | Suggested by Michael <Stapelberg@debian.org>.
* mention that BUILD_CATMAN doesn't work on SunOS 5.9 and 5.10Ingo Schwarze2017-02-081-0/+2
|
* config glue for recvmsg(2) and CMSG_FIRSTHDR(3);Ingo Schwarze2017-02-081-0/+6
| | | | needed for Solaris 11
* experimental mandocd(8) and catman(8)Ingo Schwarze2017-02-041-0/+7
| | | | for development in the tree, not yet ready for production
* Do not install libmandoc.a by default.Ingo Schwarze2016-11-191-2/+15
| | | | | | The only environment where it is ever needed is NetBSD base. Even NetBSD ports and pkgsrc should better not install it. Triggered by a question from bentley@.
* Compat glue for the FreeBSD comparison function prototype for fts_open(3)Ingo Schwarze2016-10-181-1/+2
| | | | | which differs from what most other systems use. While here, improve diagnostic output of ./configure tests.
* The concept of endianness seems to be somewhat newfangled, so theIngo Schwarze2016-08-051-0/+3
| | | | | | respective conversion functions are not yet properly standardized. Rumour has it that POSIX is working on it, though. For now, sprinkle some configuration glue.
* POSIX allows PATH_MAX to not be defined, meaning "unlimited".Ingo Schwarze2016-08-021-0/+2
| | | | | | | Found by Aaron M. Ucko <amu at alum dot mit dot edu> on the GNU Hurd, via Bdale Garbee, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=829624 Also add EFTYPE at two places where it was forgotten.
* Autodetect a suitable locale for -Tutf8 mode,Ingo Schwarze2016-07-311-0/+7
| | | | | | | and allow overriding it manually. Based on a patch from Svyatoslav Mishyn <juef at openmailbox dot org> tweaked by me. The idea originally came up in a conversation with Markus Waldeck.
* Autodetect if -lrt is needed for nanosleep(3).Ingo Schwarze2016-07-201-4/+10
| | | | | Helpful for Solaris 9 and 10. Reminded by Thomas Klausner.
* Now that our man.conf(5) format is mature and extremely simple,Ingo Schwarze2016-07-191-16/+3
| | | | | | | | delete manpath(1) support. With the mandoc-based man(1), manpath(1) is utterly useless. Just set MANPATH_DEFAULT in configure.local for sane operating system defaults, use man.conf(5) for machine- specific modifications, and use ${MANPATH}, -m, and -M for user preferences.
* Remove the dependency on SQLite without loss of functionality.Ingo Schwarze2016-07-191-47/+18
| | | | | Stop supporting systems that don't have mmap(3). Drop the obsolete names_check() now that we deleted MLINKS.
* Remove one outdated comment and fix one typoIngo Schwarze2016-07-191-3/+1
| | | | noted by Jan Stary <hans at stare dot cz>.
* final 1.13.4 release notesVERSION.1.13.4Ingo Schwarze2016-07-141-0/+8
|
* support LDFLAGS;Ingo Schwarze2016-07-101-1/+8
| | | | suggested by Christian Neukirchen <chneukirchen at gmail dot com>
* Various people (among others Maxim Belooussov and Carsten Kunze)Ingo Schwarze2016-05-181-11/+32
| | | | | | | | | | | reported that the build system still assumed that ohash is only needed if sqlite3 is also in use, which is no longer true: The ohash library is now required no matter what. Rework sqlite3 and ohash library autodetection such that both work independently of each other. Provide LDADD for additional linker flags. Add some missing variables to configure.local.example.
* garbage collect unused EXAMPLEDIR, forgotten in the CSS cleanup;Ingo Schwarze2015-11-071-1/+0
| | | | noticed by Peter Bray <pdb_ml at yahoo dot com dot au>
* * remove FreeBSDismsIngo Schwarze2015-05-201-5/+6
| | | | | | | * purge and sort headers * add build and compat glue * and LICENSE information for soelim(1)
* Add man.conf(5). After adding some additional functionality,Ingo Schwarze2015-03-271-0/+5
| | | | | one of the next steps will be to use it in addition to manpath(1) rather than as an alternative to it.
* make MANPATH_DEFAULT compile-time configurableIngo Schwarze2015-03-221-0/+7
|
* strtonum(3) compat glueIngo Schwarze2015-02-161-0/+1
|
* Enable the integrated man(1) even when database support is disabled,Ingo Schwarze2015-02-031-21/+27
| | | | | | using the file system lookup fallback code, also reducing the number of preprocessor conditional directives. Hopefully, it will make some small Linux distros happy.
* improve homebrew cellar config exampleIngo Schwarze2015-01-231-1/+2
|
* Support homebrew-style linking on Mac OS X.Ingo Schwarze2015-01-211-1/+9
| | | | Idea found together with Alexis Hildebrandt <surryhill at gmail dot com>.
* Support choosing alternative binary and manual names from configure.local,Ingo Schwarze2014-12-091-1/+29
| | | | to help downstream distributions avoid naming conflicts.
* Improve build system and autodetection.Ingo Schwarze2014-08-161-0/+189
* Make ./configure standalone, that's what people expect. * Let people write a ./configure.local from scratch, not edit existing files. * Autodetect wchar, sqlite3, and manpath and act accordingly. * Autodetect the need for -L/usr/local/lib and -lutil. * Get rid of config.h.p{re,ost}, let ./configure only write what's needed. * Let ./configure write a Makefile.local snippet, that's quite flexible.