summaryrefslogtreecommitdiffstats
path: root/mandocdb.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 /mandocdb.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 'mandocdb.c')
-rw-r--r--mandocdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mandocdb.c b/mandocdb.c
index 3a48714e..6bc5361c 100644
--- a/mandocdb.c
+++ b/mandocdb.c
@@ -25,7 +25,7 @@
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
-#ifdef HAVE_FTS
+#if HAVE_FTS
#include <fts.h>
#else
#include "compat_fts.h"
@@ -39,7 +39,7 @@
#include <string.h>
#include <unistd.h>
-#ifdef HAVE_OHASH
+#if HAVE_OHASH
#include <ohash.h>
#else
#include "compat_ohash.h"