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