aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/configure
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-08-16 23:04:25 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-08-16 23:04:25 +0000
commit7d593fa69b20a5bf1d8d8b1280a0aacd5296026c (patch)
treef48d6790a69a5e93ab87beb96fc93e09c1fce5a3 /configure
parentb2a9c33559ec13a867fe90dca3e869e33d088e15 (diff)
downloadmandoc-7d593fa69b20a5bf1d8d8b1280a0aacd5296026c.tar.gz
mandoc-7d593fa69b20a5bf1d8d8b1280a0aacd5296026c.tar.zst
mandoc-7d593fa69b20a5bf1d8d8b1280a0aacd5296026c.zip
When BUILD_DB is active, link apropos(1) into the mandoc binary.
This is the first step on the way to a man(1) implementation. The new ./configure is flexible enough to make this step quite easy.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 6f521237..eb9311e3 100755
--- a/configure
+++ b/configure
@@ -280,6 +280,7 @@ cat << __HEREDOC__
#define HAVE_STRPTIME ${HAVE_STRPTIME}
#define HAVE_STRSEP ${HAVE_STRSEP}
#define HAVE_WCHAR ${HAVE_WCHAR}
+#define HAVE_SQLITE3 ${HAVE_SQLITE3}
#define HAVE_SQLITE3_ERRSTR ${HAVE_SQLITE3_ERRSTR}
#define HAVE_OHASH ${HAVE_OHASH}
#define HAVE_MANPATH ${HAVE_MANPATH}
@@ -385,6 +386,9 @@ INSTALL_MAN = ${INSTALL_MAN}
INSTALL_DATA = ${INSTALL_DATA}
__HEREDOC__
+[ ${BUILD_DB} -gt 0 ] && \
+ echo "MAN_OBJS = \$(MANDOC_OBJS) \$(APROPOS_OBJS)"
+
echo "Makefile.local: written" 1>&2
echo "Makefile.local: written" 1>&3