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