]> git.cameronkatri.com Git - mandoc.git/commit
Improve build system and autodetection.
authorIngo Schwarze <schwarze@openbsd.org>
Sat, 16 Aug 2014 19:00:01 +0000 (19:00 +0000)
committerIngo Schwarze <schwarze@openbsd.org>
Sat, 16 Aug 2014 19:00:01 +0000 (19:00 +0000)
commita005fc4b580b8743c2baaf08bb9fa7792201861b
treebc97e904c6fffbf344eabf934674809767674fe7
parent2b458c52cbc836a7fa3ad35cfb84f021fd6356cf
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.
25 files changed:
INSTALL
Makefile
compat_fgetln.c
compat_fts.c
compat_getsubopt.c
compat_ohash.c
compat_reallocarray.c
compat_sqlite3_errstr.c
compat_strcasestr.c
compat_strlcat.c
compat_strlcpy.c
compat_strsep.c
config.h.post [deleted file]
config.h.pre [deleted file]
configure
configure.local.example [new file with mode: 0644]
mandoc.c
mandocdb.c
manpath.c
mansearch.c
preconv.c
read.c
term_ascii.c
test-sqlite3.c [new file with mode: 0644]
test-wchar.c [new file with mode: 0644]