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