summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-03-22 18:14:30 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-03-22 18:14:30 +0000
commit5960f0c1ba4284107409535ccbcbda4bd3a66c5a (patch)
tree38cb9145ae288ed9fbec91680cde9363263b4fb1 /configure
parentd9be634890cae1728d5f49489b411202f19337ad (diff)
downloadmandoc-5960f0c1ba4284107409535ccbcbda4bd3a66c5a.tar.gz
make MANPATH_DEFAULT compile-time configurable
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 0a2fae40..0e20da5e 100755
--- a/configure
+++ b/configure
@@ -31,6 +31,7 @@ echo "config.log: writing..."
# Initialize all variables here,
# such that nothing can leak in from the environment.
+MANPATH_DEFAULT="/usr/share/man:/usr/X11R6/man:/usr/local/man"
OSNAME=
CC=`printf "all:\\n\\t@echo \\\$(CC)\\n" | make -f -`
@@ -278,6 +279,7 @@ __HEREDOC__
[ ${HAVE_FGETLN} -eq 0 ] && echo "#include <stdio.h>"
echo
+echo "#define MANPATH_DEFAULT \"${MANPATH_DEFAULT}\""
[ -n "${OSNAME}" ] && echo "#define OSNAME \"${OSNAME}\""
[ -n "${HOMEBREWDIR}" ] && echo "#define HOMEBREWDIR \"${HOMEBREWDIR}\""