CVS log for mandoc/configure.local.example

[BACK] Up to [cvsweb.bsd.lv] / mandoc

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.39 / (download) - annotate - [select for diffs], Mon Jul 20 16:57:30 2020 UTC (2 weeks, 6 days ago) by schwarze
Branch: MAIN
CVS Tags: HEAD
Changes since 1.38: +9 -1 lines
Diff to previous 1.38 (colored)

Switch the default pager from "more -s" to "less".

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.

Revision 1.38 / (download) - annotate - [select for diffs], Mon Jun 22 20:00:38 2020 UTC (6 weeks, 6 days ago) by schwarze
Branch: MAIN
Changes since 1.37: +2 -1 lines
Diff to previous 1.37 (colored)

Provide a real feature test for __attribute__().
Looking at version numbers like __GNUC__ is always a bad idea.
Believe it or not, this even makes ./configure shorter by one line.

Revision 1.37 / (download) - annotate - [select for diffs], Wed Feb 5 15:12:11 2020 UTC (6 months ago) by schwarze
Branch: MAIN
Changes since 1.36: +9 -16 lines
Diff to previous 1.36 (colored)

No longer try to ask make(1) what the default compiler is, just use "cc".
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.

Revision 1.36 / (download) - annotate - [select for diffs], Wed Mar 6 10:18:58 2019 UTC (17 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_5
Changes since 1.35: +2 -1 lines
Diff to previous 1.35 (colored)

autoconfiguration test whether less(1) supports the -T option;
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

Revision 1.35 / (download) - annotate - [select for diffs], Mon Mar 4 13:01:57 2019 UTC (17 months, 1 week ago) by schwarze
Branch: MAIN
Changes since 1.34: +14 -3 lines
Diff to previous 1.34 (colored)

When the -S option is given to man(1) and the requested manual page
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.

Revision 1.34 / (download) - annotate - [select for diffs], Tue Jul 31 15:34:00 2018 UTC (2 years ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_4
Changes since 1.33: +24 -20 lines
Diff to previous 1.33 (colored)

more 1.14.4 release preparations:
autodetect whether the compiler can use -W and -static,
clearer output from ./configure,
and adjust some configuration instructions

Revision 1.33 / (download) - annotate - [select for diffs], Thu Jul 20 16:24:53 2017 UTC (3 years ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_3, VERSION_1_14_2
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

more renaming from mdocml to mandoc

Revision 1.32 / (download) - annotate - [select for diffs], Sat Jul 1 09:47:30 2017 UTC (3 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.31: +6 -1 lines
Diff to previous 1.31 (colored)

Basic reporting of .Xrs to manual pages that don't exist
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.

Revision 1.31 / (download) - annotate - [select for diffs], Mon Jun 12 19:05:47 2017 UTC (3 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.30: +2 -1 lines
Diff to previous 1.30 (colored)

Implement automatic line breaking
inside individual table cells that contain text blocks.
This cures overlong lines in various Xenocara manuals.

Revision 1.14.2.9 / (download) - annotate - [select for diffs], Sat Mar 4 16:44:43 2017 UTC (3 years, 5 months ago) by schwarze
Branch: VERSION_1_13
Changes since 1.14.2.8: +8 -1 lines
Diff to previous 1.14.2.8 (colored) next main 1.15 (colored)

Merge Makefile 1.507, configure 1.62, configure.local.example 1.30:
relative symlinks for program files

Revision 1.30 / (download) - annotate - [select for diffs], Sat Mar 4 16:36:29 2017 UTC (3 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.29: +8 -1 lines
Diff to previous 1.29 (colored)

Debian needs relative symlinks not only for manual pages,
but also for program files.
Issue reported by Michael <Stapelberg at debian dot org>
and by Markus <Waldeck at gmx dot de>.

Revision 1.14.2.8 / (download) - annotate - [select for diffs], Tue Feb 21 17:04:04 2017 UTC (3 years, 5 months ago) by schwarze
Branch: VERSION_1_13
Changes since 1.14.2.7: +1 -10 lines
Diff to previous 1.14.2.7 (colored)

Drop support for building without SQLite.
There whole point of the 1.13 branch is SQLite support after all.

Revision 1.14.2.7 / (download) - annotate - [select for diffs], Tue Feb 21 16:25:19 2017 UTC (3 years, 5 months ago) by schwarze
Branch: VERSION_1_13
Changes since 1.14.2.6: +2 -2 lines
Diff to previous 1.14.2.6 (colored)

first step of 1.13.5 release preparations

Revision 1.29 / (download) - annotate - [select for diffs], Sat Feb 18 12:24:24 2017 UTC (3 years, 5 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_1
Changes since 1.28: +2 -1 lines
Diff to previous 1.28 (colored)

proper test for O_DIRECTORY

Revision 1.14.2.6 / (download) - annotate - [select for diffs], Thu Feb 16 16:21:04 2017 UTC (3 years, 5 months ago) by schwarze
Branch: VERSION_1_13
Changes since 1.14.2.5: +11 -2 lines
Diff to previous 1.14.2.5 (colored)

Merge Makefile 1.501, configure 1.59, configure.local.example 1.28:
add $(LN) configuration variable

Revision 1.28 / (download) - annotate - [select for diffs], Thu Feb 16 16:09:33 2017 UTC (3 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.27: +11 -2 lines
Diff to previous 1.27 (colored)

add $(LN) configuration variable; requested by Michael <Stapelberg@debian.org>

Revision 1.27 / (download) - annotate - [select for diffs], Thu Feb 16 15:19:01 2017 UTC (3 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

fix previous: stupid typo

Revision 1.26 / (download) - annotate - [select for diffs], Thu Feb 16 15:12:32 2017 UTC (3 years, 5 months ago) by schwarze
Branch: MAIN
Changes since 1.25: +7 -2 lines
Diff to previous 1.25 (colored)

Provide a variable BINM_CATMAN.
Suggested by Michael <Stapelberg@debian.org>.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Feb 8 16:16:08 2017 UTC (3 years, 6 months ago) by schwarze
Branch: MAIN
Changes since 1.24: +3 -1 lines
Diff to previous 1.24 (colored)

mention that BUILD_CATMAN doesn't work on SunOS 5.9 and 5.10

Revision 1.24 / (download) - annotate - [select for diffs], Wed Feb 8 16:11:41 2017 UTC (3 years, 6 months ago) by schwarze
Branch: MAIN
Changes since 1.23: +7 -1 lines
Diff to previous 1.23 (colored)

config glue for recvmsg(2) and CMSG_FIRSTHDR(3);
needed for Solaris 11

Revision 1.23 / (download) - annotate - [select for diffs], Sat Feb 4 12:03:07 2017 UTC (3 years, 6 months ago) by schwarze
Branch: MAIN
Changes since 1.22: +8 -1 lines
Diff to previous 1.22 (colored)

experimental mandocd(8) and catman(8)
for development in the tree, not yet ready for production

Revision 1.22 / (download) - annotate - [select for diffs], Sat Nov 19 15:24:51 2016 UTC (3 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.21: +16 -3 lines
Diff to previous 1.21 (colored)

Do not install libmandoc.a by default.
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@.

Revision 1.14.2.5 / (download) - annotate - [select for diffs], Thu Oct 20 18:52:27 2016 UTC (3 years, 9 months ago) by schwarze
Branch: VERSION_1_13
Changes since 1.14.2.4: +3 -2 lines
Diff to previous 1.14.2.4 (colored)

merge reproducible build support including compat glue to 1.13 branch:
mandocdb.c 1.231 & 1.232; configure 1.52 & 1.53; configure.local.example 1.21

Revision 1.14.2.4 / (download) - annotate - [select for diffs], Thu Oct 20 17:57:19 2016 UTC (3 years, 9 months ago) by schwarze
Branch: VERSION_1_13
Changes since 1.14.2.3: +2 -1 lines
Diff to previous 1.14.2.3 (colored)

add EFTYPE, corresponding to configure rev. 1.43.2.5

Revision 1.21 / (download) - annotate - [select for diffs], Tue Oct 18 16:06:44 2016 UTC (3 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.20: +3 -2 lines
Diff to previous 1.20 (colored)

Compat glue for the FreeBSD comparison function prototype for fts_open(3)
which differs from what most other systems use.
While here, improve diagnostic output of ./configure tests.

Revision 1.20 / (download) - annotate - [select for diffs], Fri Aug 5 23:15:08 2016 UTC (4 years ago) by schwarze
Branch: MAIN
Changes since 1.19: +4 -1 lines
Diff to previous 1.19 (colored)

The concept of endianness seems to be somewhat newfangled, so the
respective conversion functions are not yet properly standardized.
Rumour has it that POSIX is working on it, though.
For now, sprinkle some configuration glue.

Revision 1.14.2.3 / (download) - annotate - [select for diffs], Tue Aug 2 11:19:26 2016 UTC (4 years ago) by schwarze
Branch: VERSION_1_13
Changes since 1.14.2.2: +2 -1 lines
Diff to previous 1.14.2.2 (colored)

1.13 backport: handle absence of PATH_MAX

Revision 1.19 / (download) - annotate - [select for diffs], Tue Aug 2 11:09:46 2016 UTC (4 years ago) by schwarze
Branch: MAIN
Changes since 1.18: +3 -1 lines
Diff to previous 1.18 (colored)

POSIX allows PATH_MAX to not be defined, meaning "unlimited".
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.

Revision 1.14.2.2 / (download) - annotate - [select for diffs], Sun Jul 31 09:47:01 2016 UTC (4 years ago) by schwarze
Branch: VERSION_1_13
Changes since 1.14.2.1: +8 -1 lines
Diff to previous 1.14.2.1 (colored)

1.13 backport: autodetect UTF8_LOCALE

Revision 1.18 / (download) - annotate - [select for diffs], Sun Jul 31 09:29:13 2016 UTC (4 years ago) by schwarze
Branch: MAIN
Changes since 1.17: +8 -1 lines
Diff to previous 1.17 (colored)

Autodetect a suitable locale for -Tutf8 mode,
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.

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Wed Jul 20 14:14:07 2016 UTC (4 years ago) by schwarze
Branch: VERSION_1_13
Changes since 1.14: +11 -5 lines
Diff to previous 1.14 (colored)

1.13 backport: Autodetect if -lrt is needed for nanosleep(3).

Revision 1.17 / (download) - annotate - [select for diffs], Wed Jul 20 14:03:06 2016 UTC (4 years ago) by schwarze
Branch: MAIN
Changes since 1.16: +11 -5 lines
Diff to previous 1.16 (colored)

Autodetect if -lrt is needed for nanosleep(3).
Helpful for Solaris 9 and 10.
Reminded by Thomas Klausner.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Jul 19 22:40:33 2016 UTC (4 years ago) by schwarze
Branch: MAIN
Changes since 1.15: +4 -17 lines
Diff to previous 1.15 (colored)

Now that our man.conf(5) format is mature and extremely simple,
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.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Jul 19 21:31:55 2016 UTC (4 years ago) by schwarze
Branch: MAIN
Changes since 1.14: +19 -48 lines
Diff to previous 1.14 (colored)

Remove the dependency on SQLite without loss of functionality.
Stop supporting systems that don't have mmap(3).
Drop the obsolete names_check() now that we deleted MLINKS.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Jul 19 17:56:04 2016 UTC (4 years ago) by schwarze
Branch: MAIN
Branch point for: VERSION_1_13
Changes since 1.13: +2 -4 lines
Diff to previous 1.13 (colored)

Remove one outdated comment and fix one typo
noted by Jan Stary <hans at stare dot cz>.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Jul 14 11:09:06 2016 UTC (4 years ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_13_4
Changes since 1.12: +9 -1 lines
Diff to previous 1.12 (colored)

final 1.13.4 release notes

Revision 1.12 / (download) - annotate - [select for diffs], Sun Jul 10 18:24:23 2016 UTC (4 years, 1 month ago) by schwarze
Branch: MAIN
Changes since 1.11: +9 -2 lines
Diff to previous 1.11 (colored)

support LDFLAGS;
suggested by Christian Neukirchen <chneukirchen at gmail dot com>

Revision 1.11 / (download) - annotate - [select for diffs], Wed May 18 21:37:04 2016 UTC (4 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.10: +34 -13 lines
Diff to previous 1.10 (colored)

Various people (among others Maxim Belooussov and Carsten Kunze)
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.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Nov 7 13:14:21 2015 UTC (4 years, 9 months ago) by schwarze
Branch: MAIN
Changes since 1.9: +1 -2 lines
Diff to previous 1.9 (colored)

garbage collect unused EXAMPLEDIR, forgotten in the CSS cleanup;
noticed by Peter Bray <pdb_ml at yahoo dot com dot au>

Revision 1.9 / (download) - annotate - [select for diffs], Wed May 20 22:22:59 2015 UTC (5 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.8: +7 -6 lines
Diff to previous 1.8 (colored)

* remove FreeBSDisms
* purge and sort headers
* add build and compat glue
* and LICENSE information
for soelim(1)

Revision 1.8 / (download) - annotate - [select for diffs], Fri Mar 27 00:18:14 2015 UTC (5 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.7: +6 -1 lines
Diff to previous 1.7 (colored)

Add man.conf(5).  After adding some additional functionality,
one of the next steps will be to use it in addition to manpath(1)
rather than as an alternative to it.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Mar 22 18:14:30 2015 UTC (5 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.6: +8 -1 lines
Diff to previous 1.6 (colored)

make MANPATH_DEFAULT compile-time configurable

Revision 1.6 / (download) - annotate - [select for diffs], Mon Feb 16 14:56:22 2015 UTC (5 years, 5 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_13_3
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored)

strtonum(3) compat glue

Revision 1.5 / (download) - annotate - [select for diffs], Tue Feb 3 21:16:02 2015 UTC (5 years, 6 months ago) by schwarze
Branch: MAIN
Changes since 1.4: +28 -22 lines
Diff to previous 1.4 (colored)

Enable the integrated man(1) even when database support is disabled,
using the file system lookup fallback code, also reducing the number
of preprocessor conditional directives.
Hopefully, it will make some small Linux distros happy.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Jan 23 21:59:31 2015 UTC (5 years, 6 months ago) by schwarze
Branch: MAIN
Changes since 1.3: +3 -2 lines
Diff to previous 1.3 (colored)

improve homebrew cellar config example

Revision 1.3 / (download) - annotate - [select for diffs], Wed Jan 21 22:41:49 2015 UTC (5 years, 6 months ago) by schwarze
Branch: MAIN
Changes since 1.2: +10 -2 lines
Diff to previous 1.2 (colored)

Support homebrew-style linking on Mac OS X.
Idea found together with Alexis Hildebrandt <surryhill at gmail dot com>.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Dec 9 09:14:33 2014 UTC (5 years, 8 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_13_2
Changes since 1.1: +30 -2 lines
Diff to previous 1.1 (colored)

Support choosing alternative binary and manual names from configure.local,
to help downstream distributions avoid naming conflicts.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Aug 16 19:00:01 2014 UTC (5 years, 11 months ago) by schwarze
Branch: MAIN

Improve build system and autodetection.
* 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.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb