Commit | Line | Data |
2304df62 |
1 | /* |
a0d0e21e |
2 | * This file was produced by hand because the configure utilities which |
3 | * are in the perl distribution are all shell scripts. Someday, I hope |
4 | * we'll get a perl configure utility, but until then . . . |
5 | * |
6 | * Feel free to add or change things to suit your needs, but be careful |
7 | * about moving the comments which say "config-skip" - they're used by |
8 | * GenConfig.pl when producing Config.pm. |
79072805 |
9 | * |
a0d0e21e |
10 | * config.h for VMS |
d27fe803 |
11 | * Version: 5.004 |
a0d0e21e |
12 | */ |
2304df62 |
13 | |
bbce6d69 |
14 | /* Configuration time: 19-Nov-1996 23:34 |
a0d0e21e |
15 | * Configured by: Charles Bailey bailey@genetics.upenn.edu |
16 | * Target system: VMS |
79072805 |
17 | */ |
79072805 |
18 | |
2304df62 |
19 | #ifndef _config_h_ |
20 | #define _config_h_ |
79072805 |
21 | |
e518068a |
22 | /* CAT2: |
23 | * This macro catenates 2 tokens together. |
24 | */ |
25 | /* STRINGIFY: |
26 | * This macro surrounds its token with double quotes. |
27 | */ |
28 | #ifdef __STDC__ |
29 | #define CAT2(a,b)a ## b |
30 | #define CAT3(a,b,c)a ## b ## c |
31 | #define CAT4(a,b,c,d)a ## b ## c ##d |
32 | #define CAT5(a,b,c,d,e)a ## b ## c ## d ## e |
33 | #define StGiFy(a) # a |
34 | #define STRINGIFY(A)StGiFy(a) |
35 | #define SCAT2(a,b)StGiFy(a) StGiFy(b) |
36 | #define SCAT3(a,b,c)StGiFy(a) StGiFy(b) StGiFy(c) |
37 | #define SCAT4(a,b,c,d)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d) |
38 | #define SCAT5(a,b,c,d,e)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d) StGiFy(e) |
39 | #else |
40 | #define CAT2(a,b)a/**/b |
41 | #define CAT3(a,b,c)a/**/b/**/c |
42 | #define CAT4(a,b,c,d)a/**/b/**/c/**/d |
43 | #define CAT5(a,b,c,d,e)a/**/b/**/c/**/d/**/e |
44 | #define STRINGIFY(a)"a" |
45 | #endif |
46 | |
47 | /* config-start */ |
48 | |
a0d0e21e |
49 | /* MEM_ALIGNBYTES: |
50 | * This symbol contains the number of bytes required to align a |
51 | * double. Usual values are 2, 4 and 8. |
79072805 |
52 | */ |
a0d0e21e |
53 | #define MEM_ALIGNBYTES 8 /**/ |
79072805 |
54 | |
b94f085b |
55 | /* OSNAME: |
56 | * This symbol contains the name of the operating system, as determined |
57 | * by Configure. |
58 | */ |
59 | #define OSNAME "VMS" /**/ |
60 | |
740ce14c |
61 | /* ARCHLIB: |
a0d0e21e |
62 | * This variable, if defined, holds the name of the directory in |
63 | * which the user wants to put architecture-dependent public |
64 | * library files for $package. It is most often a local directory |
65 | * such as /usr/local/lib. Programs using this variable must be |
740ce14c |
66 | * prepared to deal with filename expansion. If ARCHLIB is the |
67 | * same as PRIVLIB, it is not defined, since presumably the |
68 | * program already searches PRIVLIB. |
69 | */ |
70 | /* ARCHLIB_EXP: |
71 | * This symbol contains the ~name expanded version of ARCHLIB, to be used |
72 | * in programs that are not prepared to deal with ~ expansion at run-time. |
a0d0e21e |
73 | */ |
30fb25ec |
74 | /* ==> NOTE <== |
75 | * This value is automatically updated by FndVers.Com |
76 | * when Perl is built. Please do not change it by hand; make |
77 | * any changes to FndVers.Com instead. |
78 | */ |
fc1ce8cc |
79 | #define ARCHLIB_EXP "/perl_root/lib/VMS_VAX/5_00456" /**/ |
80 | |
61bb5906 |
81 | |
740ce14c |
82 | #define ARCHLIB ARCHLIB_EXP /*config-skip*/ |
a0d0e21e |
83 | |
774d564b |
84 | /* ARCHNAME: |
85 | * This symbol holds a string representing the architecture name. |
86 | * It may be used to construct an architecture-dependant pathname |
87 | * where library files may be held under a private library, for |
88 | * instance. |
89 | */ |
90 | #define ARCHNAME "VMS_VAX" /**/ |
91 | |
71be2cbc |
92 | /* BINCOMPAT3: |
93 | * This symbol, if defined, indicates that Perl 5.004 should be |
94 | * binary-compatible with Perl 5.003. |
95 | */ |
96 | #undef BINCOMPAT3 |
97 | |
2304df62 |
98 | /* CPPSTDIN: |
79072805 |
99 | * This symbol contains the first part of the string which will invoke |
100 | * the C preprocessor on the standard input and produce to standard |
2304df62 |
101 | * output. Typical value of "cc -E" or "/lib/cpp", but it can also |
102 | * call a wrapper. See CPPRUN. |
79072805 |
103 | */ |
2304df62 |
104 | /* CPPMINUS: |
79072805 |
105 | * This symbol contains the second part of the string which will invoke |
106 | * the C preprocessor on the standard input and produce to standard |
107 | * output. This symbol will have the value "-" if CPPSTDIN needs a minus |
108 | * to specify standard input, otherwise the value is "". |
109 | */ |
a0d0e21e |
110 | #define CPPSTDIN "cc/noobj/preprocess=sys$output sys$input" |
79072805 |
111 | #define CPPMINUS "" |
112 | |
2304df62 |
113 | /* HAS_BCMP: |
114 | * This symbol is defined if the bcmp() routine is available to |
115 | * compare blocks of memory. |
79072805 |
116 | */ |
84902520 |
117 | #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000) |
118 | #define HAS_BCMP /**/ |
119 | #else |
120 | #undef HAS_BCMP /*config-skip*/ |
121 | #endif |
79072805 |
122 | |
ff0cee69 |
123 | #include <string.h> /* Check whether new DECC has #defined bcopy and bzero */ |
2304df62 |
124 | /* HAS_BCOPY: |
125 | * This symbol is defined if the bcopy() routine is available to |
126 | * copy blocks of memory. |
79072805 |
127 | */ |
a0d0e21e |
128 | #undef HAS_BCOPY /**/ |
ff0cee69 |
129 | #ifdef bcopy |
130 | # define HAS_BCOPY /*config-skip*/ |
131 | #endif |
79072805 |
132 | |
2304df62 |
133 | /* HAS_BZERO: |
134 | * This symbol is defined if the bzero() routine is available to |
135 | * set a memory block to 0. |
79072805 |
136 | */ |
a0d0e21e |
137 | #undef HAS_BZERO /**/ |
ff0cee69 |
138 | #ifdef bzero |
139 | # define HAS_BZERO /*config-skip*/ |
140 | #endif |
79072805 |
141 | |
2304df62 |
142 | /* CASTNEGFLOAT: |
143 | * This symbol is defined if the C compiler can cast negative |
144 | * numbers to unsigned longs, ints and shorts. |
79072805 |
145 | */ |
2304df62 |
146 | /* CASTFLAGS: |
79072805 |
147 | * This symbol contains flags that say what difficulties the compiler |
148 | * has casting odd floating values to unsigned long: |
2304df62 |
149 | * 0 = ok |
79072805 |
150 | * 1 = couldn't cast < 0 |
151 | * 2 = couldn't cast >= 0x80000000 |
152 | */ |
2304df62 |
153 | #define CASTNEGFLOAT /**/ |
154 | #define CASTFLAGS 0 /**/ |
79072805 |
155 | |
2304df62 |
156 | /* HAS_CHSIZE: |
79072805 |
157 | * This symbol, if defined, indicates that the chsize routine is available |
158 | * to truncate files. You might need a -lx to get this routine. |
159 | */ |
a0d0e21e |
160 | #undef HAS_CHSIZE /**/ |
79072805 |
161 | |
2304df62 |
162 | /* HASCONST: |
163 | * This symbol, if defined, indicates that this C compiler knows about |
164 | * the const type. There is no need to actually test for that symbol |
165 | * within your programs. The mere use of the "const" keyword will |
166 | * trigger the necessary tests. |
167 | */ |
a0d0e21e |
168 | #define HASCONST /**/ |
2304df62 |
169 | |
170 | /* HAS_CRYPT: |
79072805 |
171 | * This symbol, if defined, indicates that the crypt routine is available |
172 | * to encrypt passwords and the like. |
173 | */ |
c07a80fd |
174 | #define HAS_CRYPT /**/ |
79072805 |
175 | |
e518068a |
176 | /* BYTEORDER: |
177 | * This symbol hold the hexadecimal constant defined in byteorder, |
178 | * i.e. 0x1234 or 0x4321, etc... |
179 | */ |
180 | #define BYTEORDER 0x1234 /* large digits for MSB */ |
181 | |
2304df62 |
182 | /* CSH: |
79072805 |
183 | * This symbol, if defined, indicates that the C-shell exists. |
184 | * If defined, contains the full pathname of csh. |
185 | */ |
a0d0e21e |
186 | #undef CSH /**/ |
79072805 |
187 | |
2304df62 |
188 | /* HAS_DUP2: |
189 | * This symbol, if defined, indicates that the dup2 routine is |
190 | * available to duplicate file descriptors. |
79072805 |
191 | */ |
2304df62 |
192 | #define HAS_DUP2 /**/ |
79072805 |
193 | |
2304df62 |
194 | /* HAS_FCHMOD: |
79072805 |
195 | * This symbol, if defined, indicates that the fchmod routine is available |
196 | * to change mode of opened files. If unavailable, use chmod(). |
197 | */ |
a0d0e21e |
198 | #undef HAS_FCHMOD /**/ |
79072805 |
199 | |
2304df62 |
200 | /* HAS_FCHOWN: |
79072805 |
201 | * This symbol, if defined, indicates that the fchown routine is available |
202 | * to change ownership of opened files. If unavailable, use chown(). |
203 | */ |
a0d0e21e |
204 | #undef HAS_FCHOWN /**/ |
79072805 |
205 | |
2304df62 |
206 | /* HAS_FCNTL: |
79072805 |
207 | * This symbol, if defined, indicates to the C program that |
208 | * the fcntl() function exists. |
209 | */ |
a0d0e21e |
210 | #undef HAS_FCNTL /**/ |
211 | |
212 | /* HAS_FGETPOS: |
213 | * This symbol, if defined, indicates that the fgetpos routine is |
214 | * available to get the file position indicator, similar to ftell(). |
215 | */ |
216 | #define HAS_FGETPOS /**/ |
79072805 |
217 | |
2304df62 |
218 | /* FLEXFILENAMES: |
79072805 |
219 | * This symbol, if defined, indicates that the system supports filenames |
220 | * longer than 14 characters. |
221 | */ |
222 | #define FLEXFILENAMES /**/ |
223 | |
2304df62 |
224 | /* HAS_FLOCK: |
225 | * This symbol, if defined, indicates that the flock routine is |
79072805 |
226 | * available to do file locking. |
227 | */ |
a0d0e21e |
228 | #undef HAS_FLOCK /**/ |
229 | |
230 | /* HAS_FSETPOS: |
231 | * This symbol, if defined, indicates that the fsetpos routine is |
232 | * available to set the file position indicator, similar to fseek(). |
233 | */ |
234 | #define HAS_FSETPOS /**/ |
79072805 |
235 | |
71be2cbc |
236 | /* HAS_GETTIMEOFDAY: |
237 | * This symbol, if defined, indicates that the gettimeofday() system |
238 | * call is available for a sub-second accuracy clock. Usually, the file |
239 | * <sys/resource.h> needs to be included (see I_SYS_RESOURCE). |
240 | * The type "Timeval" should be used to refer to "struct timeval". |
241 | */ |
84902520 |
242 | #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000) |
243 | #define HAS_GETTIMEOFDAY /**/ |
244 | #else |
245 | #undef HAS_GETTIMEOFDAY /*config-skip*/ |
246 | #endif |
71be2cbc |
247 | #ifdef HAS_GETTIMEOFDAY |
248 | # define Timeval struct timeval /*config-skip*/ |
249 | #endif |
250 | |
2304df62 |
251 | /* HAS_GETGROUPS: |
79072805 |
252 | * This symbol, if defined, indicates that the getgroups() routine is |
253 | * available to get the list of process groups. If unavailable, multiple |
254 | * groups are probably not supported. |
255 | */ |
5cd24f17 |
256 | /* HAS_SETGROUPS: |
257 | * This symbol, if defined, indicates that the setgroups() routine is |
258 | * available to set the list of process groups. If unavailable, multiple |
259 | * groups are probably not supported. |
260 | */ |
a0d0e21e |
261 | #undef HAS_GETGROUPS /**/ |
5cd24f17 |
262 | #undef HAS_SETGROUPS /**/ |
2304df62 |
263 | |
264 | /* HAS_UNAME: |
265 | * This symbol, if defined, indicates that the C program may use the |
266 | * uname() routine to derive the host name. See also HAS_GETHOSTNAME |
267 | * and PHOSTNAME. |
268 | */ |
84902520 |
269 | #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000) |
270 | #define HAS_UNAME /**/ |
271 | #else |
272 | #undef HAS_UNAME /*config-skip*/ |
273 | #endif |
79072805 |
274 | |
2304df62 |
275 | /* HAS_GETPRIORITY: |
276 | * This symbol, if defined, indicates that the getpriority routine is |
79072805 |
277 | * available to get a process's priority. |
278 | */ |
a0d0e21e |
279 | #undef HAS_GETPRIORITY /**/ |
79072805 |
280 | |
2304df62 |
281 | /* HAS_KILLPG: |
79072805 |
282 | * This symbol, if defined, indicates that the killpg routine is available |
283 | * to kill process groups. If unavailable, you probably should use kill |
284 | * with a negative process number. |
285 | */ |
a0d0e21e |
286 | #undef HAS_KILLPG /**/ |
79072805 |
287 | |
2304df62 |
288 | /* HAS_LINK: |
289 | * This symbol, if defined, indicates that the link routine is |
290 | * available to create hard links. |
79072805 |
291 | */ |
a0d0e21e |
292 | #undef HAS_LINK /**/ |
79072805 |
293 | |
2304df62 |
294 | /* HAS_LSTAT: |
295 | * This symbol, if defined, indicates that the lstat routine is |
296 | * available to do file stats on symbolic links. |
79072805 |
297 | */ |
a0d0e21e |
298 | #undef HAS_LSTAT /**/ |
299 | |
300 | /* HAS_LOCKF: |
301 | * This symbol, if defined, indicates that the lockf routine is |
302 | * available to do file locking. |
303 | */ |
304 | #undef HAS_LOCKF /**/ |
305 | |
306 | /* HAS_MBSTOWCS: |
307 | * This symbol, if defined, indicates that the mbstowcs routine is |
308 | * available to covert a multibyte string into a wide character string. |
309 | */ |
36477c24 |
310 | #ifdef __DECC |
311 | # define HAS_MBSTOWCS /*config-skip*/ |
312 | #else |
313 | # undef HAS_MBSTOWCS /*config-skip*/ |
314 | #endif |
a0d0e21e |
315 | |
316 | /* HAS_MBTOWC: |
317 | * This symbol, if defined, indicates that the mbtowc routine is available |
318 | * to covert a multibyte to a wide character. |
319 | */ |
36477c24 |
320 | #ifdef __DECC |
321 | # define HAS_MBTOWC /*config-skip*/ |
322 | #else |
323 | # undef HAS_MBTOWC /*config-skip*/ |
324 | #endif |
79072805 |
325 | |
2304df62 |
326 | /* HAS_MEMCMP: |
327 | * This symbol, if defined, indicates that the memcmp routine is available |
328 | * to compare blocks of memory. |
79072805 |
329 | */ |
2304df62 |
330 | #define HAS_MEMCMP /**/ |
331 | |
332 | /* HAS_MEMCPY: |
79072805 |
333 | * This symbol, if defined, indicates that the memcpy routine is available |
2304df62 |
334 | * to copy blocks of memory. |
79072805 |
335 | */ |
2304df62 |
336 | #define HAS_MEMCPY /**/ |
79072805 |
337 | |
2304df62 |
338 | /* HAS_MEMMOVE: |
79072805 |
339 | * This symbol, if defined, indicates that the memmove routine is available |
2304df62 |
340 | * to copy potentially overlapping blocks of memory. This should be used |
341 | * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your |
342 | * own version. |
79072805 |
343 | */ |
a0d0e21e |
344 | #define HAS_MEMMOVE /**/ |
79072805 |
345 | |
2304df62 |
346 | /* HAS_MEMSET: |
79072805 |
347 | * This symbol, if defined, indicates that the memset routine is available |
2304df62 |
348 | * to set blocks of memory. |
79072805 |
349 | */ |
2304df62 |
350 | #define HAS_MEMSET /**/ |
79072805 |
351 | |
2304df62 |
352 | /* HAS_MKDIR: |
79072805 |
353 | * This symbol, if defined, indicates that the mkdir routine is available |
354 | * to create directories. Otherwise you should fork off a new process to |
355 | * exec /bin/mkdir. |
356 | */ |
2304df62 |
357 | #define HAS_MKDIR /**/ |
79072805 |
358 | |
2304df62 |
359 | /* HAS_MSG: |
79072805 |
360 | * This symbol, if defined, indicates that the entire msg*(2) library is |
2304df62 |
361 | * supported (IPC mechanism based on message queues). |
79072805 |
362 | */ |
a0d0e21e |
363 | #undef HAS_MSG /**/ |
79072805 |
364 | |
a0d0e21e |
365 | /* HAS_OPEN3: |
366 | * This manifest constant lets the C program know that the three |
367 | * argument form of open(2) is available. |
79072805 |
368 | */ |
a0d0e21e |
369 | #define HAS_OPEN3 /**/ |
79072805 |
370 | |
e518068a |
371 | /* HAS_POLL: |
372 | * This symbol, if defined, indicates that the poll routine is |
373 | * available to poll active file descriptors. |
374 | */ |
375 | #undef HAS_POLL /**/ |
376 | |
fc1ce8cc |
377 | /* HAS_PTHREAD_YIELD: |
378 | * This symbol, if defined, indicates that the pthread_yield routine is |
379 | * available to yield the execution of the current thread. |
380 | * VMS: pthread_yield_np is there, but we won't worry for now since it's |
381 | * set up already as sched_yield. |
382 | */ |
383 | #undef HAS_PTHREAD_YIELD /**/ |
384 | |
385 | /* HAS_SCHED_YIELD: |
386 | * This symbol, if defined, indicates that the sched_yield routine is |
387 | * available to yield the execution of the current thread. |
388 | */ |
389 | #define HAS_SCHED_YIELD /**/ |
390 | |
a0d0e21e |
391 | /* HAS_READDIR: |
392 | * This symbol, if defined, indicates that the readdir routine is |
393 | * available to read directory entries. You may have to include |
394 | * <dirent.h>. See I_DIRENT. |
79072805 |
395 | */ |
a0d0e21e |
396 | #define HAS_READDIR /**/ |
79072805 |
397 | |
a0d0e21e |
398 | /* HAS_SEEKDIR: |
399 | * This symbol, if defined, indicates that the seekdir routine is |
400 | * available. You may have to include <dirent.h>. See I_DIRENT. |
79072805 |
401 | */ |
a0d0e21e |
402 | #define HAS_SEEKDIR /**/ |
79072805 |
403 | |
a0d0e21e |
404 | /* HAS_TELLDIR: |
405 | * This symbol, if defined, indicates that the telldir routine is |
406 | * available. You may have to include <dirent.h>. See I_DIRENT. |
79072805 |
407 | */ |
a0d0e21e |
408 | #define HAS_TELLDIR /**/ |
79072805 |
409 | |
a0d0e21e |
410 | /* HAS_REWINDDIR: |
411 | * This symbol, if defined, indicates that the rewinddir routine is |
412 | * available. You may have to include <dirent.h>. See I_DIRENT. |
79072805 |
413 | */ |
a0d0e21e |
414 | #define HAS_REWINDDIR /**/ |
79072805 |
415 | |
2304df62 |
416 | /* HAS_RENAME: |
79072805 |
417 | * This symbol, if defined, indicates that the rename routine is available |
418 | * to rename files. Otherwise you should do the unlink(), link(), unlink() |
419 | * trick. |
420 | */ |
2304df62 |
421 | #define HAS_RENAME /**/ |
79072805 |
422 | |
2304df62 |
423 | /* HAS_RMDIR: |
424 | * This symbol, if defined, indicates that the rmdir routine is |
425 | * available to remove directories. Otherwise you should fork off a |
426 | * new process to exec /bin/rmdir. |
79072805 |
427 | */ |
2304df62 |
428 | #define HAS_RMDIR /**/ |
79072805 |
429 | |
2304df62 |
430 | /* HAS_SEM: |
79072805 |
431 | * This symbol, if defined, indicates that the entire sem*(2) library is |
432 | * supported. |
433 | */ |
a0d0e21e |
434 | #undef HAS_SEM /**/ |
79072805 |
435 | |
2304df62 |
436 | /* HAS_SETEGID: |
79072805 |
437 | * This symbol, if defined, indicates that the setegid routine is available |
438 | * to change the effective gid of the current program. |
439 | */ |
a0d0e21e |
440 | #undef HAS_SETEGID /**/ |
79072805 |
441 | |
2304df62 |
442 | /* HAS_SETEUID: |
79072805 |
443 | * This symbol, if defined, indicates that the seteuid routine is available |
444 | * to change the effective uid of the current program. |
445 | */ |
a0d0e21e |
446 | #undef HAS_SETEUID /**/ |
447 | |
79072805 |
448 | |
2304df62 |
449 | /* HAS_SETPRIORITY: |
450 | * This symbol, if defined, indicates that the setpriority routine is |
79072805 |
451 | * available to set a process's priority. |
452 | */ |
a0d0e21e |
453 | #undef HAS_SETPRIORITY /**/ |
79072805 |
454 | |
2304df62 |
455 | /* HAS_SETREGID: |
79072805 |
456 | * This symbol, if defined, indicates that the setregid routine is |
2304df62 |
457 | * available to change the real and effective gid of the current |
458 | * process. |
79072805 |
459 | */ |
2304df62 |
460 | /* HAS_SETRESGID: |
79072805 |
461 | * This symbol, if defined, indicates that the setresgid routine is |
462 | * available to change the real, effective and saved gid of the current |
2304df62 |
463 | * process. |
79072805 |
464 | */ |
a0d0e21e |
465 | #undef HAS_SETREGID /**/ |
466 | #undef HAS_SETRESGID /**/ |
79072805 |
467 | |
2304df62 |
468 | /* HAS_SETREUID: |
79072805 |
469 | * This symbol, if defined, indicates that the setreuid routine is |
2304df62 |
470 | * available to change the real and effective uid of the current |
471 | * process. |
79072805 |
472 | */ |
2304df62 |
473 | /* HAS_SETRESUID: |
79072805 |
474 | * This symbol, if defined, indicates that the setresuid routine is |
475 | * available to change the real, effective and saved uid of the current |
2304df62 |
476 | * process. |
79072805 |
477 | */ |
a0d0e21e |
478 | #undef HAS_SETREUID /**/ |
479 | #undef HAS_SETRESUID /**/ |
79072805 |
480 | |
2304df62 |
481 | /* HAS_SETRGID: |
79072805 |
482 | * This symbol, if defined, indicates that the setrgid routine is available |
483 | * to change the real gid of the current program. |
484 | */ |
a0d0e21e |
485 | #undef HAS_SETRGID /**/ |
79072805 |
486 | |
2304df62 |
487 | /* HAS_SETRUID: |
79072805 |
488 | * This symbol, if defined, indicates that the setruid routine is available |
489 | * to change the real uid of the current program. |
490 | */ |
a0d0e21e |
491 | #undef HAS_SETRUID /**/ |
79072805 |
492 | |
2304df62 |
493 | /* HAS_SETSID: |
494 | * This symbol, if defined, indicates that the setsid routine is |
495 | * available to set the process group ID. |
496 | */ |
a0d0e21e |
497 | #undef HAS_SETSID /**/ |
2304df62 |
498 | |
499 | /* HAS_SHM: |
79072805 |
500 | * This symbol, if defined, indicates that the entire shm*(2) library is |
501 | * supported. |
502 | */ |
a0d0e21e |
503 | #undef HAS_SHM /**/ |
79072805 |
504 | |
a0d0e21e |
505 | /* Shmat_t: |
506 | * This symbol holds the return type of the shmat() system call. |
507 | * Usually set to 'void *' or 'char *'. |
79072805 |
508 | */ |
a0d0e21e |
509 | /* HAS_SHMAT_PROTOTYPE: |
510 | * This symbol, if defined, indicates that the sys/shm.h includes |
511 | * a prototype for shmat(). Otherwise, it is up to the program to |
512 | * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess, |
513 | * but not always right so it should be emitted by the program only |
514 | * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs. |
79072805 |
515 | */ |
16d20bd9 |
516 | #undef Shmat_t /**/ /* config-skip */ |
a0d0e21e |
517 | #undef HAS_SHMAT_PROTOTYPE /**/ |
79072805 |
518 | |
c07a80fd |
519 | /* HAS_SIGACTION: |
520 | * This symbol, if defined, indicates that Vr4's sigaction() routine |
521 | * is available. |
522 | */ |
84902520 |
523 | #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000) |
524 | #define HAS_SIGACTION /**/ |
525 | #else |
526 | #undef HAS_SIGACTION /*config-skip*/ |
527 | #endif |
c07a80fd |
528 | |
2304df62 |
529 | /* USE_STAT_BLOCKS: |
79072805 |
530 | * This symbol is defined if this system has a stat structure declaring |
531 | * st_blksize and st_blocks. |
532 | */ |
a0d0e21e |
533 | #undef USE_STAT_BLOCKS /**/ |
79072805 |
534 | |
16d20bd9 |
535 | /* USE_STDIO_PTR: |
536 | * This symbol is defined if the _ptr and _cnt fields (or similar) |
537 | * of the stdio FILE structure can be used to access the stdio buffer |
538 | * for a file handle. If this is defined, then the FILE_ptr(fp) |
539 | * and FILE_cnt(fp) macros will also be defined and should be used |
540 | * to access these fields. |
541 | */ |
542 | /* USE_STDIO_BASE: |
543 | * This symbol is defined if the _base field (or similar) of the |
544 | * stdio FILE structure can be used to access the stdio buffer for |
545 | * a file handle. If this is defined, then the FILE_base(fp) macro |
546 | * will also be defined and should be used to access this field. |
547 | * Also, the FILE_bufsiz(fp) macro will be defined and should be used |
548 | * to determine the number of bytes in the buffer. USE_STDIO_BASE |
549 | * will never be defined unless USE_STDIO_PTR is. |
550 | */ |
edc7bc49 |
551 | /* STDIO_PTR_LVALUE: |
552 | * This symbol is defined if the FILE_ptr macro can be used as an |
553 | * lvalue. |
554 | */ |
555 | /* STDIO_CNT_LVALUE: |
556 | * This symbol is defined if the FILE_cnt macro can be used as an |
557 | * lvalue. |
e518068a |
558 | */ |
edc7bc49 |
559 | #ifdef __DECC |
560 | # define USE_STDIO_PTR /*config-skip*/ |
561 | # define USE_STDIO_BASE /*config-skip*/ |
562 | # define STDIO_PTR_LVALUE /*config-skip*/ |
563 | # define STDIO_CNT_LVALUE /*config-skip*/ |
564 | #else |
565 | # undef USE_STDIO_PTR /*config-skip*/ |
566 | # undef USE_STDIO_BASE /*config-skip*/ |
567 | # undef STDIO_PTR_LVALUE /*config-skip*/ |
568 | # undef STDIO_CNT_LVALUE /*config-skip*/ |
569 | #endif |
16d20bd9 |
570 | |
571 | /* FILE_ptr: |
572 | * This macro is used to access the _ptr field (or equivalent) of the |
573 | * FILE structure pointed to by its argument. This macro will always be |
574 | * defined if USE_STDIO_PTR is defined. |
575 | */ |
576 | /* FILE_cnt: |
577 | * This macro is used to access the _cnt field (or equivalent) of the |
578 | * FILE structure pointed to by its argument. This macro will always be |
579 | * defined if USE_STDIO_PTR is defined. |
580 | */ |
edc7bc49 |
581 | #ifdef USE_STDIO_PTR |
582 | # define FILE_ptr(fp) ((*fp)->_ptr) |
583 | # define FILE_cnt(fp) ((*fp)->_cnt) |
584 | #endif |
740ce14c |
585 | |
16d20bd9 |
586 | /* FILE_base: |
587 | * This macro is used to access the _base field (or equivalent) of the |
588 | * FILE structure pointed to by its argument. This macro will always be |
589 | * defined if USE_STDIO_BASE is defined. |
79072805 |
590 | */ |
16d20bd9 |
591 | /* FILE_bufsiz: |
592 | * This macro is used to determine the number of bytes in the I/O |
593 | * buffer pointed to by _base field (or equivalent) of the FILE |
594 | * structure pointed to its argument. This macro will always be defined |
595 | * if USE_STDIO_BASE is defined. |
596 | */ |
edc7bc49 |
597 | #ifdef USE_STDIO_BASE |
598 | # define FILE_base(fp) ((*fp)->_base) |
599 | # define FILE_bufsiz(fp) ((*fp)->_cnt + (*fp)->_ptr - (*fp)->_base) |
600 | #endif |
79072805 |
601 | |
2304df62 |
602 | /* USE_STRUCT_COPY: |
79072805 |
603 | * This symbol, if defined, indicates that this C compiler knows how |
604 | * to copy structures. If undefined, you'll need to use a block copy |
605 | * routine of some sort instead. |
606 | */ |
2304df62 |
607 | #define USE_STRUCT_COPY /**/ |
79072805 |
608 | |
a0d0e21e |
609 | /* HAS_STRERROR: |
610 | * This symbol, if defined, indicates that the strerror routine is |
611 | * available to translate error numbers to strings. See the writeup |
612 | * of Strerror() in this file before you try to define your own. |
613 | */ |
614 | /* HAS_SYS_ERRLIST: |
615 | * This symbol, if defined, indicates that the sys_errlist array is |
616 | * available to translate error numbers to strings. The extern int |
617 | * sys_nerr gives the size of that table. |
618 | */ |
619 | /* Strerror: |
620 | * This preprocessor symbol is defined as a macro if strerror() is |
621 | * not available to translate error numbers to strings but sys_errlist[] |
622 | * array is there. |
623 | */ |
624 | #define HAS_STRERROR /**/ |
625 | #undef HAS_SYS_ERRLIST /**/ |
8dd63a4d |
626 | #define Strerror(e) strerror((e),vaxc$errno) |
a0d0e21e |
627 | |
2304df62 |
628 | /* HAS_SYMLINK: |
79072805 |
629 | * This symbol, if defined, indicates that the symlink routine is available |
630 | * to create symbolic links. |
631 | */ |
a0d0e21e |
632 | #undef HAS_SYMLINK /**/ |
2304df62 |
633 | |
634 | /* HAS_SYSCALL: |
635 | * This symbol, if defined, indicates that the syscall routine is |
636 | * available to call arbitrary system calls. If undefined, that's tough. |
637 | */ |
a0d0e21e |
638 | #undef HAS_SYSCALL /**/ |
79072805 |
639 | |
2304df62 |
640 | /* HAS_SYSTEM: |
641 | * This symbol, if defined, indicates that the system routine is |
642 | * available to issue a shell command. |
79072805 |
643 | */ |
2304df62 |
644 | #define HAS_SYSTEM /**/ |
79072805 |
645 | |
85e6fe83 |
646 | /* Time_t: |
647 | * This symbol holds the type returned by time(). It can be long, |
648 | * or time_t on BSD sites (in which case <sys/types.h> should be |
649 | * included). |
650 | */ |
a0d0e21e |
651 | #define Time_t time_t /* Time type */ |
79072805 |
652 | |
2304df62 |
653 | /* HAS_TRUNCATE: |
79072805 |
654 | * This symbol, if defined, indicates that the truncate routine is |
655 | * available to truncate files. |
656 | */ |
84902520 |
657 | #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000) |
658 | #define HAS_TRUNCATE /**/ |
659 | #else |
660 | #undef HAS_TRUNCATE /*config-skip*/ |
661 | #endif |
79072805 |
662 | |
2304df62 |
663 | |
a0d0e21e |
664 | /* HAS_VFORK: |
665 | * This symbol, if defined, indicates that vfork() exists. |
79072805 |
666 | */ |
a0d0e21e |
667 | #define HAS_VFORK /**/ |
79072805 |
668 | |
748a9306 |
669 | /* Signal_t: |
670 | * This symbol's value is either "void" or "int", corresponding to the |
671 | * appropriate return type of a signal handler. Thus, you can declare |
672 | * a signal handler using "Signal_t (*handler)()", and define the |
673 | * handler using "Signal_t handler(sig)". |
674 | */ |
675 | #define Signal_t void /* Signal handler's return type */ |
676 | |
2304df62 |
677 | /* HASVOLATILE: |
79072805 |
678 | * This symbol, if defined, indicates that this C compiler knows about |
679 | * the volatile declaration. |
680 | */ |
a0d0e21e |
681 | #define HASVOLATILE /**/ |
2304df62 |
682 | #ifndef HASVOLATILE |
a0d0e21e |
683 | #define volatile /* config-skip */ |
2304df62 |
684 | #endif |
79072805 |
685 | |
2304df62 |
686 | /* HAS_VPRINTF: |
79072805 |
687 | * This symbol, if defined, indicates that the vprintf routine is available |
688 | * to printf with a pointer to an argument list. If unavailable, you |
689 | * may need to write your own, probably in terms of _doprnt(). |
690 | */ |
2304df62 |
691 | /* USE_CHAR_VSPRINTF: |
79072805 |
692 | * This symbol is defined if this system has vsprintf() returning type |
693 | * (char*). The trend seems to be to declare it as "int vsprintf()". It |
694 | * is up to the package author to declare vsprintf correctly based on the |
695 | * symbol. |
696 | */ |
2304df62 |
697 | #define HAS_VPRINTF /**/ |
a0d0e21e |
698 | #undef USE_CHAR_VSPRINTF /**/ |
79072805 |
699 | |
2304df62 |
700 | /* HAS_WAIT4: |
79072805 |
701 | * This symbol, if defined, indicates that wait4() exists. |
702 | */ |
84902520 |
703 | #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000) |
704 | #define HAS_WAIT4 /**/ |
705 | #else |
706 | #undef HAS_WAIT4 /*config-skip*/ |
707 | #endif |
79072805 |
708 | |
2304df62 |
709 | /* HAS_WAITPID: |
710 | * This symbol, if defined, indicates that the waitpid routine is |
711 | * available to wait for child process. |
79072805 |
712 | */ |
748a9306 |
713 | #define HAS_WAITPID /**/ |
79072805 |
714 | |
a0d0e21e |
715 | /* HAS_WCSTOMBS: |
716 | * This symbol, if defined, indicates that the wcstombs routine is |
717 | * available to convert wide character strings to multibyte strings. |
79072805 |
718 | */ |
36477c24 |
719 | #ifdef __DECC |
720 | # define HAS_WCSTOMBS /*config-skip*/ |
721 | #else |
722 | # undef HAS_WCSTOMBS /*config-skip*/ |
723 | #endif |
79072805 |
724 | |
2304df62 |
725 | /* I_DIRENT: |
726 | * This symbol, if defined, indicates to the C program that it should |
727 | * include <dirent.h>. Using this symbol also triggers the definition |
728 | * of the Direntry_t define which ends up being 'struct dirent' or |
729 | * 'struct direct' depending on the availability of <dirent.h>. |
79072805 |
730 | */ |
2304df62 |
731 | /* DIRNAMLEN: |
732 | * This symbol, if defined, indicates to the C program that the length |
733 | * of directory entry names is provided by a d_namlen field. Otherwise |
734 | * you need to do strlen() on the d_name field. |
735 | */ |
a0d0e21e |
736 | #undef I_DIRENT /**/ |
737 | #define DIRNAMLEN /**/ |
2304df62 |
738 | #define Direntry_t struct dirent |
79072805 |
739 | |
2304df62 |
740 | /* I_FCNTL: |
79072805 |
741 | * This manifest constant tells the C program to include <fcntl.h>. |
742 | */ |
a0d0e21e |
743 | #undef I_FCNTL /**/ |
79072805 |
744 | |
2304df62 |
745 | /* I_GRP: |
79072805 |
746 | * This symbol, if defined, indicates to the C program that it should |
2304df62 |
747 | * include <grp.h>. |
79072805 |
748 | */ |
a0d0e21e |
749 | #undef I_GRP /**/ |
79072805 |
750 | |
a0d0e21e |
751 | /* I_LIMITS: |
752 | * This symbol, if defined, indicates to the C program that it should |
753 | * include <limits.h> to get definition of symbols like WORD_BIT or |
754 | * LONG_MAX, i.e. machine dependant limitations. |
2304df62 |
755 | */ |
740ce14c |
756 | #define I_LIMITS /**/ |
2304df62 |
757 | |
a0d0e21e |
758 | /* I_MEMORY: |
79072805 |
759 | * This symbol, if defined, indicates to the C program that it should |
a0d0e21e |
760 | * include <memory.h>. |
79072805 |
761 | */ |
a0d0e21e |
762 | #undef I_MEMORY /**/ |
763 | |
764 | /* I_NDBM: |
765 | * This symbol, if defined, indicates that ndbm.h exists and should |
766 | * be included. |
79072805 |
767 | */ |
a0d0e21e |
768 | #undef I_NDBM /**/ |
79072805 |
769 | |
2304df62 |
770 | /* I_STDARG: |
771 | * This symbol, if defined, indicates that <stdarg.h> exists and should |
772 | * be included. |
79072805 |
773 | */ |
a0d0e21e |
774 | #define I_STDARG /**/ |
775 | |
776 | /* I_PWD: |
777 | * This symbol, if defined, indicates to the C program that it should |
778 | * include <pwd.h>. |
779 | */ |
780 | /* PWQUOTA: |
781 | * This symbol, if defined, indicates to the C program that struct passwd |
782 | * contains pw_quota. |
783 | */ |
784 | /* PWAGE: |
785 | * This symbol, if defined, indicates to the C program that struct passwd |
786 | * contains pw_age. |
787 | */ |
788 | /* PWCHANGE: |
789 | * This symbol, if defined, indicates to the C program that struct passwd |
790 | * contains pw_change. |
791 | */ |
792 | /* PWCLASS: |
793 | * This symbol, if defined, indicates to the C program that struct passwd |
794 | * contains pw_class. |
795 | */ |
796 | /* PWEXPIRE: |
797 | * This symbol, if defined, indicates to the C program that struct passwd |
798 | * contains pw_expire. |
799 | */ |
800 | /* PWCOMMENT: |
801 | * This symbol, if defined, indicates to the C program that struct passwd |
802 | * contains pw_comment. |
803 | */ |
804 | #undef I_PWD /**/ |
805 | #undef PWQUOTA /**/ |
806 | #undef PWAGE /**/ |
807 | #undef PWCHANGE /**/ |
808 | #undef PWCLASS /**/ |
809 | #undef PWEXPIRE /**/ |
748a9306 |
810 | #define PWCOMMENT /**/ |
79072805 |
811 | |
2304df62 |
812 | /* I_STDDEF: |
813 | * This symbol, if defined, indicates that <stddef.h> exists and should |
79072805 |
814 | * be included. |
815 | */ |
2304df62 |
816 | #define I_STDDEF /**/ |
817 | |
a0d0e21e |
818 | /* I_STDLIB: |
819 | * This symbol, if defined, indicates that <stdlib.h> exists and should |
820 | * be included. |
821 | */ |
822 | #define I_STDLIB /**/ |
823 | |
85e6fe83 |
824 | /* I_STRING: |
825 | * This symbol, if defined, indicates to the C program that it should |
826 | * include <string.h> (USG systems) instead of <strings.h> (BSD systems). |
827 | */ |
828 | #define I_STRING /**/ |
829 | |
2304df62 |
830 | /* I_SYS_DIR: |
831 | * This symbol, if defined, indicates to the C program that it should |
832 | * include <sys/dir.h>. |
833 | */ |
a0d0e21e |
834 | #undef I_SYS_DIR /**/ |
2304df62 |
835 | |
836 | /* I_SYS_FILE: |
837 | * This symbol, if defined, indicates to the C program that it should |
838 | * include <sys/file.h> to get definition of R_OK and friends. |
839 | */ |
a0d0e21e |
840 | #undef I_SYS_FILE /**/ |
79072805 |
841 | |
2304df62 |
842 | /* I_SYS_IOCTL: |
843 | * This symbol, if defined, indicates that <sys/ioctl.h> exists and should |
844 | * be included. Otherwise, include <sgtty.h> or <termio.h>. |
79072805 |
845 | */ |
a0d0e21e |
846 | #undef I_SYS_IOCTL /**/ |
847 | |
2304df62 |
848 | /* I_SYS_NDIR: |
849 | * This symbol, if defined, indicates to the C program that it should |
850 | * include <sys/ndir.h>. |
79072805 |
851 | */ |
a0d0e21e |
852 | #undef I_SYS_NDIR /**/ |
2304df62 |
853 | |
740ce14c |
854 | /* I_SYS_RESOURCE: |
855 | * This symbol, if defined, indicates to the C program that it should |
856 | * include <sys/resource.h>. |
857 | */ |
858 | #undef I_SYS_RESOURCE /**/ |
859 | |
2304df62 |
860 | /* I_SYS_SELECT: |
861 | * This symbol, if defined, indicates to the C program that it should |
862 | * include <sys/select.h> in order to get definition of struct timeval. |
863 | */ |
a0d0e21e |
864 | #undef I_SYS_SELECT /**/ |
865 | |
e518068a |
866 | /* I_DBM: |
867 | * This symbol, if defined, indicates that <dbm.h> exists and should |
868 | * be included. |
869 | */ |
870 | /* I_RPCSVC_DBM: |
871 | * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and |
872 | * should be included. |
873 | */ |
874 | #undef I_DBM /**/ |
875 | #undef I_RPCSVC_DBM /**/ |
876 | |
740ce14c |
877 | /* I_SFIO: |
878 | * This symbol, if defined, indicates to the C program that it should |
879 | * include <sfio.h>. |
880 | */ |
881 | #undef I_SFIO /**/ |
882 | |
40000a8c |
883 | /* I_SYS_STAT: |
884 | * This symbol, if defined, indicates to the C program that it should |
885 | * include <sys/stat.h>. |
886 | */ |
887 | #define I_SYS_STAT /**/ |
a0d0e21e |
888 | |
889 | /* I_SYS_TIMES: |
890 | * This symbol, if defined, indicates to the C program that it should |
891 | * include <sys/times.h>. |
892 | */ |
893 | #undef I_SYS_TIMES /**/ |
894 | |
40000a8c |
895 | /* I_SYS_TYPES: |
896 | * This symbol, if defined, indicates to the C program that it should |
897 | * include <sys/types.h>. |
898 | */ |
899 | #define I_SYS_TYPES /**/ |
900 | |
e518068a |
901 | /* I_SYS_UN: |
902 | * This symbol, if defined, indicates to the C program that it should |
903 | * include <sys/un.h> to get UNIX domain socket definitions. |
904 | */ |
905 | #undef I_SYS_UN /**/ |
906 | |
740ce14c |
907 | /* I_SYS_WAIT: |
908 | * This symbol, if defined, indicates to the C program that it should |
909 | * include <sys/wait.h>. |
910 | */ |
911 | #undef I_SYS_WAIT /**/ |
912 | |
a0d0e21e |
913 | /* I_TERMIO: |
914 | * This symbol, if defined, indicates that the program should include |
915 | * <termio.h> rather than <sgtty.h>. There are also differences in |
916 | * the ioctl() calls that depend on the value of this symbol. |
917 | */ |
918 | /* I_TERMIOS: |
919 | * This symbol, if defined, indicates that the program should include |
920 | * the POSIX termios.h rather than sgtty.h or termio.h. |
921 | * There are also differences in the ioctl() calls that depend on the |
922 | * value of this symbol. |
923 | */ |
924 | /* I_SGTTY: |
925 | * This symbol, if defined, indicates that the program should include |
926 | * <sgtty.h> rather than <termio.h>. There are also differences in |
927 | * the ioctl() calls that depend on the value of this symbol. |
928 | */ |
929 | #undef I_TERMIO /**/ |
930 | #undef I_SGTTY /**/ |
931 | #undef I_TERMIOS /**/ |
2304df62 |
932 | |
933 | /* I_TIME: |
934 | * This symbol, if defined, indicates to the C program that it should |
935 | * include <time.h>. |
79072805 |
936 | */ |
2304df62 |
937 | /* I_SYS_TIME: |
938 | * This symbol, if defined, indicates to the C program that it should |
939 | * include <sys/time.h>. |
79072805 |
940 | */ |
85e6fe83 |
941 | /* I_SYS_TIME_KERNEL: |
942 | * This symbol, if defined, indicates to the C program that it should |
943 | * include <sys/time.h> with KERNEL defined. |
944 | */ |
a0d0e21e |
945 | #define I_TIME /**/ |
946 | #undef I_SYS_TIME /**/ |
947 | #undef I_SYS_TIME_KERNEL /**/ |
85e6fe83 |
948 | |
949 | /* I_UNISTD: |
950 | * This symbol, if defined, indicates to the C program that it should |
951 | * include <unistd.h>. |
952 | */ |
a0d0e21e |
953 | #undef I_UNISTD /**/ |
79072805 |
954 | |
2304df62 |
955 | /* I_UTIME: |
79072805 |
956 | * This symbol, if defined, indicates to the C program that it should |
2304df62 |
957 | * include <utime.h>. |
79072805 |
958 | */ |
a0d0e21e |
959 | #undef I_UTIME /**/ |
960 | |
2304df62 |
961 | /* I_VARARGS: |
79072805 |
962 | * This symbol, if defined, indicates to the C program that it should |
2304df62 |
963 | * include <varargs.h>. |
79072805 |
964 | */ |
a0d0e21e |
965 | #undef I_VARARGS /**/ |
966 | |
967 | |
968 | /* I_VFORK: |
969 | * This symbol, if defined, indicates to the C program that it should |
970 | * include vfork.h. |
971 | */ |
972 | #undef I_VFORK /**/ |
79072805 |
973 | |
a0d0e21e |
974 | /* CAN_PROTOTYPE: |
975 | * If defined, this macro indicates that the C compiler can handle |
976 | * function prototypes. |
79072805 |
977 | */ |
a0d0e21e |
978 | /* _: |
979 | * This macro is used to declare function parameters for folks who want |
980 | * to make declarations with prototypes using a different style than |
981 | * the above macros. Use double parentheses. For example: |
982 | * |
983 | * int main _((int argc, char *argv[])); |
85e6fe83 |
984 | */ |
a0d0e21e |
985 | #define CAN_PROTOTYPE /**/ |
986 | #ifdef CAN_PROTOTYPE |
987 | #define _(args) args /* config-skip */ |
988 | #else |
989 | #define _(args) () /* config-skip */ |
990 | #endif |
85e6fe83 |
991 | |
2304df62 |
992 | /* RANDBITS: |
993 | * This symbol contains the number of bits of random number the rand() |
994 | * function produces. Usual values are 15, 16, and 31. |
79072805 |
995 | */ |
2304df62 |
996 | #define RANDBITS 31 /**/ |
997 | |
a0d0e21e |
998 | |
999 | /* Select_fd_set_t: |
1000 | * This symbol holds the type used for the 2nd, 3rd, and 4th |
1001 | * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET |
1002 | * is defined, and 'int *' otherwise. This is only useful if you |
1003 | * have select(), of course. |
79072805 |
1004 | */ |
84902520 |
1005 | #if defined(__DECC) && defined(__DECC_VER) && (__DECC_VER >= 50200000) && defined(DECCRTL_SOCKETS) |
1006 | #define Select_fd_set_t fd_set * /**/ |
d27fe803 |
1007 | #else |
84902520 |
1008 | #define Select_fd_set_t int * /* config-skip */ |
d27fe803 |
1009 | #endif |
2304df62 |
1010 | |
2304df62 |
1011 | /* STDCHAR: |
1012 | * This symbol is defined to be the type of char used in stdio.h. |
1013 | * It has the values "unsigned char" or "char". |
79072805 |
1014 | */ |
a0d0e21e |
1015 | #define STDCHAR char /**/ |
79072805 |
1016 | |
16d20bd9 |
1017 | /* UNLINK_ALL_VERSIONS: |
1018 | * This symbol, if defined, indicates that the program should arrange |
1019 | * to remove all versions of a file if unlink() is called. |
85e6fe83 |
1020 | */ |
16d20bd9 |
1021 | #undef UNLINK_ALL_VERSIONS /**/ |
1022 | |
a0d0e21e |
1023 | /* LOC_SED: |
1024 | * This symbol holds the complete pathname to the sed program. |
85e6fe83 |
1025 | */ |
a0d0e21e |
1026 | #define LOC_SED "_NLA0:" /**/ |
1027 | |
1028 | /* BIN: |
1029 | * This symbol holds the path of the bin directory where the package will |
1030 | * be installed. Program must be prepared to deal with ~name substitution. |
1031 | */ |
2ae324a7 |
1032 | /* BIN_EXP: |
1033 | * This symbol is the filename expanded version of the BIN symbol, for |
1034 | * programs that do not want to deal with that at run-time. |
1035 | */ |
a0d0e21e |
1036 | #define BIN "/perl_root/000000" /**/ |
2ae324a7 |
1037 | #define BIN_EXP "/perl_root/000000" /**/ |
a0d0e21e |
1038 | |
1039 | /* HAS_ALARM: |
1040 | * This symbol, if defined, indicates that the alarm routine is |
1041 | * available. |
1042 | */ |
1043 | #define HAS_ALARM /**/ |
85e6fe83 |
1044 | |
e518068a |
1045 | /* HASATTRIBUTE: |
1046 | * This symbol indicates the C compiler can check for function attributes, |
1047 | * such as printf formats. This is normally only supported by GNU cc. |
1048 | */ |
1049 | #ifdef __GNUC__ |
1050 | # define HASATTRIBUTE /*config-skip*/ |
1051 | #else |
1052 | # undef HASATTRIBUTE /*config-skip*/ |
1053 | #endif |
1054 | #ifndef HASATTRIBUTE |
1055 | #define __attribute__(_arg_) |
1056 | #endif |
1057 | |
2304df62 |
1058 | /* CASTI32: |
1059 | * This symbol is defined if the C compiler can cast negative |
1060 | * or large floating point numbers to 32-bit ints. |
79072805 |
1061 | */ |
2304df62 |
1062 | #define CASTI32 /**/ |
1063 | |
a0d0e21e |
1064 | /* HAS_CHOWN: |
1065 | * This symbol, if defined, indicates that the chown routine is |
1066 | * available. |
1067 | */ |
1068 | #define HAS_CHOWN /**/ |
1069 | |
1070 | /* HAS_CHROOT: |
1071 | * This symbol, if defined, indicates that the chroot routine is |
1072 | * available. |
1073 | */ |
1074 | #undef HAS_CHROOT /**/ |
1075 | |
1076 | /* HAS_CUSERID: |
1077 | * This symbol, if defined, indicates that the cuserid routine is |
1078 | * available to get character login names. |
1079 | */ |
1080 | #define HAS_CUSERID /**/ |
1081 | |
1082 | /* HAS_DBL_DIG: |
1083 | * This symbol, if defined, indicates that this system's <float.h> |
1084 | * or <limits.h> defines the symbol DBL_DIG, which is the number |
1085 | * of significant digits in a double precision number. If this |
1086 | * symbol is not defined, a guess of 15 is usually pretty good. |
1087 | */ |
1088 | #define HAS_DBL_DIG /* */ |
1089 | |
1090 | /* HAS_DIFFTIME: |
1091 | * This symbol, if defined, indicates that the difftime routine is |
1092 | * available. |
1093 | */ |
1094 | #define HAS_DIFFTIME /**/ |
1095 | |
1096 | /* HAS_FORK: |
1097 | * This symbol, if defined, indicates that the fork routine is |
1098 | * available. |
1099 | */ |
1100 | /* VMS: In vmsish.h, fork is #defined to vfork. This kludge gets around |
1101 | * some obsolete code in pp.c, which should be fixed in its own right |
1102 | * sometime. - C. Bailey 26-Aug-1994 |
1103 | */ |
1104 | #define HAS_FORK /**/ |
1105 | |
1106 | /* HAS_GETLOGIN: |
1107 | * This symbol, if defined, indicates that the getlogin routine is |
1108 | * available. |
1109 | */ |
c07a80fd |
1110 | #define HAS_GETLOGIN /**/ |
a0d0e21e |
1111 | |
1112 | /* HAS_GETPPID: |
1113 | * This symbol, if defined, indicates that the getppid routine is |
1114 | * available. |
1115 | */ |
1116 | #undef HAS_GETPPID /**/ |
1117 | |
85e6fe83 |
1118 | /* HAS_HTONL: |
1119 | * This symbol, if defined, indicates that the htonl() routine (and |
1120 | * friends htons() ntohl() ntohs()) are available to do network |
1121 | * order byte swapping. |
1122 | */ |
1123 | /* HAS_HTONS: |
1124 | * This symbol, if defined, indicates that the htons() routine (and |
1125 | * friends htonl() ntohl() ntohs()) are available to do network |
1126 | * order byte swapping. |
1127 | */ |
1128 | /* HAS_NTOHL: |
1129 | * This symbol, if defined, indicates that the ntohl() routine (and |
1130 | * friends htonl() htons() ntohs()) are available to do network |
1131 | * order byte swapping. |
1132 | */ |
1133 | /* HAS_NTOHS: |
1134 | * This symbol, if defined, indicates that the ntohs() routine (and |
1135 | * friends htonl() htons() ntohl()) are available to do network |
1136 | * order byte swapping. |
1137 | */ |
a0d0e21e |
1138 | #define HAS_HTONL /**/ |
1139 | #define HAS_HTONS /**/ |
1140 | #define HAS_NTOHL /**/ |
1141 | #define HAS_NTOHS /**/ |
1142 | |
1143 | /* HAS_MBLEN: |
1144 | * This symbol, if defined, indicates that the mblen routine is available |
1145 | * to find the number of bytes in a multibye character. |
1146 | */ |
36477c24 |
1147 | #ifdef __DECC |
1148 | # define HAS_MBLEN /*config-skip*/ |
1149 | #else |
1150 | # undef HAS_MBLEN /*config-skip*/ |
1151 | #endif |
85e6fe83 |
1152 | |
a0d0e21e |
1153 | /* HAS_MKTIME: |
1154 | * This symbol, if defined, indicates that the mktime routine is |
1155 | * available. |
79072805 |
1156 | */ |
36477c24 |
1157 | #ifdef __DECC |
1158 | # define HAS_MKTIME /*config-skip*/ |
1159 | #else |
1160 | # undef HAS_MKTIME /*config-skip*/ |
1161 | #endif |
79072805 |
1162 | |
a0d0e21e |
1163 | /* HAS_NICE: |
1164 | * This symbol, if defined, indicates that the nice routine is |
1165 | * available. |
85e6fe83 |
1166 | */ |
a0d0e21e |
1167 | #define HAS_NICE /**/ |
85e6fe83 |
1168 | |
a0d0e21e |
1169 | /* HAS_PAUSE: |
1170 | * This symbol, if defined, indicates that the pause routine is |
1171 | * available. |
85e6fe83 |
1172 | */ |
a0d0e21e |
1173 | #define HAS_PAUSE /**/ |
85e6fe83 |
1174 | |
a0d0e21e |
1175 | /* HAS_PIPE: |
1176 | * This symbol, if defined, indicates that the pipe routine is |
1177 | * available. |
85e6fe83 |
1178 | */ |
a0d0e21e |
1179 | #define HAS_PIPE /**/ |
85e6fe83 |
1180 | |
a0d0e21e |
1181 | /* HAS_READLINK: |
1182 | * This symbol, if defined, indicates that the readlink routine is |
1183 | * available. |
85e6fe83 |
1184 | */ |
a0d0e21e |
1185 | #undef HAS_READLINK /**/ |
85e6fe83 |
1186 | |
a0d0e21e |
1187 | /* HAS_SETLINEBUF: |
1188 | * This symbol, if defined, indicates that the setlinebuf routine is |
1189 | * available to change stderr or stdout from block-buffered or unbuffered |
1190 | * to a line-buffered mode. |
85e6fe83 |
1191 | */ |
a0d0e21e |
1192 | #undef HAS_SETLINEBUF /**/ |
85e6fe83 |
1193 | |
a0d0e21e |
1194 | /* HAS_STRCHR: |
1195 | * This symbol is defined to indicate that the strchr()/strrchr() |
1196 | * functions are available for string searching. If not, try the |
1197 | * index()/rindex() pair. |
2304df62 |
1198 | */ |
a0d0e21e |
1199 | /* HAS_INDEX: |
1200 | * This symbol is defined to indicate that the index()/rindex() |
1201 | * functions are available for string searching. |
1202 | */ |
1203 | #define HAS_STRCHR /**/ |
84902520 |
1204 | #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000) |
1205 | #define HAS_INDEX /**/ |
1206 | #else |
1207 | #undef HAS_INDEX /*config-skip*/ |
1208 | #endif |
79072805 |
1209 | |
a0d0e21e |
1210 | /* HAS_STRCOLL: |
1211 | * This symbol, if defined, indicates that the strcoll routine is |
1212 | * available to compare strings using collating information. |
85e6fe83 |
1213 | */ |
36477c24 |
1214 | #ifdef __DECC |
1215 | # define HAS_STRCOLL /*config-skip*/ |
1216 | #else |
1217 | # undef HAS_STRCOLL /*config-skip*/ |
1218 | #endif |
85e6fe83 |
1219 | |
bbce6d69 |
1220 | /* HAS_STRTOD: |
1221 | * This symbol, if defined, indicates that the strtod routine is |
71be2cbc |
1222 | * available to provide better numeric string conversion than atof(). |
bbce6d69 |
1223 | */ |
1224 | #define HAS_STRTOD /**/ |
1225 | |
1226 | /* HAS_STRTOL: |
71be2cbc |
1227 | * This symbol, if defined, indicates that the strtol routine is available |
1228 | * to provide better numeric string conversion than atoi() and friends. |
bbce6d69 |
1229 | */ |
1230 | #define HAS_STRTOL /**/ |
1231 | |
1232 | /* HAS_STRTOUL: |
1233 | * This symbol, if defined, indicates that the strtoul routine is |
71be2cbc |
1234 | * available to provide conversion of strings to unsigned long. |
bbce6d69 |
1235 | */ |
1236 | #define HAS_STRTOUL /**/ |
1237 | |
a0d0e21e |
1238 | /* HAS_STRXFRM: |
1239 | * This symbol, if defined, indicates that the strxfrm() routine is |
1240 | * available to compare strings using collating information. |
85e6fe83 |
1241 | */ |
36477c24 |
1242 | #ifdef __DECC |
1243 | # define HAS_STRXFRM /*config-skip*/ |
1244 | #else |
1245 | # undef HAS_STRXFRM /*config-skip*/ |
1246 | #endif |
85e6fe83 |
1247 | |
a0d0e21e |
1248 | /* HAS_TCGETPGRP: |
1249 | * This symbol, if defined, indicates that the tcgetpgrp routine is |
1250 | * available to get foreground process group ID. |
2304df62 |
1251 | */ |
a0d0e21e |
1252 | #undef HAS_TCGETPGRP /**/ |
1253 | |
1254 | /* HAS_TCSETPGRP: |
1255 | * This symbol, if defined, indicates that the tcsetpgrp routine is |
1256 | * available to set foreground process group ID. |
2304df62 |
1257 | */ |
a0d0e21e |
1258 | #undef HAS_TCSETPGRP /**/ |
1259 | |
1260 | /* HAS_TIMES: |
1261 | * This symbol, if defined, indicates that the times() routine exists. |
1262 | * Note that this became obsolete on some systems (SUNOS), which now |
1263 | * use getrusage(). It may be necessary to include <sys/times.h>. |
2304df62 |
1264 | */ |
a0d0e21e |
1265 | #define HAS_TIMES /**/ |
79072805 |
1266 | |
a0d0e21e |
1267 | /* HAS_TZNAME: |
1268 | * This symbol, if defined, indicates that the tzname[] array is |
1269 | * available to access timezone names. |
85e6fe83 |
1270 | */ |
a0d0e21e |
1271 | #undef HAS_TZNAME /**/ |
85e6fe83 |
1272 | |
a0d0e21e |
1273 | /* HAS_UMASK: |
1274 | * This symbol, if defined, indicates that the umask routine is |
1275 | * available to get the file creation mask. |
79072805 |
1276 | */ |
a0d0e21e |
1277 | #define HAS_UMASK /**/ |
1278 | |
a0d0e21e |
1279 | /* HAS_WCTOMB: |
1280 | * This symbol, if defined, indicates that the wctomb routine is available |
1281 | * to covert a wide character to a multibyte. |
1282 | */ |
36477c24 |
1283 | #ifdef __DECC |
1284 | # define HAS_WCTOMB /*config-skip*/ |
1285 | #else |
1286 | # undef HAS_WCTOMB /*config-skip*/ |
1287 | #endif |
a0d0e21e |
1288 | |
1289 | /* Fpos_t: |
1290 | * This symbol holds the type used to declare file positions in libc. |
1291 | * It can be fpos_t, long, uint, etc... It may be necessary to include |
1292 | * <sys/types.h> to get any typedef'ed information. |
1293 | */ |
1294 | #define Fpos_t fpos_t /* File position type */ |
79072805 |
1295 | |
2304df62 |
1296 | /* Gid_t: |
1297 | * This symbol holds the return type of getgid() and the type of |
1298 | * argument to setrgid() and related functions. Typically, |
1299 | * it is the type of group ids in the kernel. |
1300 | * It can be int, ushort, uid_t, etc... It may be necessary to include |
1301 | * <sys/types.h> to get any typedef'ed information. |
79072805 |
1302 | */ |
e518068a |
1303 | #if defined(__DECC) && defined(__DECC_VER) && (__DECC_VER >= 500000) |
1304 | # define Gid_t gid_t /* config-skip */ |
1305 | #else |
1306 | # define Gid_t unsigned int /* config-skip */ |
1307 | #endif |
79072805 |
1308 | |
85e6fe83 |
1309 | /* I_DLFCN: |
1310 | * This symbol, if defined, indicates that <dlfcn.h> exists and should |
1311 | * be included. |
1312 | */ |
a0d0e21e |
1313 | #undef I_DLFCN /**/ |
85e6fe83 |
1314 | |
a0d0e21e |
1315 | /* I_FLOAT: |
85e6fe83 |
1316 | * This symbol, if defined, indicates to the C program that it should |
a0d0e21e |
1317 | * include <float.h> to get definition of symbols like DBL_MAX or |
1318 | * DBL_MIN, i.e. machine dependent floating point values. |
85e6fe83 |
1319 | */ |
a0d0e21e |
1320 | #define I_FLOAT /**/ |
85e6fe83 |
1321 | |
a0d0e21e |
1322 | /* I_MATH: |
1323 | * This symbol, if defined, indicates to the C program that it should |
1324 | * include <math.h>. |
85e6fe83 |
1325 | */ |
a0d0e21e |
1326 | #define I_MATH /**/ |
85e6fe83 |
1327 | |
e518068a |
1328 | /* INTSIZE: |
1329 | * This symbol contains the size of an int, so that the C preprocessor |
1330 | * can make decisions based on it. |
1331 | */ |
4fdae800 |
1332 | /* LONGSIZE: |
1333 | * This symbol contains the value of sizeof(long) so that the C |
1334 | * preprocessor can make decisions based on it. |
1335 | */ |
1336 | /* SHORTSIZE: |
1337 | * This symbol contains the value of sizeof(short) so that the C |
1338 | * preprocessor can make decisions based on it. |
1339 | */ |
e518068a |
1340 | #define INTSIZE 4 /**/ |
4fdae800 |
1341 | #define LONGSIZE 4 /**/ |
1342 | #define SHORTSIZE 2 /**/ |
748a9306 |
1343 | |
a0d0e21e |
1344 | /* Off_t: |
1345 | * This symbol holds the type used to declare offsets in the kernel. |
1346 | * It can be int, long, off_t, etc... It may be necessary to include |
1347 | * <sys/types.h> to get any typedef'ed information. |
85e6fe83 |
1348 | */ |
a0d0e21e |
1349 | #define Off_t int /* <offset> type */ |
e518068a |
1350 | |
740ce14c |
1351 | /* I_VALUES: |
1352 | * This symbol, if defined, indicates to the C program that it should |
1353 | * include <values.h> to get definition of symbols like MINFLOAT or |
1354 | * MAXLONG, i.e. machine dependant limitations. Probably, you |
1355 | * should use <limits.h> instead, if it is available. |
1356 | */ |
1357 | #undef I_VALUES /**/ |
1358 | |
e518068a |
1359 | /* Free_t: |
1360 | * This variable contains the return type of free(). It is usually |
1361 | * void, but occasionally int. |
1362 | */ |
a0d0e21e |
1363 | /* Malloc_t: |
1364 | * This symbol is the type of pointer returned by malloc and realloc. |
85e6fe83 |
1365 | */ |
a0d0e21e |
1366 | #define Malloc_t void * /**/ |
e518068a |
1367 | #define Free_t void /**/ |
a0d0e21e |
1368 | |
1369 | /* MYMALLOC: |
1370 | * This symbol, if defined, indicates that we're using our own malloc. |
85e6fe83 |
1371 | */ |
a0d0e21e |
1372 | #undef MYMALLOC /**/ |
1373 | |
740ce14c |
1374 | /* SH_PATH: |
1375 | * This symbol contains the full pathname to the shell used on this |
1376 | * on this system to execute Bourne shell scripts. Usually, this will be |
1377 | * /bin/sh, though it's possible that some systems will have /bin/ksh, |
1378 | * /bin/pdksh, /bin/ash, /bin/bash, or even something such as D:/bin/sh. |
1379 | */ |
1380 | #define SH_PATH "MCR" /**/ |
1381 | |
e518068a |
1382 | /* SIG_NAME: |
1383 | * This symbol contains a list of signal names in order. This is intended |
1384 | * to be used as a static array initialization, like this: |
1385 | * char *sig_name[] = { SIG_NAME }; |
1386 | * The signals in the list are separated with commas, and each signal |
1387 | * is surrounded by double quotes. There is no leading SIG in the signal |
1388 | * name, i.e. SIGQUIT is known as "QUIT". Duplicates are allowed. |
1389 | * The signal number for sig_name[i] is stored in sig_num[i]. |
1390 | * The last element is 0 to terminate the list with a NULL. This |
1391 | * corresponds to the 0 at the end of the sig_num list. |
1392 | * See SIG_NUM and SIG_MAX. |
1393 | */ |
84902520 |
1394 | #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000) |
1395 | #define SIG_NAME "ZERO","HUP","INT","QUIT","ILL","TRAP","IOT","EMT","FPE",\ |
1396 | "KILL","BUS","SEGV","SYS","PIPE","ALRM","TERM",\ |
1397 | "ABRT","USR1","USR2","SPARE18","SPARE19","CHLD","CONT",\ |
1398 | "STOP","TSTP","TTIN","TTOU","DEBUG","SPARE27","SPARE28",\ |
1399 | "SPARE29","SPARE30","SPARE31","SPARE32","RTMIN","RTMAX",0 /**/ |
1400 | #else |
e518068a |
1401 | #define SIG_NAME "ZERO","HUP","INT","QUIT","ILL","TRAP","IOT","EMT","FPE",\ |
1402 | "KILL","BUS","SEGV","SYS","PIPE","ALRM","TERM",\ |
84902520 |
1403 | "ABRT","USR1","USR2",0 /*config-skip*/ |
1404 | #endif |
e518068a |
1405 | |
1406 | /* SIG_NUM: |
1407 | * This symbol contains a list of signal number, in the same order as the |
1408 | * SIG_NAME list. It is suitable for static array initialization, as in: |
1409 | * int sig_num[] = { SIG_NUM }; |
1410 | * The signals in the list are separated with commas, and the indices |
1411 | * within that list and the SIG_NAME list match, so it's easy to compute |
1412 | * the signal name from a number or vice versa at the price of a small |
1413 | * dynamic linear lookup. Duplicates are allowed, so you can't assume |
1414 | * sig_num[i] == i. Instead, the signal number corresponding to |
1415 | * sig_name[i] is sig_number[i]. |
1416 | * The last element is 0, corresponding to the 0 at the end of |
1417 | * the sig_name list. |
1418 | */ |
84902520 |
1419 | #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000) |
1420 | #define SIG_NUM 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,6,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,64,0 /**/ |
1421 | #else |
1422 | #define SIG_NUM 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,6,16,17,0 /*config-skip*/ |
1423 | #endif |
e518068a |
1424 | |
a0d0e21e |
1425 | /* Mode_t: |
1426 | * This symbol holds the type used to declare file modes |
1427 | * for systems calls. It is usually mode_t, but may be |
1428 | * int or unsigned short. It may be necessary to include <sys/types.h> |
1429 | * to get any typedef'ed information. |
85e6fe83 |
1430 | */ |
a0d0e21e |
1431 | #define Mode_t unsigned int /* file mode parameter for system calls*/ |
1432 | |
1433 | /* SSize_t: |
1434 | * This symbol holds the type used by functions that return |
1435 | * a count of bytes or an error condition. It must be a signed type. |
1436 | * It is usually ssize_t, but may be long or int, etc. |
1437 | * It may be necessary to include <sys/types.h> or <unistd.h> |
1438 | * to get any typedef'ed information. |
1439 | * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t). |
85e6fe83 |
1440 | */ |
a0d0e21e |
1441 | #define SSize_t int /* signed count of bytes */ |
1442 | |
e518068a |
1443 | /* VAL_O_NONBLOCK: |
1444 | * This symbol is to be used during open() or fcntl(F_SETFL) to turn on |
1445 | * non-blocking I/O for the file descriptor. Note that there is no way |
1446 | * back, i.e. you cannot turn it blocking again this way. If you wish to |
1447 | * alternatively switch between blocking and non-blocking, use the |
1448 | * ioctl(FIOSNBIO) call instead, but that is not supported by all devices. |
1449 | */ |
1450 | /* VAL_EAGAIN: |
1451 | * This symbol holds the errno error code set by read() when no data was |
1452 | * present on the non-blocking file descriptor. |
1453 | */ |
1454 | /* RD_NODATA: |
1455 | * This symbol holds the return code from read() when no data is present |
1456 | * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is |
1457 | * not defined, then you can't distinguish between no data and EOF by |
1458 | * issuing a read(). You'll have to find another way to tell for sure! |
1459 | */ |
1460 | /* EOF_NONBLOCK: |
1461 | * This symbol, if defined, indicates to the C program that a read() on |
1462 | * a non-blocking file descriptor will return 0 on EOF, and not the value |
1463 | * held in RD_NODATA (-1 usually, in that case!). |
1464 | */ |
8dd63a4d |
1465 | #undef VAL_O_NONBLOCK |
1466 | #undef VAL_EAGAIN |
1467 | #undef RD_NODATA |
e518068a |
1468 | #undef EOF_NONBLOCK |
1469 | |
740ce14c |
1470 | /* OLDARCHLIB: |
1471 | * This variable, if defined, holds the name of the directory in |
1472 | * which the user has perl5.000 or perl5.001 architecture-dependent |
1473 | * public library files for $package. For the most part, these |
1474 | * files will work with 5.002 (and later), but that is not |
1475 | * guaranteed. |
1476 | */ |
e518068a |
1477 | /* OLDARCHLIB_EXP: |
1478 | * This symbol contains the ~name expanded version of OLDARCHLIB, to be |
1479 | * used in programs that are not prepared to deal with ~ expansion at |
1480 | * run-time. |
1481 | */ |
30fb25ec |
1482 | /* ==> NOTE <== |
1483 | * This value is automatically updated by FndVers.Com |
1484 | * when Perl is built. Please do not change it by hand; make |
1485 | * any changes to FndVers.Com instead. |
1486 | */ |
1487 | #define OLDARCHLIB_EXP "/perl_root/lib/VMS_VAX" /**/ |
740ce14c |
1488 | #define OLDARCHLIB OLDARCHLIB_EXP /*config-skip*/ |
a0d0e21e |
1489 | |
740ce14c |
1490 | /* PRIVLIB: |
a0d0e21e |
1491 | * This symbol contains the name of the private library for this package. |
1492 | * The library is private in the sense that it needn't be in anyone's |
1493 | * execution path, but it should be accessible by the world. The program |
1494 | * should be prepared to do ~ expansion. |
85e6fe83 |
1495 | */ |
740ce14c |
1496 | /* PRIVLIB_EXP: |
1497 | * This symbol contains the ~name expanded version of PRIVLIB, to be used |
1498 | * in programs that are not prepared to deal with ~ expansion at run-time. |
1499 | */ |
fed7345c |
1500 | #define PRIVLIB_EXP "/perl_root/lib" /**/ |
740ce14c |
1501 | #define PRIVLIB PRIVLIB_EXP /*config-skip*/ |
a0d0e21e |
1502 | |
740ce14c |
1503 | /* SITELIB: |
1504 | * This symbol contains the name of the private library for this package. |
1505 | * The library is private in the sense that it needn't be in anyone's |
1506 | * execution path, but it should be accessible by the world. The program |
1507 | * should be prepared to do ~ expansion. |
1508 | * The standard distribution will put nothing in this directory. |
1509 | * Individual sites may place their own extensions and modules in |
1510 | * this directory. |
1511 | */ |
e518068a |
1512 | /* SITELIB_EXP: |
1513 | * This symbol contains the ~name expanded version of SITELIB, to be used |
1514 | * in programs that are not prepared to deal with ~ expansion at run-time. |
1515 | */ |
482b294c |
1516 | #define SITELIB_EXP "/perl_root/lib/site_perl" /**/ |
740ce14c |
1517 | #define SITELIB SITELIB_EXP /*config-skip*/ |
e518068a |
1518 | |
740ce14c |
1519 | /* SITEARCH: |
1520 | * This symbol contains the name of the private library for this package. |
1521 | * The library is private in the sense that it needn't be in anyone's |
1522 | * execution path, but it should be accessible by the world. The program |
1523 | * should be prepared to do ~ expansion. |
1524 | * The standard distribution will put nothing in this directory. |
1525 | * Individual sites may place their own extensions and modules in |
1526 | * this directory. |
1527 | */ |
e518068a |
1528 | /* SITEARCH_EXP: |
1529 | * This symbol contains the ~name expanded version of SITEARCH, to be used |
1530 | * in programs that are not prepared to deal with ~ expansion at run-time. |
1531 | */ |
30fb25ec |
1532 | /* ==> NOTE <== |
1533 | * This value is automatically updated by FndVers.Com |
1534 | * when Perl is built. Please do not change it by hand; make |
1535 | * any changes to FndVers.Com instead. |
1536 | */ |
1537 | #define SITEARCH_EXP "/perl_root/lib/site_perl/VMS_VAX" /**/ |
740ce14c |
1538 | #define SITEARCH SITEARCH_EXP /*config-skip*/ |
e518068a |
1539 | |
a0d0e21e |
1540 | /* Size_t: |
1541 | * This symbol holds the type used to declare length parameters |
1542 | * for string functions. It is usually size_t, but may be |
1543 | * unsigned long, int, etc. It may be necessary to include |
1544 | * <sys/types.h> to get any typedef'ed information. |
85e6fe83 |
1545 | */ |
a0d0e21e |
1546 | #define Size_t size_t /* length paramater for string functions */ |
1547 | |
1548 | /* Uid_t: |
1549 | * This symbol holds the type used to declare user ids in the kernel. |
1550 | * It can be int, ushort, uid_t, etc... It may be necessary to include |
1551 | * <sys/types.h> to get any typedef'ed information. |
85e6fe83 |
1552 | */ |
b94f085b |
1553 | #if defined(__DECC) && defined(__DECC_VER) && (__DECC_VER >= 500000) |
1554 | # define Uid_t uid_t /* config-skip */ |
1555 | #else |
1556 | # define Uid_t unsigned int /* config-skip */ |
1557 | #endif |
85e6fe83 |
1558 | |
a0d0e21e |
1559 | /* I_SYS_PARAM: |
85e6fe83 |
1560 | * This symbol, if defined, indicates to the C program that it should |
a0d0e21e |
1561 | * include <sys/param.h>. |
85e6fe83 |
1562 | */ |
a0d0e21e |
1563 | #undef I_SYS_PARAM |
85e6fe83 |
1564 | |
a0d0e21e |
1565 | /* VOID_CLOSEDIR: |
1566 | * This symbol, if defined, indicates that the closedir() routine |
1567 | * does not return a value. |
79072805 |
1568 | */ |
a0d0e21e |
1569 | #define VOID_CLOSEDIR /**/ |
79072805 |
1570 | |
a0d0e21e |
1571 | /* HAS_DLERROR: |
1572 | * This symbol, if defined, indicates that the dlerror routine is |
1573 | * available. |
1574 | */ |
1575 | #undef HAS_DLERROR /**/ |
1576 | |
1577 | /* DLSYM_NEEDS_UNDERSCORE: |
1578 | * This symbol, if defined, indicates that we need to prepend an |
1579 | * underscore to the symbol name before calling dlsym(). This only |
1580 | * makes sense if you *have* dlsym, which we will presume is the |
1581 | * case if you're using dl_dlopen.xs. |
85e6fe83 |
1582 | */ |
a0d0e21e |
1583 | #undef DLSYM_NEEDS_UNDERSCORE /* */ |
85e6fe83 |
1584 | |
a0d0e21e |
1585 | /* SETUID_SCRIPTS_ARE_SECURE_NOW: |
1586 | * This symbol, if defined, indicates that setuid scripts are secure. |
79072805 |
1587 | */ |
a0d0e21e |
1588 | /* DOSUID: |
1589 | * This symbol, if defined, indicates that the C program should |
1590 | * check the script that it is executing for setuid/setgid bits, and |
1591 | * attempt to emulate setuid/setgid on systems that have disabled |
1592 | * setuid #! scripts because the kernel can't do it securely. |
1593 | * It is up to the package designer to make sure that this emulation |
1594 | * is done securely. Among other things, it should do an fstat on |
1595 | * the script it just opened to make sure it really is a setuid/setgid |
1596 | * script, it should make sure the arguments passed correspond exactly |
1597 | * to the argument on the #! line, and it should not trust any |
1598 | * subprocesses to which it must pass the filename rather than the |
1599 | * file descriptor of the script to be executed. |
1600 | */ |
1601 | #undef SETUID_SCRIPTS_ARE_SECURE_NOW /**/ |
1602 | #undef DOSUID /**/ |
79072805 |
1603 | |
71be2cbc |
1604 | /* HAS_INET_ATON: |
1605 | * This symbol, if defined, indicates to the C program that the |
1606 | * inet_aton() function is available to parse IP address "dotted-quad" |
1607 | * strings. |
1608 | * VMS: SocketShr doesn't support this, so we let the Socket extension |
1609 | * roll its own. |
1610 | */ |
1611 | #undef HAS_INET_ATON /**/ |
1612 | |
a0d0e21e |
1613 | /* HAS_ISASCII: |
1614 | * This manifest constant lets the C program know that the |
1615 | * isascii is available. |
1616 | */ |
1617 | #define HAS_ISASCII /**/ |
85e6fe83 |
1618 | |
36477c24 |
1619 | /* HAS_SETLOCALE: |
1620 | * This symbol, if defined, indicates that the setlocale routine is |
1621 | * available to handle locale-specific ctype implementations. |
1622 | */ |
1623 | /* I_LOCALE: |
1624 | * This symbol, if defined, indicates to the C program that it should |
1625 | * include <locale.h>. |
1626 | */ |
a0d0e21e |
1627 | /* HAS_LOCALECONV: |
1628 | * This symbol, if defined, indicates that the localeconv routine is |
1629 | * available for numeric and monetary formatting conventions. |
1630 | */ |
36477c24 |
1631 | #ifdef __DECC |
1632 | # define I_LOCALE /*config-skip*/ |
1633 | # define HAS_SETLOCALE /*config-skip*/ |
1634 | # define HAS_LOCALECONV /*config-skip*/ |
1635 | #else |
1636 | # undef I_LOCALE /*config-skip*/ |
1637 | # undef HAS_SETLOCALE /*config-skip*/ |
1638 | # undef HAS_LOCALECONV /*config-skip*/ |
1639 | #endif |
2304df62 |
1640 | |
a0d0e21e |
1641 | /* HAS_MKFIFO: |
1642 | * This symbol, if defined, indicates that the mkfifo routine is |
1643 | * available. |
1644 | */ |
1645 | #undef HAS_MKFIFO /**/ |
2304df62 |
1646 | |
a0d0e21e |
1647 | /* HAS_PATHCONF: |
1648 | * This symbol, if defined, indicates that pathconf() is available |
1649 | * to determine file-system related limits and options associated |
1650 | * with a given filename. |
1651 | */ |
1652 | /* HAS_FPATHCONF: |
1653 | * This symbol, if defined, indicates that pathconf() is available |
1654 | * to determine file-system related limits and options associated |
1655 | * with a given open file descriptor. |
1656 | */ |
84902520 |
1657 | #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000) |
1658 | #define HAS_PATHCONF /**/ |
1659 | #define HAS_FPATHCONF /**/ |
1660 | #else |
1661 | #undef HAS_PATHCONF /*config-skip*/ |
1662 | #undef HAS_FPATHCONF /*config-skip*/ |
1663 | #endif |
85e6fe83 |
1664 | |
a0d0e21e |
1665 | /* HAS_SAFE_BCOPY: |
1666 | * This symbol, if defined, indicates that the bcopy routine is available |
1667 | * to copy potentially overlapping memory blocks. Otherwise you should |
1668 | * probably use memmove() or memcpy(). If neither is defined, roll your |
1669 | * own version. |
1670 | */ |
1671 | #undef HAS_SAFE_BCOPY /**/ |
85e6fe83 |
1672 | |
a0d0e21e |
1673 | /* HAS_SAFE_MEMCPY: |
1674 | * This symbol, if defined, indicates that the memcpy routine is available |
1675 | * to copy potentially overlapping memory blocks. Otherwise you should |
1676 | * probably use memmove() or memcpy(). If neither is defined, roll your |
1677 | * own version. |
1678 | */ |
1679 | #define HAS_SAFE_MEMCPY /**/ |
85e6fe83 |
1680 | |
36477c24 |
1681 | /* HAS_SANE_MEMCMP: |
71be2cbc |
1682 | * This symbol, if defined, indicates that the memcmp routine is available |
1683 | * and can be used to compare relative magnitudes of chars with their high |
1684 | * bits set. If it is not defined, roll your own version. |
36477c24 |
1685 | */ |
1686 | #define HAS_SANE_MEMCMP /**/ |
1687 | |
a0d0e21e |
1688 | /* HAS_SETPGRP: |
1689 | * This symbol, if defined, indicates that the setpgrp routine is |
1690 | * available to set the current process group. |
1691 | */ |
edc7bc49 |
1692 | /* USE_BSD_SETPGRP: |
1693 | * This symbol, if defined, indicates that setpgrp needs two |
1694 | * arguments whereas USG one needs none. See also HAS_SETPGID |
1695 | * for a POSIX interface. |
1696 | */ |
a0d0e21e |
1697 | /* USE_BSDPGRP: |
1698 | * This symbol, if defined, indicates that the BSD notion of process |
1699 | * group is to be used. For instance, you have to say setpgrp(pid, pgrp) |
1700 | * instead of the USG setpgrp(). |
1701 | */ |
1702 | #undef HAS_SETPGRP /**/ |
edc7bc49 |
1703 | #undef USE_BSD_SETPGRP /**/ |
a0d0e21e |
1704 | #undef USE_BSDPGRP /**/ |
85e6fe83 |
1705 | |
edc7bc49 |
1706 | /* HAS_SETPGID: |
1707 | * This symbol, if defined, indicates that the setpgid routine is |
1708 | * available to set process group ID. |
1709 | */ |
1710 | #undef HAS_SETPGID /**/ |
1711 | |
1712 | /* HAS_SETPGRP2: |
1713 | * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX) |
1714 | * routine is available to set the current process group. |
1715 | */ |
1716 | #undef HAS_SETPGRP2 /**/ |
1717 | |
a0d0e21e |
1718 | /* HAS_SYSCONF: |
1719 | * This symbol, if defined, indicates that sysconf() is available |
1720 | * to determine system related limits and options. |
1721 | */ |
84902520 |
1722 | #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000) |
1723 | #define HAS_SYSCONF /**/ |
1724 | #else |
1725 | #undef HAS_SYSCONF /*config-skip*/ |
1726 | #endif |
85e6fe83 |
1727 | |
e518068a |
1728 | /* Gconvert: |
1729 | * This preprocessor macro is defined to convert a floating point |
1730 | * number to a string without a trailing decimal point. This |
1731 | * emulates the behavior of sprintf("%g"), but is sometimes much more |
1732 | * efficient. If gconvert() is not available, but gcvt() drops the |
1733 | * trailing decimal point, then gcvt() is used. If all else fails, |
1734 | * a macro using sprintf("%g") is used. Arguments for the Gconvert |
1735 | * macro are: value, number of digits, whether trailing zeros should |
1736 | * be retained, and the output buffer. |
1737 | * Possible values are: |
1738 | * d_Gconvert='gconvert((x),(n),(t),(b))' |
1739 | * d_Gconvert='gcvt((x),(n),(b))' |
1740 | * d_Gconvert='sprintf((b),"%.*g",(n),(x))' |
1741 | * The last two assume trailing zeros should not be kept. |
1742 | */ |
1743 | #define Gconvert(x,n,t,b) my_gconvert(x,n,t,b) |
1744 | |
edc7bc49 |
1745 | /* HAS_GETPGID: |
1746 | * This symbol, if defined, indicates to the C program that |
1747 | * the getpgid(pid) function is available to get the |
1748 | * process group id. |
1749 | */ |
1750 | #undef HAS_GETPGID /**/ |
1751 | |
1752 | /* HAS_GETPGRP: |
1753 | * This symbol, if defined, indicates that the getpgrp routine is |
1754 | * available to get the current process group. |
1755 | */ |
1756 | /* USE_BSD_GETPGRP: |
1757 | * This symbol, if defined, indicates that getpgrp needs one |
1758 | * arguments whereas USG one needs none. |
1759 | */ |
1760 | #undef HAS_GETPGRP /**/ |
1761 | #undef USE_BSD_GETPGRP /**/ |
1762 | |
1763 | /* HAS_GETPGRP2: |
1764 | * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX) |
1765 | * routine is available to get the current process group. |
1766 | */ |
1767 | #undef HAS_GETPGRP2 /**/ |
1768 | |
740ce14c |
1769 | /* USE_SFIO: |
1770 | * This symbol, if defined, indicates that sfio should |
1771 | * be used. |
1772 | */ |
1773 | #undef USE_SFIO /**/ |
1774 | |
fc1ce8cc |
1775 | /* PTHREADS_CREATED_JOINABLE: |
1776 | * This symbol, if defined, indicates that pthreads are created |
1777 | * in the joinable (aka undetached) state. |
1778 | */ |
1779 | #define PTHREADS_CREATED_JOINABLE /**/ |
1780 | |
b94f085b |
1781 | /* Sigjmp_buf: |
1782 | * This is the buffer type to be used with Sigsetjmp and Siglongjmp. |
1783 | */ |
1784 | /* Sigsetjmp: |
1785 | * This macro is used in the same way as sigsetjmp(), but will invoke |
1786 | * traditional setjmp() if sigsetjmp isn't available. |
1787 | */ |
1788 | /* Siglongjmp: |
1789 | * This macro is used in the same way as siglongjmp(), but will invoke |
1790 | * traditional longjmp() if siglongjmp isn't available. |
1791 | */ |
84902520 |
1792 | #if ((__VMS_VER >= 70000000) && (__DECC_VER >= 50200000)) || (__CRTL_VER >= 70000000) |
1793 | #define HAS_SIGSETJMP /**/ |
1794 | #else |
1795 | #undef HAS_SIGSETJMP /*config-skip*/ |
1796 | #endif |
b94f085b |
1797 | #ifdef HAS_SIGSETJMP |
1798 | #define Sigjmp_buf sigjmp_buf /* config-skip */ |
1799 | #define Sigsetjmp(buf,save_mask) sigsetjmp(buf,save_mask) /* config-skip */ |
1800 | #define Siglongjmp(buf,retval) siglongjmp(buf,retval) /* config-skip */ |
1801 | #else |
1802 | #define Sigjmp_buf jmp_buf /* config-skip */ |
1803 | #define Sigsetjmp(buf,save_mask) setjmp(buf) /* config-skip */ |
1804 | #define Siglongjmp(buf,retval) longjmp(buf,retval) /* config-skip */ |
1805 | #endif |
1806 | |
a0d0e21e |
1807 | /* USE_DYNAMIC_LOADING: |
1808 | * This symbol, if defined, indicates that dynamic loading of |
1809 | * some sort is available. |
1810 | */ |
1811 | #define USE_DYNAMIC_LOADING /**/ |
2304df62 |
1812 | |
c07a80fd |
1813 | /* STARTPERL: |
1814 | * This variable contains the string to put in front of a perl |
1815 | * script to make sure (one hopes) that it runs with perl and not |
1816 | * some shell. |
1817 | */ |
1818 | #define STARTPERL "" /**/ |
1819 | |
8dd63a4d |
1820 | /* Groups_t: |
1821 | * This symbol holds the type used for the second argument to |
5cd24f17 |
1822 | * [gs]etgroups(). Usually, this is the same of gidtype, but |
8dd63a4d |
1823 | * sometimes it isn't. It can be int, ushort, uid_t, etc... |
1824 | * It may be necessary to include <sys/types.h> to get any |
1825 | * typedef'ed information. This is only required if you have |
5cd24f17 |
1826 | * getgroups() or setgroups. |
8dd63a4d |
1827 | */ |
5cd24f17 |
1828 | #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS) |
1829 | #define Groups_t unsigned int /* config-skip */ |
8dd63a4d |
1830 | #endif |
1831 | |
1832 | /* DB_Prefix_t: |
1833 | * This symbol contains the type of the prefix structure element |
1834 | * in the <db.h> header file. In older versions of DB, it was |
1835 | * int, while in newer ones it is u_int32_t. |
1836 | */ |
1837 | /* DB_Hash_t: |
1838 | * This symbol contains the type of the prefix structure element |
1839 | * in the <db.h> header file. In older versions of DB, it was |
1840 | * int, while in newer ones it is size_t. |
1841 | */ |
1842 | #undef DB_Hash_t /**/ |
1843 | #undef DB_Prefix_t /**/ |
1844 | |
740ce14c |
1845 | /* USE_PERLIO: |
1846 | * This symbol, if defined, indicates that the PerlIO abstraction should |
1847 | * be used throughout. If not defined, stdio should be |
1848 | * used in a fully backward compatible manner. |
8dd63a4d |
1849 | */ |
740ce14c |
1850 | #undef USE_PERLIO /**/ |
8dd63a4d |
1851 | |
e518068a |
1852 | /* VOIDFLAGS: |
1853 | * This symbol indicates how much support of the void type is given by this |
1854 | * compiler. What various bits mean: |
1855 | * |
1856 | * 1 = supports declaration of void |
1857 | * 2 = supports arrays of pointers to functions returning void |
1858 | * 4 = supports comparisons between pointers to void functions and |
1859 | * addresses of void functions |
1860 | * 8 = suports declaration of generic void pointers |
1861 | * |
1862 | * The package designer should define VOIDUSED to indicate the requirements |
1863 | * of the package. This can be done either by #defining VOIDUSED before |
1864 | * including config.h, or by defining defvoidused in Myinit.U. If the |
1865 | * latter approach is taken, only those flags will be tested. If the |
1866 | * level of void support necessary is not present, defines void to int. |
1867 | */ |
1868 | #ifndef VOIDUSED |
1869 | #define VOIDUSED 15 |
1870 | #endif |
1871 | #define VOIDFLAGS 15 |
1872 | #if (VOIDFLAGS & VOIDUSED) != VOIDUSED |
1873 | #define void int /* is void to be avoided? */ /* config-skip */ |
1874 | #define M_VOID /* Xenix strikes again */ /* config-skip */ |
1875 | #endif |
1876 | |
a0d0e21e |
1877 | #ifdef VMS_DO_SOCKETS |
1878 | /* HAS_SOCKET: |
1879 | * This symbol, if defined, indicates that the BSD socket interface is |
1880 | * supported. |
1881 | */ |
1882 | /* HAS_SOCKETPAIR: |
1883 | * This symbol, if defined, indicates that the BSD socketpair() call is |
1884 | * supported. |
1885 | */ |
1886 | #define HAS_SOCKET /**/ /* config-skip */ |
1887 | #undef HAS_SOCKETPAIR /**/ /* config-skip */ |
85e6fe83 |
1888 | |
a0d0e21e |
1889 | /* HAS_GETHOSTENT: |
1890 | * This symbol, if defined, indicates that the gethostent routine is |
1891 | * available to lookup host names in some data base or other. |
1892 | */ |
1893 | #define HAS_GETHOSTENT /**/ /* config-skip */ |
2304df62 |
1894 | |
51e0df5c |
1895 | /* HAS_GETHOSTBYADDR: |
1896 | * This symbol, if defined, indicates that the gethostbyaddr routine is |
1897 | * available to lookup hosts by their IP addresses. |
1898 | */ |
1899 | #define HAS_GETHOSTBYADDR /**/ |
1900 | |
1901 | /* Netdb_host_t: |
1902 | * This symbol holds the type used for the 1st argument |
1903 | * to gethostbyaddr(). |
1904 | */ |
1905 | #define Netdb_host_t char * /**/ |
1906 | |
1907 | /* Netdb_hlen_t: |
1908 | * This symbol holds the type used for the 2nd argument |
1909 | * to gethostbyaddr(). |
1910 | */ |
1911 | #define Netdb_hlen_t int |
1912 | |
1913 | /* HAS_GETHOSTBYNAME: |
1914 | * This symbol, if defined, indicates that the gethostbyname routine is |
1915 | * available to lookup hosts by their DNS names. |
1916 | */ |
1917 | #define HAS_GETHOSTBYNAME /**/ |
1918 | |
1919 | /* Netdb_name_t: |
1920 | * This symbol holds the type used for the 1st argument |
1921 | * to gethostbyname(), the 1st argument to getnetbyname(), |
1922 | * the 1st argument to getprotobyname(), the 1st argument to |
1923 | * getservbyname(), the 2nd argument to getservbyname(), |
1924 | * and the 2nd argument to getservbyport(). |
1925 | */ |
1926 | #define Netdb_name_t long /**/ |
1927 | |
1928 | /* HAS_GETNETBYADD: |
1929 | * This symbol, if defined, indicates that the getnetbyaddr routine is |
1930 | * available to lookup networks by their IP addresses. |
1931 | */ |
1932 | #define HAS_GETNETBYADD /**/ |
1933 | |
1934 | /* Netdb_net_t: |
1935 | * This symbol holds the type used for the 1st argument |
1936 | * to getnetbyaddr(). |
1937 | */ |
1938 | #define Netdb_net_t long |
1939 | |
fc1ce8cc |
1940 | /* HAS_GETHBADD: |
1941 | * This symbol, if defined, indicates that the gethostbyaddr routine is |
1942 | * available to lookup host names by their IP addresses. |
1943 | */ |
1944 | #define HAS_GETHBADD /**/ /* config-skip */ |
1945 | |
1946 | /* Gethbadd_addr_t: |
1947 | * This symbol holds the type used for the 1st argument |
1948 | * to gethostbyaddr(). |
1949 | */ |
1950 | #define Gethbadd_addr_t char * /**/ /* config-skip */ |
1951 | |
1952 | /* Gethbadd_alen_t: |
1953 | * This symbol holds the type used for the 2nd argument |
1954 | * to gethostbyaddr(). |
1955 | */ |
1956 | #define Gethbadd_alen_t int /**/ /* config-skip */ |
1957 | |
1958 | #ifdef DECCRTL_SOCKETS |
1959 | /* HAS_GETNBADD: |
1960 | * This symbol, if defined, indicates that the getnetbyaddr routine is |
1961 | * available to lookup networks by their IP addresses. |
1962 | */ |
1963 | #define HAS_GETNBADD /**/ /* config-skip */ |
1964 | |
1965 | /* Gethbadd_net_t: |
1966 | * This symbol holds the type used for the 1st argument |
1967 | * to getnetbyaddr(). |
1968 | */ |
1969 | #define Getnbadd_net_t long /**/ /* config-skip */ |
1970 | #else |
1971 | #undef HAS_GETNBADD /**/ /* config-skip */ |
1972 | #undef Getnbadd_net_t long /**/ /* config-skip */ |
1973 | #endif |
1974 | |
a0d0e21e |
1975 | /* VMS: In general, TCP/IP header files should be included from |
1976 | * sockadapt.h, instead of here, in order to keep the TCP/IP code |
1977 | * together as much as possible. |
1978 | */ |
1979 | /* I_NETINET_IN: |
1980 | * This symbol, if defined, indicates to the C program that it should |
1981 | * include <netinet/in.h>. Otherwise, you may try <sys/in.h>. |
1982 | */ |
1983 | #undef I_NETINET_IN /**/ /* config-skip */ |
2304df62 |
1984 | |
fc1ce8cc |
1985 | /* I_NETDB: |
1986 | * This symbol, if defined, indicates that <netdb.h> exists and |
1987 | * should be included. |
1988 | */ |
1989 | #undef I_NETDB /**/ /* config-skip */ |
1990 | |
a0d0e21e |
1991 | /* I_NET_ERRNO: |
1992 | * This symbol, if defined, indicates that <net/errno.h> exists and |
1993 | * should be included. |
1994 | */ |
1995 | #undef I_NET_ERRNO /**/ /* config-skip */ |
85e6fe83 |
1996 | |
e518068a |
1997 | /* HAS_SELECT: |
1998 | * This symbol, if defined, indicates that the select routine is |
1999 | * available to select active file descriptors. If the timeout field |
2000 | * is used, <sys/time.h> may need to be included. |
2001 | */ |
2002 | #define HAS_SELECT /**/ /* config-skip */ |
2003 | |
a0d0e21e |
2004 | #else /* VMS_DO_SOCKETS */ |
2005 | |
2006 | #undef HAS_SOCKET /**/ /* config-skip */ |
2007 | #undef HAS_SOCKETPAIR /**/ /* config-skip */ |
2008 | #undef HAS_GETHOSTENT /**/ /* config-skip */ |
2009 | #undef I_NETINET_IN /**/ /* config-skip */ |
fc1ce8cc |
2010 | #undef I_NETDB /**/ /* config-skip */ |
a0d0e21e |
2011 | #undef I_NET_ERRNO /**/ /* config-skip */ |
e518068a |
2012 | #undef HAS_SELECT /**/ /* config-skip */ |
fc1ce8cc |
2013 | #undef HAS_GETHBADD /**/ /* config-skip */ |
2014 | #undef HAS_GETNBADD /**/ /* config-skip */ |
a0d0e21e |
2015 | |
2016 | #endif /* !VMS_DO_SOCKETS */ |
79072805 |
2017 | |
2018 | #endif |