summaryrefslogtreecommitdiff
path: root/usr/src/cmd/mandoc/config.h
diff options
context:
space:
mode:
authorYuri Pankov <yuri.pankov@nexenta.com>2017-05-28 20:36:38 +0300
committerRichard Lowe <richlowe@richlowe.net>2017-06-21 16:46:29 -0400
commita40ea1a7d80eee1b409e9dcc2e48c730988147ea (patch)
tree83ffaf56553e3c7cda31f650a37a1e0c7f2b5b90 /usr/src/cmd/mandoc/config.h
parent299c9e70a71f87365f8f88fdea2cccbd0d5b8db6 (diff)
downloadillumos-gate-a40ea1a7d80eee1b409e9dcc2e48c730988147ea.tar.gz
8297 update mdocml to 1.14.1
Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/cmd/mandoc/config.h')
-rw-r--r--usr/src/cmd/mandoc/config.h53
1 files changed, 36 insertions, 17 deletions
diff --git a/usr/src/cmd/mandoc/config.h b/usr/src/cmd/mandoc/config.h
index a9106ae4f4..301e1f218d 100644
--- a/usr/src/cmd/mandoc/config.h
+++ b/usr/src/cmd/mandoc/config.h
@@ -1,28 +1,47 @@
#ifndef MANDOC_CONFIG_H
-#define MANDOC_CONFIG_H
+#define MANDOC_CONFIG_H
#include <sys/types.h>
-#include <stdio.h>
+#define MAN_CONF_FILE "/etc/man.conf"
+#define MANPATH_DEFAULT "/usr/share/man:/usr/gnu/share/man"
+
+#define UTF8_LOCALE "en_US.UTF-8"
+#define EFTYPE EINVAL
+#define O_DIRECTORY 0
+
+#define HAVE_CMSG_XPG42 0
+#define HAVE_DIRENT_NAMLEN 0
+#define HAVE_ENDIAN 1
#define HAVE_ERR 1
-#define HAVE_MANPATH 1
-#define HAVE_MMAP 1
-#define HAVE_OHASH 0
+#define HAVE_FTS 1
+#define HAVE_FTS_COMPARE_CONST 0
+#define HAVE_GETLINE 1
+#define HAVE_GETSUBOPT 1
+#define HAVE_ISBLANK 1
+#define HAVE_MKDTEMP 1
+#define HAVE_NTOHL 1
+#define HAVE_OHASH 0
#define HAVE_PLEDGE 0
#define HAVE_PROGNAME 1
-#define HAVE_REALLOCARRAY 0
+#define HAVE_REALLOCARRAY 1
+#define HAVE_REWB_BSD 1
+#define HAVE_REWB_SYSV 1
#define HAVE_SANDBOX_INIT 0
-#define HAVE_SQLITE3 0
-#define HAVE_STRPTIME 1
-#define HAVE_STRTONUM 0
-#define HAVE_WCHAR 1
-
-#define BINM_APROPOS "apropos"
-#define BINM_MAN "man"
-#define BINM_WHATIS "whatis"
-#define BINM_MAKEWHATIS "man -w"
+#define HAVE_STRCASESTR 1
+#define HAVE_STRINGLIST 0
+#define HAVE_STRLCAT 1
+#define HAVE_STRLCPY 1
+#define HAVE_STRPTIME 1
+#define HAVE_STRSEP 1
+#define HAVE_STRTONUM 1
+#define HAVE_SYS_ENDIAN 0
+#define HAVE_VASPRINTF 1
+#define HAVE_WCHAR 1
-extern void *reallocarray(void *, size_t, size_t);
-extern long long strtonum(const char *, long long, long long, const char **);
+#define BINM_APROPOS "apropos"
+#define BINM_MAN "man"
+#define BINM_WHATIS "whatis"
+#define BINM_MAKEWHATIS "man -w"
#endif /* MANDOC_CONFIG_H */