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