freebsd-dev/contrib/mdocml/config.h

53 lines
1.2 KiB
C
Raw Normal View History

2016-01-15 23:28:12 +00:00
#ifdef __cplusplus
#error "Do not use C++. See the INSTALL file."
#endif
#ifndef MANDOC_CONFIG_H
#define MANDOC_CONFIG_H
#if defined(__linux__) || defined(__MINT__)
#define _GNU_SOURCE /* See test-*.c what needs this. */
#endif
2014-11-22 18:57:23 +00:00
#include <sys/types.h>
2016-01-15 23:28:12 +00:00
#include <stdio.h>
2016-01-15 23:28:12 +00:00
#define MAN_CONF_FILE "/etc/man.conf"
#define HAVE_DIRENT_NAMLEN 1
2016-01-15 23:28:12 +00:00
#define HAVE_ERR 1
#define HAVE_FTS 1
2016-01-15 23:28:12 +00:00
#define HAVE_GETLINE 1
#define HAVE_GETSUBOPT 1
2016-01-15 23:28:12 +00:00
#define HAVE_ISBLANK 1
#define HAVE_MKDTEMP 1
#define HAVE_MMAP 1
2016-01-15 23:28:12 +00:00
#define HAVE_PLEDGE 0
#define HAVE_PROGNAME 1
2015-05-01 18:34:29 +00:00
#define HAVE_REALLOCARRAY 1
2016-01-15 23:28:12 +00:00
#define HAVE_REWB_BSD 0
#define HAVE_REWB_SYSV 0
#define HAVE_STRCASESTR 1
2016-01-15 23:28:12 +00:00
#define HAVE_STRINGLIST 1
#define HAVE_STRLCAT 1
#define HAVE_STRLCPY 1
#define HAVE_STRPTIME 1
#define HAVE_STRSEP 1
#define HAVE_STRTONUM 1
2016-01-15 23:28:12 +00:00
#define HAVE_VASPRINTF 1
#define HAVE_WCHAR 1
#define HAVE_SQLITE3 1
#define HAVE_SQLITE3_ERRSTR 0
#define HAVE_OHASH 1
#define HAVE_MANPATH 1
2014-12-25 21:56:56 +00:00
#define BINM_APROPOS "apropos"
2016-01-15 23:28:12 +00:00
#define BINM_MAKEWHATIS "makewhatis"
2014-12-25 21:56:56 +00:00
#define BINM_MAN "man"
2016-01-15 23:28:12 +00:00
#define BINM_SOELIM "soelim"
2014-12-25 21:56:56 +00:00
#define BINM_WHATIS "whatis"
2016-01-15 23:28:12 +00:00
extern ssize_t getline(char **, size_t *, FILE *);
2014-11-22 18:08:25 +00:00
extern const char *sqlite3_errstr(int);
#endif /* MANDOC_CONFIG_H */