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