|
|
1.1 root 1: [ OPTIONS - Thu Dec 7 11:27:40 1989 - compile-time options - /mtr ]
2:
3:
4: Look at the skeleton files provided to get the flare of things. In
5: addition, when porting to non-standard UNIX variants, consult the
6: files h/{general,manifest}.h to find other strange #defines
7:
8:
9: 1. Operating Systems
10:
11: Choose one of BSD42, SYS5, or ROS. In addition, some of these
12: have suboptions.
13:
14: #define BSD42 Berkeley UNIX
15: #define WRITEV real Berkeley UNIX (has writev syscall)
16: #define SUNOS4 with Sun's enhancements (SunOS4.0 or later)
17: #define SUNOS41 SunOS4.1
18: #define BSD43 4.3BSD or later
19: #define BSD43_Tahoe 4.3BSD Tahoe release
20: #define BSD44 4.4BSD to be precise! (not out yet)
21: #define OSX Olivetti's version
22:
23: #define SYS5 AT&T UNIX
24: #define SVR3 System V Release 3
25: #define HPUX SVR2 with HP's enhancements
26: #define AIX SVR2 with IBM's enhancements
27: #define AUX SVR2 with Apple's enhancements
28:
29: #define ROS Ridge's emulation of UNIX
30:
31: #define VSPRINTF libc includes vsprintf() and vfprintf ()
32:
33:
34: 2. Network/Transport options
35:
36: Choose any combination of TCP, X25, BRIDGE_X25, or TP4. For
37: TCP: SOCKETS, WINTLI and EXOS are mutually exclusive, and WIN and BIND are
38: suboptions to SOCKETS. For X25: SUN_X25, CAMTEC, CAMTEC_CCL, and UBC_X25
39: are mutually exclusive. For TP4: WIN, SUN_TP4 are mutually exclusive.
40:
41: #define TCP support TCP/IP with TP0
42: #define SOCKETS provided by SOCKETS
43: #define WIN emulated via WIN/TCP for SVR2
44: #define WINTLI provided by WIN/TCP STREAMS
45: #define EXOS provided by EXOS 8044 card
46: #define BIND if BIND is used (the gethostent struct
47: has an h_addrlist field in <netdb.h>)
48: you may need to add "-lresolv" to the LSOCKET
49: definition in CONFIG.make
50:
51: #define X25 support X.25 with TP0
52: #define SUN_X25 using SunLink X.25 version 4.0 or 5.0
53: #define SUN_X25_HACK to enable local subaddress masking
54: (see comments in compat/x25addr.c)
55: #define CAMTEC using CAMTEC interface
56: #define CAMTEC_CCL using CAMTEC interface with sockets
57: #define UBC_X25 using UBC X.25
58: #define UBC_X25_WRITEV able to use writev for X.25,
59: not all versions of UBC code
60: support this.
61:
62: #define BRIDGE_X25 use a TCP/X.25 gateway
63: (requires #ifdef TCP)
64:
65: #define TP4 support real TP4
66: #define SUN_TP4 provided by SunLink OSI
67: #define SUNLINK_5_2 using SunLink OSI release 5.2 or greater
68: #define SUNLINK_6_0 using SunLink OSI release 6.0 or greater
69: #define BSD_TP4 provided by UCB/UWisc
70:
71: #define NOGOSIP assume TSEL uniquely distinguishes service
72: (makes tsapd a LOT smaller and faster)
73:
74:
75: 3. Directory Services
76:
77: By default, support for both the OSI Directory and the stub DSE is
78: compiled. However, to enable access to the Directory (via a
79: lightweight access protocol), the isotailor variable ns_enabled
80: must be turned "on". If the nameservice fails, then the stub DSE
81: will be consulted.
82:
83: While not advised at this point you can disable fallback to the stub
84: DSE by also choosing NOSTUB. Disabling the fallback mode implies
85: that all name to address resolution will depend on the DSE and will
86: fail if it is not operational.
87:
88: #define NOSTUB do not use stub DSE when resolving names
89:
90:
91:
92: 4. Stub-directory service
93:
94: To enable the use of the -ldbm library for the stub-directory service
95: (Berkeley UNIX systems only), use the
96:
97: #define AETDBM
98:
99: configuration option. In the configuration Makefile, add
100:
101: AETDBM = aetbuild
102: LSOCKET = -ldbm
103:
104: Since LSOCKET is probably already in the configuration Makefile, just
105: add the "-ldbm" to the end of the line.
106:
107:
108: 5. Directory compatability routines
109:
110: If your system supports a getdents() call, then define
111:
112: #define GETDENTS
113:
114: This will make the directory compatibility library a no-op.
115: Otherwise, define one of:
116:
117: #define UFS original UNIX filesystem (14-character name limit)
118: #define BFS Berkeley UNIX filesystem (long names)
119: #define NFS getdirentries() system call
120:
121:
122: 6. imisc options
123:
124: These are used by the imisc daemon to exec the rfinger program.
125:
126: #define RFINGER "path" where rfinger lives
127: #define RFOPT1 "switch" switches
128: #define RFOPT2 "switch" switches
129:
130:
131: 7. Anonymous login for ftam, osh, etc.
132:
133: This defaults to
134:
135: #define ANON "ftp"
136:
137: You can set it to something else if you like. For example, to have anonymous
138: ftam but not anonymous ftp (due to the numerous security holes in anonymous
139: ftp), then just define ANON to be "ftam" and replace the "ftp" username in
140: the /etc/passwd file with "ftam" instead.
141:
142:
143: 8. Management Instrumentation
144:
145: DO NOT SET THIS UNLESS YOU KNOW WHAT YOU ARE DOING (i.e., if you had to read
146: this file, then you shouldn't set this option!)
147:
148: #define MGMT to enable management instrumentation in libtsap
149:
150:
151: 9. PEPSY options
152:
153: #define PEPSY_REALS real support for pepsy
154: add "-lm" to LSOCKET in CONFIG.make
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.