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