blob: 5f66e96f822a56afbf0c92fafa94345de24ee5ac [file] [log] [blame]
Yuri Pankov260e9a82015-10-18 14:22:06 +03001#ifndef MANDOC_CONFIG_H
Yuri Pankov6640c132018-08-09 15:17:53 +03002#define MANDOC_CONFIG_H
Garrett D'Amore95c635e2014-07-14 20:10:37 -07003
Yuri Pankov260e9a82015-10-18 14:22:06 +03004#include <sys/types.h>
Joshua M. Clulow62658512020-04-08 12:30:48 -07005#include <fcntl.h> /* XXX so that O_DIRECTORY is already defined */
Garrett D'Amore95c635e2014-07-14 20:10:37 -07006
Yuri Pankov6640c132018-08-09 15:17:53 +03007#define MAN_CONF_FILE "/etc/man.conf"
8#define MANPATH_BASE "/usr/share/man"
9#define MANPATH_DEFAULT "/usr/share/man:/usr/gnu/share/man"
10#define UTF8_LOCALE "en_US.UTF-8"
11#define EFTYPE EINVAL
Joshua M. Clulow62658512020-04-08 12:30:48 -070012#ifdef O_DIRECTORY
13#undef O_DIRECTORY
14#endif
Yuri Pankov6640c132018-08-09 15:17:53 +030015#define O_DIRECTORY 0
16#define HAVE_CMSG_XPG42 0
17#define HAVE_DIRENT_NAMLEN 0
18#define HAVE_ENDIAN 1
19#define HAVE_ERR 1
20#define HAVE_FTS 1
21#define HAVE_FTS_COMPARE_CONST 0
22#define HAVE_GETLINE 1
23#define HAVE_GETSUBOPT 1
24#define HAVE_ISBLANK 1
25#define HAVE_MKDTEMP 1
26#define HAVE_NTOHL 1
27#define HAVE_PLEDGE 0
28#define HAVE_PROGNAME 1
29#define HAVE_REALLOCARRAY 1
30#define HAVE_RECALLOCARRAY 1
31#define HAVE_REWB_BSD 1
32#define HAVE_REWB_SYSV 1
33#define HAVE_SANDBOX_INIT 0
34#define HAVE_STRCASESTR 1
35#define HAVE_STRINGLIST 0
36#define HAVE_STRLCAT 1
37#define HAVE_STRLCPY 1
38#define HAVE_STRNDUP 1
39#define HAVE_STRPTIME 1
40#define HAVE_STRSEP 1
41#define HAVE_STRTONUM 1
42#define HAVE_SYS_ENDIAN 0
43#define HAVE_VASPRINTF 1
44#define HAVE_WCHAR 1
45#define HAVE_OHASH 0
Yuri Pankova40ea1a2017-05-28 20:36:38 +030046
Yuri Pankov6640c132018-08-09 15:17:53 +030047#define BINM_APROPOS "apropos"
48#define BINM_MAKEWHATIS "man -w"
49#define BINM_MAN "man"
50#define BINM_WHATIS "whatis"
Garrett D'Amore95c635e2014-07-14 20:10:37 -070051
52#endif /* MANDOC_CONFIG_H */