xref: /illumos-gate/usr/src/cmd/mandoc/config.h (revision 37e2cd25d56b334a2403f2540a0b0a1e6a40bcd1)
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 #ifdef __cplusplus
17 #error "Do not use C++.  See the INSTALL file."
18 #endif
19 
20 
21 #define MAN_CONF_FILE "/etc/man.conf"
22 #define MANPATH_BASE "/usr/share/man"
23 #define MANPATH_DEFAULT "/usr/share/man"
24 #define OSENUM MANDOC_OS_OTHER
25 #define UTF8_LOCALE "en_US.UTF-8"
26 #define EFTYPE EINVAL
27 
28 #define HAVE_DIRENT_NAMLEN 0
29 #define HAVE_ENDIAN 1
30 #define HAVE_ERR 1
31 #define HAVE_FTS 1
32 #define HAVE_FTS_COMPARE_CONST 0
33 #define HAVE_GETLINE 1
34 #define HAVE_GETSUBOPT 1
35 #define HAVE_ISBLANK 1
36 #define HAVE_LESS_T 1
37 #define HAVE_MKDTEMP 1
38 #define HAVE_MKSTEMPS 1
39 #define HAVE_NTOHL 1
40 #define HAVE_PLEDGE 0
41 #define HAVE_PROGNAME 1
42 #define HAVE_REALLOCARRAY 1
43 #define HAVE_RECALLOCARRAY 1
44 #define HAVE_REWB_BSD 1
45 #define HAVE_REWB_SYSV 1
46 #define HAVE_SANDBOX_INIT 0
47 #define HAVE_STRCASESTR 1
48 #define HAVE_STRINGLIST 0
49 #define HAVE_STRLCAT 1
50 #define HAVE_STRLCPY 1
51 #define HAVE_STRNDUP 1
52 #define HAVE_STRPTIME 1
53 #define HAVE_STRSEP 1
54 #define HAVE_STRTONUM 1
55 #define HAVE_SYS_ENDIAN 0
56 #define HAVE_VASPRINTF 1
57 #define HAVE_WCHAR 1
58 #define HAVE_OHASH 0
59 #define NEED_XPG4_2 1
60 
61 #define BINM_APROPOS "apropos"
62 #define BINM_MAKEWHATIS "man -w"
63 #define BINM_CATMAN "catman"
64 #define BINM_MAN "man"
65 #define BINM_SOELIM "soelim"
66 #define BINM_WHATIS "whatis"
67 #define BINM_PAGER "less"
68 
69 #endif /* MANDOC_CONFIG_H */
70