2 #error "Do not use C++. See the INSTALL file."
5 #ifndef MANDOC_CONFIG_H
6 #define MANDOC_CONFIG_H
8 #if defined(__linux__) || defined(__MINT__)
9 #define _GNU_SOURCE /* See test-*.c what needs this. */
12 #include <sys/types.h>
15 #define MAN_CONF_FILE "/etc/man.conf"
16 #define HAVE_DIRENT_NAMLEN 1
19 #define HAVE_GETLINE 1
20 #define HAVE_GETSUBOPT 1
21 #define HAVE_ISBLANK 1
22 #define HAVE_MKDTEMP 1
25 #define HAVE_PROGNAME 1
26 #define HAVE_REALLOCARRAY 1
27 #define HAVE_REWB_BSD 0
28 #define HAVE_REWB_SYSV 0
29 #define HAVE_STRCASESTR 1
30 #define HAVE_STRINGLIST 1
31 #define HAVE_STRLCAT 1
32 #define HAVE_STRLCPY 1
33 #define HAVE_STRPTIME 1
35 #define HAVE_STRTONUM 1
36 #define HAVE_VASPRINTF 1
38 #define HAVE_SQLITE3 1
39 #define HAVE_SQLITE3_ERRSTR 0
41 #define HAVE_MANPATH 1
43 #define BINM_APROPOS "apropos"
44 #define BINM_MAKEWHATIS "makewhatis"
45 #define BINM_MAN "man"
46 #define BINM_SOELIM "soelim"
47 #define BINM_WHATIS "whatis"
49 extern ssize_t getline(char **, size_t *, FILE *);
50 extern const char *sqlite3_errstr(int);
52 #endif /* MANDOC_CONFIG_H */