1 | /*
|
---|
2 | * User definable configuration options
|
---|
3 | */
|
---|
4 |
|
---|
5 | /* Undefine if you don't want talk emulation */
|
---|
6 | #undef EMULATE_TALK
|
---|
7 |
|
---|
8 | /* Define if you want the connection to be probed */
|
---|
9 | /* XXX Not working yet, so ignore this for now */
|
---|
10 | #undef PROBE_CONN
|
---|
11 |
|
---|
12 | /* Define to 1 if you want KEEPALIVE timers */
|
---|
13 | #define DO_KEEPALIVE 0
|
---|
14 |
|
---|
15 | /* Define to MAX interfaces you expect to use at once */
|
---|
16 | /* MAX_INTERFACES determines the max. TOTAL number of interfaces (SLIP and PPP) */
|
---|
17 | /* MAX_PPP_INTERFACES determines max. number of PPP interfaces */
|
---|
18 | #define MAX_INTERFACES 1
|
---|
19 | #define MAX_PPP_INTERFACES 1
|
---|
20 |
|
---|
21 | /* Define if you want slirp's socket in /tmp */
|
---|
22 | /* XXXXXX Do this in ./configure */
|
---|
23 | #undef USE_TMPSOCKET
|
---|
24 |
|
---|
25 | /* Define if you want slirp to use cfsetXspeed() on the terminal */
|
---|
26 | #undef DO_CFSETSPEED
|
---|
27 |
|
---|
28 | /* Define this if you want slirp to write to the tty as fast as it can */
|
---|
29 | /* This should only be set if you are using load-balancing, slirp does a */
|
---|
30 | /* pretty good job on single modems already, and seting this will make */
|
---|
31 | /* interactive sessions less responsive */
|
---|
32 | /* XXXXX Talk about having fast modem as unit 0 */
|
---|
33 | #undef FULL_BOLT
|
---|
34 |
|
---|
35 | /*
|
---|
36 | * Define if you want slirp to use less CPU
|
---|
37 | * You will notice a small lag in interactive sessions, but it's not that bad
|
---|
38 | * Things like Netscape/ftp/etc. are completely unaffected
|
---|
39 | * This is mainly for sysadmins who have many slirp users
|
---|
40 | */
|
---|
41 | #undef USE_LOWCPU
|
---|
42 |
|
---|
43 | /* Define this if your compiler doesn't like prototypes */
|
---|
44 | #ifndef __STDC__
|
---|
45 | #define NO_PROTOTYPES
|
---|
46 | #endif
|
---|
47 |
|
---|
48 | /*********************************************************/
|
---|
49 | /*
|
---|
50 | * Autoconf defined configuration options
|
---|
51 | * You shouldn't need to touch any of these
|
---|
52 | */
|
---|
53 |
|
---|
54 | /* Ignore this */
|
---|
55 | #undef DUMMY_PPP
|
---|
56 |
|
---|
57 | #ifdef _MSC_VER
|
---|
58 | #undef HAVE_UNISTD_H
|
---|
59 | #else
|
---|
60 | /* Define if you have unistd.h */
|
---|
61 | #define HAVE_UNISTD_H
|
---|
62 | #endif
|
---|
63 |
|
---|
64 | /* Define if you have stdlib.h */
|
---|
65 | #define HAVE_STDLIB_H
|
---|
66 |
|
---|
67 | /* Define if you have sys/ioctl.h */
|
---|
68 | #undef HAVE_SYS_IOCTL_H
|
---|
69 | #ifndef _WIN32
|
---|
70 | #define HAVE_SYS_IOCTL_H
|
---|
71 | #endif
|
---|
72 |
|
---|
73 | /* Define if you have sys/filio.h */
|
---|
74 | #undef HAVE_SYS_FILIO_H
|
---|
75 | #ifdef __APPLE__
|
---|
76 | #define HAVE_SYS_FILIO_H
|
---|
77 | #endif
|
---|
78 |
|
---|
79 | /* Define if you have strerror */
|
---|
80 | #define HAVE_STRERROR
|
---|
81 |
|
---|
82 | /* Define if you have strdup() */
|
---|
83 | #define HAVE_STRDUP
|
---|
84 |
|
---|
85 | /* Define according to how time.h should be included */
|
---|
86 | #define TIME_WITH_SYS_TIME 0
|
---|
87 | #undef HAVE_SYS_TIME_H
|
---|
88 |
|
---|
89 | /* Define if you have sys/bitypes.h */
|
---|
90 | #undef HAVE_SYS_BITYPES_H
|
---|
91 |
|
---|
92 | /* Define if the machine is big endian */
|
---|
93 | /*#undef WORDS_BIGENDIAN */
|
---|
94 |
|
---|
95 | /* Define if your sprintf returns char * instead of int */
|
---|
96 | #undef BAD_SPRINTF
|
---|
97 |
|
---|
98 | /* Define if you have readv */
|
---|
99 | #undef HAVE_READV
|
---|
100 |
|
---|
101 | /* Define if iovec needs to be declared */
|
---|
102 | #undef DECLARE_IOVEC
|
---|
103 | #ifdef _WIN32
|
---|
104 | #define DECLARE_IOVEC
|
---|
105 | #endif
|
---|
106 |
|
---|
107 | /* Define if a declaration of sprintf/fprintf is needed */
|
---|
108 | #undef DECLARE_SPRINTF
|
---|
109 |
|
---|
110 | /* Define if you have a POSIX.1 sys/wait.h */
|
---|
111 | #undef HAVE_SYS_WAIT_H
|
---|
112 |
|
---|
113 | /* Define if you have sys/select.h */
|
---|
114 | #undef HAVE_SYS_SELECT_H
|
---|
115 | #ifndef _WIN32
|
---|
116 | #define HAVE_SYS_SELECT_H
|
---|
117 | #endif
|
---|
118 |
|
---|
119 | /* Define if you have strings.h */
|
---|
120 | #define HAVE_STRING_H
|
---|
121 |
|
---|
122 | /* Define if you have arpa/inet.h */
|
---|
123 | #undef HAVE_ARPA_INET_H
|
---|
124 | #ifndef _WIN32
|
---|
125 | #define HAVE_ARPA_INET_H
|
---|
126 | #endif
|
---|
127 |
|
---|
128 | /* Define if you have sys/signal.h */
|
---|
129 | #undef HAVE_SYS_SIGNAL_H
|
---|
130 |
|
---|
131 | /* Define if you have sys/stropts.h */
|
---|
132 | #undef HAVE_SYS_STROPTS_H
|
---|
133 |
|
---|
134 | /* Define to whatever your compiler thinks inline should be */
|
---|
135 | #if defined(_MSC_VER) && !defined(__cplusplus)
|
---|
136 | # define inline _inline
|
---|
137 | #else
|
---|
138 | # define inline inline
|
---|
139 | #endif
|
---|
140 |
|
---|
141 | /* Define to whatever your compiler thinks const should be */
|
---|
142 | #define const const
|
---|
143 |
|
---|
144 | /* Define if your compiler doesn't like prototypes */
|
---|
145 | #undef NO_PROTOTYPES
|
---|
146 |
|
---|
147 | /* Define if you don't have u_int32_t etc. typedef'd */
|
---|
148 | #undef NEED_TYPEDEFS
|
---|
149 | #ifdef __sun__
|
---|
150 | #define NEED_TYPEDEFS
|
---|
151 | #endif
|
---|
152 |
|
---|
153 | /* Define to sizeof(char) */
|
---|
154 | #define SIZEOF_CHAR 1
|
---|
155 |
|
---|
156 | /* Define to sizeof(short) */
|
---|
157 | #define SIZEOF_SHORT 2
|
---|
158 |
|
---|
159 | /* Define to sizeof(int) */
|
---|
160 | #define SIZEOF_INT 4
|
---|
161 |
|
---|
162 | /* Define to sizeof(char *) */
|
---|
163 | #define HOST_LONG_BITS ARCH_BITS
|
---|
164 | #define SIZEOF_CHAR_P (HOST_LONG_BITS / 8)
|
---|
165 |
|
---|
166 | /* Define if you have random() */
|
---|
167 | #undef HAVE_RANDOM
|
---|
168 |
|
---|
169 | /* Define if you have srandom() */
|
---|
170 | #undef HAVE_SRANDOM
|
---|
171 |
|
---|
172 | /* Define if you have inet_aton */
|
---|
173 | #undef HAVE_INET_ATON
|
---|
174 | #ifndef _WIN32
|
---|
175 | #define HAVE_INET_ATON
|
---|
176 | #endif
|
---|
177 |
|
---|
178 | /* Define if you have setenv */
|
---|
179 | #undef HAVE_SETENV
|
---|
180 |
|
---|
181 | /* Define if you have index() */
|
---|
182 | #undef HAVE_INDEX
|
---|
183 |
|
---|
184 | /* Define if you have bcmp() */
|
---|
185 | #undef HAVE_BCMP
|
---|
186 |
|
---|
187 | /* Define if you have drand48 */
|
---|
188 | #undef HAVE_DRAND48
|
---|
189 |
|
---|
190 | /* Define if you have memmove */
|
---|
191 | #define HAVE_MEMMOVE
|
---|
192 |
|
---|
193 | /* Define if you have gethostid */
|
---|
194 | #undef HAVE_GETHOSTID
|
---|
195 | #ifdef RT_OS_OS2
|
---|
196 | # define HAVE_GETHOSTID
|
---|
197 | #endif
|
---|
198 |
|
---|
199 | /* Define if you DON'T have unix-domain sockets */
|
---|
200 | #undef NO_UNIX_SOCKETS
|
---|
201 | #ifdef _WIN32
|
---|
202 | #define NO_UNIX_SOCKETS
|
---|
203 | #endif
|
---|
204 |
|
---|
205 | /* Define if gettimeofday only takes one argument */
|
---|
206 | #undef GETTIMEOFDAY_ONE_ARG
|
---|
207 |
|
---|
208 | /* Define if you have revoke() */
|
---|
209 | #undef HAVE_REVOKE
|
---|
210 |
|
---|
211 | /* Define if you have the sysv method of opening pty's (/dev/ptmx, etc.) */
|
---|
212 | #undef HAVE_GRANTPT
|
---|
213 |
|
---|
214 | /* Define if you have fchmod */
|
---|
215 | #undef HAVE_FCHMOD
|
---|
216 |
|
---|
217 | /* Define if you have <sys/type32.h> */
|
---|
218 | #undef HAVE_SYS_TYPES32_H
|
---|