]> git.cameronkatri.com Git - mandoc.git/blobdiff - configure
No need to hardcode /usr/bin/ as the path to more(1); helps portability.
[mandoc.git] / configure
index 0a2fae4045ac4ff0e5f75f27c09432bfd380aacf..87db28974352ba4d41e77b79bf2e31cc8f250b26 100755 (executable)
--- 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 -`
@@ -81,6 +82,7 @@ BINM_MAN="man"
 BINM_WHATIS="whatis"
 BINM_MAKEWHATIS="makewhatis"
 MANM_MAN="man"
+MANM_MANCONF="man.conf"
 MANM_MDOC="mdoc"
 MANM_ROFF="roff"
 MANM_EQN="eqn"
@@ -278,6 +280,8 @@ __HEREDOC__
 [ ${HAVE_FGETLN} -eq 0 ] && echo "#include <stdio.h>"
 
 echo
+echo "#define MAN_CONF_FILE \"/etc/${MANM_MANCONF}\""
+echo "#define MANPATH_DEFAULT \"${MANPATH_DEFAULT}\""
 [ -n "${OSNAME}" ] && echo "#define OSNAME \"${OSNAME}\""
 [ -n "${HOMEBREWDIR}" ] && echo "#define HOMEBREWDIR \"${HOMEBREWDIR}\""
 
@@ -420,6 +424,7 @@ BINM_MAN    = ${BINM_MAN}
 BINM_WHATIS    = ${BINM_WHATIS}
 BINM_MAKEWHATIS        = ${BINM_MAKEWHATIS}
 MANM_MAN       = ${MANM_MAN}
+MANM_MANCONF   = ${MANM_MANCONF}
 MANM_MDOC      = ${MANM_MDOC}
 MANM_ROFF      = ${MANM_ROFF}
 MANM_EQN       = ${MANM_EQN}