]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lib/libmytinfo/config.h
This is the addition of a syslog(3) security.* top-level category. This
[FreeBSD/FreeBSD.git] / lib / libmytinfo / config.h
1 /*
2  * config.h
3  *
4  * By Ross Ridge
5  * Public Domain
6  * 92/02/19 18:56:28
7  *
8  * @(#) mytinfo config.h 3.3 92/02/19 public domain, By Ross Ridge
9  *
10  * Read the file INSTALL for more information on configuring mytinfo
11  *
12  */
13
14 #ifndef _CONFIG_H_
15 #define _CONFIG_H_
16
17 #ifdef __STDC__
18 #define USE_ANSIC               /* undefine this if your compiler lies */
19 #endif
20
21 #define USE_TERMIOS             /* use POSIX termios */
22 #undef  USE_TERMIO              /* use termio (SysIII, SysV) */
23 #undef USE_SGTTY                /* use sgtty (v7, BSD) */
24 #define USE_WINSZ               /* get window size from the tty driver */
25 #undef USE_STRINGS              /* include <strings.h> instead of <string.h> */
26 #undef  USE_MYBSEARCH           /* your library doesn't have bsearch */
27 #undef  USE_MYSTRTOK            /* your library doesn't have strtok */
28 #undef  USE_MYQSORT             /* your library doesn't have qsort */
29 #undef  USE_MYMKDIR             /* your library doesn't have mkdir */
30 #define USE_MEMORY              /* you have an <memory.h> header */
31 #undef  USE_FAKE_STDIO          /* don't use real stdio */
32 #undef USE_DOPRNT               /* no vfprintf, use _doprnt */
33 #undef USE_TERMINFO             /* look in terminfo dirs for entry */
34 #define USE_TERMCAP             /* look in termcap dirs for entry */
35
36 #undef  USE_SHORT_BSEARCH       /* speeds up MYBSEARCH on most machines */
37
38 #undef  USE_SMALLMEM            /* save some memory */
39
40 #undef USE_UPBC_KLUDGE          /* do tgoto like real togo */
41 #undef USE_EXTERN_UPBC          /* get cuu1 and cub1 from externs UP and BC */
42 #undef USE_LITOUT_KLUDGE        /* an alternate tgoto kludge, not recommened */
43
44
45 #ifndef USE_ANSIC
46
47 #undef USE_PROTOTYPES           /* use ANSI C prototypes */
48 #undef USE_STDLIB               /* you have a <stdlib.h> */
49 #undef USE_STDARG               /* you have a <stdarg.h> */
50 #undef USE_STDDEF               /* you have a <stddef.h> */
51
52 #define const
53 #define volatile
54 #define noreturn                /* a function that doesn't return */
55
56 typedef char *anyptr;           /* a type that any pointer can be assigned to */
57
58 #define mysize_t unsigned       /* size_t, the size of an object */
59
60 #else /* USE_ANSIC */
61
62 #define USE_PROTOTYPES
63 #define USE_STDLIB
64 #define USE_STDARG
65 #define USE_STDDEF
66
67 typedef void *anyptr;
68
69 #define mysize_t size_t
70
71 #ifdef __GNUC__
72 #define noreturn volatile
73 #else
74 #define noreturn
75 #endif
76
77 #endif /* USE_ANSIC */
78
79 #ifdef __FreeBSD__
80 #define TERMCAPFILE "$TERMCAPFILE $HOME/.termcap /usr/share/misc/termcap"
81 #else
82 #define TERMCAPFILE "$TERMCAPFILE $HOME/.termcap /etc/termcap"
83 #endif
84
85 #define TERMINFOSRC "/usr/lib/terminfo/terminfo.src"
86
87 #define TERMINFODIR "/usr/lib/terminfo"
88
89 #endif