diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-08-16 19:00:01 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-08-16 19:00:01 +0000 |
commit | 2aa53e65cd397640a44a8f3489f93ee15a536c54 (patch) | |
tree | 004861e8817a1141dee31b9e1e64ffba81f451f4 /manpath.c | |
parent | b910bc285b99278f25295489ecd0cef5e7339f23 (diff) | |
download | mandoc-2aa53e65cd397640a44a8f3489f93ee15a536c54.tar.gz |
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.
Diffstat (limited to 'manpath.c')
-rw-r--r-- | manpath.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -39,7 +39,7 @@ void manpath_parse(struct manpaths *dirs, const char *file, char *defp, char *auxp) { -#ifdef USE_MANPATH +#if HAVE_MANPATH char cmd[(PATH_MAX * 3) + 20]; FILE *stream; char *buf; |