summaryrefslogtreecommitdiff
path: root/usr/src/cmd/mandoc/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/mandoc/config.h')
-rw-r--r--usr/src/cmd/mandoc/config.h18
1 files changed, 14 insertions, 4 deletions
diff --git a/usr/src/cmd/mandoc/config.h b/usr/src/cmd/mandoc/config.h
index e4bc9a6a3b..3e569e6082 100644
--- a/usr/src/cmd/mandoc/config.h
+++ b/usr/src/cmd/mandoc/config.h
@@ -13,12 +13,18 @@
#define O_DIRECTORY 0
#endif
+#ifdef __cplusplus
+#error "Do not use C++. See the INSTALL file."
+#endif
+
+
#define MAN_CONF_FILE "/etc/man.conf"
#define MANPATH_BASE "/usr/share/man"
-#define MANPATH_DEFAULT "/usr/share/man:/usr/gnu/share/man"
+#define MANPATH_DEFAULT "/usr/share/man"
+#define OSENUM MANDOC_OS_OTHER
#define UTF8_LOCALE "en_US.UTF-8"
#define EFTYPE EINVAL
-#define HAVE_CMSG_XPG42 0
+
#define HAVE_DIRENT_NAMLEN 0
#define HAVE_ENDIAN 1
#define HAVE_ERR 1
@@ -27,7 +33,9 @@
#define HAVE_GETLINE 1
#define HAVE_GETSUBOPT 1
#define HAVE_ISBLANK 1
+#define HAVE_LESS_T 1
#define HAVE_MKDTEMP 1
+#define HAVE_MKSTEMPS 1
#define HAVE_NTOHL 1
#define HAVE_PLEDGE 0
#define HAVE_PROGNAME 1
@@ -48,12 +56,14 @@
#define HAVE_VASPRINTF 1
#define HAVE_WCHAR 1
#define HAVE_OHASH 0
-
-#define OSENUM MANDOC_OS_OTHER
+#define NEED_XPG4_2 1
#define BINM_APROPOS "apropos"
#define BINM_MAKEWHATIS "man -w"
+#define BINM_CATMAN "catman"
#define BINM_MAN "man"
+#define BINM_SOELIM "soelim"
#define BINM_WHATIS "whatis"
+#define BINM_PAGER "less"
#endif /* MANDOC_CONFIG_H */