xref: /illumos-gate/usr/src/cmd/mandoc/config.h (revision 13b136d3061155363c62c9f6568d25b8b27da8f6)
1 #ifndef MANDOC_CONFIG_H
2 #define MANDOC_CONFIG_H
3 
4 #include <sys/types.h>
5 
6 /*
7  * The tools build may be on a system without O_DIRECTORY. So we need to
8  * explicitly include sys/fcntl.h and check for O_DIRECTORY and if not present,
9  * use the default of it being zero.
10  */
11 #include <sys/fcntl.h>
12 #ifndef	O_DIRECTORY
13 #define O_DIRECTORY 0
14 #endif
15 
16 #define MAN_CONF_FILE "/etc/man.conf"
17 #define MANPATH_BASE "/usr/share/man"
18 #define MANPATH_DEFAULT "/usr/share/man:/usr/gnu/share/man"
19 #define UTF8_LOCALE "en_US.UTF-8"
20 #define EFTYPE EINVAL
21 #define HAVE_CMSG_XPG42 0
22 #define HAVE_DIRENT_NAMLEN 0
23 #define HAVE_ENDIAN 1
24 #define HAVE_ERR 1
25 #define HAVE_FTS 1
26 #define HAVE_FTS_COMPARE_CONST 0
27 #define HAVE_GETLINE 1
28 #define HAVE_GETSUBOPT 1
29 #define HAVE_ISBLANK 1
30 #define HAVE_MKDTEMP 1
31 #define HAVE_NTOHL 1
32 #define HAVE_PLEDGE 0
33 #define HAVE_PROGNAME 1
34 #define HAVE_REALLOCARRAY 1
35 #define HAVE_RECALLOCARRAY 1
36 #define HAVE_REWB_BSD 1
37 #define HAVE_REWB_SYSV 1
38 #define HAVE_SANDBOX_INIT 0
39 #define HAVE_STRCASESTR 1
40 #define HAVE_STRINGLIST 0
41 #define HAVE_STRLCAT 1
42 #define HAVE_STRLCPY 1
43 #define HAVE_STRNDUP 1
44 #define HAVE_STRPTIME 1
45 #define HAVE_STRSEP 1
46 #define HAVE_STRTONUM 1
47 #define HAVE_SYS_ENDIAN 0
48 #define HAVE_VASPRINTF 1
49 #define HAVE_WCHAR 1
50 #define HAVE_OHASH 0
51 
52 #define OSENUM MANDOC_OS_OTHER
53 
54 #define BINM_APROPOS "apropos"
55 #define BINM_MAKEWHATIS "man -w"
56 #define BINM_MAN "man"
57 #define BINM_WHATIS "whatis"
58 
59 #endif /* MANDOC_CONFIG_H */
60