Commit | Line | Data |
2986a63f |
1 | /* |
2 | * This file was produced by running the config_h.SH script, which |
3 | * gets its values from undef, which is generally produced by |
4 | * running Configure. |
5 | * |
6 | * Feel free to modify any of this as the need arises. Note, however, |
7 | * that running config_h.SH again will wipe out any changes you've made. |
8 | * For a more permanent change edit undef and rerun config_h.SH. |
9 | * |
10 | * $Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $ |
11 | */ |
12 | |
13 | /* |
14 | * Package name : perl5 |
15 | * Source directory : |
225a5dca |
16 | * Configuration time: Thu Jun 21 17:44:02 2001 |
2986a63f |
17 | * Configured by : Administrator |
18 | * Target system : |
19 | */ |
20 | |
21 | #ifndef _config_h_ |
22 | #define _config_h_ |
23 | |
24 | /* LOC_SED: |
25 | * This symbol holds the complete pathname to the sed program. |
26 | */ |
27 | #define LOC_SED "" /**/ |
28 | |
29 | /* HAS_ALARM: |
30 | * This symbol, if defined, indicates that the alarm routine is |
31 | * available. |
32 | */ |
33 | /*#define HAS_ALARM /**/ |
34 | |
35 | /* HASATTRIBUTE: |
36 | * This symbol indicates the C compiler can check for function attributes, |
37 | * such as printf formats. This is normally only supported by GNU cc. |
38 | */ |
39 | /*#define HASATTRIBUTE /**/ |
40 | #ifndef HASATTRIBUTE |
88fdc172 |
41 | #ifdef __attribute__ |
42 | #undef __attribute__ |
43 | #endif |
2986a63f |
44 | #define __attribute__(_arg_) |
45 | #endif |
46 | |
47 | /* HAS_BCMP: |
48 | * This symbol is defined if the bcmp() routine is available to |
49 | * compare blocks of memory. |
50 | */ |
51 | /*#define HAS_BCMP /**/ |
52 | |
53 | /* HAS_BCOPY: |
54 | * This symbol is defined if the bcopy() routine is available to |
55 | * copy blocks of memory. |
56 | */ |
57 | /*#define HAS_BCOPY /**/ |
58 | |
59 | /* HAS_BZERO: |
60 | * This symbol is defined if the bzero() routine is available to |
61 | * set a memory block to 0. |
62 | */ |
63 | /*#define HAS_BZERO /**/ |
64 | |
65 | /* HAS_CHOWN: |
66 | * This symbol, if defined, indicates that the chown routine is |
67 | * available. |
68 | */ |
69 | /*#define HAS_CHOWN /**/ |
70 | |
71 | /* HAS_CHROOT: |
72 | * This symbol, if defined, indicates that the chroot routine is |
73 | * available. |
74 | */ |
75 | /*#define HAS_CHROOT /**/ |
76 | |
77 | /* HAS_CHSIZE: |
78 | * This symbol, if defined, indicates that the chsize routine is available |
79 | * to truncate files. You might need a -lx to get this routine. |
80 | */ |
81 | #define HAS_CHSIZE /**/ |
82 | |
83 | /* HASCONST: |
84 | * This symbol, if defined, indicates that this C compiler knows about |
85 | * the const type. There is no need to actually test for that symbol |
86 | * within your programs. The mere use of the "const" keyword will |
87 | * trigger the necessary tests. |
88 | */ |
89 | #define HASCONST /**/ |
90 | #ifndef HASCONST |
91 | #define const |
92 | #endif |
93 | |
94 | /* HAS_CRYPT: |
95 | * This symbol, if defined, indicates that the crypt routine is available |
96 | * to encrypt passwords and the like. |
97 | */ |
98 | /*#define HAS_CRYPT /**/ |
99 | |
100 | /* HAS_CUSERID: |
101 | * This symbol, if defined, indicates that the cuserid routine is |
102 | * available to get character login names. |
103 | */ |
104 | /*#define HAS_CUSERID /**/ |
105 | |
106 | /* HAS_DBL_DIG: |
107 | * This symbol, if defined, indicates that this system's <float.h> |
108 | * or <limits.h> defines the symbol DBL_DIG, which is the number |
109 | * of significant digits in a double precision number. If this |
110 | * symbol is not defined, a guess of 15 is usually pretty good. |
111 | */ |
112 | #define HAS_DBL_DIG /**/ |
113 | |
114 | /* HAS_DIFFTIME: |
115 | * This symbol, if defined, indicates that the difftime routine is |
116 | * available. |
117 | */ |
118 | #define HAS_DIFFTIME /**/ |
119 | |
120 | /* HAS_DLERROR: |
121 | * This symbol, if defined, indicates that the dlerror routine is |
122 | * available to return a string describing the last error that |
123 | * occurred from a call to dlopen(), dlclose() or dlsym(). |
124 | */ |
125 | #define HAS_DLERROR /**/ |
126 | |
2986a63f |
127 | /* HAS_DUP2: |
128 | * This symbol, if defined, indicates that the dup2 routine is |
129 | * available to duplicate file descriptors. |
130 | */ |
131 | #define HAS_DUP2 /**/ |
132 | |
b363b713 |
133 | /* HAS_FCHDIR: |
134 | * This symbol, if defined, indicates that the fchdir routine is |
135 | * available to change directory using a file descriptor. |
136 | */ |
137 | /*#define HAS_FCHDIR /**/ |
138 | |
2986a63f |
139 | /* HAS_FCHMOD: |
140 | * This symbol, if defined, indicates that the fchmod routine is available |
141 | * to change mode of opened files. If unavailable, use chmod(). |
142 | */ |
143 | /*#define HAS_FCHMOD /**/ |
144 | |
145 | /* HAS_FCHOWN: |
146 | * This symbol, if defined, indicates that the fchown routine is available |
147 | * to change ownership of opened files. If unavailable, use chown(). |
148 | */ |
149 | /*#define HAS_FCHOWN /**/ |
150 | |
151 | /* HAS_FCNTL: |
152 | * This symbol, if defined, indicates to the C program that |
153 | * the fcntl() function exists. |
154 | */ |
155 | /*#define HAS_FCNTL /**/ |
156 | |
157 | /* HAS_FGETPOS: |
158 | * This symbol, if defined, indicates that the fgetpos routine is |
159 | * available to get the file position indicator, similar to ftell(). |
160 | */ |
161 | #define HAS_FGETPOS /**/ |
162 | |
163 | /* HAS_FLOCK: |
164 | * This symbol, if defined, indicates that the flock routine is |
165 | * available to do file locking. |
166 | */ |
167 | #define HAS_FLOCK /**/ |
168 | |
169 | /* HAS_FORK: |
170 | * This symbol, if defined, indicates that the fork routine is |
171 | * available. |
172 | */ |
173 | /*#define HAS_FORK /**/ |
174 | |
175 | /* HAS_FSETPOS: |
176 | * This symbol, if defined, indicates that the fsetpos routine is |
177 | * available to set the file position indicator, similar to fseek(). |
178 | */ |
179 | #define HAS_FSETPOS /**/ |
180 | |
181 | /* HAS_GETTIMEOFDAY: |
182 | * This symbol, if defined, indicates that the gettimeofday() system |
183 | * call is available for a sub-second accuracy clock. Usually, the file |
184 | * <sys/resource.h> needs to be included (see I_SYS_RESOURCE). |
185 | * The type "Timeval" should be used to refer to "struct timeval". |
186 | */ |
187 | /*#define HAS_GETTIMEOFDAY /**/ |
188 | #ifdef HAS_GETTIMEOFDAY |
189 | #define Timeval struct timeval /* Structure used by gettimeofday() */ |
190 | #endif |
191 | |
192 | /* HAS_GETGROUPS: |
193 | * This symbol, if defined, indicates that the getgroups() routine is |
194 | * available to get the list of process groups. If unavailable, multiple |
195 | * groups are probably not supported. |
196 | */ |
197 | /*#define HAS_GETGROUPS /**/ |
198 | |
199 | /* HAS_GETLOGIN: |
200 | * This symbol, if defined, indicates that the getlogin routine is |
201 | * available to get the login name. |
202 | */ |
203 | #define HAS_GETLOGIN /**/ |
204 | |
205 | /* HAS_GETPGID: |
206 | * This symbol, if defined, indicates to the C program that |
207 | * the getpgid(pid) function is available to get the |
208 | * process group id. |
209 | */ |
210 | /*#define HAS_GETPGID /**/ |
211 | |
212 | /* HAS_GETPGRP2: |
213 | * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX) |
214 | * routine is available to get the current process group. |
215 | */ |
216 | /*#define HAS_GETPGRP2 /**/ |
217 | |
218 | /* HAS_GETPPID: |
219 | * This symbol, if defined, indicates that the getppid routine is |
220 | * available to get the parent process ID. |
221 | */ |
222 | /*#define HAS_GETPPID /**/ |
223 | |
224 | /* HAS_GETPRIORITY: |
225 | * This symbol, if defined, indicates that the getpriority routine is |
226 | * available to get a process's priority. |
227 | */ |
228 | /*#define HAS_GETPRIORITY /**/ |
229 | |
230 | /* HAS_INET_ATON: |
231 | * This symbol, if defined, indicates to the C program that the |
232 | * inet_aton() function is available to parse IP address "dotted-quad" |
233 | * strings. |
234 | */ |
235 | /*#define HAS_INET_ATON /**/ |
236 | |
237 | /* HAS_KILLPG: |
238 | * This symbol, if defined, indicates that the killpg routine is available |
239 | * to kill process groups. If unavailable, you probably should use kill |
240 | * with a negative process number. |
241 | */ |
242 | /*#define HAS_KILLPG /**/ |
243 | |
244 | /* HAS_LINK: |
245 | * This symbol, if defined, indicates that the link routine is |
246 | * available to create hard links. |
247 | */ |
248 | #define HAS_LINK /**/ |
249 | |
250 | /* HAS_LOCALECONV: |
251 | * This symbol, if defined, indicates that the localeconv routine is |
252 | * available for numeric and monetary formatting conventions. |
253 | */ |
254 | #define HAS_LOCALECONV /**/ |
255 | |
256 | /* HAS_LOCKF: |
257 | * This symbol, if defined, indicates that the lockf routine is |
258 | * available to do file locking. |
259 | */ |
260 | /*#define HAS_LOCKF /**/ |
261 | |
262 | /* HAS_LSTAT: |
263 | * This symbol, if defined, indicates that the lstat routine is |
264 | * available to do file stats on symbolic links. |
265 | */ |
266 | /*#define HAS_LSTAT /**/ |
267 | |
268 | /* HAS_MBLEN: |
269 | * This symbol, if defined, indicates that the mblen routine is available |
270 | * to find the number of bytes in a multibye character. |
271 | */ |
272 | #define HAS_MBLEN /**/ |
273 | |
274 | /* HAS_MBSTOWCS: |
275 | * This symbol, if defined, indicates that the mbstowcs routine is |
276 | * available to covert a multibyte string into a wide character string. |
277 | */ |
278 | #define HAS_MBSTOWCS /**/ |
279 | |
280 | /* HAS_MBTOWC: |
281 | * This symbol, if defined, indicates that the mbtowc routine is available |
282 | * to covert a multibyte to a wide character. |
283 | */ |
284 | #define HAS_MBTOWC /**/ |
285 | |
286 | /* HAS_MEMCMP: |
287 | * This symbol, if defined, indicates that the memcmp routine is available |
288 | * to compare blocks of memory. |
289 | */ |
290 | #define HAS_MEMCMP /**/ |
291 | |
292 | /* HAS_MEMCPY: |
293 | * This symbol, if defined, indicates that the memcpy routine is available |
294 | * to copy blocks of memory. |
295 | */ |
296 | #define HAS_MEMCPY /**/ |
297 | |
298 | /* HAS_MEMMOVE: |
299 | * This symbol, if defined, indicates that the memmove routine is available |
300 | * to copy potentially overlapping blocks of memory. This should be used |
301 | * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your |
302 | * own version. |
303 | */ |
304 | #define HAS_MEMMOVE /**/ |
305 | |
306 | /* HAS_MEMSET: |
307 | * This symbol, if defined, indicates that the memset routine is available |
308 | * to set blocks of memory. |
309 | */ |
310 | #define HAS_MEMSET /**/ |
311 | |
312 | /* HAS_MKDIR: |
313 | * This symbol, if defined, indicates that the mkdir routine is available |
314 | * to create directories. Otherwise you should fork off a new process to |
315 | * exec /bin/mkdir. |
316 | */ |
317 | #define HAS_MKDIR /**/ |
318 | |
319 | /* HAS_MKFIFO: |
320 | * This symbol, if defined, indicates that the mkfifo routine is |
321 | * available to create FIFOs. Otherwise, mknod should be able to |
322 | * do it for you. However, if mkfifo is there, mknod might require |
323 | * super-user privileges which mkfifo will not. |
324 | */ |
325 | /*#define HAS_MKFIFO /**/ |
326 | |
327 | /* HAS_MKTIME: |
328 | * This symbol, if defined, indicates that the mktime routine is |
329 | * available. |
330 | */ |
331 | #define HAS_MKTIME /**/ |
332 | |
333 | /* HAS_MSYNC: |
334 | * This symbol, if defined, indicates that the msync system call is |
335 | * available to synchronize a mapped file. |
336 | */ |
337 | /*#define HAS_MSYNC /**/ |
338 | |
339 | /* HAS_MUNMAP: |
340 | * This symbol, if defined, indicates that the munmap system call is |
341 | * available to unmap a region, usually mapped by mmap(). |
342 | */ |
343 | /*#define HAS_MUNMAP /**/ |
344 | |
345 | /* HAS_NICE: |
346 | * This symbol, if defined, indicates that the nice routine is |
347 | * available. |
348 | */ |
349 | /*#define HAS_NICE /**/ |
350 | |
351 | /* HAS_PATHCONF: |
352 | * This symbol, if defined, indicates that pathconf() is available |
353 | * to determine file-system related limits and options associated |
354 | * with a given filename. |
355 | */ |
356 | /* HAS_FPATHCONF: |
357 | * This symbol, if defined, indicates that pathconf() is available |
358 | * to determine file-system related limits and options associated |
359 | * with a given open file descriptor. |
360 | */ |
361 | /*#define HAS_PATHCONF /**/ |
362 | /*#define HAS_FPATHCONF /**/ |
363 | |
364 | /* HAS_PAUSE: |
365 | * This symbol, if defined, indicates that the pause routine is |
366 | * available to suspend a process until a signal is received. |
367 | */ |
368 | /*#define HAS_PAUSE /**/ |
369 | |
370 | /* HAS_PIPE: |
371 | * This symbol, if defined, indicates that the pipe routine is |
372 | * available to create an inter-process channel. |
373 | */ |
374 | #define HAS_PIPE /**/ |
375 | |
376 | /* HAS_POLL: |
377 | * This symbol, if defined, indicates that the poll routine is |
378 | * available to poll active file descriptors. You may safely |
379 | * include <poll.h> when this symbol is defined. |
380 | */ |
381 | /*#define HAS_POLL /**/ |
382 | |
383 | /* HAS_READDIR: |
384 | * This symbol, if defined, indicates that the readdir routine is |
385 | * available to read directory entries. You may have to include |
386 | * <dirent.h>. See I_DIRENT. |
387 | */ |
388 | #define HAS_READDIR /**/ |
389 | |
390 | /* HAS_SEEKDIR: |
391 | * This symbol, if defined, indicates that the seekdir routine is |
392 | * available. You may have to include <dirent.h>. See I_DIRENT. |
393 | */ |
394 | #define HAS_SEEKDIR /**/ |
395 | |
396 | /* HAS_TELLDIR: |
397 | * This symbol, if defined, indicates that the telldir routine is |
398 | * available. You may have to include <dirent.h>. See I_DIRENT. |
399 | */ |
400 | #define HAS_TELLDIR /**/ |
401 | |
402 | /* HAS_REWINDDIR: |
403 | * This symbol, if defined, indicates that the rewinddir routine is |
404 | * available. You may have to include <dirent.h>. See I_DIRENT. |
405 | */ |
406 | #define HAS_REWINDDIR /**/ |
407 | |
408 | /* HAS_READLINK: |
409 | * This symbol, if defined, indicates that the readlink routine is |
410 | * available to read the value of a symbolic link. |
411 | */ |
412 | /*#define HAS_READLINK /**/ |
413 | |
414 | /* HAS_RENAME: |
415 | * This symbol, if defined, indicates that the rename routine is available |
416 | * to rename files. Otherwise you should do the unlink(), link(), unlink() |
417 | * trick. |
418 | */ |
419 | #define HAS_RENAME /**/ |
420 | |
421 | /* HAS_RMDIR: |
422 | * This symbol, if defined, indicates that the rmdir routine is |
423 | * available to remove directories. Otherwise you should fork off a |
424 | * new process to exec /bin/rmdir. |
425 | */ |
426 | #define HAS_RMDIR /**/ |
427 | |
428 | /* HAS_SELECT: |
429 | * This symbol, if defined, indicates that the select routine is |
430 | * available to select active file descriptors. If the timeout field |
431 | * is used, <sys/time.h> may need to be included. |
432 | */ |
433 | #define HAS_SELECT /**/ |
434 | |
435 | /* HAS_SETEGID: |
436 | * This symbol, if defined, indicates that the setegid routine is available |
437 | * to change the effective gid of the current program. |
438 | */ |
439 | /*#define HAS_SETEGID /**/ |
440 | |
441 | /* HAS_SETEUID: |
442 | * This symbol, if defined, indicates that the seteuid routine is available |
443 | * to change the effective uid of the current program. |
444 | */ |
445 | /*#define HAS_SETEUID /**/ |
446 | |
447 | /* HAS_SETLINEBUF: |
448 | * This symbol, if defined, indicates that the setlinebuf routine is |
449 | * available to change stderr or stdout from block-buffered or unbuffered |
450 | * to a line-buffered mode. |
451 | */ |
452 | /*#define HAS_SETLINEBUF /**/ |
453 | |
454 | /* HAS_SETLOCALE: |
455 | * This symbol, if defined, indicates that the setlocale routine is |
456 | * available to handle locale-specific ctype implementations. |
457 | */ |
458 | #define HAS_SETLOCALE /**/ |
459 | |
460 | /* HAS_SETPGID: |
461 | * This symbol, if defined, indicates that the setpgid(pid, gpid) |
462 | * routine is available to set process group ID. |
463 | */ |
464 | /*#define HAS_SETPGID /**/ |
465 | |
466 | /* HAS_SETPGRP2: |
467 | * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX) |
468 | * routine is available to set the current process group. |
469 | */ |
470 | /*#define HAS_SETPGRP2 /**/ |
471 | |
472 | /* HAS_SETPRIORITY: |
473 | * This symbol, if defined, indicates that the setpriority routine is |
474 | * available to set a process's priority. |
475 | */ |
476 | /*#define HAS_SETPRIORITY /**/ |
477 | |
478 | /* HAS_SETREGID: |
479 | * This symbol, if defined, indicates that the setregid routine is |
480 | * available to change the real and effective gid of the current |
481 | * process. |
482 | */ |
483 | /* HAS_SETRESGID: |
484 | * This symbol, if defined, indicates that the setresgid routine is |
485 | * available to change the real, effective and saved gid of the current |
486 | * process. |
487 | */ |
488 | /*#define HAS_SETREGID /**/ |
489 | /*#define HAS_SETRESGID /**/ |
490 | |
491 | /* HAS_SETREUID: |
492 | * This symbol, if defined, indicates that the setreuid routine is |
493 | * available to change the real and effective uid of the current |
494 | * process. |
495 | */ |
496 | /* HAS_SETRESUID: |
497 | * This symbol, if defined, indicates that the setresuid routine is |
498 | * available to change the real, effective and saved uid of the current |
499 | * process. |
500 | */ |
501 | /*#define HAS_SETREUID /**/ |
502 | /*#define HAS_SETRESUID /**/ |
503 | |
504 | /* HAS_SETRGID: |
505 | * This symbol, if defined, indicates that the setrgid routine is available |
506 | * to change the real gid of the current program. |
507 | */ |
508 | /*#define HAS_SETRGID /**/ |
509 | |
510 | /* HAS_SETRUID: |
511 | * This symbol, if defined, indicates that the setruid routine is available |
512 | * to change the real uid of the current program. |
513 | */ |
514 | /*#define HAS_SETRUID /**/ |
515 | |
516 | /* HAS_SETSID: |
517 | * This symbol, if defined, indicates that the setsid routine is |
518 | * available to set the process group ID. |
519 | */ |
520 | /*#define HAS_SETSID /**/ |
521 | |
522 | /* Shmat_t: |
523 | * This symbol holds the return type of the shmat() system call. |
524 | * Usually set to 'void *' or 'char *'. |
525 | */ |
526 | /* HAS_SHMAT_PROTOTYPE: |
527 | * This symbol, if defined, indicates that the sys/shm.h includes |
528 | * a prototype for shmat(). Otherwise, it is up to the program to |
f51dccfd |
529 | * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess, |
2986a63f |
530 | * but not always right so it should be emitted by the program only |
531 | * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs. |
532 | */ |
533 | #define Shmat_t void * /**/ |
534 | /*#define HAS_SHMAT_PROTOTYPE /**/ |
535 | |
536 | /* HAS_STRCHR: |
537 | * This symbol is defined to indicate that the strchr()/strrchr() |
538 | * functions are available for string searching. If not, try the |
539 | * index()/rindex() pair. |
540 | */ |
541 | /* HAS_INDEX: |
542 | * This symbol is defined to indicate that the index()/rindex() |
543 | * functions are available for string searching. |
544 | */ |
545 | #define HAS_STRCHR /**/ |
546 | /*#define HAS_INDEX /**/ |
547 | |
548 | /* HAS_STRCOLL: |
549 | * This symbol, if defined, indicates that the strcoll routine is |
550 | * available to compare strings using collating information. |
551 | */ |
552 | #define HAS_STRCOLL /**/ |
553 | |
554 | /* USE_STRUCT_COPY: |
555 | * This symbol, if defined, indicates that this C compiler knows how |
556 | * to copy structures. If undefined, you'll need to use a block copy |
557 | * routine of some sort instead. |
558 | */ |
559 | #define USE_STRUCT_COPY /**/ |
560 | |
561 | /* HAS_STRTOD: |
562 | * This symbol, if defined, indicates that the strtod routine is |
563 | * available to provide better numeric string conversion than atof(). |
564 | */ |
565 | #define HAS_STRTOD /**/ |
566 | |
567 | /* HAS_STRTOL: |
568 | * This symbol, if defined, indicates that the strtol routine is available |
569 | * to provide better numeric string conversion than atoi() and friends. |
570 | */ |
571 | #define HAS_STRTOL /**/ |
572 | |
573 | /* HAS_STRXFRM: |
574 | * This symbol, if defined, indicates that the strxfrm() routine is |
575 | * available to transform strings. |
576 | */ |
577 | #define HAS_STRXFRM /**/ |
578 | |
579 | /* HAS_SYMLINK: |
580 | * This symbol, if defined, indicates that the symlink routine is available |
581 | * to create symbolic links. |
582 | */ |
583 | /*#define HAS_SYMLINK /**/ |
584 | |
585 | /* HAS_SYSCALL: |
586 | * This symbol, if defined, indicates that the syscall routine is |
587 | * available to call arbitrary system calls. If undefined, that's tough. |
588 | */ |
589 | /*#define HAS_SYSCALL /**/ |
590 | |
591 | /* HAS_SYSCONF: |
592 | * This symbol, if defined, indicates that sysconf() is available |
593 | * to determine system related limits and options. |
594 | */ |
595 | /*#define HAS_SYSCONF /**/ |
596 | |
597 | /* HAS_SYSTEM: |
598 | * This symbol, if defined, indicates that the system routine is |
599 | * available to issue a shell command. |
600 | */ |
601 | #define HAS_SYSTEM /**/ |
602 | |
603 | /* HAS_TCGETPGRP: |
604 | * This symbol, if defined, indicates that the tcgetpgrp routine is |
605 | * available to get foreground process group ID. |
606 | */ |
607 | /*#define HAS_TCGETPGRP /**/ |
608 | |
609 | /* HAS_TCSETPGRP: |
610 | * This symbol, if defined, indicates that the tcsetpgrp routine is |
611 | * available to set foreground process group ID. |
612 | */ |
613 | /*#define HAS_TCSETPGRP /**/ |
614 | |
615 | /* HAS_TRUNCATE: |
616 | * This symbol, if defined, indicates that the truncate routine is |
617 | * available to truncate files. |
618 | */ |
619 | /*#define HAS_TRUNCATE /**/ |
620 | |
621 | /* HAS_TZNAME: |
622 | * This symbol, if defined, indicates that the tzname[] array is |
623 | * available to access timezone names. |
624 | */ |
625 | #define HAS_TZNAME /**/ |
626 | |
627 | /* HAS_UMASK: |
628 | * This symbol, if defined, indicates that the umask routine is |
629 | * available to set and get the value of the file creation mask. |
630 | */ |
631 | #define HAS_UMASK /**/ |
632 | |
633 | /* HAS_USLEEP: |
634 | * This symbol, if defined, indicates that the usleep routine is |
635 | * available to let the process sleep on a sub-second accuracy. |
636 | */ |
637 | /*#define HAS_USLEEP /**/ |
638 | |
2d736872 |
639 | /* HAS_NANOSLEEP: |
640 | * This symbol, if defined, indicates that the nanosleep system |
641 | * call is available to let the process sleep with 1E-9 accuracy. |
642 | */ |
643 | /*#define HAS_NANOSLEEP /**/ |
644 | |
2986a63f |
645 | /* HASVOLATILE: |
646 | * This symbol, if defined, indicates that this C compiler knows about |
647 | * the volatile declaration. |
648 | */ |
649 | #define HASVOLATILE /**/ |
650 | #ifndef HASVOLATILE |
651 | #define volatile |
652 | #endif |
653 | |
654 | /* HAS_WAIT4: |
655 | * This symbol, if defined, indicates that wait4() exists. |
656 | */ |
657 | /*#define HAS_WAIT4 /**/ |
658 | |
659 | /* HAS_WAITPID: |
660 | * This symbol, if defined, indicates that the waitpid routine is |
661 | * available to wait for child process. |
662 | */ |
663 | #define HAS_WAITPID /**/ |
664 | |
665 | /* HAS_WCSTOMBS: |
666 | * This symbol, if defined, indicates that the wcstombs routine is |
667 | * available to convert wide character strings to multibyte strings. |
668 | */ |
669 | #define HAS_WCSTOMBS /**/ |
670 | |
671 | /* HAS_WCTOMB: |
672 | * This symbol, if defined, indicates that the wctomb routine is available |
673 | * to covert a wide character to a multibyte. |
674 | */ |
675 | #define HAS_WCTOMB /**/ |
676 | |
677 | /* I_ARPA_INET: |
678 | * This symbol, if defined, indicates to the C program that it should |
679 | * include <arpa/inet.h> to get inet_addr and friends declarations. |
680 | */ |
681 | #define I_ARPA_INET /**/ |
682 | |
683 | /* I_DBM: |
684 | * This symbol, if defined, indicates that <dbm.h> exists and should |
685 | * be included. |
686 | */ |
687 | /* I_RPCSVC_DBM: |
688 | * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and |
689 | * should be included. |
690 | */ |
691 | /*#define I_DBM /**/ |
692 | #define I_RPCSVC_DBM /**/ |
693 | |
694 | /* I_DIRENT: |
695 | * This symbol, if defined, indicates to the C program that it should |
696 | * include <dirent.h>. Using this symbol also triggers the definition |
697 | * of the Direntry_t define which ends up being 'struct dirent' or |
698 | * 'struct direct' depending on the availability of <dirent.h>. |
699 | */ |
700 | /* DIRNAMLEN: |
701 | * This symbol, if defined, indicates to the C program that the length |
702 | * of directory entry names is provided by a d_namlen field. Otherwise |
703 | * you need to do strlen() on the d_name field. |
704 | */ |
705 | /* Direntry_t: |
706 | * This symbol is set to 'struct direct' or 'struct dirent' depending on |
707 | * whether dirent is available or not. You should use this pseudo type to |
708 | * portably declare your directory entries. |
709 | */ |
710 | #define I_DIRENT /**/ |
711 | /*#define DIRNAMLEN /**/ |
712 | #define Direntry_t DIR |
713 | |
714 | /* I_DLFCN: |
715 | * This symbol, if defined, indicates that <dlfcn.h> exists and should |
716 | * be included. |
717 | */ |
718 | #define I_DLFCN /**/ |
719 | |
720 | /* I_FCNTL: |
721 | * This manifest constant tells the C program to include <fcntl.h>. |
722 | */ |
723 | #define I_FCNTL /**/ |
724 | |
725 | /* I_FLOAT: |
726 | * This symbol, if defined, indicates to the C program that it should |
727 | * include <float.h> to get definition of symbols like DBL_MAX or |
728 | * DBL_MIN, i.e. machine dependent floating point values. |
729 | */ |
730 | #define I_FLOAT /**/ |
731 | |
732 | /* I_LIMITS: |
733 | * This symbol, if defined, indicates to the C program that it should |
734 | * include <limits.h> to get definition of symbols like WORD_BIT or |
735 | * LONG_MAX, i.e. machine dependant limitations. |
736 | */ |
737 | #define I_LIMITS /**/ |
738 | |
739 | /* I_LOCALE: |
740 | * This symbol, if defined, indicates to the C program that it should |
741 | * include <locale.h>. |
742 | */ |
743 | #define I_LOCALE /**/ |
744 | |
745 | /* I_MATH: |
746 | * This symbol, if defined, indicates to the C program that it should |
747 | * include <math.h>. |
748 | */ |
749 | #define I_MATH /**/ |
750 | |
751 | /* I_MEMORY: |
752 | * This symbol, if defined, indicates to the C program that it should |
753 | * include <memory.h>. |
754 | */ |
755 | /*#define I_MEMORY /**/ |
756 | |
757 | /* I_NDBM: |
758 | * This symbol, if defined, indicates that <ndbm.h> exists and should |
759 | * be included. |
760 | */ |
761 | /*#define I_NDBM /**/ |
762 | |
763 | /* I_NET_ERRNO: |
764 | * This symbol, if defined, indicates that <net/errno.h> exists and |
765 | * should be included. |
766 | */ |
767 | /*#define I_NET_ERRNO /**/ |
768 | |
769 | /* I_NETINET_IN: |
770 | * This symbol, if defined, indicates to the C program that it should |
771 | * include <netinet/in.h>. Otherwise, you may try <sys/in.h>. |
772 | */ |
773 | #define I_NETINET_IN /**/ |
774 | |
775 | /* I_SFIO: |
776 | * This symbol, if defined, indicates to the C program that it should |
777 | * include <sfio.h>. |
778 | */ |
779 | /*#define I_SFIO /**/ |
780 | |
781 | /* I_STDDEF: |
782 | * This symbol, if defined, indicates that <stddef.h> exists and should |
783 | * be included. |
784 | */ |
785 | #define I_STDDEF /**/ |
786 | |
787 | /* I_STDLIB: |
788 | * This symbol, if defined, indicates that <stdlib.h> exists and should |
789 | * be included. |
790 | */ |
791 | #define I_STDLIB /**/ |
792 | |
793 | /* I_STRING: |
794 | * This symbol, if defined, indicates to the C program that it should |
795 | * include <string.h> (USG systems) instead of <strings.h> (BSD systems). |
796 | */ |
797 | #define I_STRING /**/ |
798 | |
799 | /* I_SYS_DIR: |
800 | * This symbol, if defined, indicates to the C program that it should |
801 | * include <sys/dir.h>. |
802 | */ |
803 | /*#define I_SYS_DIR /**/ |
804 | |
805 | /* I_SYS_FILE: |
806 | * This symbol, if defined, indicates to the C program that it should |
807 | * include <sys/file.h> to get definition of R_OK and friends. |
808 | */ |
809 | /*#define I_SYS_FILE /**/ |
810 | |
811 | /* I_SYS_IOCTL: |
812 | * This symbol, if defined, indicates that <sys/ioctl.h> exists and should |
813 | * be included. Otherwise, include <sgtty.h> or <termio.h>. |
814 | */ |
815 | /* I_SYS_SOCKIO: |
816 | * This symbol, if defined, indicates the <sys/sockio.h> should be included |
817 | * to get socket ioctl options, like SIOCATMARK. |
818 | */ |
819 | #define I_SYS_IOCTL /**/ |
225a5dca |
820 | #define I_SYS_SOCKIO /**/ |
2986a63f |
821 | |
822 | /* I_SYS_NDIR: |
823 | * This symbol, if defined, indicates to the C program that it should |
824 | * include <sys/ndir.h>. |
825 | */ |
826 | /*#define I_SYS_NDIR /**/ |
827 | |
828 | /* I_SYS_PARAM: |
829 | * This symbol, if defined, indicates to the C program that it should |
830 | * include <sys/param.h>. |
831 | */ |
832 | /*#define I_SYS_PARAM /**/ |
833 | |
834 | /* I_SYS_RESOURCE: |
835 | * This symbol, if defined, indicates to the C program that it should |
836 | * include <sys/resource.h>. |
837 | */ |
838 | /*#define I_SYS_RESOURCE /**/ |
839 | |
840 | /* I_SYS_SELECT: |
841 | * This symbol, if defined, indicates to the C program that it should |
842 | * include <sys/select.h> in order to get definition of struct timeval. |
843 | */ |
844 | /*#define I_SYS_SELECT /**/ |
845 | |
846 | /* I_SYS_STAT: |
847 | * This symbol, if defined, indicates to the C program that it should |
848 | * include <sys/stat.h>. |
849 | */ |
850 | #define I_SYS_STAT /**/ |
851 | |
852 | /* I_SYS_TIMES: |
853 | * This symbol, if defined, indicates to the C program that it should |
854 | * include <sys/times.h>. |
855 | */ |
856 | /*#define I_SYS_TIMES /**/ |
857 | |
858 | /* I_SYS_TYPES: |
859 | * This symbol, if defined, indicates to the C program that it should |
860 | * include <sys/types.h>. |
861 | */ |
862 | #define I_SYS_TYPES /**/ |
863 | |
864 | /* I_SYS_UN: |
865 | * This symbol, if defined, indicates to the C program that it should |
866 | * include <sys/un.h> to get UNIX domain socket definitions. |
867 | */ |
868 | /*#define I_SYS_UN /**/ |
869 | |
870 | /* I_SYS_WAIT: |
871 | * This symbol, if defined, indicates to the C program that it should |
872 | * include <sys/wait.h>. |
873 | */ |
874 | /*#define I_SYS_WAIT /**/ |
875 | |
876 | /* I_TERMIO: |
877 | * This symbol, if defined, indicates that the program should include |
878 | * <termio.h> rather than <sgtty.h>. There are also differences in |
879 | * the ioctl() calls that depend on the value of this symbol. |
880 | */ |
881 | /* I_TERMIOS: |
882 | * This symbol, if defined, indicates that the program should include |
883 | * the POSIX termios.h rather than sgtty.h or termio.h. |
884 | * There are also differences in the ioctl() calls that depend on the |
885 | * value of this symbol. |
886 | */ |
887 | /* I_SGTTY: |
888 | * This symbol, if defined, indicates that the program should include |
889 | * <sgtty.h> rather than <termio.h>. There are also differences in |
890 | * the ioctl() calls that depend on the value of this symbol. |
891 | */ |
892 | /*#define I_TERMIO /**/ |
893 | /*#define I_TERMIOS /**/ |
894 | /*#define I_SGTTY /**/ |
895 | |
896 | /* I_UNISTD: |
897 | * This symbol, if defined, indicates to the C program that it should |
898 | * include <unistd.h>. |
899 | */ |
900 | /*#define I_UNISTD /**/ |
901 | |
902 | /* I_UTIME: |
903 | * This symbol, if defined, indicates to the C program that it should |
904 | * include <utime.h>. |
905 | */ |
906 | #define I_UTIME /**/ |
907 | |
908 | /* I_VALUES: |
909 | * This symbol, if defined, indicates to the C program that it should |
910 | * include <values.h> to get definition of symbols like MINFLOAT or |
911 | * MAXLONG, i.e. machine dependant limitations. Probably, you |
912 | * should use <limits.h> instead, if it is available. |
913 | */ |
914 | /*#define I_VALUES /**/ |
915 | |
2986a63f |
916 | /* I_VFORK: |
917 | * This symbol, if defined, indicates to the C program that it should |
918 | * include vfork.h. |
919 | */ |
920 | /*#define I_VFORK /**/ |
921 | |
922 | /* CAN_PROTOTYPE: |
923 | * If defined, this macro indicates that the C compiler can handle |
924 | * function prototypes. |
925 | */ |
2986a63f |
926 | #define CAN_PROTOTYPE /**/ |
2986a63f |
927 | |
928 | /* SH_PATH: |
929 | * This symbol contains the full pathname to the shell used on this |
930 | * on this system to execute Bourne shell scripts. Usually, this will be |
931 | * /bin/sh, though it's possible that some systems will have /bin/ksh, |
932 | * /bin/pdksh, /bin/ash, /bin/bash, or even something such as |
933 | * D:/bin/sh.exe. |
934 | */ |
935 | #define SH_PATH "cmd /x /c" /**/ |
936 | |
2986a63f |
937 | /* INTSIZE: |
938 | * This symbol contains the value of sizeof(int) so that the C |
939 | * preprocessor can make decisions based on it. |
940 | */ |
941 | /* LONGSIZE: |
942 | * This symbol contains the value of sizeof(long) so that the C |
943 | * preprocessor can make decisions based on it. |
944 | */ |
945 | /* SHORTSIZE: |
946 | * This symbol contains the value of sizeof(short) so that the C |
947 | * preprocessor can make decisions based on it. |
948 | */ |
949 | #define INTSIZE 4 /**/ |
950 | #define LONGSIZE 4 /**/ |
951 | #define SHORTSIZE 2 /**/ |
952 | |
953 | /* MULTIARCH: |
954 | * This symbol, if defined, signifies that the build |
955 | * process will produce some binary files that are going to be |
956 | * used in a cross-platform environment. This is the case for |
957 | * example with the NeXT "fat" binaries that contain executables |
958 | * for several CPUs. |
959 | */ |
960 | /*#define MULTIARCH /**/ |
961 | |
962 | /* HAS_QUAD: |
963 | * This symbol, if defined, tells that there's a 64-bit integer type, |
964 | * Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one |
965 | * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T. |
966 | */ |
967 | /*#define HAS_QUAD /**/ |
968 | #ifdef HAS_QUAD |
969 | # define Quad_t __int64 /**/ |
970 | # define Uquad_t unsigned __int64 /**/ |
971 | # define QUADKIND 5 /**/ |
972 | # define QUAD_IS_INT 1 |
973 | # define QUAD_IS_LONG 2 |
974 | # define QUAD_IS_LONG_LONG 3 |
975 | # define QUAD_IS_INT64_T 4 |
976 | #endif |
977 | |
978 | /* HAS_ACCESSX: |
979 | * This symbol, if defined, indicates that the accessx routine is |
980 | * available to do extended access checks. |
981 | */ |
982 | /*#define HAS_ACCESSX /**/ |
983 | |
984 | /* HAS_EACCESS: |
985 | * This symbol, if defined, indicates that the eaccess routine is |
986 | * available to do extended access checks. |
987 | */ |
988 | /*#define HAS_EACCESS /**/ |
989 | |
990 | /* I_SYS_ACCESS: |
991 | * This symbol, if defined, indicates to the C program that it should |
992 | * include <sys/access.h>. |
993 | */ |
994 | /*#define I_SYS_ACCESS /**/ |
995 | |
996 | /* I_SYS_SECURITY: |
997 | * This symbol, if defined, indicates to the C program that it should |
998 | * include <sys/security.h>. |
999 | */ |
1000 | /*#define I_SYS_SECURITY /**/ |
1001 | |
1002 | /* OSNAME: |
1003 | * This symbol contains the name of the operating system, as determined |
1004 | * by Configure. You shouldn't rely on it too much; the specific |
1005 | * feature tests from Configure are generally more reliable. |
1006 | */ |
225a5dca |
1007 | /* OSVERS: |
1008 | * This symbol contains the version of the operating system, as determined |
1009 | * by Configure. You shouldn't rely on it too much; the specific |
1010 | * feature tests from Configure are generally more reliable. |
1011 | */ |
2986a63f |
1012 | #define OSNAME "NetWare" /**/ |
225a5dca |
1013 | #define OSVERS "5.x" /**/ |
2986a63f |
1014 | |
1015 | /* MEM_ALIGNBYTES: |
1016 | * This symbol contains the number of bytes required to align a |
1017 | * double, or a long double when applicable. Usual values are 2, |
1018 | * 4 and 8. The default is eight, for safety. |
1019 | */ |
225a5dca |
1020 | #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH) |
2986a63f |
1021 | # define MEM_ALIGNBYTES 8 |
1022 | #else |
1023 | #define MEM_ALIGNBYTES 8 |
1024 | #endif |
1025 | |
1026 | /* ARCHLIB: |
1027 | * This variable, if defined, holds the name of the directory in |
1028 | * which the user wants to put architecture-dependent public |
1029 | * library files for perl5. It is most often a local directory |
1030 | * such as /usr/local/lib. Programs using this variable must be |
1031 | * prepared to deal with filename expansion. If ARCHLIB is the |
1032 | * same as PRIVLIB, it is not defined, since presumably the |
1033 | * program already searches PRIVLIB. |
1034 | */ |
1035 | /* ARCHLIB_EXP: |
1036 | * This symbol contains the ~name expanded version of ARCHLIB, to be used |
1037 | * in programs that are not prepared to deal with ~ expansion at run-time. |
1038 | */ |
78a7c709 |
1039 | #define ARCHLIB "c:\\perl\\5.9.0\\lib\\NetWare-x86-multi-thread" /**/ |
2986a63f |
1040 | /*#define ARCHLIB_EXP "" /**/ |
1041 | |
1042 | /* ARCHNAME: |
1043 | * This symbol holds a string representing the architecture name. |
1044 | * It may be used to construct an architecture-dependant pathname |
1045 | * where library files may be held under a private library, for |
1046 | * instance. |
1047 | */ |
1048 | #define ARCHNAME "NetWare-x86-multi-thread" /**/ |
1049 | |
1050 | /* HAS_ATOLF: |
1051 | * This symbol, if defined, indicates that the atolf routine is |
1052 | * available to convert strings into long doubles. |
1053 | */ |
1054 | /*#define HAS_ATOLF /**/ |
1055 | |
1056 | /* HAS_ATOLL: |
1057 | * This symbol, if defined, indicates that the atoll routine is |
1058 | * available to convert strings into long longs. |
1059 | */ |
1060 | /*#define HAS_ATOLL /**/ |
1061 | |
1062 | /* BIN: |
1063 | * This symbol holds the path of the bin directory where the package will |
1064 | * be installed. Program must be prepared to deal with ~name substitution. |
1065 | */ |
1066 | /* BIN_EXP: |
1067 | * This symbol is the filename expanded version of the BIN symbol, for |
1068 | * programs that do not want to deal with that at run-time. |
1069 | */ |
78a7c709 |
1070 | #define BIN "c:\\perl\\5.9.0\\bin\\NetWare-x86-multi-thread" /**/ |
1071 | #define BIN_EXP "c:\\perl\\5.9.0\\bin\\NetWare-x86-multi-thread" /**/ |
2986a63f |
1072 | |
2986a63f |
1073 | /* BYTEORDER: |
1074 | * This symbol holds the hexadecimal constant defined in byteorder, |
1075 | * i.e. 0x1234 or 0x4321, etc... |
1076 | * If the compiler supports cross-compiling or multiple-architecture |
1077 | * binaries (eg. on NeXT systems), use compiler-defined macros to |
1078 | * determine the byte order. |
1079 | * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture |
1080 | * Binaries (MAB) on either big endian or little endian machines. |
1081 | * The endian-ness is available at compile-time. This only matters |
1082 | * for perl, where the config.h can be generated and installed on |
1083 | * one system, and used by a different architecture to build an |
1084 | * extension. Older versions of NeXT that might not have |
1085 | * defined either *_ENDIAN__ were all on Motorola 680x0 series, |
1086 | * so the default case (for NeXT) is big endian to catch them. |
1087 | * This might matter for NeXT 3.0. |
1088 | */ |
225a5dca |
1089 | #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH) |
2986a63f |
1090 | # ifdef __LITTLE_ENDIAN__ |
1091 | # if LONGSIZE == 4 |
1092 | # define BYTEORDER 0x1234 |
1093 | # else |
1094 | # if LONGSIZE == 8 |
1095 | # define BYTEORDER 0x12345678 |
1096 | # endif |
1097 | # endif |
1098 | # else |
1099 | # ifdef __BIG_ENDIAN__ |
1100 | # if LONGSIZE == 4 |
1101 | # define BYTEORDER 0x4321 |
1102 | # else |
1103 | # if LONGSIZE == 8 |
1104 | # define BYTEORDER 0x87654321 |
1105 | # endif |
1106 | # endif |
1107 | # endif |
1108 | # endif |
1109 | # if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__)) |
1110 | # define BYTEORDER 0x4321 |
1111 | # endif |
1112 | #else |
1113 | #define BYTEORDER 0x1234 /* large digits for MSB */ |
1114 | #endif /* NeXT */ |
1115 | |
1116 | /* CAT2: |
1117 | * This macro catenates 2 tokens together. |
1118 | */ |
1119 | /* STRINGIFY: |
1120 | * This macro surrounds its token with double quotes. |
1121 | */ |
1122 | #if 42 == 1 |
1123 | #define CAT2(a,b) a/**/b |
1124 | #define STRINGIFY(a) "a" |
1125 | /* If you can get stringification with catify, tell me how! */ |
1126 | #endif |
1127 | #if 42 == 42 |
1128 | #define PeRl_CaTiFy(a, b) a ## b |
1129 | #define PeRl_StGiFy(a) #a |
1130 | /* the additional level of indirection enables these macros to be |
1131 | * used as arguments to other macros. See K&R 2nd ed., page 231. */ |
1132 | #define CAT2(a,b) PeRl_CaTiFy(a,b) |
1133 | #define StGiFy(a) PeRl_StGiFy(a) |
1134 | #define STRINGIFY(a) PeRl_StGiFy(a) |
1135 | #endif |
1136 | #if 42 != 1 && 42 != 42 |
1137 | # include "Bletch: How does this C preprocessor catenate tokens?" |
1138 | #endif |
1139 | |
1140 | /* CPPSTDIN: |
1141 | * This symbol contains the first part of the string which will invoke |
1142 | * the C preprocessor on the standard input and produce to standard |
1143 | * output. Typical value of "cc -E" or "/lib/cpp", but it can also |
1144 | * call a wrapper. See CPPRUN. |
1145 | */ |
1146 | /* CPPMINUS: |
1147 | * This symbol contains the second part of the string which will invoke |
1148 | * the C preprocessor on the standard input and produce to standard |
1149 | * output. This symbol will have the value "-" if CPPSTDIN needs a minus |
1150 | * to specify standard input, otherwise the value is "". |
1151 | */ |
1152 | /* CPPRUN: |
1153 | * This symbol contains the string which will invoke a C preprocessor on |
1154 | * the standard input and produce to standard output. It needs to end |
1155 | * with CPPLAST, after all other preprocessor flags have been specified. |
1156 | * The main difference with CPPSTDIN is that this program will never be a |
1157 | * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is |
1158 | * available directly to the user. Note that it may well be different from |
1159 | * the preprocessor used to compile the C program. |
1160 | */ |
1161 | /* CPPLAST: |
1162 | * This symbol is intended to be used along with CPPRUN in the same manner |
1163 | * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "". |
1164 | */ |
1165 | #define CPPSTDIN "cl -nologo -E" |
1166 | #define CPPMINUS "" |
1167 | #define CPPRUN "cl -nologo -E" |
1168 | #define CPPLAST "" |
1169 | |
1170 | /* HAS__FWALK: |
1171 | * This symbol, if defined, indicates that the _fwalk system call is |
1172 | * available to apply a function to all the file handles. |
1173 | */ |
1174 | /*#define HAS__FWALK /**/ |
1175 | |
1176 | /* HAS_ACCESS: |
1177 | * This manifest constant lets the C program know that the access() |
1178 | * system call is available to check for accessibility using real UID/GID. |
1179 | * (always present on UNIX.) |
1180 | */ |
1181 | #define HAS_ACCESS /**/ |
1182 | |
1183 | /* CASTI32: |
1184 | * This symbol is defined if the C compiler can cast negative |
1185 | * or large floating point numbers to 32-bit ints. |
1186 | */ |
1187 | /*#define CASTI32 /**/ |
1188 | |
1189 | /* CASTNEGFLOAT: |
1190 | * This symbol is defined if the C compiler can cast negative |
1191 | * numbers to unsigned longs, ints and shorts. |
1192 | */ |
1193 | /* CASTFLAGS: |
1194 | * This symbol contains flags that say what difficulties the compiler |
1195 | * has casting odd floating values to unsigned long: |
1196 | * 0 = ok |
1197 | * 1 = couldn't cast < 0 |
1198 | * 2 = couldn't cast >= 0x80000000 |
1199 | * 4 = couldn't cast in argument expression list |
1200 | */ |
1201 | #define CASTNEGFLOAT /**/ |
1202 | #define CASTFLAGS 0 /**/ |
1203 | |
1204 | /* VOID_CLOSEDIR: |
1205 | * This symbol, if defined, indicates that the closedir() routine |
1206 | * does not return a value. |
1207 | */ |
1208 | /*#define VOID_CLOSEDIR /**/ |
1209 | |
1210 | /* HAS_STRUCT_CMSGHDR: |
1211 | * This symbol, if defined, indicates that the struct cmsghdr |
1212 | * is supported. |
1213 | */ |
1214 | /*#define HAS_STRUCT_CMSGHDR /**/ |
1215 | |
1216 | /* HAS_CSH: |
1217 | * This symbol, if defined, indicates that the C-shell exists. |
1218 | */ |
1219 | /* CSH: |
1220 | * This symbol, if defined, contains the full pathname of csh. |
1221 | */ |
1222 | /*#define HAS_CSH /**/ |
1223 | #ifdef HAS_CSH |
1224 | #define CSH "" /**/ |
1225 | #endif |
1226 | |
1227 | /* DLSYM_NEEDS_UNDERSCORE: |
1228 | * This symbol, if defined, indicates that we need to prepend an |
1229 | * underscore to the symbol name before calling dlsym(). This only |
1230 | * makes sense if you *have* dlsym, which we will presume is the |
1231 | * case if you're using dl_dlopen.xs. |
1232 | */ |
1233 | /*#define DLSYM_NEEDS_UNDERSCORE /**/ |
1234 | |
1235 | /* HAS_DRAND48_PROTO: |
1236 | * This symbol, if defined, indicates that the system provides |
1237 | * a prototype for the drand48() function. Otherwise, it is up |
1238 | * to the program to supply one. A good guess is |
f51dccfd |
1239 | * extern double drand48(void); |
2986a63f |
1240 | */ |
1241 | /*#define HAS_DRAND48_PROTO /**/ |
1242 | |
1243 | /* HAS_ENDGRENT: |
1244 | * This symbol, if defined, indicates that the getgrent routine is |
1245 | * available for finalizing sequential access of the group database. |
1246 | */ |
1247 | /*#define HAS_ENDGRENT /**/ |
1248 | |
1249 | /* HAS_ENDHOSTENT: |
1250 | * This symbol, if defined, indicates that the endhostent() routine is |
1251 | * available to close whatever was being used for host queries. |
1252 | */ |
1253 | /*#define HAS_ENDHOSTENT /**/ |
1254 | |
1255 | /* HAS_ENDNETENT: |
1256 | * This symbol, if defined, indicates that the endnetent() routine is |
1257 | * available to close whatever was being used for network queries. |
1258 | */ |
1259 | /*#define HAS_ENDNETENT /**/ |
1260 | |
1261 | /* HAS_ENDPROTOENT: |
1262 | * This symbol, if defined, indicates that the endprotoent() routine is |
1263 | * available to close whatever was being used for protocol queries. |
1264 | */ |
1265 | /*#define HAS_ENDPROTOENT /**/ |
1266 | |
1267 | /* HAS_ENDPWENT: |
1268 | * This symbol, if defined, indicates that the getgrent routine is |
1269 | * available for finalizing sequential access of the passwd database. |
1270 | */ |
1271 | /*#define HAS_ENDPWENT /**/ |
1272 | |
1273 | /* HAS_ENDSERVENT: |
1274 | * This symbol, if defined, indicates that the endservent() routine is |
1275 | * available to close whatever was being used for service queries. |
1276 | */ |
1277 | /*#define HAS_ENDSERVENT /**/ |
1278 | |
1279 | /* FCNTL_CAN_LOCK: |
1280 | * This symbol, if defined, indicates that fcntl() can be used |
1281 | * for file locking. Normally on Unix systems this is defined. |
1282 | * It may be undefined on VMS. |
1283 | */ |
1284 | /*#define FCNTL_CAN_LOCK /**/ |
1285 | |
1286 | /* HAS_FD_SET: |
1287 | * This symbol, when defined, indicates presence of the fd_set typedef |
1288 | * in <sys/types.h> |
1289 | */ |
1290 | #define HAS_FD_SET /**/ |
1291 | |
1292 | /* FLEXFILENAMES: |
1293 | * This symbol, if defined, indicates that the system supports filenames |
1294 | * longer than 14 characters. |
1295 | */ |
1296 | #define FLEXFILENAMES /**/ |
1297 | |
1298 | /* HAS_FPOS64_T: |
1299 | * This symbol will be defined if the C compiler supports fpos64_t. |
1300 | */ |
1301 | /*#define HAS_FPOS64_T /**/ |
1302 | |
1303 | /* HAS_FREXPL: |
1304 | * This symbol, if defined, indicates that the frexpl routine is |
1305 | * available to break a long double floating-point number into |
1306 | * a normalized fraction and an integral power of 2. |
1307 | */ |
1308 | /*#define HAS_FREXPL /**/ |
1309 | |
1310 | /* HAS_STRUCT_FS_DATA: |
1311 | * This symbol, if defined, indicates that the struct fs_data |
1312 | * to do statfs() is supported. |
1313 | */ |
1314 | /*#define HAS_STRUCT_FS_DATA /**/ |
1315 | |
1316 | /* HAS_FSEEKO: |
1317 | * This symbol, if defined, indicates that the fseeko routine is |
1318 | * available to fseek beyond 32 bits (useful for ILP32 hosts). |
1319 | */ |
1320 | /*#define HAS_FSEEKO /**/ |
1321 | |
1322 | /* HAS_FSTATFS: |
1323 | * This symbol, if defined, indicates that the fstatfs routine is |
1324 | * available to stat filesystems by file descriptors. |
1325 | */ |
1326 | /*#define HAS_FSTATFS /**/ |
1327 | |
1328 | /* HAS_FSYNC: |
1329 | * This symbol, if defined, indicates that the fsync routine is |
1330 | * available to write a file's modified data and attributes to |
1331 | * permanent storage. |
1332 | */ |
1333 | /*#define HAS_FSYNC /**/ |
1334 | |
1335 | /* HAS_FTELLO: |
1336 | * This symbol, if defined, indicates that the ftello routine is |
1337 | * available to ftell beyond 32 bits (useful for ILP32 hosts). |
1338 | */ |
1339 | /*#define HAS_FTELLO /**/ |
1340 | |
1341 | /* Gconvert: |
1342 | * This preprocessor macro is defined to convert a floating point |
1343 | * number to a string without a trailing decimal point. This |
1344 | * emulates the behavior of sprintf("%g"), but is sometimes much more |
1345 | * efficient. If gconvert() is not available, but gcvt() drops the |
1346 | * trailing decimal point, then gcvt() is used. If all else fails, |
1347 | * a macro using sprintf("%g") is used. Arguments for the Gconvert |
1348 | * macro are: value, number of digits, whether trailing zeros should |
1349 | * be retained, and the output buffer. |
1350 | * Possible values are: |
1351 | * d_Gconvert='gconvert((x),(n),(t),(b))' |
1352 | * d_Gconvert='gcvt((x),(n),(b))' |
1353 | * d_Gconvert='sprintf((b),"%.*g",(n),(x))' |
1354 | * The last two assume trailing zeros should not be kept. |
1355 | */ |
1356 | #define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x)) |
1357 | |
1358 | /* HAS_GETCWD: |
1359 | * This symbol, if defined, indicates that the getcwd routine is |
1360 | * available to get the current working directory. |
1361 | */ |
78196db0 |
1362 | #define HAS_GETCWD /**/ |
2986a63f |
1363 | |
1364 | /* HAS_GETESPWNAM: |
1365 | * This symbol, if defined, indicates that the getespwnam system call is |
1366 | * available to retrieve enchanced (shadow) password entries by name. |
1367 | */ |
1368 | /*#define HAS_GETESPWNAM /**/ |
1369 | |
1370 | /* HAS_GETFSSTAT: |
1371 | * This symbol, if defined, indicates that the getfsstat routine is |
1372 | * available to stat filesystems in bulk. |
1373 | */ |
1374 | /*#define HAS_GETFSSTAT /**/ |
1375 | |
1376 | /* HAS_GETGRENT: |
1377 | * This symbol, if defined, indicates that the getgrent routine is |
1378 | * available for sequential access of the group database. |
1379 | */ |
1380 | /*#define HAS_GETGRENT /**/ |
1381 | |
1382 | /* HAS_GETHOSTBYADDR: |
1383 | * This symbol, if defined, indicates that the gethostbyaddr() routine is |
1384 | * available to look up hosts by their IP addresses. |
1385 | */ |
1386 | #define HAS_GETHOSTBYADDR /**/ |
1387 | |
1388 | /* HAS_GETHOSTBYNAME: |
1389 | * This symbol, if defined, indicates that the gethostbyname() routine is |
1390 | * available to look up host names in some data base or other. |
1391 | */ |
1392 | #define HAS_GETHOSTBYNAME /**/ |
1393 | |
1394 | /* HAS_GETHOSTENT: |
1395 | * This symbol, if defined, indicates that the gethostent() routine is |
1396 | * available to look up host names in some data base or another. |
1397 | */ |
1398 | /*#define HAS_GETHOSTENT /**/ |
1399 | |
1400 | /* HAS_GETHOSTNAME: |
1401 | * This symbol, if defined, indicates that the C program may use the |
1402 | * gethostname() routine to derive the host name. See also HAS_UNAME |
1403 | * and PHOSTNAME. |
1404 | */ |
1405 | /* HAS_UNAME: |
1406 | * This symbol, if defined, indicates that the C program may use the |
1407 | * uname() routine to derive the host name. See also HAS_GETHOSTNAME |
1408 | * and PHOSTNAME. |
1409 | */ |
1410 | /* PHOSTNAME: |
1411 | * This symbol, if defined, indicates the command to feed to the |
1412 | * popen() routine to derive the host name. See also HAS_GETHOSTNAME |
1413 | * and HAS_UNAME. Note that the command uses a fully qualified path, |
1414 | * so that it is safe even if used by a process with super-user |
1415 | * privileges. |
1416 | */ |
1417 | /* HAS_PHOSTNAME: |
1418 | * This symbol, if defined, indicates that the C program may use the |
1419 | * contents of PHOSTNAME as a command to feed to the popen() routine |
1420 | * to derive the host name. |
1421 | */ |
1422 | #define HAS_GETHOSTNAME /**/ |
1423 | #define HAS_UNAME /**/ |
1424 | /*#define HAS_PHOSTNAME /**/ |
1425 | #ifdef HAS_PHOSTNAME |
1426 | #define PHOSTNAME "" /* How to get the host name */ |
1427 | #endif |
1428 | |
1429 | /* HAS_GETHOST_PROTOS: |
1430 | * This symbol, if defined, indicates that <netdb.h> includes |
1431 | * prototypes for gethostent(), gethostbyname(), and |
1432 | * gethostbyaddr(). Otherwise, it is up to the program to guess |
1433 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. |
1434 | */ |
1435 | #define HAS_GETHOST_PROTOS /**/ |
1436 | |
1437 | /* HAS_GETITIMER: |
1438 | * This symbol, if defined, indicates that the getitimer routine is |
1439 | * available to return interval timers. |
1440 | */ |
1441 | /*#define HAS_GETITIMER /**/ |
1442 | |
1443 | /* HAS_GETMNT: |
1444 | * This symbol, if defined, indicates that the getmnt routine is |
1445 | * available to get filesystem mount info by filename. |
1446 | */ |
1447 | /*#define HAS_GETMNT /**/ |
1448 | |
1449 | /* HAS_GETMNTENT: |
1450 | * This symbol, if defined, indicates that the getmntent routine is |
1451 | * available to iterate through mounted file systems to get their info. |
1452 | */ |
1453 | /*#define HAS_GETMNTENT /**/ |
1454 | |
1455 | /* HAS_GETNETBYADDR: |
1456 | * This symbol, if defined, indicates that the getnetbyaddr() routine is |
1457 | * available to look up networks by their IP addresses. |
1458 | */ |
1459 | /*#define HAS_GETNETBYADDR /**/ |
1460 | |
1461 | /* HAS_GETNETBYNAME: |
1462 | * This symbol, if defined, indicates that the getnetbyname() routine is |
1463 | * available to look up networks by their names. |
1464 | */ |
1465 | /*#define HAS_GETNETBYNAME /**/ |
1466 | |
1467 | /* HAS_GETNETENT: |
1468 | * This symbol, if defined, indicates that the getnetent() routine is |
1469 | * available to look up network names in some data base or another. |
1470 | */ |
1471 | /*#define HAS_GETNETENT /**/ |
1472 | |
1473 | /* HAS_GETNET_PROTOS: |
1474 | * This symbol, if defined, indicates that <netdb.h> includes |
1475 | * prototypes for getnetent(), getnetbyname(), and |
1476 | * getnetbyaddr(). Otherwise, it is up to the program to guess |
1477 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. |
1478 | */ |
1479 | #define HAS_GETNET_PROTOS /**/ |
1480 | |
1481 | /* HAS_GETPAGESIZE: |
1482 | * This symbol, if defined, indicates that the getpagesize system call |
1483 | * is available to get system page size, which is the granularity of |
1484 | * many memory management calls. |
1485 | */ |
1486 | /*#define HAS_GETPAGESIZE /**/ |
1487 | |
1488 | /* HAS_GETPROTOENT: |
1489 | * This symbol, if defined, indicates that the getprotoent() routine is |
1490 | * available to look up protocols in some data base or another. |
1491 | */ |
1492 | /*#define HAS_GETPROTOENT /**/ |
1493 | |
1494 | /* HAS_GETPGRP: |
1495 | * This symbol, if defined, indicates that the getpgrp routine is |
1496 | * available to get the current process group. |
1497 | */ |
1498 | /* USE_BSD_GETPGRP: |
1499 | * This symbol, if defined, indicates that getpgrp needs one |
1500 | * arguments whereas USG one needs none. |
1501 | */ |
1502 | /*#define HAS_GETPGRP /**/ |
1503 | /*#define USE_BSD_GETPGRP /**/ |
1504 | |
1505 | /* HAS_GETPROTOBYNAME: |
1506 | * This symbol, if defined, indicates that the getprotobyname() |
1507 | * routine is available to look up protocols by their name. |
1508 | */ |
1509 | /* HAS_GETPROTOBYNUMBER: |
1510 | * This symbol, if defined, indicates that the getprotobynumber() |
1511 | * routine is available to look up protocols by their number. |
1512 | */ |
1513 | #define HAS_GETPROTOBYNAME /**/ |
1514 | #define HAS_GETPROTOBYNUMBER /**/ |
1515 | |
1516 | /* HAS_GETPROTO_PROTOS: |
1517 | * This symbol, if defined, indicates that <netdb.h> includes |
1518 | * prototypes for getprotoent(), getprotobyname(), and |
1519 | * getprotobyaddr(). Otherwise, it is up to the program to guess |
1520 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. |
1521 | */ |
1522 | #define HAS_GETPROTO_PROTOS /**/ |
1523 | |
1524 | /* HAS_GETPRPWNAM: |
1525 | * This symbol, if defined, indicates that the getprpwnam system call is |
1526 | * available to retrieve protected (shadow) password entries by name. |
1527 | */ |
1528 | /*#define HAS_GETPRPWNAM /**/ |
1529 | |
1530 | /* HAS_GETPWENT: |
1531 | * This symbol, if defined, indicates that the getpwent routine is |
1532 | * available for sequential access of the passwd database. |
1533 | * If this is not available, the older getpw() function may be available. |
1534 | */ |
1535 | /*#define HAS_GETPWENT /**/ |
1536 | |
1537 | /* HAS_GETSERVENT: |
1538 | * This symbol, if defined, indicates that the getservent() routine is |
1539 | * available to look up network services in some data base or another. |
1540 | */ |
1541 | /*#define HAS_GETSERVENT /**/ |
1542 | |
1543 | /* HAS_GETSERV_PROTOS: |
1544 | * This symbol, if defined, indicates that <netdb.h> includes |
1545 | * prototypes for getservent(), getservbyname(), and |
1546 | * getservbyaddr(). Otherwise, it is up to the program to guess |
1547 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. |
1548 | */ |
1549 | #define HAS_GETSERV_PROTOS /**/ |
1550 | |
1551 | /* HAS_GETSPNAM: |
1552 | * This symbol, if defined, indicates that the getspnam system call is |
1553 | * available to retrieve SysV shadow password entries by name. |
1554 | */ |
1555 | /*#define HAS_GETSPNAM /**/ |
1556 | |
1557 | /* HAS_GETSERVBYNAME: |
1558 | * This symbol, if defined, indicates that the getservbyname() |
1559 | * routine is available to look up services by their name. |
1560 | */ |
1561 | /* HAS_GETSERVBYPORT: |
1562 | * This symbol, if defined, indicates that the getservbyport() |
1563 | * routine is available to look up services by their port. |
1564 | */ |
1565 | #define HAS_GETSERVBYNAME /**/ |
1566 | #define HAS_GETSERVBYPORT /**/ |
1567 | |
1568 | /* HAS_GNULIBC: |
1569 | * This symbol, if defined, indicates to the C program that |
033348ab |
1570 | * the GNU C library is being used. A better check is to use |
1571 | * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc. |
2986a63f |
1572 | */ |
1573 | /*#define HAS_GNULIBC /**/ |
1574 | #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE) |
1575 | # define _GNU_SOURCE |
1576 | #endif |
1577 | /* HAS_HASMNTOPT: |
1578 | * This symbol, if defined, indicates that the hasmntopt routine is |
1579 | * available to query the mount options of file systems. |
1580 | */ |
1581 | /*#define HAS_HASMNTOPT /**/ |
1582 | |
1583 | /* HAS_HTONL: |
1584 | * This symbol, if defined, indicates that the htonl() routine (and |
1585 | * friends htons() ntohl() ntohs()) are available to do network |
1586 | * order byte swapping. |
1587 | */ |
1588 | /* HAS_HTONS: |
1589 | * This symbol, if defined, indicates that the htons() routine (and |
1590 | * friends htonl() ntohl() ntohs()) are available to do network |
1591 | * order byte swapping. |
1592 | */ |
1593 | /* HAS_NTOHL: |
1594 | * This symbol, if defined, indicates that the ntohl() routine (and |
1595 | * friends htonl() htons() ntohs()) are available to do network |
1596 | * order byte swapping. |
1597 | */ |
1598 | /* HAS_NTOHS: |
1599 | * This symbol, if defined, indicates that the ntohs() routine (and |
1600 | * friends htonl() htons() ntohl()) are available to do network |
1601 | * order byte swapping. |
1602 | */ |
1603 | #define HAS_HTONL /**/ |
1604 | #define HAS_HTONS /**/ |
1605 | #define HAS_NTOHL /**/ |
1606 | #define HAS_NTOHS /**/ |
1607 | |
2986a63f |
1608 | /* HAS_INT64_T: |
1609 | * This symbol will defined if the C compiler supports int64_t. |
1610 | * Usually the <inttypes.h> needs to be included, but sometimes |
1611 | * <sys/types.h> is enough. |
1612 | */ |
1613 | /*#define HAS_INT64_T /**/ |
1614 | |
1615 | /* HAS_ISASCII: |
1616 | * This manifest constant lets the C program know that isascii |
1617 | * is available. |
1618 | */ |
1619 | #define HAS_ISASCII /**/ |
1620 | |
1621 | /* HAS_ISNAN: |
1622 | * This symbol, if defined, indicates that the isnan routine is |
1623 | * available to check whether a double is a NaN. |
1624 | */ |
1625 | /*#define HAS_ISNAN /**/ |
1626 | |
1627 | /* HAS_ISNANL: |
1628 | * This symbol, if defined, indicates that the isnanl routine is |
1629 | * available to check whether a long double is a NaN. |
1630 | */ |
1631 | /*#define HAS_ISNANL /**/ |
1632 | |
1633 | /* HAS_LCHOWN: |
1634 | * This symbol, if defined, indicates that the lchown routine is |
1635 | * available to operate on a symbolic link (instead of following the |
1636 | * link). |
1637 | */ |
1638 | /*#define HAS_LCHOWN /**/ |
1639 | |
1640 | /* HAS_LDBL_DIG: |
1641 | * This symbol, if defined, indicates that this system's <float.h> |
1642 | * or <limits.h> defines the symbol LDBL_DIG, which is the number |
1643 | * of significant digits in a long double precision number. Unlike |
1644 | * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined. |
1645 | */ |
1646 | #define HAS_LDBL_DIG /**/ |
1647 | |
1648 | /* HAS_LONG_DOUBLE: |
1649 | * This symbol will be defined if the C compiler supports long |
1650 | * doubles. |
1651 | */ |
1652 | /* LONG_DOUBLESIZE: |
1653 | * This symbol contains the size of a long double, so that the |
1654 | * C preprocessor can make decisions based on it. It is only |
1655 | * defined if the system supports long doubles. |
1656 | */ |
1657 | #define HAS_LONG_DOUBLE /**/ |
1658 | #ifdef HAS_LONG_DOUBLE |
1659 | #define LONG_DOUBLESIZE 10 /**/ |
1660 | #endif |
1661 | |
1662 | /* HAS_LONG_LONG: |
1663 | * This symbol will be defined if the C compiler supports long long. |
1664 | */ |
1665 | /* LONGLONGSIZE: |
1666 | * This symbol contains the size of a long long, so that the |
1667 | * C preprocessor can make decisions based on it. It is only |
1668 | * defined if the system supports long long. |
1669 | */ |
1670 | /*#define HAS_LONG_LONG /**/ |
1671 | #ifdef HAS_LONG_LONG |
1672 | #define LONGLONGSIZE 8 /**/ |
1673 | #endif |
1674 | |
1675 | /* HAS_LSEEK_PROTO: |
1676 | * This symbol, if defined, indicates that the system provides |
1677 | * a prototype for the lseek() function. Otherwise, it is up |
1678 | * to the program to supply one. A good guess is |
1679 | * extern off_t lseek(int, off_t, int); |
1680 | */ |
1681 | #define HAS_LSEEK_PROTO /**/ |
1682 | |
1683 | /* HAS_MADVISE: |
1684 | * This symbol, if defined, indicates that the madvise system call is |
1685 | * available to map a file into memory. |
1686 | */ |
1687 | /*#define HAS_MADVISE /**/ |
1688 | |
1689 | /* HAS_MEMCHR: |
1690 | * This symbol, if defined, indicates that the memchr routine is available |
1691 | * to locate characters within a C string. |
1692 | */ |
1693 | #define HAS_MEMCHR /**/ |
1694 | |
1695 | /* HAS_MKDTEMP: |
1696 | * This symbol, if defined, indicates that the mkdtemp routine is |
1697 | * available to exclusively create a uniquely named temporary directory. |
1698 | */ |
1699 | /*#define HAS_MKDTEMP /**/ |
1700 | |
1701 | /* HAS_MKSTEMP: |
1702 | * This symbol, if defined, indicates that the mkstemp routine is |
1703 | * available to exclusively create and open a uniquely named |
1704 | * temporary file. |
1705 | */ |
1706 | /*#define HAS_MKSTEMP /**/ |
1707 | |
1708 | /* HAS_MKSTEMPS: |
1709 | * This symbol, if defined, indicates that the mkstemps routine is |
1710 | * available to excluslvely create and open a uniquely named |
1711 | * (with a suffix) temporary file. |
1712 | */ |
1713 | /*#define HAS_MKSTEMPS /**/ |
1714 | |
1715 | /* HAS_MMAP: |
1716 | * This symbol, if defined, indicates that the mmap system call is |
1717 | * available to map a file into memory. |
1718 | */ |
1719 | /* Mmap_t: |
1720 | * This symbol holds the return type of the mmap() system call |
1721 | * (and simultaneously the type of the first argument). |
1722 | * Usually set to 'void *' or 'cadd_t'. |
1723 | */ |
1724 | /*#define HAS_MMAP /**/ |
1725 | #define Mmap_t void * /**/ |
1726 | |
1727 | /* HAS_MODFL: |
1728 | * This symbol, if defined, indicates that the modfl routine is |
1729 | * available to split a long double x into a fractional part f and |
1730 | * an integer part i such that |f| < 1.0 and (f + i) = x. |
1731 | */ |
225a5dca |
1732 | /* HAS_MODFL_POW32_BUG: |
1733 | * This symbol, if defined, indicates that the modfl routine is |
1734 | * broken for long doubles >= pow(2, 32). |
1735 | * For example from 4294967303.150000 one would get 4294967302.000000 |
1736 | * and 1.150000. The bug has been seen in certain versions of glibc, |
1737 | * release 2.2.2 is known to be okay. |
1738 | */ |
2986a63f |
1739 | /*#define HAS_MODFL /**/ |
225a5dca |
1740 | /*#define HAS_MODFL_POW32_BUG /**/ |
2986a63f |
1741 | |
1742 | /* HAS_MPROTECT: |
1743 | * This symbol, if defined, indicates that the mprotect system call is |
1744 | * available to modify the access protection of a memory mapped file. |
1745 | */ |
1746 | /*#define HAS_MPROTECT /**/ |
1747 | |
1748 | /* HAS_MSG: |
1749 | * This symbol, if defined, indicates that the entire msg*(2) library is |
1750 | * supported (IPC mechanism based on message queues). |
1751 | */ |
1752 | /*#define HAS_MSG /**/ |
1753 | |
1754 | /* HAS_STRUCT_MSGHDR: |
1755 | * This symbol, if defined, indicates that the struct msghdr |
1756 | * is supported. |
1757 | */ |
1758 | /*#define HAS_STRUCT_MSGHDR /**/ |
1759 | |
1760 | /* HAS_OFF64_T: |
1761 | * This symbol will be defined if the C compiler supports off64_t. |
1762 | */ |
1763 | /*#define HAS_OFF64_T /**/ |
1764 | |
1765 | /* HAS_OPEN3: |
1766 | * This manifest constant lets the C program know that the three |
1767 | * argument form of open(2) is available. |
1768 | */ |
1769 | /*#define HAS_OPEN3 /**/ |
1770 | |
1771 | /* OLD_PTHREAD_CREATE_JOINABLE: |
1772 | * This symbol, if defined, indicates how to create pthread |
1773 | * in joinable (aka undetached) state. NOTE: not defined |
1774 | * if pthread.h already has defined PTHREAD_CREATE_JOINABLE |
1775 | * (the new version of the constant). |
1776 | * If defined, known values are PTHREAD_CREATE_UNDETACHED |
1777 | * and __UNDETACHED. |
1778 | */ |
1779 | /*#define OLD_PTHREAD_CREATE_JOINABLE /**/ |
1780 | |
1781 | /* HAS_PTHREAD_YIELD: |
1782 | * This symbol, if defined, indicates that the pthread_yield |
1783 | * routine is available to yield the execution of the current |
1784 | * thread. sched_yield is preferable to pthread_yield. |
1785 | */ |
1786 | /* SCHED_YIELD: |
1787 | * This symbol defines the way to yield the execution of |
1788 | * the current thread. Known ways are sched_yield, |
1789 | * pthread_yield, and pthread_yield with NULL. |
1790 | */ |
1791 | /* HAS_SCHED_YIELD: |
1792 | * This symbol, if defined, indicates that the sched_yield |
1793 | * routine is available to yield the execution of the current |
1794 | * thread. sched_yield is preferable to pthread_yield. |
1795 | */ |
1796 | /*#define HAS_PTHREAD_YIELD /**/ |
1797 | #define SCHED_YIELD /**/ |
1798 | /*#define HAS_SCHED_YIELD /**/ |
1799 | |
1800 | /* HAS_READV: |
1801 | * This symbol, if defined, indicates that the readv routine is |
1802 | * available to do gather reads. You will also need <sys/uio.h> |
1803 | * and there I_SYSUIO. |
1804 | */ |
1805 | /*#define HAS_READV /**/ |
1806 | |
1807 | /* HAS_RECVMSG: |
1808 | * This symbol, if defined, indicates that the recvmsg routine is |
1809 | * available to send structured socket messages. |
1810 | */ |
1811 | /*#define HAS_RECVMSG /**/ |
1812 | |
1813 | /* HAS_SAFE_BCOPY: |
1814 | * This symbol, if defined, indicates that the bcopy routine is available |
1815 | * to copy potentially overlapping memory blocks. Otherwise you should |
1816 | * probably use memmove() or memcpy(). If neither is defined, roll your |
1817 | * own version. |
1818 | */ |
1819 | /*#define HAS_SAFE_BCOPY /**/ |
1820 | |
1821 | /* HAS_SAFE_MEMCPY: |
1822 | * This symbol, if defined, indicates that the memcpy routine is available |
1823 | * to copy potentially overlapping memory blocks. Otherwise you should |
1824 | * probably use memmove() or memcpy(). If neither is defined, roll your |
1825 | * own version. |
1826 | */ |
1827 | /*#define HAS_SAFE_MEMCPY /**/ |
1828 | |
1829 | /* HAS_SANE_MEMCMP: |
1830 | * This symbol, if defined, indicates that the memcmp routine is available |
1831 | * and can be used to compare relative magnitudes of chars with their high |
1832 | * bits set. If it is not defined, roll your own version. |
1833 | */ |
1834 | #define HAS_SANE_MEMCMP /**/ |
1835 | |
1836 | /* HAS_SBRK_PROTO: |
1837 | * This symbol, if defined, indicates that the system provides |
1838 | * a prototype for the sbrk() function. Otherwise, it is up |
1839 | * to the program to supply one. Good guesses are |
f51dccfd |
1840 | * extern void* sbrk(int); |
1841 | * extern void* sbrk(size_t); |
2986a63f |
1842 | */ |
1843 | /*#define HAS_SBRK_PROTO /**/ |
1844 | |
1845 | /* HAS_SEM: |
1846 | * This symbol, if defined, indicates that the entire sem*(2) library is |
1847 | * supported. |
1848 | */ |
1849 | /*#define HAS_SEM /**/ |
1850 | |
1851 | /* HAS_SENDMSG: |
1852 | * This symbol, if defined, indicates that the sendmsg routine is |
1853 | * available to send structured socket messages. |
1854 | */ |
1855 | /*#define HAS_SENDMSG /**/ |
1856 | |
1857 | /* HAS_SETGRENT: |
1858 | * This symbol, if defined, indicates that the setgrent routine is |
1859 | * available for initializing sequential access of the group database. |
1860 | */ |
1861 | /*#define HAS_SETGRENT /**/ |
1862 | |
1863 | /* HAS_SETGROUPS: |
1864 | * This symbol, if defined, indicates that the setgroups() routine is |
1865 | * available to set the list of process groups. If unavailable, multiple |
1866 | * groups are probably not supported. |
1867 | */ |
1868 | /*#define HAS_SETGROUPS /**/ |
1869 | |
1870 | /* HAS_SETHOSTENT: |
1871 | * This symbol, if defined, indicates that the sethostent() routine is |
1872 | * available. |
1873 | */ |
1874 | /*#define HAS_SETHOSTENT /**/ |
1875 | |
1876 | /* HAS_SETITIMER: |
1877 | * This symbol, if defined, indicates that the setitimer routine is |
1878 | * available to set interval timers. |
1879 | */ |
1880 | /*#define HAS_SETITIMER /**/ |
1881 | |
1882 | /* HAS_SETNETENT: |
1883 | * This symbol, if defined, indicates that the setnetent() routine is |
1884 | * available. |
1885 | */ |
1886 | /*#define HAS_SETNETENT /**/ |
1887 | |
1888 | /* HAS_SETPROTOENT: |
1889 | * This symbol, if defined, indicates that the setprotoent() routine is |
1890 | * available. |
1891 | */ |
1892 | /*#define HAS_SETPROTOENT /**/ |
1893 | |
1894 | /* HAS_SETPGRP: |
1895 | * This symbol, if defined, indicates that the setpgrp routine is |
1896 | * available to set the current process group. |
1897 | */ |
1898 | /* USE_BSD_SETPGRP: |
1899 | * This symbol, if defined, indicates that setpgrp needs two |
1900 | * arguments whereas USG one needs none. See also HAS_SETPGID |
1901 | * for a POSIX interface. |
1902 | */ |
1903 | /*#define HAS_SETPGRP /**/ |
1904 | /*#define USE_BSD_SETPGRP /**/ |
1905 | |
1906 | /* HAS_SETPROCTITLE: |
1907 | * This symbol, if defined, indicates that the setproctitle routine is |
1908 | * available to set process title. |
1909 | */ |
1910 | /*#define HAS_SETPROCTITLE /**/ |
1911 | |
1912 | /* HAS_SETPWENT: |
1913 | * This symbol, if defined, indicates that the setpwent routine is |
1914 | * available for initializing sequential access of the passwd database. |
1915 | */ |
1916 | /*#define HAS_SETPWENT /**/ |
1917 | |
1918 | /* HAS_SETSERVENT: |
1919 | * This symbol, if defined, indicates that the setservent() routine is |
1920 | * available. |
1921 | */ |
1922 | /*#define HAS_SETSERVENT /**/ |
1923 | |
1924 | /* HAS_SETVBUF: |
1925 | * This symbol, if defined, indicates that the setvbuf routine is |
1926 | * available to change buffering on an open stdio stream. |
1927 | * to a line-buffered mode. |
1928 | */ |
1929 | #define HAS_SETVBUF /**/ |
1930 | |
1931 | /* USE_SFIO: |
1932 | * This symbol, if defined, indicates that sfio should |
1933 | * be used. |
1934 | */ |
1935 | /*#define USE_SFIO /**/ |
1936 | |
1937 | /* HAS_SHM: |
1938 | * This symbol, if defined, indicates that the entire shm*(2) library is |
1939 | * supported. |
1940 | */ |
1941 | /*#define HAS_SHM /**/ |
1942 | |
1943 | /* HAS_SIGACTION: |
1944 | * This symbol, if defined, indicates that Vr4's sigaction() routine |
1945 | * is available. |
1946 | */ |
1947 | /*#define HAS_SIGACTION /**/ |
1948 | |
1949 | /* HAS_SIGSETJMP: |
1950 | * This variable indicates to the C program that the sigsetjmp() |
1951 | * routine is available to save the calling process's registers |
1952 | * and stack environment for later use by siglongjmp(), and |
1953 | * to optionally save the process's signal mask. See |
1954 | * Sigjmp_buf, Sigsetjmp, and Siglongjmp. |
1955 | */ |
1956 | /* Sigjmp_buf: |
1957 | * This is the buffer type to be used with Sigsetjmp and Siglongjmp. |
1958 | */ |
1959 | /* Sigsetjmp: |
1960 | * This macro is used in the same way as sigsetjmp(), but will invoke |
1961 | * traditional setjmp() if sigsetjmp isn't available. |
1962 | * See HAS_SIGSETJMP. |
1963 | */ |
1964 | /* Siglongjmp: |
1965 | * This macro is used in the same way as siglongjmp(), but will invoke |
1966 | * traditional longjmp() if siglongjmp isn't available. |
1967 | * See HAS_SIGSETJMP. |
1968 | */ |
1969 | /*#define HAS_SIGSETJMP /**/ |
1970 | #ifdef HAS_SIGSETJMP |
1971 | #define Sigjmp_buf sigjmp_buf |
1972 | #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask)) |
1973 | #define Siglongjmp(buf,retval) siglongjmp((buf),(retval)) |
1974 | #else |
1975 | #define Sigjmp_buf jmp_buf |
1976 | #define Sigsetjmp(buf,save_mask) setjmp((buf)) |
1977 | #define Siglongjmp(buf,retval) longjmp((buf),(retval)) |
1978 | #endif |
1979 | |
1980 | /* HAS_SOCKET: |
1981 | * This symbol, if defined, indicates that the BSD socket interface is |
1982 | * supported. |
1983 | */ |
1984 | /* HAS_SOCKETPAIR: |
1985 | * This symbol, if defined, indicates that the BSD socketpair() call is |
1986 | * supported. |
1987 | */ |
1988 | /* HAS_MSG_CTRUNC: |
1989 | * This symbol, if defined, indicates that the MSG_CTRUNC is supported. |
1990 | * Checking just with #ifdef might not be enough because this symbol |
1991 | * has been known to be an enum. |
1992 | */ |
1993 | /* HAS_MSG_DONTROUTE: |
1994 | * This symbol, if defined, indicates that the MSG_DONTROUTE is supported. |
1995 | * Checking just with #ifdef might not be enough because this symbol |
1996 | * has been known to be an enum. |
1997 | */ |
1998 | /* HAS_MSG_OOB: |
1999 | * This symbol, if defined, indicates that the MSG_OOB is supported. |
2000 | * Checking just with #ifdef might not be enough because this symbol |
2001 | * has been known to be an enum. |
2002 | */ |
2003 | /* HAS_MSG_PEEK: |
2004 | * This symbol, if defined, indicates that the MSG_PEEK is supported. |
2005 | * Checking just with #ifdef might not be enough because this symbol |
2006 | * has been known to be an enum. |
2007 | */ |
2008 | /* HAS_MSG_PROXY: |
2009 | * This symbol, if defined, indicates that the MSG_PROXY is supported. |
2010 | * Checking just with #ifdef might not be enough because this symbol |
2011 | * has been known to be an enum. |
2012 | */ |
2013 | /* HAS_SCM_RIGHTS: |
2014 | * This symbol, if defined, indicates that the SCM_RIGHTS is supported. |
2015 | * Checking just with #ifdef might not be enough because this symbol |
2016 | * has been known to be an enum. |
2017 | */ |
2018 | #define HAS_SOCKET /**/ |
2019 | /*#define HAS_SOCKETPAIR /**/ |
2020 | /*#define HAS_MSG_CTRUNC /**/ |
2021 | /*#define HAS_MSG_DONTROUTE /**/ |
2022 | /*#define HAS_MSG_OOB /**/ |
2023 | /*#define HAS_MSG_PEEK /**/ |
2024 | /*#define HAS_MSG_PROXY /**/ |
2025 | /*#define HAS_SCM_RIGHTS /**/ |
2026 | |
2027 | /* HAS_SOCKS5_INIT: |
2028 | * This symbol, if defined, indicates that the socks5_init routine is |
2029 | * available to initialize SOCKS 5. |
2030 | */ |
2031 | /*#define HAS_SOCKS5_INIT /**/ |
2032 | |
2033 | /* HAS_SQRTL: |
2034 | * This symbol, if defined, indicates that the sqrtl routine is |
2035 | * available to do long double square roots. |
2036 | */ |
2037 | /*#define HAS_SQRTL /**/ |
2038 | |
2039 | /* USE_STAT_BLOCKS: |
2040 | * This symbol is defined if this system has a stat structure declaring |
2041 | * st_blksize and st_blocks. |
2042 | */ |
2043 | #ifndef USE_STAT_BLOCKS |
2044 | /*#define USE_STAT_BLOCKS /**/ |
2045 | #endif |
2046 | |
2047 | /* HAS_STRUCT_STATFS_F_FLAGS: |
2048 | * This symbol, if defined, indicates that the struct statfs |
2049 | * does have the f_flags member containing the mount flags of |
2050 | * the filesystem containing the file. |
2051 | * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3), |
2052 | * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not |
2053 | * have statfs() and struct statfs, they have ustat() and getmnt() |
2054 | * with struct ustat and struct fs_data. |
2055 | */ |
2056 | /*#define HAS_STRUCT_STATFS_F_FLAGS /**/ |
2057 | |
2058 | /* HAS_STRUCT_STATFS: |
2059 | * This symbol, if defined, indicates that the struct statfs |
2060 | * to do statfs() is supported. |
2061 | */ |
2062 | /*#define HAS_STRUCT_STATFS /**/ |
2063 | |
2064 | /* HAS_FSTATVFS: |
2065 | * This symbol, if defined, indicates that the fstatvfs routine is |
2066 | * available to stat filesystems by file descriptors. |
2067 | */ |
2068 | /*#define HAS_FSTATVFS /**/ |
2069 | |
2070 | /* USE_STDIO_PTR: |
2071 | * This symbol is defined if the _ptr and _cnt fields (or similar) |
2072 | * of the stdio FILE structure can be used to access the stdio buffer |
2073 | * for a file handle. If this is defined, then the FILE_ptr(fp) |
2074 | * and FILE_cnt(fp) macros will also be defined and should be used |
2075 | * to access these fields. |
2076 | */ |
2077 | /* FILE_ptr: |
2078 | * This macro is used to access the _ptr field (or equivalent) of the |
2079 | * FILE structure pointed to by its argument. This macro will always be |
2080 | * defined if USE_STDIO_PTR is defined. |
2081 | */ |
2082 | /* STDIO_PTR_LVALUE: |
2083 | * This symbol is defined if the FILE_ptr macro can be used as an |
2084 | * lvalue. |
2085 | */ |
2086 | /* FILE_cnt: |
2087 | * This macro is used to access the _cnt field (or equivalent) of the |
2088 | * FILE structure pointed to by its argument. This macro will always be |
2089 | * defined if USE_STDIO_PTR is defined. |
2090 | */ |
2091 | /* STDIO_CNT_LVALUE: |
2092 | * This symbol is defined if the FILE_cnt macro can be used as an |
2093 | * lvalue. |
2094 | */ |
2095 | /* STDIO_PTR_LVAL_SETS_CNT: |
2096 | * This symbol is defined if using the FILE_ptr macro as an lvalue |
2097 | * to increase the pointer by n has the side effect of decreasing the |
2098 | * value of File_cnt(fp) by n. |
2099 | */ |
2100 | /* STDIO_PTR_LVAL_NOCHANGE_CNT: |
2101 | * This symbol is defined if using the FILE_ptr macro as an lvalue |
2102 | * to increase the pointer by n leaves File_cnt(fp) unchanged. |
2103 | */ |
2104 | /*#define USE_STDIO_PTR /**/ |
2105 | #ifdef USE_STDIO_PTR |
2106 | #define FILE_ptr(fp) ((fp)->_ptr) |
2107 | /*#define STDIO_PTR_LVALUE /**/ |
2108 | #define FILE_cnt(fp) ((fp)->_cnt) |
2109 | /*#define STDIO_CNT_LVALUE /**/ |
2110 | /*#define STDIO_PTR_LVAL_SETS_CNT /**/ |
2111 | /*#define STDIO_PTR_LVAL_NOCHANGE_CNT /**/ |
2112 | #endif |
2113 | |
2114 | /* USE_STDIO_BASE: |
2115 | * This symbol is defined if the _base field (or similar) of the |
2116 | * stdio FILE structure can be used to access the stdio buffer for |
2117 | * a file handle. If this is defined, then the FILE_base(fp) macro |
2118 | * will also be defined and should be used to access this field. |
2119 | * Also, the FILE_bufsiz(fp) macro will be defined and should be used |
2120 | * to determine the number of bytes in the buffer. USE_STDIO_BASE |
2121 | * will never be defined unless USE_STDIO_PTR is. |
2122 | */ |
2123 | /* FILE_base: |
2124 | * This macro is used to access the _base field (or equivalent) of the |
2125 | * FILE structure pointed to by its argument. This macro will always be |
2126 | * defined if USE_STDIO_BASE is defined. |
2127 | */ |
2128 | /* FILE_bufsiz: |
2129 | * This macro is used to determine the number of bytes in the I/O |
2130 | * buffer pointed to by _base field (or equivalent) of the FILE |
2131 | * structure pointed to its argument. This macro will always be defined |
2132 | * if USE_STDIO_BASE is defined. |
2133 | */ |
2134 | /*#define USE_STDIO_BASE /**/ |
2135 | #ifdef USE_STDIO_BASE |
2136 | #define FILE_base(fp) ((fp)->_base) |
2137 | #define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base) |
2138 | #endif |
2139 | |
2140 | /* HAS_STRERROR: |
2141 | * This symbol, if defined, indicates that the strerror routine is |
2142 | * available to translate error numbers to strings. See the writeup |
2143 | * of Strerror() in this file before you try to define your own. |
2144 | */ |
2145 | /* HAS_SYS_ERRLIST: |
2146 | * This symbol, if defined, indicates that the sys_errlist array is |
2147 | * available to translate error numbers to strings. The extern int |
2148 | * sys_nerr gives the size of that table. |
2149 | */ |
2150 | /* Strerror: |
2151 | * This preprocessor symbol is defined as a macro if strerror() is |
2152 | * not available to translate error numbers to strings but sys_errlist[] |
2153 | * array is there. |
2154 | */ |
2155 | #define HAS_STRERROR /**/ |
2156 | #define HAS_SYS_ERRLIST /**/ |
2157 | #define Strerror(e) strerror(e) |
2158 | |
2159 | /* HAS_STRTOLD: |
2160 | * This symbol, if defined, indicates that the strtold routine is |
2161 | * available to convert strings to long doubles. |
2162 | */ |
2163 | /*#define HAS_STRTOLD /**/ |
2164 | |
2165 | /* HAS_STRTOLL: |
2166 | * This symbol, if defined, indicates that the strtoll routine is |
2167 | * available to convert strings to long longs. |
2168 | */ |
2169 | /*#define HAS_STRTOLL /**/ |
2170 | |
2171 | /* HAS_STRTOQ: |
2172 | * This symbol, if defined, indicates that the strtoq routine is |
2173 | * available to convert strings to long longs (quads). |
2174 | */ |
2175 | /*#define HAS_STRTOQ /**/ |
2176 | |
2177 | /* HAS_STRTOUL: |
2178 | * This symbol, if defined, indicates that the strtoul routine is |
2179 | * available to provide conversion of strings to unsigned long. |
2180 | */ |
2181 | #define HAS_STRTOUL /**/ |
2182 | |
2183 | /* HAS_STRTOULL: |
2184 | * This symbol, if defined, indicates that the strtoull routine is |
2185 | * available to convert strings to unsigned long longs. |
2186 | */ |
2187 | /*#define HAS_STRTOULL /**/ |
2188 | |
2189 | /* HAS_STRTOUQ: |
2190 | * This symbol, if defined, indicates that the strtouq routine is |
2191 | * available to convert strings to unsigned long longs (quads). |
2192 | */ |
2193 | /*#define HAS_STRTOUQ /**/ |
2194 | |
2195 | /* HAS_TELLDIR_PROTO: |
2196 | * This symbol, if defined, indicates that the system provides |
2197 | * a prototype for the telldir() function. Otherwise, it is up |
2198 | * to the program to supply one. A good guess is |
f51dccfd |
2199 | * extern long telldir(DIR*); |
2986a63f |
2200 | */ |
2201 | #define HAS_TELLDIR_PROTO /**/ |
2202 | |
2203 | /* Time_t: |
2204 | * This symbol holds the type returned by time(). It can be long, |
2205 | * or time_t on BSD sites (in which case <sys/types.h> should be |
2206 | * included). |
2207 | */ |
2208 | #define Time_t time_t /* Time type */ |
2209 | |
2210 | /* HAS_TIMES: |
2211 | * This symbol, if defined, indicates that the times() routine exists. |
2212 | * Note that this became obsolete on some systems (SUNOS), which now |
2213 | * use getrusage(). It may be necessary to include <sys/times.h>. |
2214 | */ |
2215 | /*#define HAS_TIMES /**/ |
2216 | |
2217 | /* HAS_UALARM: |
2218 | * This symbol, if defined, indicates that the ualarm routine is |
2219 | * available to do alarms with microsecond granularity. |
2220 | */ |
2221 | /*#define HAS_UALARM /**/ |
2222 | |
2223 | /* HAS_UNION_SEMUN: |
2224 | * This symbol, if defined, indicates that the union semun is |
2225 | * defined by including <sys/sem.h>. If not, the user code |
2226 | * probably needs to define it as: |
2227 | * union semun { |
2228 | * int val; |
2229 | * struct semid_ds *buf; |
2230 | * unsigned short *array; |
2231 | * } |
2232 | */ |
2233 | /* USE_SEMCTL_SEMUN: |
2234 | * This symbol, if defined, indicates that union semun is |
2235 | * used for semctl IPC_STAT. |
2236 | */ |
2237 | /* USE_SEMCTL_SEMID_DS: |
2238 | * This symbol, if defined, indicates that struct semid_ds * is |
2239 | * used for semctl IPC_STAT. |
2240 | */ |
2241 | #define HAS_UNION_SEMUN /**/ |
2242 | /*#define USE_SEMCTL_SEMUN /**/ |
2243 | /*#define USE_SEMCTL_SEMID_DS /**/ |
2244 | |
2245 | /* HAS_USTAT: |
2246 | * This symbol, if defined, indicates that the ustat system call is |
2247 | * available to query file system statistics by dev_t. |
2248 | */ |
2249 | /*#define HAS_USTAT /**/ |
2250 | |
2251 | /* HAS_VFORK: |
2252 | * This symbol, if defined, indicates that vfork() exists. |
2253 | */ |
2254 | /*#define HAS_VFORK /**/ |
2255 | |
2256 | /* Signal_t: |
2257 | * This symbol's value is either "void" or "int", corresponding to the |
2258 | * appropriate return type of a signal handler. Thus, you can declare |
2259 | * a signal handler using "Signal_t (*handler)()", and define the |
2260 | * handler using "Signal_t handler(sig)". |
2261 | */ |
2262 | #define Signal_t void /* Signal handler's return type */ |
2263 | |
2264 | /* HAS_VPRINTF: |
2265 | * This symbol, if defined, indicates that the vprintf routine is available |
2266 | * to printf with a pointer to an argument list. If unavailable, you |
2267 | * may need to write your own, probably in terms of _doprnt(). |
2268 | */ |
2269 | /* USE_CHAR_VSPRINTF: |
2270 | * This symbol is defined if this system has vsprintf() returning type |
2271 | * (char*). The trend seems to be to declare it as "int vsprintf()". It |
2272 | * is up to the package author to declare vsprintf correctly based on the |
2273 | * symbol. |
2274 | */ |
2275 | #define HAS_VPRINTF /**/ |
2276 | /*#define USE_CHAR_VSPRINTF /**/ |
2277 | |
2278 | /* HAS_WRITEV: |
2279 | * This symbol, if defined, indicates that the writev routine is |
2280 | * available to do scatter writes. |
2281 | */ |
2282 | /*#define HAS_WRITEV /**/ |
2283 | |
2284 | /* USE_DYNAMIC_LOADING: |
2285 | * This symbol, if defined, indicates that dynamic loading of |
2286 | * some sort is available. |
2287 | */ |
2288 | #define USE_DYNAMIC_LOADING /**/ |
2289 | |
2290 | /* DOUBLESIZE: |
2291 | * This symbol contains the size of a double, so that the C preprocessor |
2292 | * can make decisions based on it. |
2293 | */ |
2294 | #define DOUBLESIZE 8 /**/ |
2295 | |
2296 | /* EBCDIC: |
2297 | * This symbol, if defined, indicates that this system uses |
2298 | * EBCDIC encoding. |
2299 | */ |
2300 | /*#define EBCDIC /**/ |
2301 | |
2302 | /* FFLUSH_NULL: |
2303 | * This symbol, if defined, tells that fflush(NULL) does flush |
2304 | * all pending stdio output. |
2305 | */ |
2306 | /* FFLUSH_ALL: |
2307 | * This symbol, if defined, tells that to flush |
2308 | * all pending stdio output one must loop through all |
2309 | * the stdio file handles stored in an array and fflush them. |
2310 | * Note that if fflushNULL is defined, fflushall will not |
2311 | * even be probed for and will be left undefined. |
2312 | */ |
2313 | #define FFLUSH_NULL /**/ |
2314 | /*#define FFLUSH_ALL /**/ |
2315 | |
2316 | /* Fpos_t: |
2317 | * This symbol holds the type used to declare file positions in libc. |
2318 | * It can be fpos_t, long, uint, etc... It may be necessary to include |
2319 | * <sys/types.h> to get any typedef'ed information. |
2320 | */ |
2321 | #define Fpos_t fpos_t /* File position type */ |
2322 | |
2323 | /* Gid_t_f: |
2324 | * This symbol defines the format string used for printing a Gid_t. |
2325 | */ |
2326 | #define Gid_t_f "ld" /**/ |
2327 | |
2328 | /* Gid_t_sign: |
2329 | * This symbol holds the signedess of a Gid_t. |
2330 | * 1 for unsigned, -1 for signed. |
2331 | */ |
2332 | #define Gid_t_sign -1 /* GID sign */ |
2333 | |
2334 | /* Gid_t_size: |
2335 | * This symbol holds the size of a Gid_t in bytes. |
2336 | */ |
2337 | #define Gid_t_size 4 /* GID size */ |
2338 | |
2339 | /* Gid_t: |
2340 | * This symbol holds the return type of getgid() and the type of |
2341 | * argument to setrgid() and related functions. Typically, |
2342 | * it is the type of group ids in the kernel. It can be int, ushort, |
2343 | * gid_t, etc... It may be necessary to include <sys/types.h> to get |
2344 | * any typedef'ed information. |
2345 | */ |
2346 | #define Gid_t gid_t /* Type for getgid(), etc... */ |
2347 | |
2348 | /* Groups_t: |
2349 | * This symbol holds the type used for the second argument to |
2350 | * getgroups() and setgroups(). Usually, this is the same as |
2351 | * gidtype (gid_t) , but sometimes it isn't. |
2352 | * It can be int, ushort, gid_t, etc... |
2353 | * It may be necessary to include <sys/types.h> to get any |
2354 | * typedef'ed information. This is only required if you have |
2355 | * getgroups() or setgroups().. |
2356 | */ |
2357 | #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS) |
2358 | #define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */ |
2359 | #endif |
2360 | |
2361 | /* DB_Prefix_t: |
2362 | * This symbol contains the type of the prefix structure element |
2363 | * in the <db.h> header file. In older versions of DB, it was |
2364 | * int, while in newer ones it is u_int32_t. |
2365 | */ |
2366 | /* DB_Hash_t: |
2367 | * This symbol contains the type of the prefix structure element |
2368 | * in the <db.h> header file. In older versions of DB, it was |
2369 | * int, while in newer ones it is size_t. |
2370 | */ |
225a5dca |
2371 | /* DB_VERSION_MAJOR_CFG: |
2372 | * This symbol, if defined, defines the major version number of |
2373 | * Berkeley DB found in the <db.h> header when Perl was configured. |
2374 | */ |
2375 | /* DB_VERSION_MINOR_CFG: |
2376 | * This symbol, if defined, defines the minor version number of |
2377 | * Berkeley DB found in the <db.h> header when Perl was configured. |
2378 | * For DB version 1 this is always 0. |
2379 | */ |
2380 | /* DB_VERSION_PATCH_CFG: |
2381 | * This symbol, if defined, defines the patch version number of |
2382 | * Berkeley DB found in the <db.h> header when Perl was configured. |
2383 | * For DB version 1 this is always 0. |
2384 | */ |
2986a63f |
2385 | #define DB_Hash_t int /**/ |
2386 | #define DB_Prefix_t int /**/ |
225a5dca |
2387 | #define DB_VERSION_MAJOR_CFG undef /**/ |
2388 | #define DB_VERSION_MINOR_CFG undef /**/ |
2389 | #define DB_VERSION_PATCH_CFG undef /**/ |
2986a63f |
2390 | |
2391 | /* I_GRP: |
2392 | * This symbol, if defined, indicates to the C program that it should |
2393 | * include <grp.h>. |
2394 | */ |
2395 | /* GRPASSWD: |
2396 | * This symbol, if defined, indicates to the C program that struct group |
2397 | * in <grp.h> contains gr_passwd. |
2398 | */ |
2399 | /*#define I_GRP /**/ |
2400 | /*#define GRPASSWD /**/ |
2401 | |
2986a63f |
2402 | /* I_IEEEFP: |
2403 | * This symbol, if defined, indicates that <ieeefp.h> exists and |
2404 | * should be included. |
2405 | */ |
2406 | /*#define I_IEEEFP /**/ |
2407 | |
2408 | /* I_INTTYPES: |
2409 | * This symbol, if defined, indicates to the C program that it should |
2410 | * include <inttypes.h>. |
2411 | */ |
2412 | /*#define I_INTTYPES /**/ |
2413 | |
2414 | /* I_LIBUTIL: |
2415 | * This symbol, if defined, indicates that <libutil.h> exists and |
2416 | * should be included. |
2417 | */ |
2418 | /*#define I_LIBUTIL /**/ |
2419 | |
2420 | /* I_MACH_CTHREADS: |
2421 | * This symbol, if defined, indicates to the C program that it should |
2422 | * include <mach/cthreads.h>. |
2423 | */ |
2424 | /*#define I_MACH_CTHREADS /**/ |
2425 | |
2426 | /* I_MNTENT: |
2427 | * This symbol, if defined, indicates that <mntent.h> exists and |
2428 | * should be included. |
2429 | */ |
2430 | /*#define I_MNTENT /**/ |
2431 | |
2432 | /* I_NETDB: |
2433 | * This symbol, if defined, indicates that <netdb.h> exists and |
2434 | * should be included. |
2435 | */ |
2436 | #define I_NETDB /**/ |
2437 | |
2438 | /* I_NETINET_TCP: |
2439 | * This symbol, if defined, indicates to the C program that it should |
2440 | * include <netinet/tcp.h>. |
2441 | */ |
2442 | /*#define I_NETINET_TCP /**/ |
2443 | |
2444 | /* I_POLL: |
2445 | * This symbol, if defined, indicates that <poll.h> exists and |
2446 | * should be included. |
2447 | */ |
2448 | /*#define I_POLL /**/ |
2449 | |
2450 | /* I_PROT: |
2451 | * This symbol, if defined, indicates that <prot.h> exists and |
2452 | * should be included. |
2453 | */ |
2454 | /*#define I_PROT /**/ |
2455 | |
2456 | /* I_PTHREAD: |
2457 | * This symbol, if defined, indicates to the C program that it should |
2458 | * include <pthread.h>. |
2459 | */ |
2460 | /*#define I_PTHREAD /**/ |
2461 | |
2462 | /* I_PWD: |
2463 | * This symbol, if defined, indicates to the C program that it should |
2464 | * include <pwd.h>. |
2465 | */ |
2466 | /* PWQUOTA: |
2467 | * This symbol, if defined, indicates to the C program that struct passwd |
2468 | * contains pw_quota. |
2469 | */ |
2470 | /* PWAGE: |
2471 | * This symbol, if defined, indicates to the C program that struct passwd |
2472 | * contains pw_age. |
2473 | */ |
2474 | /* PWCHANGE: |
2475 | * This symbol, if defined, indicates to the C program that struct passwd |
2476 | * contains pw_change. |
2477 | */ |
2478 | /* PWCLASS: |
2479 | * This symbol, if defined, indicates to the C program that struct passwd |
2480 | * contains pw_class. |
2481 | */ |
2482 | /* PWEXPIRE: |
2483 | * This symbol, if defined, indicates to the C program that struct passwd |
2484 | * contains pw_expire. |
2485 | */ |
2486 | /* PWCOMMENT: |
2487 | * This symbol, if defined, indicates to the C program that struct passwd |
2488 | * contains pw_comment. |
2489 | */ |
2490 | /* PWGECOS: |
2491 | * This symbol, if defined, indicates to the C program that struct passwd |
2492 | * contains pw_gecos. |
2493 | */ |
2494 | /* PWPASSWD: |
2495 | * This symbol, if defined, indicates to the C program that struct passwd |
2496 | * contains pw_passwd. |
2497 | */ |
2498 | /*#define I_PWD /**/ |
2499 | /*#define PWQUOTA /**/ |
2500 | /*#define PWAGE /**/ |
2501 | /*#define PWCHANGE /**/ |
2502 | /*#define PWCLASS /**/ |
2503 | /*#define PWEXPIRE /**/ |
2504 | /*#define PWCOMMENT /**/ |
2505 | /*#define PWGECOS /**/ |
2506 | /*#define PWPASSWD /**/ |
2507 | |
2508 | /* I_SHADOW: |
2509 | * This symbol, if defined, indicates that <shadow.h> exists and |
2510 | * should be included. |
2511 | */ |
2512 | /*#define I_SHADOW /**/ |
2513 | |
2514 | /* I_SOCKS: |
2515 | * This symbol, if defined, indicates that <socks.h> exists and |
2516 | * should be included. |
2517 | */ |
2518 | /*#define I_SOCKS /**/ |
2519 | |
2520 | /* I_SUNMATH: |
2521 | * This symbol, if defined, indicates that <sunmath.h> exists and |
2522 | * should be included. |
2523 | */ |
2524 | /*#define I_SUNMATH /**/ |
2525 | |
2526 | /* I_SYSLOG: |
2527 | * This symbol, if defined, indicates that <syslog.h> exists and |
2528 | * should be included. |
2529 | */ |
2530 | /*#define I_SYSLOG /**/ |
2531 | |
2532 | /* I_SYSMODE: |
2533 | * This symbol, if defined, indicates that <sys/mode.h> exists and |
2534 | * should be included. |
2535 | */ |
2536 | /*#define I_SYSMODE /**/ |
2537 | |
2538 | /* I_SYS_MOUNT: |
2539 | * This symbol, if defined, indicates that <sys/mount.h> exists and |
2540 | * should be included. |
2541 | */ |
2542 | /*#define I_SYS_MOUNT /**/ |
2543 | |
2544 | /* I_SYS_STATFS: |
2545 | * This symbol, if defined, indicates that <sys/statfs.h> exists. |
2546 | */ |
2547 | /*#define I_SYS_STATFS /**/ |
2548 | |
2549 | /* I_SYS_STATVFS: |
2550 | * This symbol, if defined, indicates that <sys/statvfs.h> exists and |
2551 | * should be included. |
2552 | */ |
2553 | /*#define I_SYS_STATVFS /**/ |
2554 | |
2555 | /* I_SYSUIO: |
2556 | * This symbol, if defined, indicates that <sys/uio.h> exists and |
2557 | * should be included. |
2558 | */ |
2559 | /*#define I_SYSUIO /**/ |
2560 | |
2561 | /* I_SYSUTSNAME: |
2562 | * This symbol, if defined, indicates that <sys/utsname.h> exists and |
2563 | * should be included. |
2564 | */ |
2565 | #define I_SYSUTSNAME /**/ |
2566 | |
2567 | /* I_SYS_VFS: |
2568 | * This symbol, if defined, indicates that <sys/vfs.h> exists and |
2569 | * should be included. |
2570 | */ |
2571 | /*#define I_SYS_VFS /**/ |
2572 | |
2573 | /* I_TIME: |
2574 | * This symbol, if defined, indicates to the C program that it should |
2575 | * include <time.h>. |
2576 | */ |
2577 | /* I_SYS_TIME: |
2578 | * This symbol, if defined, indicates to the C program that it should |
2579 | * include <sys/time.h>. |
2580 | */ |
2581 | /* I_SYS_TIME_KERNEL: |
2582 | * This symbol, if defined, indicates to the C program that it should |
2583 | * include <sys/time.h> with KERNEL defined. |
2584 | */ |
2585 | #define I_TIME /**/ |
2586 | /*#define I_SYS_TIME /**/ |
2587 | /*#define I_SYS_TIME_KERNEL /**/ |
2588 | |
2589 | /* I_USTAT: |
2590 | * This symbol, if defined, indicates that <ustat.h> exists and |
2591 | * should be included. |
2592 | */ |
2593 | /*#define I_USTAT /**/ |
2594 | |
2595 | /* PERL_INC_VERSION_LIST: |
2596 | * This variable specifies the list of subdirectories in over |
2597 | * which perl.c:incpush() and lib/lib.pm will automatically |
2598 | * search when adding directories to @INC, in a format suitable |
2599 | * for a C initialization string. See the inc_version_list entry |
2600 | * in Porting/Glossary for more details. |
2601 | */ |
2602 | #define PERL_INC_VERSION_LIST 0 /**/ |
2603 | |
2604 | /* INSTALL_USR_BIN_PERL: |
2605 | * This symbol, if defined, indicates that Perl is to be installed |
2606 | * also as /usr/bin/perl. |
2607 | */ |
2608 | /*#define INSTALL_USR_BIN_PERL /**/ |
2609 | |
2610 | /* PERL_PRIfldbl: |
2611 | * This symbol, if defined, contains the string used by stdio to |
2612 | * format long doubles (format 'f') for output. |
2613 | */ |
2614 | /* PERL_PRIgldbl: |
2615 | * This symbol, if defined, contains the string used by stdio to |
2616 | * format long doubles (format 'g') for output. |
2617 | */ |
2618 | /* PERL_PRIeldbl: |
2619 | * This symbol, if defined, contains the string used by stdio to |
2620 | * format long doubles (format 'e') for output. |
2621 | */ |
2622 | /* PERL_SCNfldbl: |
2623 | * This symbol, if defined, contains the string used by stdio to |
2624 | * format long doubles (format 'f') for input. |
2625 | */ |
2626 | /*#define PERL_PRIfldbl "f" /**/ |
2627 | /*#define PERL_PRIgldbl "g" /**/ |
2628 | /*#define PERL_PRIeldbl "e" /**/ |
2629 | /*#define PERL_SCNfldbl undef /**/ |
2630 | |
1aa2949d |
2631 | #$d_PRIfldbl PERL_PRIfldbl $sPRIfldbl /**/ |
2632 | #$d_PRIgldbl PERL_PRIgldbl $sPRIgldbl /**/ |
2633 | #$d_PRIeldbl PERL_PRIeldbl $sPRIeldbl /**/ |
2634 | |
2635 | /*#$d_SCNfldbl PERL_SCNfldbl $sSCNfldbl /**/ |
2636 | |
2986a63f |
2637 | /* Off_t: |
2638 | * This symbol holds the type used to declare offsets in the kernel. |
2639 | * It can be int, long, off_t, etc... It may be necessary to include |
2640 | * <sys/types.h> to get any typedef'ed information. |
2641 | */ |
2642 | /* LSEEKSIZE: |
2643 | * This symbol holds the number of bytes used by the Off_t. |
2644 | */ |
2645 | /* Off_t_size: |
2646 | * This symbol holds the number of bytes used by the Off_t. |
2647 | */ |
2648 | #define Off_t off_t /* <offset> type */ |
2649 | #define LSEEKSIZE 4 /* <offset> size */ |
2650 | #define Off_t_size 4 /* <offset> size */ |
2651 | |
2652 | /* Free_t: |
2653 | * This variable contains the return type of free(). It is usually |
2654 | * void, but occasionally int. |
2655 | */ |
2656 | /* Malloc_t: |
2657 | * This symbol is the type of pointer returned by malloc and realloc. |
2658 | */ |
2659 | #define Malloc_t void * /**/ |
2660 | #define Free_t void /**/ |
2661 | |
2662 | /* MYMALLOC: |
2663 | * This symbol, if defined, indicates that we're using our own malloc. |
2664 | */ |
2665 | /*#define MYMALLOC /**/ |
2666 | |
2667 | /* Mode_t: |
2668 | * This symbol holds the type used to declare file modes |
2669 | * for systems calls. It is usually mode_t, but may be |
2670 | * int or unsigned short. It may be necessary to include <sys/types.h> |
2671 | * to get any typedef'ed information. |
2672 | */ |
2673 | #define Mode_t mode_t /* file mode parameter for system calls */ |
2674 | |
2675 | /* VAL_O_NONBLOCK: |
2676 | * This symbol is to be used during open() or fcntl(F_SETFL) to turn on |
2677 | * non-blocking I/O for the file descriptor. Note that there is no way |
2678 | * back, i.e. you cannot turn it blocking again this way. If you wish to |
2679 | * alternatively switch between blocking and non-blocking, use the |
2680 | * ioctl(FIOSNBIO) call instead, but that is not supported by all devices. |
2681 | */ |
2682 | /* VAL_EAGAIN: |
2683 | * This symbol holds the errno error code set by read() when no data was |
2684 | * present on the non-blocking file descriptor. |
2685 | */ |
2686 | /* RD_NODATA: |
2687 | * This symbol holds the return code from read() when no data is present |
2688 | * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is |
2689 | * not defined, then you can't distinguish between no data and EOF by |
2690 | * issuing a read(). You'll have to find another way to tell for sure! |
2691 | */ |
2692 | /* EOF_NONBLOCK: |
2693 | * This symbol, if defined, indicates to the C program that a read() on |
2694 | * a non-blocking file descriptor will return 0 on EOF, and not the value |
2695 | * held in RD_NODATA (-1 usually, in that case!). |
2696 | */ |
2697 | #define VAL_O_NONBLOCK O_NONBLOCK |
2698 | #define VAL_EAGAIN EAGAIN |
2699 | #define RD_NODATA -1 |
2700 | #define EOF_NONBLOCK |
2701 | |
2702 | /* NEED_VA_COPY: |
2703 | * This symbol, if defined, indicates that the system stores |
2704 | * the variable argument list datatype, va_list, in a format |
2705 | * that cannot be copied by simple assignment, so that some |
2706 | * other means must be used when copying is required. |
2707 | * As such systems vary in their provision (or non-provision) |
2708 | * of copying mechanisms, handy.h defines a platform- |
2709 | * independent macro, Perl_va_copy(src, dst), to do the job. |
2710 | */ |
2711 | /*#define NEED_VA_COPY /**/ |
2712 | |
2713 | /* Netdb_host_t: |
2714 | * This symbol holds the type used for the 1st argument |
2715 | * to gethostbyaddr(). |
2716 | */ |
2717 | /* Netdb_hlen_t: |
2718 | * This symbol holds the type used for the 2nd argument |
2719 | * to gethostbyaddr(). |
2720 | */ |
2721 | /* Netdb_name_t: |
2722 | * This symbol holds the type used for the argument to |
2723 | * gethostbyname(). |
2724 | */ |
2725 | /* Netdb_net_t: |
2726 | * This symbol holds the type used for the 1st argument to |
2727 | * getnetbyaddr(). |
2728 | */ |
2729 | #define Netdb_host_t char * /**/ |
2730 | #define Netdb_hlen_t int /**/ |
2731 | #define Netdb_name_t char * /**/ |
2732 | #define Netdb_net_t long /**/ |
2733 | |
2734 | /* PERL_OTHERLIBDIRS: |
2735 | * This variable contains a colon-separated set of paths for the perl |
2736 | * binary to search for additional library files or modules. |
2737 | * These directories will be tacked to the end of @INC. |
2738 | * Perl will automatically search below each path for version- |
2739 | * and architecture-specific directories. See PERL_INC_VERSION_LIST |
2740 | * for more details. |
2741 | */ |
2742 | /*#define PERL_OTHERLIBDIRS "undef" /**/ |
2743 | |
2744 | /* IVTYPE: |
2745 | * This symbol defines the C type used for Perl's IV. |
2746 | */ |
2747 | /* UVTYPE: |
2748 | * This symbol defines the C type used for Perl's UV. |
2749 | */ |
2750 | /* I8TYPE: |
2751 | * This symbol defines the C type used for Perl's I8. |
2752 | */ |
2753 | /* U8TYPE: |
2754 | * This symbol defines the C type used for Perl's U8. |
2755 | */ |
2756 | /* I16TYPE: |
2757 | * This symbol defines the C type used for Perl's I16. |
2758 | */ |
2759 | /* U16TYPE: |
2760 | * This symbol defines the C type used for Perl's U16. |
2761 | */ |
2762 | /* I32TYPE: |
2763 | * This symbol defines the C type used for Perl's I32. |
2764 | */ |
2765 | /* U32TYPE: |
2766 | * This symbol defines the C type used for Perl's U32. |
2767 | */ |
2768 | /* I64TYPE: |
2769 | * This symbol defines the C type used for Perl's I64. |
2770 | */ |
2771 | /* U64TYPE: |
2772 | * This symbol defines the C type used for Perl's U64. |
2773 | */ |
2774 | /* NVTYPE: |
2775 | * This symbol defines the C type used for Perl's NV. |
2776 | */ |
2777 | /* IVSIZE: |
2778 | * This symbol contains the sizeof(IV). |
2779 | */ |
2780 | /* UVSIZE: |
2781 | * This symbol contains the sizeof(UV). |
2782 | */ |
2783 | /* I8SIZE: |
2784 | * This symbol contains the sizeof(I8). |
2785 | */ |
2786 | /* U8SIZE: |
2787 | * This symbol contains the sizeof(U8). |
2788 | */ |
2789 | /* I16SIZE: |
2790 | * This symbol contains the sizeof(I16). |
2791 | */ |
2792 | /* U16SIZE: |
2793 | * This symbol contains the sizeof(U16). |
2794 | */ |
2795 | /* I32SIZE: |
2796 | * This symbol contains the sizeof(I32). |
2797 | */ |
2798 | /* U32SIZE: |
2799 | * This symbol contains the sizeof(U32). |
2800 | */ |
2801 | /* I64SIZE: |
2802 | * This symbol contains the sizeof(I64). |
2803 | */ |
2804 | /* U64SIZE: |
2805 | * This symbol contains the sizeof(U64). |
2806 | */ |
2807 | /* NVSIZE: |
2808 | * This symbol contains the sizeof(NV). |
2809 | */ |
2810 | /* NV_PRESERVES_UV: |
2811 | * This symbol, if defined, indicates that a variable of type NVTYPE |
2812 | * can preserve all the bits of a variable of type UVTYPE. |
2813 | */ |
2814 | /* NV_PRESERVES_UV_BITS: |
2815 | * This symbol contains the number of bits a variable of type NVTYPE |
2816 | * can preserve of a variable of type UVTYPE. |
2817 | */ |
2818 | #define IVTYPE long /**/ |
2819 | #define UVTYPE unsigned long /**/ |
2820 | #define I8TYPE char /**/ |
2821 | #define U8TYPE unsigned char /**/ |
2822 | #define I16TYPE short /**/ |
2823 | #define U16TYPE unsigned short /**/ |
2824 | #define I32TYPE long /**/ |
2825 | #define U32TYPE unsigned long /**/ |
2826 | #ifdef HAS_QUAD |
2827 | #define I64TYPE __int64 /**/ |
2828 | #define U64TYPE unsigned __int64 /**/ |
2829 | #endif |
2830 | #define NVTYPE double /**/ |
2831 | #define IVSIZE 4 /**/ |
2832 | #define UVSIZE 4 /**/ |
2833 | #define I8SIZE 1 /**/ |
2834 | #define U8SIZE 1 /**/ |
2835 | #define I16SIZE 2 /**/ |
2836 | #define U16SIZE 2 /**/ |
2837 | #define I32SIZE 4 /**/ |
2838 | #define U32SIZE 4 /**/ |
2839 | #ifdef HAS_QUAD |
2840 | #define I64SIZE 8 /**/ |
2841 | #define U64SIZE 8 /**/ |
2842 | #endif |
2843 | #define NVSIZE 8 /**/ |
2844 | #define NV_PRESERVES_UV |
2845 | #define NV_PRESERVES_UV_BITS undef |
2846 | |
2847 | /* IVdf: |
2848 | * This symbol defines the format string used for printing a Perl IV |
2849 | * as a signed decimal integer. |
2850 | */ |
2851 | /* UVuf: |
2852 | * This symbol defines the format string used for printing a Perl UV |
2853 | * as an unsigned decimal integer. |
2854 | */ |
2855 | /* UVof: |
2856 | * This symbol defines the format string used for printing a Perl UV |
2857 | * as an unsigned octal integer. |
2858 | */ |
2859 | /* UVxf: |
2860 | * This symbol defines the format string used for printing a Perl UV |
2861 | * as an unsigned hexadecimal integer in lowercase abcdef. |
2862 | */ |
2863 | /* UVXf: |
2864 | * This symbol defines the format string used for printing a Perl UV |
2865 | * as an unsigned hexadecimal integer in uppercase ABCDEF. |
2866 | */ |
2867 | /* NVef: |
2868 | * This symbol defines the format string used for printing a Perl NV |
2869 | * using %e-ish floating point format. |
2870 | */ |
2871 | /* NVff: |
2872 | * This symbol defines the format string used for printing a Perl NV |
2873 | * using %f-ish floating point format. |
2874 | */ |
2875 | /* NVgf: |
2876 | * This symbol defines the format string used for printing a Perl NV |
2877 | * using %g-ish floating point format. |
2878 | */ |
2879 | #define IVdf "ld" /**/ |
2880 | #define UVuf "lu" /**/ |
2881 | #define UVof "lo" /**/ |
2882 | #define UVxf "lx" /**/ |
57e69e5f |
2883 | #define UVXf "lX" /**/ |
2986a63f |
2884 | #define NVef "e" /**/ |
2885 | #define NVff "f" /**/ |
2886 | #define NVgf "g" /**/ |
2887 | |
2888 | /* Pid_t: |
2889 | * This symbol holds the type used to declare process ids in the kernel. |
2890 | * It can be int, uint, pid_t, etc... It may be necessary to include |
2891 | * <sys/types.h> to get any typedef'ed information. |
2892 | */ |
2893 | #define Pid_t int /* PID type */ |
2894 | |
2895 | /* PRIVLIB: |
2896 | * This symbol contains the name of the private library for this package. |
2897 | * The library is private in the sense that it needn't be in anyone's |
2898 | * execution path, but it should be accessible by the world. The program |
2899 | * should be prepared to do ~ expansion. |
2900 | */ |
2901 | /* PRIVLIB_EXP: |
2902 | * This symbol contains the ~name expanded version of PRIVLIB, to be used |
2903 | * in programs that are not prepared to deal with ~ expansion at run-time. |
2904 | */ |
2905 | #define PRIVLIB "sys:\\perl\\lib" /**/ |
2906 | #define PRIVLIB_EXP (fnNwGetEnvironmentStr("PRIVLIB", PRIVLIB)) /**/ |
2907 | |
2908 | /* PTRSIZE: |
2909 | * This symbol contains the size of a pointer, so that the C preprocessor |
2910 | * can make decisions based on it. It will be sizeof(void *) if |
2911 | * the compiler supports (void *); otherwise it will be |
2912 | * sizeof(char *). |
2913 | */ |
2914 | #define PTRSIZE 4 /**/ |
2915 | |
2916 | /* Drand01: |
2917 | * This macro is to be used to generate uniformly distributed |
2918 | * random numbers over the range [0., 1.[. You may have to supply |
2919 | * an 'extern double drand48();' in your program since SunOS 4.1.3 |
d6483fcc |
2920 | * doesn't provide you with anything relevant in its headers. |
2986a63f |
2921 | * See HAS_DRAND48_PROTO. |
2922 | */ |
2923 | /* Rand_seed_t: |
2924 | * This symbol defines the type of the argument of the |
2925 | * random seed function. |
2926 | */ |
2927 | /* seedDrand01: |
2928 | * This symbol defines the macro to be used in seeding the |
2929 | * random number generator (see Drand01). |
2930 | */ |
2931 | /* RANDBITS: |
2932 | * This symbol indicates how many bits are produced by the |
2933 | * function used to generate normalized random numbers. |
2934 | * Values include 15, 16, 31, and 48. |
2935 | */ |
2936 | #define Drand01() (rand()/(double)((unsigned)1<<RANDBITS)) /**/ |
2937 | #define Rand_seed_t unsigned /**/ |
2938 | #define seedDrand01(x) srand((Rand_seed_t)x) /**/ |
2939 | #define RANDBITS 15 /**/ |
2940 | |
2941 | /* SELECT_MIN_BITS: |
2942 | * This symbol holds the minimum number of bits operated by select. |
2943 | * That is, if you do select(n, ...), how many bits at least will be |
2944 | * cleared in the masks if some activity is detected. Usually this |
2945 | * is either n or 32*ceil(n/32), especially many little-endians do |
2946 | * the latter. This is only useful if you have select(), naturally. |
2947 | */ |
2948 | #define SELECT_MIN_BITS 32 /**/ |
2949 | |
2950 | /* Select_fd_set_t: |
2951 | * This symbol holds the type used for the 2nd, 3rd, and 4th |
2952 | * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET |
2953 | * is defined, and 'int *' otherwise. This is only useful if you |
2954 | * have select(), of course. |
2955 | */ |
2956 | #define Select_fd_set_t fd_set * /**/ |
2957 | |
2958 | /* SIG_NAME: |
2959 | * This symbol contains a list of signal names in order of |
2960 | * signal number. This is intended |
2961 | * to be used as a static array initialization, like this: |
2962 | * char *sig_name[] = { SIG_NAME }; |
2963 | * The signals in the list are separated with commas, and each signal |
2964 | * is surrounded by double quotes. There is no leading SIG in the signal |
2965 | * name, i.e. SIGQUIT is known as "QUIT". |
2966 | * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn, |
2967 | * etc., where nn is the actual signal number (e.g. NUM37). |
2968 | * The signal number for sig_name[i] is stored in sig_num[i]. |
2969 | * The last element is 0 to terminate the list with a NULL. This |
2970 | * corresponds to the 0 at the end of the sig_num list. |
2971 | */ |
2972 | /* SIG_NUM: |
2973 | * This symbol contains a list of signal numbers, in the same order as the |
2974 | * SIG_NAME list. It is suitable for static array initialization, as in: |
2975 | * int sig_num[] = { SIG_NUM }; |
2976 | * The signals in the list are separated with commas, and the indices |
2977 | * within that list and the SIG_NAME list match, so it's easy to compute |
2978 | * the signal name from a number or vice versa at the price of a small |
2979 | * dynamic linear lookup. |
2980 | * Duplicates are allowed, but are moved to the end of the list. |
2981 | * The signal number corresponding to sig_name[i] is sig_number[i]. |
2982 | * if (i < NSIG) then sig_number[i] == i. |
2983 | * The last element is 0, corresponding to the 0 at the end of |
2984 | * the sig_name list. |
2985 | */ |
2986 | /* SIG_SIZE: |
2987 | * This variable contains the number of elements of the sig_name |
2988 | * and sig_num arrays, excluding the final NULL entry. |
2989 | */ |
2990 | #define SIG_NAME "ZERO", "NUM01", "INT", "QUIT", "ILL", "NUM05", "NUM06", "NUM07", "FPE", "KILL", "NUM10", "SEGV", "NUM12", "PIPE", "ALRM", "TERM", "NUM16", "NUM17", "NUM18", "NUM19", "CHLD", "BREAK", "ABRT", "STOP", "NUM24", "CONT", "CLD", 0 /**/ |
2991 | #define SIG_NUM 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 20, 0 /**/ |
2992 | #define SIG_SIZE 27 /**/ |
2993 | |
2994 | /* SITEARCH: |
2995 | * This symbol contains the name of the private library for this package. |
2996 | * The library is private in the sense that it needn't be in anyone's |
2997 | * execution path, but it should be accessible by the world. The program |
2998 | * should be prepared to do ~ expansion. |
2999 | * The standard distribution will put nothing in this directory. |
3000 | * After perl has been installed, users may install their own local |
3001 | * architecture-dependent modules in this directory with |
3002 | * MakeMaker Makefile.PL |
3003 | * or equivalent. See INSTALL for details. |
3004 | */ |
3005 | /* SITEARCH_EXP: |
3006 | * This symbol contains the ~name expanded version of SITEARCH, to be used |
3007 | * in programs that are not prepared to deal with ~ expansion at run-time. |
3008 | */ |
78a7c709 |
3009 | #define SITEARCH "c:\\perl\\site\\5.9.0\\lib\\NetWare-x86-multi-thread" /**/ |
2986a63f |
3010 | /*#define SITEARCH_EXP "" /**/ |
3011 | |
3012 | /* SITELIB: |
3013 | * This symbol contains the name of the private library for this package. |
3014 | * The library is private in the sense that it needn't be in anyone's |
3015 | * execution path, but it should be accessible by the world. The program |
3016 | * should be prepared to do ~ expansion. |
3017 | * The standard distribution will put nothing in this directory. |
3018 | * After perl has been installed, users may install their own local |
3019 | * architecture-independent modules in this directory with |
3020 | * MakeMaker Makefile.PL |
3021 | * or equivalent. See INSTALL for details. |
3022 | */ |
3023 | /* SITELIB_EXP: |
3024 | * This symbol contains the ~name expanded version of SITELIB, to be used |
3025 | * in programs that are not prepared to deal with ~ expansion at run-time. |
3026 | */ |
3027 | /* SITELIB_STEM: |
3028 | * This define is SITELIB_EXP with any trailing version-specific component |
3029 | * removed. The elements in inc_version_list (inc_version_list.U) can |
3030 | * be tacked onto this variable to generate a list of directories to search. |
3031 | */ |
78a7c709 |
3032 | #define SITELIB "c:\\perl\\site\\5.9.0\\lib" /**/ |
3033 | #define SITELIB_EXP (nw_get_sitelib("5.9.0")) /**/ |
2986a63f |
3034 | #define SITELIB_STEM "" /**/ |
3035 | |
3036 | /* Size_t_size: |
3037 | * This symbol holds the size of a Size_t in bytes. |
3038 | */ |
3039 | #define Size_t_size 4 /**/ |
3040 | |
3041 | /* Size_t: |
3042 | * This symbol holds the type used to declare length parameters |
3043 | * for string functions. It is usually size_t, but may be |
3044 | * unsigned long, int, etc. It may be necessary to include |
3045 | * <sys/types.h> to get any typedef'ed information. |
3046 | */ |
3047 | #define Size_t size_t /* length paramater for string functions */ |
3048 | |
3049 | /* Sock_size_t: |
3050 | * This symbol holds the type used for the size argument of |
3051 | * various socket calls (just the base type, not the pointer-to). |
3052 | */ |
3053 | #define Sock_size_t int /**/ |
3054 | |
3055 | /* SSize_t: |
3056 | * This symbol holds the type used by functions that return |
3057 | * a count of bytes or an error condition. It must be a signed type. |
3058 | * It is usually ssize_t, but may be long or int, etc. |
3059 | * It may be necessary to include <sys/types.h> or <unistd.h> |
3060 | * to get any typedef'ed information. |
3061 | * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t). |
3062 | */ |
3063 | #define SSize_t int /* signed count of bytes */ |
3064 | |
3065 | /* STARTPERL: |
3066 | * This variable contains the string to put in front of a perl |
3067 | * script to make sure (one hopes) that it runs with perl and not |
3068 | * some shell. |
3069 | */ |
3070 | #define STARTPERL "#!perl" /**/ |
3071 | |
3072 | /* STDCHAR: |
3073 | * This symbol is defined to be the type of char used in stdio.h. |
3074 | * It has the values "unsigned char" or "char". |
3075 | */ |
3076 | #define STDCHAR char /**/ |
3077 | |
3078 | /* HAS_STDIO_STREAM_ARRAY: |
3079 | * This symbol, if defined, tells that there is an array |
3080 | * holding the stdio streams. |
3081 | */ |
3082 | /* STDIO_STREAM_ARRAY: |
3083 | * This symbol tells the name of the array holding the stdio streams. |
3084 | * Usual values include _iob, __iob, and __sF. |
3085 | */ |
3086 | /*#define HAS_STDIO_STREAM_ARRAY /**/ |
3087 | #define STDIO_STREAM_ARRAY |
3088 | |
3089 | /* Uid_t_f: |
3090 | * This symbol defines the format string used for printing a Uid_t. |
3091 | */ |
3092 | #define Uid_t_f "ld" /**/ |
3093 | |
3094 | /* Uid_t_sign: |
3095 | * This symbol holds the signedess of a Uid_t. |
3096 | * 1 for unsigned, -1 for signed. |
3097 | */ |
3098 | #define Uid_t_sign -1 /* UID sign */ |
3099 | |
3100 | /* Uid_t_size: |
3101 | * This symbol holds the size of a Uid_t in bytes. |
3102 | */ |
3103 | #define Uid_t_size 4 /* UID size */ |
3104 | |
3105 | /* Uid_t: |
3106 | * This symbol holds the type used to declare user ids in the kernel. |
3107 | * It can be int, ushort, uid_t, etc... It may be necessary to include |
3108 | * <sys/types.h> to get any typedef'ed information. |
3109 | */ |
3110 | #define Uid_t uid_t /* UID type */ |
3111 | |
3112 | /* USE_64_BIT_INT: |
3113 | * This symbol, if defined, indicates that 64-bit integers should |
3114 | * be used when available. If not defined, the native integers |
3115 | * will be employed (be they 32 or 64 bits). The minimal possible |
3116 | * 64-bitness is used, just enough to get 64-bit integers into Perl. |
3117 | * This may mean using for example "long longs", while your memory |
3118 | * may still be limited to 2 gigabytes. |
3119 | */ |
3120 | /* USE_64_BIT_ALL: |
3121 | * This symbol, if defined, indicates that 64-bit integers should |
3122 | * be used when available. If not defined, the native integers |
3123 | * will be used (be they 32 or 64 bits). The maximal possible |
3124 | * 64-bitness is employed: LP64 or ILP64, meaning that you will |
3125 | * be able to use more than 2 gigabytes of memory. This mode is |
3126 | * even more binary incompatible than USE_64_BIT_INT. You may not |
3127 | * be able to run the resulting executable in a 32-bit CPU at all or |
3128 | * you may need at least to reboot your OS to 64-bit mode. |
3129 | */ |
3130 | #ifndef USE_64_BIT_INT |
3131 | /*#define USE_64_BIT_INT /**/ |
3132 | #endif |
3133 | |
3134 | #ifndef USE_64_BIT_ALL |
3135 | /*#define USE_64_BIT_ALL /**/ |
3136 | #endif |
3137 | |
3138 | /* USE_LARGE_FILES: |
3139 | * This symbol, if defined, indicates that large file support |
3140 | * should be used when available. |
3141 | */ |
3142 | #ifndef USE_LARGE_FILES |
3143 | /*#define USE_LARGE_FILES /**/ |
3144 | #endif |
3145 | |
3146 | /* USE_LONG_DOUBLE: |
3147 | * This symbol, if defined, indicates that long doubles should |
3148 | * be used when available. |
3149 | */ |
3150 | #ifndef USE_LONG_DOUBLE |
3151 | /*#define USE_LONG_DOUBLE /**/ |
3152 | #endif |
3153 | |
3154 | /* USE_MORE_BITS: |
3155 | * This symbol, if defined, indicates that 64-bit interfaces and |
3156 | * long doubles should be used when available. |
3157 | */ |
3158 | #ifndef USE_MORE_BITS |
3159 | /*#define USE_MORE_BITS /**/ |
3160 | #endif |
3161 | |
3162 | /* MULTIPLICITY: |
3163 | * This symbol, if defined, indicates that Perl should |
3164 | * be built to use multiplicity. |
3165 | */ |
3166 | #ifndef MULTIPLICITY |
3167 | #define MULTIPLICITY /**/ |
3168 | #endif |
3169 | |
3170 | /* USE_PERLIO: |
3171 | * This symbol, if defined, indicates that the PerlIO abstraction should |
3172 | * be used throughout. If not defined, stdio should be |
3173 | * used in a fully backward compatible manner. |
3174 | */ |
3175 | #ifndef USE_PERLIO |
3176 | /*#define USE_PERLIO /**/ |
3177 | #endif |
3178 | |
3179 | /* USE_SOCKS: |
3180 | * This symbol, if defined, indicates that Perl should |
3181 | * be built to use socks. |
3182 | */ |
3183 | #ifndef USE_SOCKS |
3184 | /*#define USE_SOCKS /**/ |
3185 | #endif |
3186 | |
3187 | /* USE_ITHREADS: |
3188 | * This symbol, if defined, indicates that Perl should be built to |
3189 | * use the interpreter-based threading implementation. |
3190 | */ |
2986a63f |
3191 | /* OLD_PTHREADS_API: |
3192 | * This symbol, if defined, indicates that Perl should |
3193 | * be built to use the old draft POSIX threads API. |
3194 | */ |
225a5dca |
3195 | /* USE_REENTRANT_API: |
3196 | * This symbol, if defined, indicates that Perl should |
3197 | * try to use the various _r versions of library functions. |
3198 | * This is extremely experimental. |
3199 | */ |
2986a63f |
3200 | #define USE_ITHREADS /**/ |
2986a63f |
3201 | /*#define OLD_PTHREADS_API /**/ |
225a5dca |
3202 | /*#define USE_REENTRANT_API /**/ |
2986a63f |
3203 | |
3204 | /* PERL_VENDORARCH: |
3205 | * If defined, this symbol contains the name of a private library. |
3206 | * The library is private in the sense that it needn't be in anyone's |
3207 | * execution path, but it should be accessible by the world. |
3208 | * It may have a ~ on the front. |
3209 | * The standard distribution will put nothing in this directory. |
3210 | * Vendors who distribute perl may wish to place their own |
3211 | * architecture-dependent modules and extensions in this directory with |
3212 | * MakeMaker Makefile.PL INSTALLDIRS=vendor |
3213 | * or equivalent. See INSTALL for details. |
3214 | */ |
3215 | /* PERL_VENDORARCH_EXP: |
3216 | * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used |
3217 | * in programs that are not prepared to deal with ~ expansion at run-time. |
3218 | */ |
3219 | /*#define PERL_VENDORARCH "" /**/ |
3220 | /*#define PERL_VENDORARCH_EXP "" /**/ |
3221 | |
3222 | /* PERL_VENDORLIB_EXP: |
3223 | * This symbol contains the ~name expanded version of VENDORLIB, to be used |
3224 | * in programs that are not prepared to deal with ~ expansion at run-time. |
3225 | */ |
3226 | /* PERL_VENDORLIB_STEM: |
3227 | * This define is PERL_VENDORLIB_EXP with any trailing version-specific component |
3228 | * removed. The elements in inc_version_list (inc_version_list.U) can |
3229 | * be tacked onto this variable to generate a list of directories to search. |
3230 | */ |
3231 | /*#define PERL_VENDORLIB_EXP "" /**/ |
3232 | /*#define PERL_VENDORLIB_STEM "" /**/ |
3233 | |
3234 | /* VOIDFLAGS: |
3235 | * This symbol indicates how much support of the void type is given by this |
3236 | * compiler. What various bits mean: |
3237 | * |
3238 | * 1 = supports declaration of void |
3239 | * 2 = supports arrays of pointers to functions returning void |
3240 | * 4 = supports comparisons between pointers to void functions and |
3241 | * addresses of void functions |
3242 | * 8 = suports declaration of generic void pointers |
3243 | * |
3244 | * The package designer should define VOIDUSED to indicate the requirements |
3245 | * of the package. This can be done either by #defining VOIDUSED before |
3246 | * including config.h, or by defining defvoidused in Myinit.U. If the |
3247 | * latter approach is taken, only those flags will be tested. If the |
3248 | * level of void support necessary is not present, defines void to int. |
3249 | */ |
3250 | #ifndef VOIDUSED |
3251 | #define VOIDUSED 15 |
3252 | #endif |
3253 | #define VOIDFLAGS 15 |
3254 | #if (VOIDFLAGS & VOIDUSED) != VOIDUSED |
3255 | #define void int /* is void to be avoided? */ |
3256 | #define M_VOID /* Xenix strikes again */ |
3257 | #endif |
3258 | |
3259 | /* PERL_XS_APIVERSION: |
3260 | * This variable contains the version of the oldest perl binary |
3261 | * compatible with the present perl. perl.c:incpush() and |
78a7c709 |
3262 | * lib/lib.pm will automatically search in c:\\perl\\site\\5.9.0\\lib\\NetWare-x86-multi-thread for older |
2986a63f |
3263 | * directories across major versions back to xs_apiversion. |
3264 | * This is only useful if you have a perl library directory tree |
3265 | * structured like the default one. |
3266 | * See INSTALL for how this works. |
3267 | * The versioned site_perl directory was introduced in 5.005, |
3268 | * so that is the lowest possible value. |
08e5223a |
3269 | * Since this can depend on compile time options |
3270 | * it is set by Configure. Other non-default sources |
2986a63f |
3271 | * of potential incompatibility, such as multiplicity, threads, |
3272 | * debugging, 64bits, sfio, etc., are not checked for currently, |
3273 | * though in principle we could go snooping around in old |
3274 | * Config.pm files. |
3275 | */ |
3276 | /* PERL_PM_APIVERSION: |
3277 | * This variable contains the version of the oldest perl |
3278 | * compatible with the present perl. (That is, pure perl modules |
3279 | * written for pm_apiversion will still work for the current |
3280 | * version). perl.c:incpush() and lib/lib.pm will automatically |
78a7c709 |
3281 | * search in c:\\perl\\site\\5.9.0\\lib for older directories across major versions |
2986a63f |
3282 | * back to pm_apiversion. This is only useful if you have a perl |
3283 | * library directory tree structured like the default one. The |
3284 | * versioned site_perl library was introduced in 5.005, so that's |
3285 | * the default setting for this variable. It's hard to imagine |
3286 | * it changing before Perl6. It is included here for symmetry |
3287 | * with xs_apiveprsion -- the searching algorithms will |
3288 | * (presumably) be similar. |
3289 | * See the INSTALL file for how this works. |
3290 | */ |
78a7c709 |
3291 | #define PERL_XS_APIVERSION "5.9.0" |
2986a63f |
3292 | #define PERL_PM_APIVERSION "5.005" |
3293 | |
225a5dca |
3294 | /* SETUID_SCRIPTS_ARE_SECURE_NOW: |
3295 | * This symbol, if defined, indicates that the bug that prevents |
3296 | * setuid scripts from being secure is not present in this kernel. |
3297 | */ |
3298 | /* DOSUID: |
3299 | * This symbol, if defined, indicates that the C program should |
3300 | * check the script that it is executing for setuid/setgid bits, and |
3301 | * attempt to emulate setuid/setgid on systems that have disabled |
3302 | * setuid #! scripts because the kernel can't do it securely. |
3303 | * It is up to the package designer to make sure that this emulation |
3304 | * is done securely. Among other things, it should do an fstat on |
3305 | * the script it just opened to make sure it really is a setuid/setgid |
3306 | * script, it should make sure the arguments passed correspond exactly |
3307 | * to the argument on the #! line, and it should not trust any |
3308 | * subprocesses to which it must pass the filename rather than the |
3309 | * file descriptor of the script to be executed. |
3310 | */ |
3311 | /*#define SETUID_SCRIPTS_ARE_SECURE_NOW /**/ |
3312 | /*#define DOSUID /**/ |
3313 | |
3314 | /* I_STDARG: |
3315 | * This symbol, if defined, indicates that <stdarg.h> exists and should |
3316 | * be included. |
3317 | */ |
3318 | /* I_VARARGS: |
3319 | * This symbol, if defined, indicates to the C program that it should |
3320 | * include <varargs.h>. |
3321 | */ |
3322 | #define I_STDARG /**/ |
3323 | /*#define I_VARARGS /**/ |
3324 | |
3325 | /* USE_CROSS_COMPILE: |
3326 | * This symbol, if defined, indicates that Perl is being cross-compiled. |
3327 | */ |
3328 | /* PERL_TARGETARCH: |
3329 | * This symbol, if defined, indicates the target architecture |
3330 | * Perl has been cross-compiled to. Undefined if not a cross-compile. |
3331 | */ |
3332 | #ifndef USE_CROSS_COMPILE |
3333 | /*#define USE_CROSS_COMPILE /**/ |
3334 | #define PERL_TARGETARCH "undef" /**/ |
3335 | #endif |
3336 | |
3337 | /* HAS_DBMINIT_PROTO: |
3338 | * This symbol, if defined, indicates that the system provides |
3339 | * a prototype for the dbminit() function. Otherwise, it is up |
3340 | * to the program to supply one. A good guess is |
3341 | * extern int dbminit(char *); |
3342 | */ |
3343 | /*#define HAS_DBMINIT_PROTO /**/ |
3344 | |
3345 | /* HAS_FLOCK_PROTO: |
3346 | * This symbol, if defined, indicates that the system provides |
3347 | * a prototype for the flock() function. Otherwise, it is up |
3348 | * to the program to supply one. A good guess is |
3349 | * extern int flock(int, int); |
3350 | */ |
3351 | /*#define HAS_FLOCK_PROTO /**/ |
3352 | |
3353 | /* HAS_REALPATH: |
3354 | * This symbol, if defined, indicates that the realpath routine is |
3355 | * available to do resolve paths. |
3356 | */ |
3357 | /*#define HAS_REALPATH /**/ |
3358 | |
2986a63f |
3359 | /* HAS_SIGPROCMASK: |
3360 | * This symbol, if defined, indicates that the sigprocmask |
3361 | * system call is available to examine or change the signal mask |
3362 | * of the calling process. |
3363 | */ |
3364 | /*#define HAS_SIGPROCMASK /**/ |
3365 | |
3366 | /* HAS_SOCKATMARK: |
3367 | * This symbol, if defined, indicates that the sockatmark routine is |
3368 | * available to test whether a socket is at the out-of-band mark. |
3369 | */ |
3370 | /*#define HAS_SOCKATMARK /**/ |
3371 | |
225a5dca |
3372 | /* HAS_SOCKATMARK_PROTO: |
3373 | * This symbol, if defined, indicates that the system provides |
3374 | * a prototype for the sockatmark() function. Otherwise, it is up |
3375 | * to the program to supply one. A good guess is |
f51dccfd |
3376 | * extern int sockatmark(int); |
225a5dca |
3377 | */ |
3378 | /*#define HAS_SOCKATMARK_PROTO /**/ |
3379 | |
3380 | /* HAS_SETRESGID_PROTO: |
3381 | * This symbol, if defined, indicates that the system provides |
3382 | * a prototype for the setresgid() function. Otherwise, it is up |
3383 | * to the program to supply one. Good guesses are |
3384 | * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid); |
3385 | */ |
3386 | /*#define HAS_SETRESGID_PROTO /**/ |
3387 | |
3388 | /* HAS_SETRESUID_PROTO: |
3389 | * This symbol, if defined, indicates that the system provides |
3390 | * a prototype for the setresuid() function. Otherwise, it is up |
3391 | * to the program to supply one. Good guesses are |
3392 | * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid); |
3393 | */ |
3394 | /*#define HAS_SETRESUID_PROTO /**/ |
3395 | |
3396 | /* HAS_STRFTIME: |
3397 | * This symbol, if defined, indicates that the strftime routine is |
3398 | * available to do time formatting. |
3399 | */ |
32ce01bc |
3400 | #define HAS_STRFTIME /**/ |
225a5dca |
3401 | |
3402 | /* HAS_SYSCALL_PROTO: |
3403 | * This symbol, if defined, indicates that the system provides |
3404 | * a prototype for the syscall() function. Otherwise, it is up |
3405 | * to the program to supply one. Good guesses are |
3406 | * extern int syscall(int, ...); |
3407 | * extern int syscall(long, ...); |
3408 | */ |
3409 | /*#define HAS_SYSCALL_PROTO /**/ |
3410 | |
2986a63f |
3411 | /* U32_ALIGNMENT_REQUIRED: |
3412 | * This symbol, if defined, indicates that you must access |
3413 | * character data through U32-aligned pointers. |
3414 | */ |
3415 | /*#define U32_ALIGNMENT_REQUIRED /**/ |
3416 | |
225a5dca |
3417 | /* HAS_USLEEP_PROTO: |
3418 | * This symbol, if defined, indicates that the system provides |
3419 | * a prototype for the usleep() function. Otherwise, it is up |
3420 | * to the program to supply one. A good guess is |
3421 | * extern int usleep(useconds_t); |
3422 | */ |
3423 | /*#define HAS_USLEEP_PROTO /**/ |
3424 | |
d6483fcc |
3425 | /* HAS_PTHREAD_ATFORK: |
3426 | * This symbol, if defined, indicates that the pthread_atfork routine |
3427 | * is available setup fork handlers. |
3428 | */ |
3429 | /*#define HAS_PTHREAD_ATFORK /**/ |
3430 | |
2986a63f |
3431 | #endif |