summaryrefslogtreecommitdiffstats
path: root/manpath.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-08-16 19:00:01 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-08-16 19:00:01 +0000
commit2aa53e65cd397640a44a8f3489f93ee15a536c54 (patch)
tree004861e8817a1141dee31b9e1e64ffba81f451f4 /manpath.c
parentb910bc285b99278f25295489ecd0cef5e7339f23 (diff)
downloadmandoc-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/manpath.c b/manpath.c
index 11aec972..879dc077 100644
--- a/manpath.c
+++ b/manpath.c
@@ -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;