xref: /netbsd-src/games/warp/config.h (revision 29ab367558a57c4f5e14074c12e851656d8236c6)
1 /* RDCHK:
2  *	This symbol, if defined, indicates that the rdchk routine is available
3  *	to find out if there is input pending on an IO channel.  Generally
4  *	the routine is used only if FIONREAD and O_NDELAY aren't available.
5  */
6 #undef	RDCHK		/**/
7 
8 /* SCOREFULL:
9  *	This symbol, if defined, indicates that any scoreboard kept by the
10  *	program should be kept on the basis of the user's full name as opposed
11  *	to the user's login name.  If the user can change his full name he
12  *	can enter multiple scores if this is defined.
13  */
14 #undef	SCOREFULL	/**/
15 
16 /* SIGNEDCHAR:
17  *	This symbol, if defined, indicates that characters are a signed type.
18  *	If not defined, things declared as signed characters (and that make
19  *	use of negative values) should probably be declared as shorts instead.
20  */
21 #define	SIGNEDCHAR	/**/
22 
23 /* TERMIOS:
24  *	This symbol, if defined, indicates that the program should include
25  *	termio.h rather than sgtty.h.  There are also differences in the
26  *	ioctl() calls that depend on the value of this symbol.
27  */
28 #define	TERMIOS		/**/
29 
30 /* USENDIR:
31  *	This symbol, if defined, indicates that the program should compile
32  *	the ndir.c code provided with the package.
33  */
34 /* LIBNDIR:
35  *	This symbol, if defined, indicates that the program should include the
36  *	system's version of ndir.h, rather than the one with this package.
37  */
38 #undef	USENDIR		/**/
39 #undef	LIBNDIR		/**/
40 #define LIBNDIR
41 
42 /* WHOAMI:
43  *	This symbol, if defined, indicates that the program may include
44  *	whoami.h.
45  */
46 #undef	WHOAMI		/**/
47 
48 /* HOSTNAME:
49  *	This symbol contains name of the host the program is going to run on.
50  *	The domain is not kept with hostname, but must be gotten from MYDOMAIN.
51  *	The dot comes with MYDOMAIN, and need not be supplied by the program.
52  *	If gethostname() or uname() exist, HOSTNAME may be ignored.
53  */
54 /* MYDOMAIN:
55  *	This symbol contains the domain of the host the program is going to
56  *	run on.  The domain must be appended to HOSTNAME to form a complete
57  *	host name.  The dot comes with MYDOMAIN, and need not be supplied by
58  *	the program.  If the host name is derived from PHOSTNAME, the domain
59  *	may or may not already be there, and the program should check.
60  */
61 #define HOSTNAME "kazoo"		/**/
62 #define MYDOMAIN ".uucp"		/**/
63 
64 /* PASSNAMES:
65  *	This symbol, if defined, indicates that full names are stored in
66  *	the /etc/passwd file.
67  */
68 /* BERKNAMES:
69  *	This symbol, if defined, indicates that full names are stored in
70  *	the /etc/passwd file in Berkeley format (name first thing, everything
71  *	up to first comma, with & replaced by capitalized login id, yuck).
72  */
73 /* USGNAMES:
74  *	This symbol, if defined, indicates that full names are stored in
75  *	the /etc/passwd file in USG format (everything after - and before ( is
76  *	the name).
77  */
78 #define	PASSNAMES /*  (undef to take name from ~/.fullname) */
79 #define	BERKNAMES /* (that is, ":name,stuff:") */
80 #undef	USGNAMES  /* (that is, ":stuff-name(stuff):") */
81 
82 /* PREFSHELL:
83  *	This symbol contains the full name of the preferred user shell on this
84  *	system.  Usual values are /bin/csh, /bin/ksh, /bin/sh.
85  */
86 #define PREFSHELL "/bin/csh"		/**/
87 
88 /* ROOTID:
89  *	This symbol contains the uid of root, normally 0.
90  */
91 #define ROOTID 0		/**/
92 
93 /* VOIDFLAGS:
94  *	This symbol indicates how much support of the void type is given by this
95  *	compiler.  What various bits mean:
96  *
97  *	    1 = supports declaration of void
98  *	    2 = supports arrays of pointers to functions returning void
99  *	    4 = supports comparisons between pointers to void functions and
100  *		    addresses of void functions
101  *
102  *	The package designer should define VOIDUSED to indicate the requirements
103  *	of the package.  This can be done either by #defining VOIDUSED before
104  *	including config.h, or by defining defvoidused in Myinit.U.
105  */
106 #ifndef VOIDUSED
107 #define VOIDUSED 7
108 #endif
109 #define VOIDFLAGS 7
110 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
111 #define void int		/* is void to be avoided? */
112 #define M_VOID		/* Xenix strikes again */
113 #endif
114 
115 /* warp private library, may use ~ expansion, %x and %l */
116 #define PRIVLIB "/usr/share/games/warp"		/**/
117