summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-03-11 13:15:44 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-03-11 13:15:44 +0000
commita3bb1f886e213bddbeb2215596d8656be7916b93 (patch)
tree4e136a1c1d41ea0352469fcb9678d744373f0dd5 /configure
parentb68603956c1ef2a1054c002436569a922e602d3b (diff)
downloadmandoc-a3bb1f886e213bddbeb2215596d8656be7916b93.tar.gz
When manpath(1) is available, enable HAVE_MANPATH even when building
without database support. Required now that we have man(1) even without database support.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 1 insertions, 3 deletions
diff --git a/configure b/configure
index 000d11ec..fb2dabc9 100755
--- a/configure
+++ b/configure
@@ -237,9 +237,7 @@ elif [ -z "${DBLIB}" ]; then
fi
# --- manpath ---
-if [ ${BUILD_DB} -eq 0 ]; then
- HAVE_MANPATH=0
-elif ismanual manpath "${HAVE_MANPATH}"; then
+if ismanual manpath "${HAVE_MANPATH}"; then
:
elif manpath 1>&3 2>&3; then
echo "manpath: yes" 1>&2