xref: /netbsd-src/external/bsd/mdocml/include/config.h (revision d909946ca08dceb44d7d0f22ec9488679695d976)
1 #ifdef __cplusplus
2 #error "Do not use C++.  See the INSTALL file."
3 #endif
4 
5 #ifndef MANDOC_CONFIG_H
6 #define MANDOC_CONFIG_H
7 
8 #if defined(__linux__) || defined(__MINT__)
9 #define _GNU_SOURCE	/* See test-*.c what needs this. */
10 #endif
11 
12 #include <sys/types.h>
13 
14 #define MAN_CONF_FILE "/etc/man.conf"
15 #define MANPATH_DEFAULT "/usr/share/man:/usr/X11R6/man:/usr/local/man"
16 #define HAVE_DIRENT_NAMLEN 1
17 #define HAVE_ERR 1
18 #define HAVE_FTS 1
19 #define HAVE_GETLINE 1
20 #define HAVE_GETSUBOPT 0
21 #define HAVE_ISBLANK 1
22 #define HAVE_MKDTEMP 1
23 #define HAVE_MMAP 1
24 #define HAVE_PLEDGE 0
25 #define HAVE_PROGNAME 1
26 #define HAVE_REALLOCARRAY 0
27 #define HAVE_REWB_BSD 1
28 #define HAVE_REWB_SYSV 0
29 #define HAVE_SANDBOX_INIT 0
30 #define HAVE_STRCASESTR 1
31 #define HAVE_STRINGLIST 0
32 #define HAVE_STRLCAT 1
33 #define HAVE_STRLCPY 1
34 #define HAVE_STRPTIME 1
35 #define HAVE_STRSEP 1
36 #define HAVE_STRTONUM 0
37 #define HAVE_VASPRINTF 1
38 #define HAVE_WCHAR 1
39 #if 0
40 #define HAVE_SQLITE3 1
41 #define HAVE_SQLITE3_ERRSTR 1
42 #endif
43 #define HAVE_OHASH 0
44 #define HAVE_MANPATH 0
45 
46 #define BINM_APROPOS "apropos"
47 #define BINM_MAKEWHATIS "makewhatis"
48 #define BINM_MAN "man"
49 #define BINM_SOELIM "soelim"
50 #define BINM_WHATIS "whatis"
51 
52 extern	int	  getsubopt(char **, char * const *, char **);
53 extern	void	 *reallocarray(void *, size_t, size_t);
54 extern	long long strtonum(const char *, long long, long long, const char **);
55 
56 #endif /* MANDOC_CONFIG_H */
57