diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-08-16 23:04:25 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-08-16 23:04:25 +0000 |
commit | e787f86b365b1779d9ea4b2c1b4b35617a18d0ba (patch) | |
tree | 99794137b11a26bbda78403db11f7d76c5634afb /configure | |
parent | 793fa839780278ce837bbf49d61586b868ac4eb4 (diff) | |
download | mandoc-e787f86b365b1779d9ea4b2c1b4b35617a18d0ba.tar.gz |
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-x | configure | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |