Commit | Line | Data |
---|---|---|
aa86d596 | 1 | /* This file was produced by running the config_h.SH script, which |
3ebb1980 JH |
2 | * gets its values from uconfig.sh, which is generally produced by |
3 | * running Configure. | |
4 | * | |
5 | * Feel free to modify any of this as the need arises. Note, however, | |
6 | * that running config_h.SH again will wipe out any changes you've made. | |
7 | * For a more permanent change edit uconfig.sh and rerun config_h.SH. | |
3ebb1980 JH |
8 | */ |
9 | ||
aa86d596 | 10 | /* Package name : perl5 |
9244ff22 SP |
11 | * Source directory : . |
12 | * Configuration time: Thu Jan 1 00:00:00 GMT 1970 | |
13 | * Configured by : root@localhost | |
3ebb1980 JH |
14 | * Target system : unknown |
15 | */ | |
16 | ||
17 | #ifndef _config_h_ | |
18 | #define _config_h_ | |
19 | ||
20 | /* LOC_SED: | |
21 | * This symbol holds the complete pathname to the sed program. | |
22 | */ | |
23 | #define LOC_SED "" /**/ | |
24 | ||
25 | /* HAS_ALARM: | |
26 | * This symbol, if defined, indicates that the alarm routine is | |
27 | * available. | |
28 | */ | |
29 | /*#define HAS_ALARM / **/ | |
30 | ||
3ebb1980 JH |
31 | /* HAS_BCMP: |
32 | * This symbol is defined if the bcmp() routine is available to | |
33 | * compare blocks of memory. | |
34 | */ | |
35 | /*#define HAS_BCMP / **/ | |
36 | ||
37 | /* HAS_BCOPY: | |
38 | * This symbol is defined if the bcopy() routine is available to | |
39 | * copy blocks of memory. | |
40 | */ | |
41 | /*#define HAS_BCOPY / **/ | |
42 | ||
43 | /* HAS_BZERO: | |
44 | * This symbol is defined if the bzero() routine is available to | |
45 | * set a memory block to 0. | |
46 | */ | |
47 | /*#define HAS_BZERO / **/ | |
48 | ||
49 | /* HAS_CHOWN: | |
50 | * This symbol, if defined, indicates that the chown routine is | |
51 | * available. | |
52 | */ | |
53 | /*#define HAS_CHOWN / **/ | |
54 | ||
55 | /* HAS_CHROOT: | |
56 | * This symbol, if defined, indicates that the chroot routine is | |
57 | * available. | |
58 | */ | |
59 | /*#define HAS_CHROOT / **/ | |
60 | ||
61 | /* HAS_CHSIZE: | |
62 | * This symbol, if defined, indicates that the chsize routine is available | |
63 | * to truncate files. You might need a -lx to get this routine. | |
64 | */ | |
65 | /*#define HAS_CHSIZE / **/ | |
66 | ||
0639114f NC |
67 | /* HAS_CRYPT: |
68 | * This symbol, if defined, indicates that the crypt routine is available | |
69 | * to encrypt passwords and the like. | |
70 | */ | |
71 | /*#define HAS_CRYPT / **/ | |
72 | ||
9244ff22 SP |
73 | /* HAS_CTERMID: |
74 | * This symbol, if defined, indicates that the ctermid routine is | |
75 | * available to generate filename for terminal. | |
3ebb1980 | 76 | */ |
9244ff22 | 77 | /*#define HAS_CTERMID / **/ |
3ebb1980 | 78 | |
3ebb1980 JH |
79 | /* HAS_CUSERID: |
80 | * This symbol, if defined, indicates that the cuserid routine is | |
81 | * available to get character login names. | |
82 | */ | |
83 | /*#define HAS_CUSERID / **/ | |
84 | ||
85 | /* HAS_DBL_DIG: | |
86 | * This symbol, if defined, indicates that this system's <float.h> | |
87 | * or <limits.h> defines the symbol DBL_DIG, which is the number | |
88 | * of significant digits in a double precision number. If this | |
89 | * symbol is not defined, a guess of 15 is usually pretty good. | |
90 | */ | |
44f645e8 | 91 | /*#define HAS_DBL_DIG / **/ |
3ebb1980 JH |
92 | |
93 | /* HAS_DIFFTIME: | |
94 | * This symbol, if defined, indicates that the difftime routine is | |
95 | * available. | |
96 | */ | |
97 | /*#define HAS_DIFFTIME / **/ | |
98 | ||
99 | /* HAS_DLERROR: | |
100 | * This symbol, if defined, indicates that the dlerror routine is | |
101 | * available to return a string describing the last error that | |
102 | * occurred from a call to dlopen(), dlclose() or dlsym(). | |
103 | */ | |
104 | /*#define HAS_DLERROR / **/ | |
105 | ||
3ebb1980 JH |
106 | /* HAS_DUP2: |
107 | * This symbol, if defined, indicates that the dup2 routine is | |
108 | * available to duplicate file descriptors. | |
109 | */ | |
110 | /*#define HAS_DUP2 / **/ | |
111 | ||
112 | /* HAS_FCHMOD: | |
113 | * This symbol, if defined, indicates that the fchmod routine is available | |
114 | * to change mode of opened files. If unavailable, use chmod(). | |
115 | */ | |
116 | /*#define HAS_FCHMOD / **/ | |
117 | ||
118 | /* HAS_FCHOWN: | |
119 | * This symbol, if defined, indicates that the fchown routine is available | |
120 | * to change ownership of opened files. If unavailable, use chown(). | |
121 | */ | |
122 | /*#define HAS_FCHOWN / **/ | |
123 | ||
124 | /* HAS_FCNTL: | |
125 | * This symbol, if defined, indicates to the C program that | |
126 | * the fcntl() function exists. | |
127 | */ | |
128 | /*#define HAS_FCNTL / **/ | |
129 | ||
130 | /* HAS_FGETPOS: | |
131 | * This symbol, if defined, indicates that the fgetpos routine is | |
132 | * available to get the file position indicator, similar to ftell(). | |
133 | */ | |
134 | /*#define HAS_FGETPOS / **/ | |
135 | ||
136 | /* HAS_FLOCK: | |
137 | * This symbol, if defined, indicates that the flock routine is | |
138 | * available to do file locking. | |
139 | */ | |
140 | /*#define HAS_FLOCK / **/ | |
141 | ||
142 | /* HAS_FORK: | |
143 | * This symbol, if defined, indicates that the fork routine is | |
144 | * available. | |
145 | */ | |
146 | #define HAS_FORK /**/ | |
147 | ||
148 | /* HAS_FSETPOS: | |
149 | * This symbol, if defined, indicates that the fsetpos routine is | |
150 | * available to set the file position indicator, similar to fseek(). | |
151 | */ | |
152 | /*#define HAS_FSETPOS / **/ | |
153 | ||
154 | /* HAS_GETTIMEOFDAY: | |
155 | * This symbol, if defined, indicates that the gettimeofday() system | |
156 | * call is available for a sub-second accuracy clock. Usually, the file | |
157 | * <sys/resource.h> needs to be included (see I_SYS_RESOURCE). | |
158 | * The type "Timeval" should be used to refer to "struct timeval". | |
159 | */ | |
160 | /*#define HAS_GETTIMEOFDAY / **/ | |
161 | #ifdef HAS_GETTIMEOFDAY | |
162 | #define Timeval struct timeval /* Structure used by gettimeofday() */ | |
163 | #endif | |
164 | ||
165 | /* HAS_GETGROUPS: | |
166 | * This symbol, if defined, indicates that the getgroups() routine is | |
167 | * available to get the list of process groups. If unavailable, multiple | |
168 | * groups are probably not supported. | |
169 | */ | |
170 | /*#define HAS_GETGROUPS / **/ | |
171 | ||
172 | /* HAS_GETLOGIN: | |
173 | * This symbol, if defined, indicates that the getlogin routine is | |
174 | * available to get the login name. | |
175 | */ | |
176 | /*#define HAS_GETLOGIN / **/ | |
177 | ||
178 | /* HAS_GETPGID: | |
179 | * This symbol, if defined, indicates to the C program that | |
180 | * the getpgid(pid) function is available to get the | |
181 | * process group id. | |
182 | */ | |
183 | /*#define HAS_GETPGID / **/ | |
184 | ||
3ebb1980 JH |
185 | /* HAS_GETPGRP2: |
186 | * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX) | |
187 | * routine is available to get the current process group. | |
188 | */ | |
189 | /*#define HAS_GETPGRP2 / **/ | |
190 | ||
191 | /* HAS_GETPPID: | |
192 | * This symbol, if defined, indicates that the getppid routine is | |
193 | * available to get the parent process ID. | |
194 | */ | |
195 | /*#define HAS_GETPPID / **/ | |
196 | ||
197 | /* HAS_GETPRIORITY: | |
198 | * This symbol, if defined, indicates that the getpriority routine is | |
199 | * available to get a process's priority. | |
200 | */ | |
201 | /*#define HAS_GETPRIORITY / **/ | |
202 | ||
203 | /* HAS_INET_ATON: | |
204 | * This symbol, if defined, indicates to the C program that the | |
205 | * inet_aton() function is available to parse IP address "dotted-quad" | |
206 | * strings. | |
207 | */ | |
208 | /*#define HAS_INET_ATON / **/ | |
209 | ||
210 | /* HAS_KILLPG: | |
211 | * This symbol, if defined, indicates that the killpg routine is available | |
212 | * to kill process groups. If unavailable, you probably should use kill | |
213 | * with a negative process number. | |
214 | */ | |
215 | /*#define HAS_KILLPG / **/ | |
216 | ||
217 | /* HAS_LINK: | |
218 | * This symbol, if defined, indicates that the link routine is | |
219 | * available to create hard links. | |
220 | */ | |
221 | /*#define HAS_LINK / **/ | |
222 | ||
223 | /* HAS_LOCALECONV: | |
224 | * This symbol, if defined, indicates that the localeconv routine is | |
225 | * available for numeric and monetary formatting conventions. | |
226 | */ | |
227 | /*#define HAS_LOCALECONV / **/ | |
228 | ||
229 | /* HAS_LOCKF: | |
230 | * This symbol, if defined, indicates that the lockf routine is | |
231 | * available to do file locking. | |
232 | */ | |
233 | /*#define HAS_LOCKF / **/ | |
234 | ||
235 | /* HAS_LSTAT: | |
236 | * This symbol, if defined, indicates that the lstat routine is | |
237 | * available to do file stats on symbolic links. | |
238 | */ | |
239 | /*#define HAS_LSTAT / **/ | |
240 | ||
241 | /* HAS_MBLEN: | |
242 | * This symbol, if defined, indicates that the mblen routine is available | |
243 | * to find the number of bytes in a multibye character. | |
244 | */ | |
245 | /*#define HAS_MBLEN / **/ | |
246 | ||
247 | /* HAS_MBSTOWCS: | |
248 | * This symbol, if defined, indicates that the mbstowcs routine is | |
249 | * available to covert a multibyte string into a wide character string. | |
250 | */ | |
251 | /*#define HAS_MBSTOWCS / **/ | |
252 | ||
253 | /* HAS_MBTOWC: | |
254 | * This symbol, if defined, indicates that the mbtowc routine is available | |
255 | * to covert a multibyte to a wide character. | |
256 | */ | |
257 | /*#define HAS_MBTOWC / **/ | |
258 | ||
259 | /* HAS_MEMCMP: | |
260 | * This symbol, if defined, indicates that the memcmp routine is available | |
261 | * to compare blocks of memory. | |
262 | */ | |
535ceeb0 | 263 | #define HAS_MEMCMP /**/ |
3ebb1980 JH |
264 | |
265 | /* HAS_MEMCPY: | |
266 | * This symbol, if defined, indicates that the memcpy routine is available | |
267 | * to copy blocks of memory. | |
268 | */ | |
535ceeb0 | 269 | #define HAS_MEMCPY /**/ |
3ebb1980 JH |
270 | |
271 | /* HAS_MEMMOVE: | |
272 | * This symbol, if defined, indicates that the memmove routine is available | |
273 | * to copy potentially overlapping blocks of memory. This should be used | |
274 | * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your | |
275 | * own version. | |
276 | */ | |
277 | /*#define HAS_MEMMOVE / **/ | |
278 | ||
279 | /* HAS_MEMSET: | |
280 | * This symbol, if defined, indicates that the memset routine is available | |
281 | * to set blocks of memory. | |
282 | */ | |
59ac522e | 283 | #define HAS_MEMSET /**/ |
3ebb1980 JH |
284 | |
285 | /* HAS_MKDIR: | |
286 | * This symbol, if defined, indicates that the mkdir routine is available | |
287 | * to create directories. Otherwise you should fork off a new process to | |
288 | * exec /bin/mkdir. | |
289 | */ | |
290 | /*#define HAS_MKDIR / **/ | |
291 | ||
292 | /* HAS_MKFIFO: | |
293 | * This symbol, if defined, indicates that the mkfifo routine is | |
294 | * available to create FIFOs. Otherwise, mknod should be able to | |
295 | * do it for you. However, if mkfifo is there, mknod might require | |
296 | * super-user privileges which mkfifo will not. | |
297 | */ | |
298 | /*#define HAS_MKFIFO / **/ | |
299 | ||
300 | /* HAS_MKTIME: | |
301 | * This symbol, if defined, indicates that the mktime routine is | |
302 | * available. | |
303 | */ | |
304 | /*#define HAS_MKTIME / **/ | |
305 | ||
306 | /* HAS_MSYNC: | |
307 | * This symbol, if defined, indicates that the msync system call is | |
308 | * available to synchronize a mapped file. | |
309 | */ | |
310 | /*#define HAS_MSYNC / **/ | |
311 | ||
312 | /* HAS_MUNMAP: | |
313 | * This symbol, if defined, indicates that the munmap system call is | |
314 | * available to unmap a region, usually mapped by mmap(). | |
315 | */ | |
316 | /*#define HAS_MUNMAP / **/ | |
317 | ||
318 | /* HAS_NICE: | |
319 | * This symbol, if defined, indicates that the nice routine is | |
320 | * available. | |
321 | */ | |
322 | /*#define HAS_NICE / **/ | |
323 | ||
324 | /* HAS_PATHCONF: | |
325 | * This symbol, if defined, indicates that pathconf() is available | |
326 | * to determine file-system related limits and options associated | |
327 | * with a given filename. | |
328 | */ | |
329 | /* HAS_FPATHCONF: | |
330 | * This symbol, if defined, indicates that pathconf() is available | |
331 | * to determine file-system related limits and options associated | |
332 | * with a given open file descriptor. | |
333 | */ | |
334 | /*#define HAS_PATHCONF / **/ | |
335 | /*#define HAS_FPATHCONF / **/ | |
336 | ||
337 | /* HAS_PAUSE: | |
338 | * This symbol, if defined, indicates that the pause routine is | |
339 | * available to suspend a process until a signal is received. | |
340 | */ | |
341 | /*#define HAS_PAUSE / **/ | |
342 | ||
343 | /* HAS_PIPE: | |
344 | * This symbol, if defined, indicates that the pipe routine is | |
345 | * available to create an inter-process channel. | |
346 | */ | |
347 | /*#define HAS_PIPE / **/ | |
348 | ||
0639114f NC |
349 | /* HAS_POLL: |
350 | * This symbol, if defined, indicates that the poll routine is | |
351 | * available to poll active file descriptors. Please check I_POLL and | |
352 | * I_SYS_POLL to know which header should be included as well. | |
353 | */ | |
354 | /*#define HAS_POLL / **/ | |
355 | ||
3ebb1980 JH |
356 | /* HAS_READDIR: |
357 | * This symbol, if defined, indicates that the readdir routine is | |
358 | * available to read directory entries. You may have to include | |
359 | * <dirent.h>. See I_DIRENT. | |
360 | */ | |
2f42fcb0 | 361 | #define HAS_READDIR /**/ |
3ebb1980 JH |
362 | |
363 | /* HAS_SEEKDIR: | |
364 | * This symbol, if defined, indicates that the seekdir routine is | |
365 | * available. You may have to include <dirent.h>. See I_DIRENT. | |
366 | */ | |
367 | /*#define HAS_SEEKDIR / **/ | |
368 | ||
369 | /* HAS_TELLDIR: | |
370 | * This symbol, if defined, indicates that the telldir routine is | |
371 | * available. You may have to include <dirent.h>. See I_DIRENT. | |
372 | */ | |
373 | /*#define HAS_TELLDIR / **/ | |
374 | ||
375 | /* HAS_REWINDDIR: | |
376 | * This symbol, if defined, indicates that the rewinddir routine is | |
377 | * available. You may have to include <dirent.h>. See I_DIRENT. | |
378 | */ | |
379 | /*#define HAS_REWINDDIR / **/ | |
380 | ||
381 | /* HAS_READLINK: | |
382 | * This symbol, if defined, indicates that the readlink routine is | |
383 | * available to read the value of a symbolic link. | |
384 | */ | |
385 | /*#define HAS_READLINK / **/ | |
386 | ||
387 | /* HAS_RENAME: | |
388 | * This symbol, if defined, indicates that the rename routine is available | |
389 | * to rename files. Otherwise you should do the unlink(), link(), unlink() | |
390 | * trick. | |
391 | */ | |
2f42fcb0 | 392 | #define HAS_RENAME /**/ |
3ebb1980 JH |
393 | |
394 | /* HAS_RMDIR: | |
395 | * This symbol, if defined, indicates that the rmdir routine is | |
396 | * available to remove directories. Otherwise you should fork off a | |
397 | * new process to exec /bin/rmdir. | |
398 | */ | |
399 | /*#define HAS_RMDIR / **/ | |
400 | ||
401 | /* HAS_SELECT: | |
402 | * This symbol, if defined, indicates that the select routine is | |
403 | * available to select active file descriptors. If the timeout field | |
404 | * is used, <sys/time.h> may need to be included. | |
405 | */ | |
406 | /*#define HAS_SELECT / **/ | |
407 | ||
408 | /* HAS_SETEGID: | |
409 | * This symbol, if defined, indicates that the setegid routine is available | |
410 | * to change the effective gid of the current program. | |
411 | */ | |
412 | /*#define HAS_SETEGID / **/ | |
413 | ||
414 | /* HAS_SETEUID: | |
415 | * This symbol, if defined, indicates that the seteuid routine is available | |
416 | * to change the effective uid of the current program. | |
417 | */ | |
418 | /*#define HAS_SETEUID / **/ | |
419 | ||
0639114f NC |
420 | /* HAS_SETGROUPS: |
421 | * This symbol, if defined, indicates that the setgroups() routine is | |
422 | * available to set the list of process groups. If unavailable, multiple | |
423 | * groups are probably not supported. | |
424 | */ | |
425 | /*#define HAS_SETGROUPS / **/ | |
426 | ||
3ebb1980 JH |
427 | /* HAS_SETLINEBUF: |
428 | * This symbol, if defined, indicates that the setlinebuf routine is | |
429 | * available to change stderr or stdout from block-buffered or unbuffered | |
430 | * to a line-buffered mode. | |
431 | */ | |
432 | /*#define HAS_SETLINEBUF / **/ | |
433 | ||
434 | /* HAS_SETLOCALE: | |
435 | * This symbol, if defined, indicates that the setlocale routine is | |
436 | * available to handle locale-specific ctype implementations. | |
437 | */ | |
438 | /*#define HAS_SETLOCALE / **/ | |
439 | ||
440 | /* HAS_SETPGID: | |
441 | * This symbol, if defined, indicates that the setpgid(pid, gpid) | |
442 | * routine is available to set process group ID. | |
443 | */ | |
444 | /*#define HAS_SETPGID / **/ | |
445 | ||
3ebb1980 JH |
446 | /* HAS_SETPGRP2: |
447 | * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX) | |
448 | * routine is available to set the current process group. | |
449 | */ | |
450 | /*#define HAS_SETPGRP2 / **/ | |
451 | ||
452 | /* HAS_SETPRIORITY: | |
453 | * This symbol, if defined, indicates that the setpriority routine is | |
454 | * available to set a process's priority. | |
455 | */ | |
456 | /*#define HAS_SETPRIORITY / **/ | |
457 | ||
458 | /* HAS_SETREGID: | |
459 | * This symbol, if defined, indicates that the setregid routine is | |
460 | * available to change the real and effective gid of the current | |
461 | * process. | |
462 | */ | |
463 | /* HAS_SETRESGID: | |
464 | * This symbol, if defined, indicates that the setresgid routine is | |
465 | * available to change the real, effective and saved gid of the current | |
466 | * process. | |
467 | */ | |
468 | /*#define HAS_SETREGID / **/ | |
469 | /*#define HAS_SETRESGID / **/ | |
470 | ||
471 | /* HAS_SETREUID: | |
472 | * This symbol, if defined, indicates that the setreuid routine is | |
473 | * available to change the real and effective uid of the current | |
474 | * process. | |
475 | */ | |
476 | /* HAS_SETRESUID: | |
477 | * This symbol, if defined, indicates that the setresuid routine is | |
478 | * available to change the real, effective and saved uid of the current | |
479 | * process. | |
480 | */ | |
481 | /*#define HAS_SETREUID / **/ | |
482 | /*#define HAS_SETRESUID / **/ | |
483 | ||
484 | /* HAS_SETRGID: | |
485 | * This symbol, if defined, indicates that the setrgid routine is available | |
486 | * to change the real gid of the current program. | |
487 | */ | |
488 | /*#define HAS_SETRGID / **/ | |
489 | ||
490 | /* HAS_SETRUID: | |
491 | * This symbol, if defined, indicates that the setruid routine is available | |
492 | * to change the real uid of the current program. | |
493 | */ | |
494 | /*#define HAS_SETRUID / **/ | |
495 | ||
496 | /* HAS_SETSID: | |
497 | * This symbol, if defined, indicates that the setsid routine is | |
498 | * available to set the process group ID. | |
499 | */ | |
500 | /*#define HAS_SETSID / **/ | |
501 | ||
3ebb1980 JH |
502 | /* HAS_STRCHR: |
503 | * This symbol is defined to indicate that the strchr()/strrchr() | |
504 | * functions are available for string searching. If not, try the | |
505 | * index()/rindex() pair. | |
506 | */ | |
507 | /* HAS_INDEX: | |
508 | * This symbol is defined to indicate that the index()/rindex() | |
509 | * functions are available for string searching. | |
510 | */ | |
511 | /*#define HAS_STRCHR / **/ | |
512 | /*#define HAS_INDEX / **/ | |
513 | ||
514 | /* HAS_STRCOLL: | |
515 | * This symbol, if defined, indicates that the strcoll routine is | |
516 | * available to compare strings using collating information. | |
517 | */ | |
518 | /*#define HAS_STRCOLL / **/ | |
519 | ||
3ebb1980 JH |
520 | /* HAS_STRTOD: |
521 | * This symbol, if defined, indicates that the strtod routine is | |
522 | * available to provide better numeric string conversion than atof(). | |
523 | */ | |
524 | /*#define HAS_STRTOD / **/ | |
525 | ||
526 | /* HAS_STRTOL: | |
527 | * This symbol, if defined, indicates that the strtol routine is available | |
528 | * to provide better numeric string conversion than atoi() and friends. | |
529 | */ | |
d40eae8f | 530 | #define HAS_STRTOL /**/ |
3ebb1980 | 531 | |
3ebb1980 JH |
532 | /* HAS_STRXFRM: |
533 | * This symbol, if defined, indicates that the strxfrm() routine is | |
534 | * available to transform strings. | |
535 | */ | |
536 | /*#define HAS_STRXFRM / **/ | |
537 | ||
538 | /* HAS_SYMLINK: | |
539 | * This symbol, if defined, indicates that the symlink routine is available | |
540 | * to create symbolic links. | |
541 | */ | |
542 | /*#define HAS_SYMLINK / **/ | |
543 | ||
544 | /* HAS_SYSCALL: | |
545 | * This symbol, if defined, indicates that the syscall routine is | |
546 | * available to call arbitrary system calls. If undefined, that's tough. | |
547 | */ | |
548 | /*#define HAS_SYSCALL / **/ | |
549 | ||
550 | /* HAS_SYSCONF: | |
551 | * This symbol, if defined, indicates that sysconf() is available | |
552 | * to determine system related limits and options. | |
553 | */ | |
554 | /*#define HAS_SYSCONF / **/ | |
555 | ||
556 | /* HAS_SYSTEM: | |
557 | * This symbol, if defined, indicates that the system routine is | |
558 | * available to issue a shell command. | |
559 | */ | |
560 | /*#define HAS_SYSTEM / **/ | |
561 | ||
562 | /* HAS_TCGETPGRP: | |
563 | * This symbol, if defined, indicates that the tcgetpgrp routine is | |
564 | * available to get foreground process group ID. | |
565 | */ | |
566 | /*#define HAS_TCGETPGRP / **/ | |
567 | ||
568 | /* HAS_TCSETPGRP: | |
569 | * This symbol, if defined, indicates that the tcsetpgrp routine is | |
570 | * available to set foreground process group ID. | |
571 | */ | |
572 | /*#define HAS_TCSETPGRP / **/ | |
573 | ||
574 | /* HAS_TRUNCATE: | |
575 | * This symbol, if defined, indicates that the truncate routine is | |
576 | * available to truncate files. | |
577 | */ | |
578 | /*#define HAS_TRUNCATE / **/ | |
579 | ||
580 | /* HAS_TZNAME: | |
581 | * This symbol, if defined, indicates that the tzname[] array is | |
582 | * available to access timezone names. | |
583 | */ | |
584 | /*#define HAS_TZNAME / **/ | |
585 | ||
586 | /* HAS_UMASK: | |
587 | * This symbol, if defined, indicates that the umask routine is | |
588 | * available to set and get the value of the file creation mask. | |
589 | */ | |
590 | /*#define HAS_UMASK / **/ | |
591 | ||
4e0554ec JH |
592 | /* HAS_USLEEP: |
593 | * This symbol, if defined, indicates that the usleep routine is | |
594 | * available to let the process sleep on a sub-second accuracy. | |
595 | */ | |
596 | /*#define HAS_USLEEP / **/ | |
597 | ||
3ebb1980 JH |
598 | /* HAS_WAIT4: |
599 | * This symbol, if defined, indicates that wait4() exists. | |
600 | */ | |
601 | /*#define HAS_WAIT4 / **/ | |
602 | ||
603 | /* HAS_WAITPID: | |
604 | * This symbol, if defined, indicates that the waitpid routine is | |
605 | * available to wait for child process. | |
606 | */ | |
607 | /*#define HAS_WAITPID / **/ | |
608 | ||
609 | /* HAS_WCSTOMBS: | |
610 | * This symbol, if defined, indicates that the wcstombs routine is | |
611 | * available to convert wide character strings to multibyte strings. | |
612 | */ | |
613 | /*#define HAS_WCSTOMBS / **/ | |
614 | ||
615 | /* HAS_WCTOMB: | |
616 | * This symbol, if defined, indicates that the wctomb routine is available | |
617 | * to covert a wide character to a multibyte. | |
618 | */ | |
619 | /*#define HAS_WCTOMB / **/ | |
620 | ||
0639114f NC |
621 | /* Groups_t: |
622 | * This symbol holds the type used for the second argument to | |
623 | * getgroups() and setgroups(). Usually, this is the same as | |
624 | * gidtype (gid_t) , but sometimes it isn't. | |
625 | * It can be int, ushort, gid_t, etc... | |
626 | * It may be necessary to include <sys/types.h> to get any | |
627 | * typedef'ed information. This is only required if you have | |
628 | * getgroups() or setgroups().. | |
629 | */ | |
630 | #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS) | |
631 | #define Groups_t int /* Type for 2nd arg to [sg]etgroups() */ | |
632 | #endif | |
633 | ||
3ebb1980 JH |
634 | /* I_ARPA_INET: |
635 | * This symbol, if defined, indicates to the C program that it should | |
636 | * include <arpa/inet.h> to get inet_addr and friends declarations. | |
637 | */ | |
9244ff22 | 638 | /*#define I_ARPA_INET / **/ |
3ebb1980 JH |
639 | |
640 | /* I_DBM: | |
641 | * This symbol, if defined, indicates that <dbm.h> exists and should | |
642 | * be included. | |
643 | */ | |
644 | /* I_RPCSVC_DBM: | |
645 | * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and | |
646 | * should be included. | |
647 | */ | |
648 | /*#define I_DBM / **/ | |
649 | /*#define I_RPCSVC_DBM / **/ | |
650 | ||
3ebb1980 JH |
651 | /* I_DLFCN: |
652 | * This symbol, if defined, indicates that <dlfcn.h> exists and should | |
653 | * be included. | |
654 | */ | |
655 | /*#define I_DLFCN / **/ | |
656 | ||
657 | /* I_FCNTL: | |
658 | * This manifest constant tells the C program to include <fcntl.h>. | |
659 | */ | |
660 | /*#define I_FCNTL / **/ | |
661 | ||
662 | /* I_FLOAT: | |
663 | * This symbol, if defined, indicates to the C program that it should | |
664 | * include <float.h> to get definition of symbols like DBL_MAX or | |
665 | * DBL_MIN, i.e. machine dependent floating point values. | |
666 | */ | |
667 | /*#define I_FLOAT / **/ | |
668 | ||
9244ff22 SP |
669 | /* I_GDBM: |
670 | * This symbol, if defined, indicates that <gdbm.h> exists and should | |
671 | * be included. | |
672 | */ | |
673 | /*#define I_GDBM / **/ | |
674 | ||
3ebb1980 JH |
675 | /* I_LIMITS: |
676 | * This symbol, if defined, indicates to the C program that it should | |
677 | * include <limits.h> to get definition of symbols like WORD_BIT or | |
678 | * LONG_MAX, i.e. machine dependant limitations. | |
679 | */ | |
680 | /*#define I_LIMITS / **/ | |
681 | ||
682 | /* I_LOCALE: | |
683 | * This symbol, if defined, indicates to the C program that it should | |
684 | * include <locale.h>. | |
685 | */ | |
686 | /*#define I_LOCALE / **/ | |
687 | ||
688 | /* I_MATH: | |
689 | * This symbol, if defined, indicates to the C program that it should | |
690 | * include <math.h>. | |
691 | */ | |
251f6efd | 692 | #define I_MATH /**/ |
3ebb1980 JH |
693 | |
694 | /* I_MEMORY: | |
695 | * This symbol, if defined, indicates to the C program that it should | |
696 | * include <memory.h>. | |
697 | */ | |
698 | /*#define I_MEMORY / **/ | |
699 | ||
3ebb1980 JH |
700 | /* I_NETINET_IN: |
701 | * This symbol, if defined, indicates to the C program that it should | |
702 | * include <netinet/in.h>. Otherwise, you may try <sys/in.h>. | |
703 | */ | |
704 | /*#define I_NETINET_IN / **/ | |
705 | ||
706 | /* I_SFIO: | |
707 | * This symbol, if defined, indicates to the C program that it should | |
708 | * include <sfio.h>. | |
709 | */ | |
710 | /*#define I_SFIO / **/ | |
711 | ||
712 | /* I_STDDEF: | |
713 | * This symbol, if defined, indicates that <stddef.h> exists and should | |
714 | * be included. | |
715 | */ | |
1e54a0f5 | 716 | #define I_STDDEF /**/ |
3ebb1980 JH |
717 | |
718 | /* I_STDLIB: | |
719 | * This symbol, if defined, indicates that <stdlib.h> exists and should | |
720 | * be included. | |
721 | */ | |
2f42fcb0 | 722 | #define I_STDLIB /**/ |
3ebb1980 JH |
723 | |
724 | /* I_STRING: | |
725 | * This symbol, if defined, indicates to the C program that it should | |
726 | * include <string.h> (USG systems) instead of <strings.h> (BSD systems). | |
727 | */ | |
728 | #define I_STRING /**/ | |
729 | ||
730 | /* I_SYS_DIR: | |
731 | * This symbol, if defined, indicates to the C program that it should | |
732 | * include <sys/dir.h>. | |
733 | */ | |
734 | /*#define I_SYS_DIR / **/ | |
735 | ||
736 | /* I_SYS_FILE: | |
737 | * This symbol, if defined, indicates to the C program that it should | |
738 | * include <sys/file.h> to get definition of R_OK and friends. | |
739 | */ | |
740 | /*#define I_SYS_FILE / **/ | |
741 | ||
742 | /* I_SYS_IOCTL: | |
743 | * This symbol, if defined, indicates that <sys/ioctl.h> exists and should | |
744 | * be included. Otherwise, include <sgtty.h> or <termio.h>. | |
745 | */ | |
49a78c82 JH |
746 | /* I_SYS_SOCKIO: |
747 | * This symbol, if defined, indicates the <sys/sockio.h> should be included | |
748 | * to get socket ioctl options, like SIOCATMARK. | |
749 | */ | |
3ebb1980 | 750 | /*#define I_SYS_IOCTL / **/ |
49a78c82 | 751 | /*#define I_SYS_SOCKIO / **/ |
3ebb1980 JH |
752 | |
753 | /* I_SYS_NDIR: | |
754 | * This symbol, if defined, indicates to the C program that it should | |
755 | * include <sys/ndir.h>. | |
756 | */ | |
757 | /*#define I_SYS_NDIR / **/ | |
758 | ||
759 | /* I_SYS_PARAM: | |
760 | * This symbol, if defined, indicates to the C program that it should | |
761 | * include <sys/param.h>. | |
762 | */ | |
763 | /*#define I_SYS_PARAM / **/ | |
764 | ||
0639114f NC |
765 | /* I_SYS_POLL: |
766 | * This symbol, if defined, indicates that the program may include | |
767 | * <sys/poll.h>. When I_POLL is also defined, it's probably safest | |
768 | * to only include <poll.h>. | |
769 | */ | |
770 | /*#define I_SYS_POLL / **/ | |
771 | ||
3ebb1980 JH |
772 | /* I_SYS_RESOURCE: |
773 | * This symbol, if defined, indicates to the C program that it should | |
774 | * include <sys/resource.h>. | |
775 | */ | |
776 | /*#define I_SYS_RESOURCE / **/ | |
777 | ||
778 | /* I_SYS_SELECT: | |
779 | * This symbol, if defined, indicates to the C program that it should | |
780 | * include <sys/select.h> in order to get definition of struct timeval. | |
781 | */ | |
782 | /*#define I_SYS_SELECT / **/ | |
783 | ||
784 | /* I_SYS_STAT: | |
785 | * This symbol, if defined, indicates to the C program that it should | |
786 | * include <sys/stat.h>. | |
787 | */ | |
788 | #define I_SYS_STAT /**/ | |
789 | ||
790 | /* I_SYS_TIMES: | |
791 | * This symbol, if defined, indicates to the C program that it should | |
792 | * include <sys/times.h>. | |
793 | */ | |
794 | /*#define I_SYS_TIMES / **/ | |
795 | ||
796 | /* I_SYS_TYPES: | |
797 | * This symbol, if defined, indicates to the C program that it should | |
798 | * include <sys/types.h>. | |
799 | */ | |
800 | /*#define I_SYS_TYPES / **/ | |
801 | ||
802 | /* I_SYS_UN: | |
803 | * This symbol, if defined, indicates to the C program that it should | |
804 | * include <sys/un.h> to get UNIX domain socket definitions. | |
805 | */ | |
806 | /*#define I_SYS_UN / **/ | |
807 | ||
808 | /* I_SYS_WAIT: | |
809 | * This symbol, if defined, indicates to the C program that it should | |
810 | * include <sys/wait.h>. | |
811 | */ | |
812 | /*#define I_SYS_WAIT / **/ | |
813 | ||
814 | /* I_TERMIO: | |
815 | * This symbol, if defined, indicates that the program should include | |
816 | * <termio.h> rather than <sgtty.h>. There are also differences in | |
817 | * the ioctl() calls that depend on the value of this symbol. | |
818 | */ | |
819 | /* I_TERMIOS: | |
820 | * This symbol, if defined, indicates that the program should include | |
821 | * the POSIX termios.h rather than sgtty.h or termio.h. | |
822 | * There are also differences in the ioctl() calls that depend on the | |
823 | * value of this symbol. | |
824 | */ | |
825 | /* I_SGTTY: | |
826 | * This symbol, if defined, indicates that the program should include | |
827 | * <sgtty.h> rather than <termio.h>. There are also differences in | |
828 | * the ioctl() calls that depend on the value of this symbol. | |
829 | */ | |
830 | /*#define I_TERMIO / **/ | |
831 | /*#define I_TERMIOS / **/ | |
832 | /*#define I_SGTTY / **/ | |
833 | ||
834 | /* I_UNISTD: | |
835 | * This symbol, if defined, indicates to the C program that it should | |
836 | * include <unistd.h>. | |
837 | */ | |
838 | /*#define I_UNISTD / **/ | |
839 | ||
840 | /* I_UTIME: | |
841 | * This symbol, if defined, indicates to the C program that it should | |
842 | * include <utime.h>. | |
843 | */ | |
844 | /*#define I_UTIME / **/ | |
845 | ||
846 | /* I_VALUES: | |
847 | * This symbol, if defined, indicates to the C program that it should | |
848 | * include <values.h> to get definition of symbols like MINFLOAT or | |
849 | * MAXLONG, i.e. machine dependant limitations. Probably, you | |
850 | * should use <limits.h> instead, if it is available. | |
851 | */ | |
852 | /*#define I_VALUES / **/ | |
853 | ||
3ebb1980 JH |
854 | /* I_VFORK: |
855 | * This symbol, if defined, indicates to the C program that it should | |
856 | * include vfork.h. | |
857 | */ | |
858 | /*#define I_VFORK / **/ | |
859 | ||
12cf8ac4 NC |
860 | /* CAN_VAPROTO: |
861 | * This variable is defined on systems supporting prototype declaration | |
862 | * of functions with a variable number of arguments. | |
863 | */ | |
864 | /* _V: | |
865 | * This macro is used to declare function parameters in prototypes for | |
866 | * functions with a variable number of parameters. Use double parentheses. | |
867 | * For example: | |
868 | * | |
869 | * int printf _V((char *fmt, ...)); | |
870 | * | |
871 | * Remember to use the plain simple _() macro when declaring a function | |
872 | * with no variable number of arguments, since it might be possible to | |
873 | * have a non-effect _V() macro and still get prototypes via _(). | |
874 | */ | |
875 | /*#define CAN_VAPROTO / **/ | |
876 | #ifdef CAN_VAPROTO | |
877 | #define _V(args) args | |
878 | #else | |
879 | #define _V(args) () | |
880 | #endif | |
881 | ||
06501368 MB |
882 | /* OSNAME: |
883 | * This symbol contains the name of the operating system, as determined | |
884 | * by Configure. You shouldn't rely on it too much; the specific | |
885 | * feature tests from Configure are generally more reliable. | |
3ebb1980 | 886 | */ |
06501368 MB |
887 | /* OSVERS: |
888 | * This symbol contains the version of the operating system, as determined | |
889 | * by Configure. You shouldn't rely on it too much; the specific | |
890 | * feature tests from Configure are generally more reliable. | |
535ceeb0 | 891 | */ |
06501368 MB |
892 | #define OSNAME "unknown" /**/ |
893 | #define OSVERS "unknown" /**/ | |
535ceeb0 | 894 | |
12cf8ac4 NC |
895 | /* USE_CROSS_COMPILE: |
896 | * This symbol, if defined, indicates that Perl is being cross-compiled. | |
58bf2e2e | 897 | */ |
12cf8ac4 NC |
898 | /* PERL_TARGETARCH: |
899 | * This symbol, if defined, indicates the target architecture | |
900 | * Perl has been cross-compiled to. Undefined if not a cross-compile. | |
58bf2e2e | 901 | */ |
12cf8ac4 NC |
902 | #ifndef USE_CROSS_COMPILE |
903 | /*#define USE_CROSS_COMPILE / **/ | |
904 | #define PERL_TARGETARCH "" /**/ | |
905 | #endif | |
906 | ||
06501368 MB |
907 | /* MULTIARCH: |
908 | * This symbol, if defined, signifies that the build | |
909 | * process will produce some binary files that are going to be | |
910 | * used in a cross-platform environment. This is the case for | |
911 | * example with the NeXT "fat" binaries that contain executables | |
912 | * for several CPUs. | |
913 | */ | |
914 | /*#define MULTIARCH / **/ | |
915 | ||
12cf8ac4 NC |
916 | /* MEM_ALIGNBYTES: |
917 | * This symbol contains the number of bytes required to align a | |
918 | * double, or a long double when applicable. Usual values are 2, | |
919 | * 4 and 8. The default is eight, for safety. | |
920 | */ | |
921 | #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH) | |
922 | # define MEM_ALIGNBYTES 8 | |
923 | #else | |
924 | #define MEM_ALIGNBYTES 4 | |
925 | #endif | |
3ebb1980 | 926 | |
58bf2e2e RGS |
927 | /* ARCHLIB: |
928 | * This variable, if defined, holds the name of the directory in | |
929 | * which the user wants to put architecture-dependent public | |
9244ff22 | 930 | * library files for perl5. It is most often a local directory |
58bf2e2e RGS |
931 | * such as /usr/local/lib. Programs using this variable must be |
932 | * prepared to deal with filename expansion. If ARCHLIB is the | |
933 | * same as PRIVLIB, it is not defined, since presumably the | |
934 | * program already searches PRIVLIB. | |
935 | */ | |
936 | /* ARCHLIB_EXP: | |
937 | * This symbol contains the ~name expanded version of ARCHLIB, to be used | |
938 | * in programs that are not prepared to deal with ~ expansion at run-time. | |
939 | */ | |
0e79a3d1 RS |
940 | /*#define ARCHLIB "/usr/local/lib/perl5/5.17/unknown" / **/ |
941 | /*#define ARCHLIB_EXP "/usr/local/lib/perl5/5.17/unknown" / **/ | |
58bf2e2e RGS |
942 | |
943 | /* ARCHNAME: | |
944 | * This symbol holds a string representing the architecture name. | |
945 | * It may be used to construct an architecture-dependant pathname | |
946 | * where library files may be held under a private library, for | |
947 | * instance. | |
948 | */ | |
949 | #define ARCHNAME "unknown" /**/ | |
950 | ||
58bf2e2e RGS |
951 | /* BIN: |
952 | * This symbol holds the path of the bin directory where the package will | |
953 | * be installed. Program must be prepared to deal with ~name substitution. | |
954 | */ | |
955 | /* BIN_EXP: | |
956 | * This symbol is the filename expanded version of the BIN symbol, for | |
957 | * programs that do not want to deal with that at run-time. | |
958 | */ | |
535ceeb0 JH |
959 | /* PERL_RELOCATABLE_INC: |
960 | * This symbol, if defined, indicates that we'd like to relocate entries | |
961 | * in @INC at run time based on the location of the perl binary. | |
962 | */ | |
58bf2e2e | 963 | #define BIN "/usr/local/bin" /**/ |
9244ff22 | 964 | #define BIN_EXP "/usr/local/bin" /**/ |
122b9bf4 | 965 | #define PERL_RELOCATABLE_INC "undef" /**/ |
58bf2e2e | 966 | |
06501368 MB |
967 | /* INTSIZE: |
968 | * This symbol contains the value of sizeof(int) so that the C | |
969 | * preprocessor can make decisions based on it. | |
970 | */ | |
971 | /* LONGSIZE: | |
972 | * This symbol contains the value of sizeof(long) so that the C | |
973 | * preprocessor can make decisions based on it. | |
974 | */ | |
975 | /* SHORTSIZE: | |
976 | * This symbol contains the value of sizeof(short) so that the C | |
977 | * preprocessor can make decisions based on it. | |
978 | */ | |
979 | #define INTSIZE 4 /**/ | |
980 | #define LONGSIZE 4 /**/ | |
981 | #define SHORTSIZE 2 /**/ | |
982 | ||
12cf8ac4 NC |
983 | /* BYTEORDER: |
984 | * This symbol holds the hexadecimal constant defined in byteorder, | |
985 | * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc... | |
986 | * If the compiler supports cross-compiling or multiple-architecture | |
987 | * binaries (eg. on NeXT systems), use compiler-defined macros to | |
988 | * determine the byte order. | |
989 | * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture | |
990 | * Binaries (MAB) on either big endian or little endian machines. | |
991 | * The endian-ness is available at compile-time. This only matters | |
992 | * for perl, where the config.h can be generated and installed on | |
993 | * one system, and used by a different architecture to build an | |
994 | * extension. Older versions of NeXT that might not have | |
995 | * defined either *_ENDIAN__ were all on Motorola 680x0 series, | |
996 | * so the default case (for NeXT) is big endian to catch them. | |
997 | * This might matter for NeXT 3.0. | |
58bf2e2e | 998 | */ |
12cf8ac4 NC |
999 | #if defined(USE_CROSS_COMPILE) || defined(MULTIARCH) |
1000 | # ifdef __LITTLE_ENDIAN__ | |
1001 | # if LONGSIZE == 4 | |
1002 | # define BYTEORDER 0x1234 | |
1003 | # else | |
1004 | # if LONGSIZE == 8 | |
1005 | # define BYTEORDER 0x12345678 | |
1006 | # endif | |
1007 | # endif | |
1008 | # else | |
1009 | # ifdef __BIG_ENDIAN__ | |
1010 | # if LONGSIZE == 4 | |
1011 | # define BYTEORDER 0x4321 | |
1012 | # else | |
1013 | # if LONGSIZE == 8 | |
1014 | # define BYTEORDER 0x87654321 | |
1015 | # endif | |
1016 | # endif | |
1017 | # endif | |
1018 | # endif | |
1019 | # if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__)) | |
1020 | # define BYTEORDER 0x4321 | |
1021 | # endif | |
1022 | #else | |
1023 | #define BYTEORDER 0x1234 /* large digits for MSB */ | |
1024 | #endif /* NeXT */ | |
58bf2e2e | 1025 | |
12cf8ac4 NC |
1026 | /* CHARBITS: |
1027 | * This symbol contains the size of a char, so that the C preprocessor | |
1028 | * can make decisions based on it. | |
58bf2e2e | 1029 | */ |
12cf8ac4 | 1030 | #define CHARBITS 8 /**/ |
58bf2e2e | 1031 | |
06501368 MB |
1032 | /* CAT2: |
1033 | * This macro concatenates 2 tokens together. | |
1034 | */ | |
1035 | /* STRINGIFY: | |
1036 | * This macro surrounds its token with double quotes. | |
1037 | */ | |
1038 | #if 42 == 1 | |
1039 | #define CAT2(a,b) a/**/b | |
1040 | #define STRINGIFY(a) "a" | |
1041 | #endif | |
1042 | #if 42 == 42 | |
1043 | #define PeRl_CaTiFy(a, b) a ## b | |
1044 | #define PeRl_StGiFy(a) #a | |
1045 | #define CAT2(a,b) PeRl_CaTiFy(a,b) | |
1046 | #define StGiFy(a) PeRl_StGiFy(a) | |
1047 | #define STRINGIFY(a) PeRl_StGiFy(a) | |
1048 | #endif | |
1049 | #if 42 != 1 && 42 != 42 | |
1050 | #include "Bletch: How does this C preprocessor concatenate tokens?" | |
1051 | #endif | |
1052 | ||
1053 | /* CPPSTDIN: | |
1054 | * This symbol contains the first part of the string which will invoke | |
1055 | * the C preprocessor on the standard input and produce to standard | |
1056 | * output. Typical value of "cc -E" or "/lib/cpp", but it can also | |
1057 | * call a wrapper. See CPPRUN. | |
1058 | */ | |
1059 | /* CPPMINUS: | |
1060 | * This symbol contains the second part of the string which will invoke | |
1061 | * the C preprocessor on the standard input and produce to standard | |
1062 | * output. This symbol will have the value "-" if CPPSTDIN needs a minus | |
1063 | * to specify standard input, otherwise the value is "". | |
1064 | */ | |
1065 | /* CPPRUN: | |
1066 | * This symbol contains the string which will invoke a C preprocessor on | |
1067 | * the standard input and produce to standard output. It needs to end | |
1068 | * with CPPLAST, after all other preprocessor flags have been specified. | |
1069 | * The main difference with CPPSTDIN is that this program will never be a | |
1070 | * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is | |
1071 | * available directly to the user. Note that it may well be different from | |
1072 | * the preprocessor used to compile the C program. | |
1073 | */ | |
1074 | /* CPPLAST: | |
1075 | * This symbol is intended to be used along with CPPRUN in the same manner | |
1076 | * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "". | |
1077 | */ | |
1078 | #define CPPSTDIN "cc -E" | |
1079 | #define CPPMINUS "-" | |
1080 | #define CPPRUN "cc -E" | |
1081 | #define CPPLAST "-" | |
1082 | ||
1083 | /* HAS_ACCESS: | |
1084 | * This manifest constant lets the C program know that the access() | |
1085 | * system call is available to check for accessibility using real UID/GID. | |
1086 | * (always present on UNIX.) | |
1087 | */ | |
1088 | /*#define HAS_ACCESS / **/ | |
1089 | ||
9244ff22 SP |
1090 | /* HAS_ACCESSX: |
1091 | * This symbol, if defined, indicates that the accessx routine is | |
1092 | * available to do extended access checks. | |
535ceeb0 | 1093 | */ |
9244ff22 | 1094 | /*#define HAS_ACCESSX / **/ |
535ceeb0 | 1095 | |
58bf2e2e RGS |
1096 | /* HAS_ASCTIME_R: |
1097 | * This symbol, if defined, indicates that the asctime_r routine | |
1098 | * is available to asctime re-entrantly. | |
1099 | */ | |
1100 | /* ASCTIME_R_PROTO: | |
1101 | * This symbol encodes the prototype of asctime_r. | |
1102 | * It is zero if d_asctime_r is undef, and one of the | |
1103 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_asctime_r | |
1104 | * is defined. | |
1105 | */ | |
1106 | /*#define HAS_ASCTIME_R / **/ | |
1107 | #define ASCTIME_R_PROTO 0 /**/ | |
1108 | ||
06501368 MB |
1109 | /* HASATTRIBUTE_FORMAT: |
1110 | * Can we handle GCC attribute for checking printf-style formats | |
1111 | */ | |
1112 | /* PRINTF_FORMAT_NULL_OK: | |
1113 | * Allows __printf__ format to be null when checking printf-style | |
1114 | */ | |
1115 | /* HASATTRIBUTE_MALLOC: | |
1116 | * Can we handle GCC attribute for malloc-style functions. | |
1117 | */ | |
1118 | /* HASATTRIBUTE_NONNULL: | |
1119 | * Can we handle GCC attribute for nonnull function parms. | |
1120 | */ | |
1121 | /* HASATTRIBUTE_NORETURN: | |
1122 | * Can we handle GCC attribute for functions that do not return | |
1123 | */ | |
1124 | /* HASATTRIBUTE_PURE: | |
1125 | * Can we handle GCC attribute for pure functions | |
1126 | */ | |
1127 | /* HASATTRIBUTE_UNUSED: | |
1128 | * Can we handle GCC attribute for unused variables and arguments | |
1129 | */ | |
1130 | /* HASATTRIBUTE_DEPRECATED: | |
1131 | * Can we handle GCC attribute for marking deprecated APIs | |
1132 | */ | |
1133 | /* HASATTRIBUTE_WARN_UNUSED_RESULT: | |
1134 | * Can we handle GCC attribute for warning on unused results | |
1135 | */ | |
1136 | /*#define HASATTRIBUTE_DEPRECATED / **/ | |
1137 | /*#define HASATTRIBUTE_FORMAT / **/ | |
1138 | /*#define PRINTF_FORMAT_NULL_OK / **/ | |
1139 | /*#define HASATTRIBUTE_NORETURN / **/ | |
1140 | /*#define HASATTRIBUTE_MALLOC / **/ | |
1141 | /*#define HASATTRIBUTE_NONNULL / **/ | |
1142 | /*#define HASATTRIBUTE_PURE / **/ | |
1143 | /*#define HASATTRIBUTE_UNUSED / **/ | |
1144 | /*#define HASATTRIBUTE_WARN_UNUSED_RESULT / **/ | |
1145 | ||
12cf8ac4 NC |
1146 | /* CASTI32: |
1147 | * This symbol is defined if the C compiler can cast negative | |
1148 | * or large floating point numbers to 32-bit ints. | |
535ceeb0 | 1149 | */ |
12cf8ac4 NC |
1150 | /*#define CASTI32 / **/ |
1151 | ||
1152 | /* CASTNEGFLOAT: | |
1153 | * This symbol is defined if the C compiler can cast negative | |
1154 | * numbers to unsigned longs, ints and shorts. | |
0639114f | 1155 | */ |
12cf8ac4 NC |
1156 | /* CASTFLAGS: |
1157 | * This symbol contains flags that say what difficulties the compiler | |
1158 | * has casting odd floating values to unsigned long: | |
1159 | * 0 = ok | |
1160 | * 1 = couldn't cast < 0 | |
1161 | * 2 = couldn't cast >= 0x80000000 | |
1162 | * 4 = couldn't cast in argument expression list | |
535ceeb0 | 1163 | */ |
12cf8ac4 NC |
1164 | /*#define CASTNEGFLOAT / **/ |
1165 | #define CASTFLAGS 0 /**/ | |
535ceeb0 | 1166 | |
12cf8ac4 NC |
1167 | /* VOID_CLOSEDIR: |
1168 | * This symbol, if defined, indicates that the closedir() routine | |
1169 | * does not return a value. | |
666ea192 | 1170 | */ |
12cf8ac4 | 1171 | /*#define VOID_CLOSEDIR / **/ |
666ea192 | 1172 | |
06501368 MB |
1173 | /* HASCONST: |
1174 | * This symbol, if defined, indicates that this C compiler knows about | |
1175 | * the const type. There is no need to actually test for that symbol | |
1176 | * within your programs. The mere use of the "const" keyword will | |
1177 | * trigger the necessary tests. | |
1178 | */ | |
1179 | /*#define HASCONST / **/ | |
1180 | #ifndef HASCONST | |
1181 | #define const | |
1182 | #endif | |
1183 | ||
9244ff22 SP |
1184 | /* HAS_CRYPT_R: |
1185 | * This symbol, if defined, indicates that the crypt_r routine | |
1186 | * is available to crypt re-entrantly. | |
10bc17b6 | 1187 | */ |
58bf2e2e RGS |
1188 | /* CRYPT_R_PROTO: |
1189 | * This symbol encodes the prototype of crypt_r. | |
1190 | * It is zero if d_crypt_r is undef, and one of the | |
1191 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_crypt_r | |
1192 | * is defined. | |
3ebb1980 | 1193 | */ |
58bf2e2e RGS |
1194 | /*#define HAS_CRYPT_R / **/ |
1195 | #define CRYPT_R_PROTO 0 /**/ | |
a838cfe5 | 1196 | |
06501368 MB |
1197 | /* HAS_CSH: |
1198 | * This symbol, if defined, indicates that the C-shell exists. | |
1199 | */ | |
1200 | /* CSH: | |
1201 | * This symbol, if defined, contains the full pathname of csh. | |
1202 | */ | |
1203 | /*#define HAS_CSH / **/ | |
1204 | #ifdef HAS_CSH | |
1205 | #define CSH "" /**/ | |
1206 | #endif | |
1207 | ||
535ceeb0 JH |
1208 | /* HAS_CTERMID_R: |
1209 | * This symbol, if defined, indicates that the ctermid_r routine | |
1210 | * is available to ctermid re-entrantly. | |
1211 | */ | |
1212 | /* CTERMID_R_PROTO: | |
1213 | * This symbol encodes the prototype of ctermid_r. | |
1214 | * It is zero if d_ctermid_r is undef, and one of the | |
1215 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctermid_r | |
1216 | * is defined. | |
1217 | */ | |
1218 | /*#define HAS_CTERMID_R / **/ | |
1219 | #define CTERMID_R_PROTO 0 /**/ | |
1220 | ||
58bf2e2e RGS |
1221 | /* HAS_CTIME_R: |
1222 | * This symbol, if defined, indicates that the ctime_r routine | |
1223 | * is available to ctime re-entrantly. | |
3ebb1980 | 1224 | */ |
58bf2e2e RGS |
1225 | /* CTIME_R_PROTO: |
1226 | * This symbol encodes the prototype of ctime_r. | |
1227 | * It is zero if d_ctime_r is undef, and one of the | |
1228 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctime_r | |
1229 | * is defined. | |
10bc17b6 | 1230 | */ |
58bf2e2e RGS |
1231 | /*#define HAS_CTIME_R / **/ |
1232 | #define CTIME_R_PROTO 0 /**/ | |
1de32f2a | 1233 | |
06501368 MB |
1234 | /* SETUID_SCRIPTS_ARE_SECURE_NOW: |
1235 | * This symbol, if defined, indicates that the bug that prevents | |
1236 | * setuid scripts from being secure is not present in this kernel. | |
1237 | */ | |
1238 | /* DOSUID: | |
1239 | * This symbol, if defined, indicates that the C program should | |
1240 | * check the script that it is executing for setuid/setgid bits, and | |
1241 | * attempt to emulate setuid/setgid on systems that have disabled | |
1242 | * setuid #! scripts because the kernel can't do it securely. | |
1243 | * It is up to the package designer to make sure that this emulation | |
1244 | * is done securely. Among other things, it should do an fstat on | |
1245 | * the script it just opened to make sure it really is a setuid/setgid | |
1246 | * script, it should make sure the arguments passed correspond exactly | |
1247 | * to the argument on the #! line, and it should not trust any | |
1248 | * subprocesses to which it must pass the filename rather than the | |
1249 | * file descriptor of the script to be executed. | |
1250 | */ | |
1251 | /*#define SETUID_SCRIPTS_ARE_SECURE_NOW / **/ | |
1252 | /*#define DOSUID / **/ | |
1253 | ||
58bf2e2e RGS |
1254 | /* HAS_DRAND48_R: |
1255 | * This symbol, if defined, indicates that the drand48_r routine | |
1256 | * is available to drand48 re-entrantly. | |
1de32f2a | 1257 | */ |
58bf2e2e RGS |
1258 | /* DRAND48_R_PROTO: |
1259 | * This symbol encodes the prototype of drand48_r. | |
1260 | * It is zero if d_drand48_r is undef, and one of the | |
1261 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_drand48_r | |
1262 | * is defined. | |
1263 | */ | |
1264 | /*#define HAS_DRAND48_R / **/ | |
1265 | #define DRAND48_R_PROTO 0 /**/ | |
1de32f2a | 1266 | |
06501368 MB |
1267 | /* HAS_DRAND48_PROTO: |
1268 | * This symbol, if defined, indicates that the system provides | |
1269 | * a prototype for the drand48() function. Otherwise, it is up | |
1270 | * to the program to supply one. A good guess is | |
1271 | * extern double drand48(void); | |
1272 | */ | |
1273 | /*#define HAS_DRAND48_PROTO / **/ | |
1274 | ||
9244ff22 SP |
1275 | /* HAS_EACCESS: |
1276 | * This symbol, if defined, indicates that the eaccess routine is | |
1277 | * available to do extended access checks. | |
1278 | */ | |
1279 | /*#define HAS_EACCESS / **/ | |
1280 | ||
06501368 MB |
1281 | /* HAS_ENDGRENT: |
1282 | * This symbol, if defined, indicates that the getgrent routine is | |
1283 | * available for finalizing sequential access of the group database. | |
1284 | */ | |
1285 | /*#define HAS_ENDGRENT / **/ | |
1286 | ||
58bf2e2e RGS |
1287 | /* HAS_ENDGRENT_R: |
1288 | * This symbol, if defined, indicates that the endgrent_r routine | |
1289 | * is available to endgrent re-entrantly. | |
1de32f2a | 1290 | */ |
58bf2e2e RGS |
1291 | /* ENDGRENT_R_PROTO: |
1292 | * This symbol encodes the prototype of endgrent_r. | |
1293 | * It is zero if d_endgrent_r is undef, and one of the | |
1294 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endgrent_r | |
1295 | * is defined. | |
1de32f2a | 1296 | */ |
58bf2e2e RGS |
1297 | /*#define HAS_ENDGRENT_R / **/ |
1298 | #define ENDGRENT_R_PROTO 0 /**/ | |
1299 | ||
06501368 MB |
1300 | /* HAS_ENDHOSTENT: |
1301 | * This symbol, if defined, indicates that the endhostent() routine is | |
1302 | * available to close whatever was being used for host queries. | |
1303 | */ | |
1304 | /*#define HAS_ENDHOSTENT / **/ | |
1305 | ||
535ceeb0 JH |
1306 | /* HAS_ENDHOSTENT_R: |
1307 | * This symbol, if defined, indicates that the endhostent_r routine | |
1308 | * is available to endhostent re-entrantly. | |
1309 | */ | |
1310 | /* ENDHOSTENT_R_PROTO: | |
1311 | * This symbol encodes the prototype of endhostent_r. | |
1312 | * It is zero if d_endhostent_r is undef, and one of the | |
1313 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endhostent_r | |
1314 | * is defined. | |
1315 | */ | |
1316 | /*#define HAS_ENDHOSTENT_R / **/ | |
1317 | #define ENDHOSTENT_R_PROTO 0 /**/ | |
1318 | ||
06501368 MB |
1319 | /* HAS_ENDNETENT: |
1320 | * This symbol, if defined, indicates that the endnetent() routine is | |
1321 | * available to close whatever was being used for network queries. | |
1322 | */ | |
1323 | /*#define HAS_ENDNETENT / **/ | |
1324 | ||
535ceeb0 JH |
1325 | /* HAS_ENDNETENT_R: |
1326 | * This symbol, if defined, indicates that the endnetent_r routine | |
1327 | * is available to endnetent re-entrantly. | |
1328 | */ | |
1329 | /* ENDNETENT_R_PROTO: | |
1330 | * This symbol encodes the prototype of endnetent_r. | |
1331 | * It is zero if d_endnetent_r is undef, and one of the | |
1332 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endnetent_r | |
1333 | * is defined. | |
1334 | */ | |
1335 | /*#define HAS_ENDNETENT_R / **/ | |
1336 | #define ENDNETENT_R_PROTO 0 /**/ | |
1337 | ||
06501368 MB |
1338 | /* HAS_ENDPROTOENT: |
1339 | * This symbol, if defined, indicates that the endprotoent() routine is | |
1340 | * available to close whatever was being used for protocol queries. | |
1341 | */ | |
1342 | /*#define HAS_ENDPROTOENT / **/ | |
1343 | ||
535ceeb0 JH |
1344 | /* HAS_ENDPROTOENT_R: |
1345 | * This symbol, if defined, indicates that the endprotoent_r routine | |
1346 | * is available to endprotoent re-entrantly. | |
1347 | */ | |
1348 | /* ENDPROTOENT_R_PROTO: | |
1349 | * This symbol encodes the prototype of endprotoent_r. | |
1350 | * It is zero if d_endprotoent_r is undef, and one of the | |
1351 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endprotoent_r | |
1352 | * is defined. | |
1353 | */ | |
1354 | /*#define HAS_ENDPROTOENT_R / **/ | |
1355 | #define ENDPROTOENT_R_PROTO 0 /**/ | |
1356 | ||
06501368 MB |
1357 | /* HAS_ENDPWENT: |
1358 | * This symbol, if defined, indicates that the getgrent routine is | |
1359 | * available for finalizing sequential access of the passwd database. | |
1360 | */ | |
1361 | /*#define HAS_ENDPWENT / **/ | |
1362 | ||
58bf2e2e RGS |
1363 | /* HAS_ENDPWENT_R: |
1364 | * This symbol, if defined, indicates that the endpwent_r routine | |
1365 | * is available to endpwent re-entrantly. | |
1de32f2a | 1366 | */ |
58bf2e2e RGS |
1367 | /* ENDPWENT_R_PROTO: |
1368 | * This symbol encodes the prototype of endpwent_r. | |
1369 | * It is zero if d_endpwent_r is undef, and one of the | |
1370 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endpwent_r | |
1371 | * is defined. | |
1de32f2a | 1372 | */ |
58bf2e2e RGS |
1373 | /*#define HAS_ENDPWENT_R / **/ |
1374 | #define ENDPWENT_R_PROTO 0 /**/ | |
1375 | ||
06501368 MB |
1376 | /* HAS_ENDSERVENT: |
1377 | * This symbol, if defined, indicates that the endservent() routine is | |
1378 | * available to close whatever was being used for service queries. | |
1379 | */ | |
1380 | /*#define HAS_ENDSERVENT / **/ | |
1381 | ||
1382 | /* HAS_ENDSERVENT_R: | |
1383 | * This symbol, if defined, indicates that the endservent_r routine | |
1384 | * is available to endservent re-entrantly. | |
1385 | */ | |
1386 | /* ENDSERVENT_R_PROTO: | |
535ceeb0 JH |
1387 | * This symbol encodes the prototype of endservent_r. |
1388 | * It is zero if d_endservent_r is undef, and one of the | |
1389 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endservent_r | |
1390 | * is defined. | |
1391 | */ | |
1392 | /*#define HAS_ENDSERVENT_R / **/ | |
1393 | #define ENDSERVENT_R_PROTO 0 /**/ | |
1394 | ||
12cf8ac4 NC |
1395 | /* HAS_FD_SET: |
1396 | * This symbol, when defined, indicates presence of the fd_set typedef | |
1397 | * in <sys/types.h> | |
1de32f2a | 1398 | */ |
12cf8ac4 | 1399 | /*#define HAS_FD_SET / **/ |
58bf2e2e | 1400 | |
06501368 MB |
1401 | /* FLEXFILENAMES: |
1402 | * This symbol, if defined, indicates that the system supports filenames | |
1403 | * longer than 14 characters. | |
1404 | */ | |
1405 | /*#define FLEXFILENAMES / **/ | |
1406 | ||
12cf8ac4 NC |
1407 | /* Gconvert: |
1408 | * This preprocessor macro is defined to convert a floating point | |
1409 | * number to a string without a trailing decimal point. This | |
1410 | * emulates the behavior of sprintf("%g"), but is sometimes much more | |
1411 | * efficient. If gconvert() is not available, but gcvt() drops the | |
1412 | * trailing decimal point, then gcvt() is used. If all else fails, | |
1413 | * a macro using sprintf("%g") is used. Arguments for the Gconvert | |
1414 | * macro are: value, number of digits, whether trailing zeros should | |
1415 | * be retained, and the output buffer. | |
1416 | * The usual values are: | |
1417 | * d_Gconvert='gconvert((x),(n),(t),(b))' | |
1418 | * d_Gconvert='gcvt((x),(n),(b))' | |
1419 | * d_Gconvert='sprintf((b),"%.*g",(n),(x))' | |
1420 | * The last two assume trailing zeros should not be kept. | |
1de32f2a | 1421 | */ |
12cf8ac4 | 1422 | #define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x)) |
1de32f2a | 1423 | |
06501368 MB |
1424 | /* HAS_GETGRENT: |
1425 | * This symbol, if defined, indicates that the getgrent routine is | |
1426 | * available for sequential access of the group database. | |
1427 | */ | |
1428 | /*#define HAS_GETGRENT / **/ | |
1429 | ||
9244ff22 SP |
1430 | /* HAS_GETGRENT_R: |
1431 | * This symbol, if defined, indicates that the getgrent_r routine | |
1432 | * is available to getgrent re-entrantly. | |
1de32f2a | 1433 | */ |
9244ff22 SP |
1434 | /* GETGRENT_R_PROTO: |
1435 | * This symbol encodes the prototype of getgrent_r. | |
1436 | * It is zero if d_getgrent_r is undef, and one of the | |
1437 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrent_r | |
1438 | * is defined. | |
1de32f2a | 1439 | */ |
9244ff22 SP |
1440 | /*#define HAS_GETGRENT_R / **/ |
1441 | #define GETGRENT_R_PROTO 0 /**/ | |
58bf2e2e | 1442 | |
9244ff22 SP |
1443 | /* HAS_GETGRGID_R: |
1444 | * This symbol, if defined, indicates that the getgrgid_r routine | |
1445 | * is available to getgrgid re-entrantly. | |
1de32f2a | 1446 | */ |
9244ff22 SP |
1447 | /* GETGRGID_R_PROTO: |
1448 | * This symbol encodes the prototype of getgrgid_r. | |
1449 | * It is zero if d_getgrgid_r is undef, and one of the | |
1450 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrgid_r | |
1451 | * is defined. | |
1de32f2a | 1452 | */ |
9244ff22 SP |
1453 | /*#define HAS_GETGRGID_R / **/ |
1454 | #define GETGRGID_R_PROTO 0 /**/ | |
1de32f2a | 1455 | |
9244ff22 SP |
1456 | /* HAS_GETGRNAM_R: |
1457 | * This symbol, if defined, indicates that the getgrnam_r routine | |
1458 | * is available to getgrnam re-entrantly. | |
535ceeb0 | 1459 | */ |
9244ff22 SP |
1460 | /* GETGRNAM_R_PROTO: |
1461 | * This symbol encodes the prototype of getgrnam_r. | |
1462 | * It is zero if d_getgrnam_r is undef, and one of the | |
1463 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrnam_r | |
1464 | * is defined. | |
1de32f2a | 1465 | */ |
9244ff22 SP |
1466 | /*#define HAS_GETGRNAM_R / **/ |
1467 | #define GETGRNAM_R_PROTO 0 /**/ | |
1de32f2a | 1468 | |
06501368 MB |
1469 | /* HAS_GETHOSTBYADDR: |
1470 | * This symbol, if defined, indicates that the gethostbyaddr() routine is | |
1471 | * available to look up hosts by their IP addresses. | |
1472 | */ | |
1473 | /*#define HAS_GETHOSTBYADDR / **/ | |
1474 | ||
1475 | /* HAS_GETHOSTBYNAME: | |
1476 | * This symbol, if defined, indicates that the gethostbyname() routine is | |
1477 | * available to look up host names in some data base or other. | |
1478 | */ | |
1479 | /*#define HAS_GETHOSTBYNAME / **/ | |
1480 | ||
1481 | /* HAS_GETHOSTENT: | |
1482 | * This symbol, if defined, indicates that the gethostent() routine is | |
1483 | * available to look up host names in some data base or another. | |
1484 | */ | |
1485 | /*#define HAS_GETHOSTENT / **/ | |
1486 | ||
1487 | /* HAS_GETHOSTNAME: | |
1488 | * This symbol, if defined, indicates that the C program may use the | |
1489 | * gethostname() routine to derive the host name. See also HAS_UNAME | |
1490 | * and PHOSTNAME. | |
1491 | */ | |
1492 | /* HAS_UNAME: | |
1493 | * This symbol, if defined, indicates that the C program may use the | |
1494 | * uname() routine to derive the host name. See also HAS_GETHOSTNAME | |
1495 | * and PHOSTNAME. | |
1496 | */ | |
1497 | /* PHOSTNAME: | |
1498 | * This symbol, if defined, indicates the command to feed to the | |
1499 | * popen() routine to derive the host name. See also HAS_GETHOSTNAME | |
1500 | * and HAS_UNAME. Note that the command uses a fully qualified path, | |
1501 | * so that it is safe even if used by a process with super-user | |
1502 | * privileges. | |
1503 | */ | |
1504 | /* HAS_PHOSTNAME: | |
1505 | * This symbol, if defined, indicates that the C program may use the | |
1506 | * contents of PHOSTNAME as a command to feed to the popen() routine | |
1507 | * to derive the host name. | |
1508 | */ | |
1509 | /*#define HAS_GETHOSTNAME / **/ | |
1510 | /*#define HAS_UNAME / **/ | |
1511 | /*#define HAS_PHOSTNAME / **/ | |
1512 | #ifdef HAS_PHOSTNAME | |
1513 | #define PHOSTNAME "/bin/hostname" /* How to get the host name */ | |
1514 | #endif | |
1515 | ||
535ceeb0 JH |
1516 | /* HAS_GETHOSTBYADDR_R: |
1517 | * This symbol, if defined, indicates that the gethostbyaddr_r routine | |
1518 | * is available to gethostbyaddr re-entrantly. | |
1519 | */ | |
1520 | /* GETHOSTBYADDR_R_PROTO: | |
1521 | * This symbol encodes the prototype of gethostbyaddr_r. | |
1522 | * It is zero if d_gethostbyaddr_r is undef, and one of the | |
1523 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyaddr_r | |
1524 | * is defined. | |
1525 | */ | |
1526 | /*#define HAS_GETHOSTBYADDR_R / **/ | |
1527 | #define GETHOSTBYADDR_R_PROTO 0 /**/ | |
1528 | ||
1529 | /* HAS_GETHOSTBYNAME_R: | |
1530 | * This symbol, if defined, indicates that the gethostbyname_r routine | |
1531 | * is available to gethostbyname re-entrantly. | |
1532 | */ | |
1533 | /* GETHOSTBYNAME_R_PROTO: | |
1534 | * This symbol encodes the prototype of gethostbyname_r. | |
1535 | * It is zero if d_gethostbyname_r is undef, and one of the | |
1536 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyname_r | |
1537 | * is defined. | |
1538 | */ | |
1539 | /*#define HAS_GETHOSTBYNAME_R / **/ | |
1540 | #define GETHOSTBYNAME_R_PROTO 0 /**/ | |
1541 | ||
1542 | /* HAS_GETHOSTENT_R: | |
1543 | * This symbol, if defined, indicates that the gethostent_r routine | |
1544 | * is available to gethostent re-entrantly. | |
1545 | */ | |
1546 | /* GETHOSTENT_R_PROTO: | |
1547 | * This symbol encodes the prototype of gethostent_r. | |
1548 | * It is zero if d_gethostent_r is undef, and one of the | |
1549 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostent_r | |
1550 | * is defined. | |
1551 | */ | |
1552 | /*#define HAS_GETHOSTENT_R / **/ | |
1553 | #define GETHOSTENT_R_PROTO 0 /**/ | |
1554 | ||
06501368 MB |
1555 | /* HAS_GETHOST_PROTOS: |
1556 | * This symbol, if defined, indicates that <netdb.h> includes | |
1557 | * prototypes for gethostent(), gethostbyname(), and | |
1558 | * gethostbyaddr(). Otherwise, it is up to the program to guess | |
1559 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. | |
1560 | */ | |
1561 | /*#define HAS_GETHOST_PROTOS / **/ | |
1562 | ||
58bf2e2e RGS |
1563 | /* HAS_GETLOGIN_R: |
1564 | * This symbol, if defined, indicates that the getlogin_r routine | |
1565 | * is available to getlogin re-entrantly. | |
1de32f2a | 1566 | */ |
58bf2e2e RGS |
1567 | /* GETLOGIN_R_PROTO: |
1568 | * This symbol encodes the prototype of getlogin_r. | |
1569 | * It is zero if d_getlogin_r is undef, and one of the | |
1570 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getlogin_r | |
1571 | * is defined. | |
1de32f2a | 1572 | */ |
58bf2e2e RGS |
1573 | /*#define HAS_GETLOGIN_R / **/ |
1574 | #define GETLOGIN_R_PROTO 0 /**/ | |
1de32f2a | 1575 | |
06501368 MB |
1576 | /* HAS_GETNETBYADDR: |
1577 | * This symbol, if defined, indicates that the getnetbyaddr() routine is | |
1578 | * available to look up networks by their IP addresses. | |
1579 | */ | |
1580 | /*#define HAS_GETNETBYADDR / **/ | |
1581 | ||
1582 | /* HAS_GETNETBYNAME: | |
1583 | * This symbol, if defined, indicates that the getnetbyname() routine is | |
1584 | * available to look up networks by their names. | |
1585 | */ | |
1586 | /*#define HAS_GETNETBYNAME / **/ | |
1587 | ||
1588 | /* HAS_GETNETENT: | |
1589 | * This symbol, if defined, indicates that the getnetent() routine is | |
1590 | * available to look up network names in some data base or another. | |
1591 | */ | |
1592 | /*#define HAS_GETNETENT / **/ | |
1593 | ||
535ceeb0 JH |
1594 | /* HAS_GETNETBYADDR_R: |
1595 | * This symbol, if defined, indicates that the getnetbyaddr_r routine | |
1596 | * is available to getnetbyaddr re-entrantly. | |
1597 | */ | |
1598 | /* GETNETBYADDR_R_PROTO: | |
1599 | * This symbol encodes the prototype of getnetbyaddr_r. | |
1600 | * It is zero if d_getnetbyaddr_r is undef, and one of the | |
1601 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyaddr_r | |
1602 | * is defined. | |
1603 | */ | |
1604 | /*#define HAS_GETNETBYADDR_R / **/ | |
1605 | #define GETNETBYADDR_R_PROTO 0 /**/ | |
1606 | ||
1607 | /* HAS_GETNETBYNAME_R: | |
1608 | * This symbol, if defined, indicates that the getnetbyname_r routine | |
1609 | * is available to getnetbyname re-entrantly. | |
1610 | */ | |
1611 | /* GETNETBYNAME_R_PROTO: | |
1612 | * This symbol encodes the prototype of getnetbyname_r. | |
1613 | * It is zero if d_getnetbyname_r is undef, and one of the | |
1614 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyname_r | |
1615 | * is defined. | |
1616 | */ | |
1617 | /*#define HAS_GETNETBYNAME_R / **/ | |
1618 | #define GETNETBYNAME_R_PROTO 0 /**/ | |
1619 | ||
1620 | /* HAS_GETNETENT_R: | |
1621 | * This symbol, if defined, indicates that the getnetent_r routine | |
1622 | * is available to getnetent re-entrantly. | |
1623 | */ | |
1624 | /* GETNETENT_R_PROTO: | |
1625 | * This symbol encodes the prototype of getnetent_r. | |
1626 | * It is zero if d_getnetent_r is undef, and one of the | |
1627 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetent_r | |
1628 | * is defined. | |
1629 | */ | |
1630 | /*#define HAS_GETNETENT_R / **/ | |
1631 | #define GETNETENT_R_PROTO 0 /**/ | |
1632 | ||
06501368 MB |
1633 | /* HAS_GETNET_PROTOS: |
1634 | * This symbol, if defined, indicates that <netdb.h> includes | |
1635 | * prototypes for getnetent(), getnetbyname(), and | |
1636 | * getnetbyaddr(). Otherwise, it is up to the program to guess | |
1637 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. | |
1638 | */ | |
1639 | /*#define HAS_GETNET_PROTOS / **/ | |
1640 | ||
12cf8ac4 NC |
1641 | /* HAS_GETPAGESIZE: |
1642 | * This symbol, if defined, indicates that the getpagesize system call | |
1643 | * is available to get system page size, which is the granularity of | |
1644 | * many memory management calls. | |
1de32f2a | 1645 | */ |
12cf8ac4 | 1646 | /*#define HAS_GETPAGESIZE / **/ |
1de32f2a | 1647 | |
06501368 MB |
1648 | /* HAS_GETPROTOENT: |
1649 | * This symbol, if defined, indicates that the getprotoent() routine is | |
1650 | * available to look up protocols in some data base or another. | |
1651 | */ | |
1652 | /*#define HAS_GETPROTOENT / **/ | |
1653 | ||
1654 | /* HAS_GETPGRP: | |
1655 | * This symbol, if defined, indicates that the getpgrp routine is | |
1656 | * available to get the current process group. | |
1657 | */ | |
1658 | /* USE_BSD_GETPGRP: | |
1659 | * This symbol, if defined, indicates that getpgrp needs one | |
1660 | * arguments whereas USG one needs none. | |
1661 | */ | |
1662 | /*#define HAS_GETPGRP / **/ | |
1663 | /*#define USE_BSD_GETPGRP / **/ | |
1664 | ||
1665 | /* HAS_GETPROTOBYNAME: | |
1666 | * This symbol, if defined, indicates that the getprotobyname() | |
1667 | * routine is available to look up protocols by their name. | |
1668 | */ | |
1669 | /* HAS_GETPROTOBYNUMBER: | |
1670 | * This symbol, if defined, indicates that the getprotobynumber() | |
1671 | * routine is available to look up protocols by their number. | |
1672 | */ | |
1673 | /*#define HAS_GETPROTOBYNAME / **/ | |
1674 | /*#define HAS_GETPROTOBYNUMBER / **/ | |
1675 | ||
535ceeb0 JH |
1676 | /* HAS_GETPROTOBYNAME_R: |
1677 | * This symbol, if defined, indicates that the getprotobyname_r routine | |
1678 | * is available to getprotobyname re-entrantly. | |
1679 | */ | |
1680 | /* GETPROTOBYNAME_R_PROTO: | |
1681 | * This symbol encodes the prototype of getprotobyname_r. | |
1682 | * It is zero if d_getprotobyname_r is undef, and one of the | |
1683 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobyname_r | |
1684 | * is defined. | |
1685 | */ | |
1686 | /*#define HAS_GETPROTOBYNAME_R / **/ | |
1687 | #define GETPROTOBYNAME_R_PROTO 0 /**/ | |
1688 | ||
1689 | /* HAS_GETPROTOBYNUMBER_R: | |
1690 | * This symbol, if defined, indicates that the getprotobynumber_r routine | |
1691 | * is available to getprotobynumber re-entrantly. | |
1692 | */ | |
1693 | /* GETPROTOBYNUMBER_R_PROTO: | |
1694 | * This symbol encodes the prototype of getprotobynumber_r. | |
1695 | * It is zero if d_getprotobynumber_r is undef, and one of the | |
1696 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobynumber_r | |
1697 | * is defined. | |
1698 | */ | |
1699 | /*#define HAS_GETPROTOBYNUMBER_R / **/ | |
1700 | #define GETPROTOBYNUMBER_R_PROTO 0 /**/ | |
1701 | ||
1702 | /* HAS_GETPROTOENT_R: | |
1703 | * This symbol, if defined, indicates that the getprotoent_r routine | |
1704 | * is available to getprotoent re-entrantly. | |
1705 | */ | |
1706 | /* GETPROTOENT_R_PROTO: | |
1707 | * This symbol encodes the prototype of getprotoent_r. | |
1708 | * It is zero if d_getprotoent_r is undef, and one of the | |
1709 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotoent_r | |
1710 | * is defined. | |
1711 | */ | |
1712 | /*#define HAS_GETPROTOENT_R / **/ | |
1713 | #define GETPROTOENT_R_PROTO 0 /**/ | |
1714 | ||
06501368 MB |
1715 | /* HAS_GETPROTO_PROTOS: |
1716 | * This symbol, if defined, indicates that <netdb.h> includes | |
1717 | * prototypes for getprotoent(), getprotobyname(), and | |
1718 | * getprotobyaddr(). Otherwise, it is up to the program to guess | |
1719 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. | |
1720 | */ | |
1721 | /*#define HAS_GETPROTO_PROTOS / **/ | |
1722 | ||
1723 | /* HAS_GETPWENT: | |
1724 | * This symbol, if defined, indicates that the getpwent routine is | |
1725 | * available for sequential access of the passwd database. | |
1726 | * If this is not available, the older getpw() function may be available. | |
1727 | */ | |
1728 | /*#define HAS_GETPWENT / **/ | |
1729 | ||
58bf2e2e RGS |
1730 | /* HAS_GETPWENT_R: |
1731 | * This symbol, if defined, indicates that the getpwent_r routine | |
1732 | * is available to getpwent re-entrantly. | |
1733 | */ | |
1734 | /* GETPWENT_R_PROTO: | |
1735 | * This symbol encodes the prototype of getpwent_r. | |
1736 | * It is zero if d_getpwent_r is undef, and one of the | |
1737 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwent_r | |
1738 | * is defined. | |
1739 | */ | |
1740 | /*#define HAS_GETPWENT_R / **/ | |
1741 | #define GETPWENT_R_PROTO 0 /**/ | |
1742 | ||
1743 | /* HAS_GETPWNAM_R: | |
1744 | * This symbol, if defined, indicates that the getpwnam_r routine | |
1745 | * is available to getpwnam re-entrantly. | |
1746 | */ | |
1747 | /* GETPWNAM_R_PROTO: | |
1748 | * This symbol encodes the prototype of getpwnam_r. | |
1749 | * It is zero if d_getpwnam_r is undef, and one of the | |
1750 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwnam_r | |
1751 | * is defined. | |
1752 | */ | |
1753 | /*#define HAS_GETPWNAM_R / **/ | |
1754 | #define GETPWNAM_R_PROTO 0 /**/ | |
1755 | ||
1756 | /* HAS_GETPWUID_R: | |
1757 | * This symbol, if defined, indicates that the getpwuid_r routine | |
1758 | * is available to getpwuid re-entrantly. | |
1759 | */ | |
1760 | /* GETPWUID_R_PROTO: | |
1761 | * This symbol encodes the prototype of getpwuid_r. | |
1762 | * It is zero if d_getpwuid_r is undef, and one of the | |
1763 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r | |
1764 | * is defined. | |
1765 | */ | |
1766 | /*#define HAS_GETPWUID_R / **/ | |
1767 | #define GETPWUID_R_PROTO 0 /**/ | |
1768 | ||
06501368 MB |
1769 | /* HAS_GETSERVENT: |
1770 | * This symbol, if defined, indicates that the getservent() routine is | |
1771 | * available to look up network services in some data base or another. | |
1772 | */ | |
1773 | /*#define HAS_GETSERVENT / **/ | |
1774 | ||
535ceeb0 JH |
1775 | /* HAS_GETSERVBYNAME_R: |
1776 | * This symbol, if defined, indicates that the getservbyname_r routine | |
1777 | * is available to getservbyname re-entrantly. | |
1778 | */ | |
1779 | /* GETSERVBYNAME_R_PROTO: | |
1780 | * This symbol encodes the prototype of getservbyname_r. | |
1781 | * It is zero if d_getservbyname_r is undef, and one of the | |
1782 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyname_r | |
1783 | * is defined. | |
1784 | */ | |
1785 | /*#define HAS_GETSERVBYNAME_R / **/ | |
1786 | #define GETSERVBYNAME_R_PROTO 0 /**/ | |
1787 | ||
1788 | /* HAS_GETSERVBYPORT_R: | |
1789 | * This symbol, if defined, indicates that the getservbyport_r routine | |
1790 | * is available to getservbyport re-entrantly. | |
1791 | */ | |
1792 | /* GETSERVBYPORT_R_PROTO: | |
1793 | * This symbol encodes the prototype of getservbyport_r. | |
1794 | * It is zero if d_getservbyport_r is undef, and one of the | |
1795 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyport_r | |
1796 | * is defined. | |
1797 | */ | |
1798 | /*#define HAS_GETSERVBYPORT_R / **/ | |
1799 | #define GETSERVBYPORT_R_PROTO 0 /**/ | |
1800 | ||
1801 | /* HAS_GETSERVENT_R: | |
1802 | * This symbol, if defined, indicates that the getservent_r routine | |
1803 | * is available to getservent re-entrantly. | |
1804 | */ | |
1805 | /* GETSERVENT_R_PROTO: | |
1806 | * This symbol encodes the prototype of getservent_r. | |
1807 | * It is zero if d_getservent_r is undef, and one of the | |
1808 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservent_r | |
1809 | * is defined. | |
1810 | */ | |
1811 | /*#define HAS_GETSERVENT_R / **/ | |
1812 | #define GETSERVENT_R_PROTO 0 /**/ | |
1813 | ||
06501368 MB |
1814 | /* HAS_GETSERV_PROTOS: |
1815 | * This symbol, if defined, indicates that <netdb.h> includes | |
1816 | * prototypes for getservent(), getservbyname(), and | |
1817 | * getservbyaddr(). Otherwise, it is up to the program to guess | |
1818 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. | |
1819 | */ | |
1820 | /*#define HAS_GETSERV_PROTOS / **/ | |
1821 | ||
58bf2e2e RGS |
1822 | /* HAS_GETSPNAM_R: |
1823 | * This symbol, if defined, indicates that the getspnam_r routine | |
1824 | * is available to getspnam re-entrantly. | |
1825 | */ | |
1826 | /* GETSPNAM_R_PROTO: | |
1827 | * This symbol encodes the prototype of getspnam_r. | |
1828 | * It is zero if d_getspnam_r is undef, and one of the | |
1829 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getspnam_r | |
1830 | * is defined. | |
1831 | */ | |
1832 | /*#define HAS_GETSPNAM_R / **/ | |
1833 | #define GETSPNAM_R_PROTO 0 /**/ | |
1834 | ||
06501368 MB |
1835 | /* HAS_GETSERVBYNAME: |
1836 | * This symbol, if defined, indicates that the getservbyname() | |
1837 | * routine is available to look up services by their name. | |
1838 | */ | |
1839 | /* HAS_GETSERVBYPORT: | |
1840 | * This symbol, if defined, indicates that the getservbyport() | |
1841 | * routine is available to look up services by their port. | |
1842 | */ | |
1843 | /*#define HAS_GETSERVBYNAME / **/ | |
1844 | /*#define HAS_GETSERVBYPORT / **/ | |
1845 | ||
58bf2e2e RGS |
1846 | /* HAS_GMTIME_R: |
1847 | * This symbol, if defined, indicates that the gmtime_r routine | |
1848 | * is available to gmtime re-entrantly. | |
1849 | */ | |
1850 | /* GMTIME_R_PROTO: | |
1851 | * This symbol encodes the prototype of gmtime_r. | |
1852 | * It is zero if d_gmtime_r is undef, and one of the | |
1853 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gmtime_r | |
1854 | * is defined. | |
1855 | */ | |
1856 | /*#define HAS_GMTIME_R / **/ | |
1857 | #define GMTIME_R_PROTO 0 /**/ | |
1858 | ||
12cf8ac4 NC |
1859 | /* HAS_GNULIBC: |
1860 | * This symbol, if defined, indicates to the C program that | |
1861 | * the GNU C library is being used. A better check is to use | |
1862 | * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc. | |
1de32f2a | 1863 | */ |
12cf8ac4 NC |
1864 | /*#define HAS_GNULIBC / **/ |
1865 | #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE) | |
1866 | # define _GNU_SOURCE | |
1867 | #endif | |
1868 | ||
06501368 MB |
1869 | /* HAS_HTONL: |
1870 | * This symbol, if defined, indicates that the htonl() routine (and | |
1871 | * friends htons() ntohl() ntohs()) are available to do network | |
1872 | * order byte swapping. | |
1873 | */ | |
1874 | /* HAS_HTONS: | |
1875 | * This symbol, if defined, indicates that the htons() routine (and | |
1876 | * friends htonl() ntohl() ntohs()) are available to do network | |
1877 | * order byte swapping. | |
1878 | */ | |
1879 | /* HAS_NTOHL: | |
1880 | * This symbol, if defined, indicates that the ntohl() routine (and | |
1881 | * friends htonl() htons() ntohs()) are available to do network | |
1882 | * order byte swapping. | |
1883 | */ | |
1884 | /* HAS_NTOHS: | |
1885 | * This symbol, if defined, indicates that the ntohs() routine (and | |
1886 | * friends htonl() htons() ntohl()) are available to do network | |
1887 | * order byte swapping. | |
1888 | */ | |
1889 | /*#define HAS_HTONL / **/ | |
1890 | /*#define HAS_HTONS / **/ | |
1891 | /*#define HAS_NTOHL / **/ | |
1892 | /*#define HAS_NTOHS / **/ | |
1893 | ||
12cf8ac4 NC |
1894 | /* HAS_ISASCII: |
1895 | * This manifest constant lets the C program know that isascii | |
1896 | * is available. | |
1de32f2a | 1897 | */ |
12cf8ac4 NC |
1898 | /*#define HAS_ISASCII / **/ |
1899 | ||
1900 | /* HAS_LCHOWN: | |
1901 | * This symbol, if defined, indicates that the lchown routine is | |
1902 | * available to operate on a symbolic link (instead of following the | |
1903 | * link). | |
1de32f2a | 1904 | */ |
12cf8ac4 | 1905 | /*#define HAS_LCHOWN / **/ |
1de32f2a | 1906 | |
9244ff22 SP |
1907 | /* HAS_LOCALTIME_R: |
1908 | * This symbol, if defined, indicates that the localtime_r routine | |
1909 | * is available to localtime re-entrantly. | |
535ceeb0 | 1910 | */ |
9244ff22 SP |
1911 | /* LOCALTIME_R_NEEDS_TZSET: |
1912 | * Many libc's localtime_r implementations do not call tzset, | |
1913 | * making them differ from localtime(), and making timezone | |
1914 | * changes using $ENV{TZ} without explicitly calling tzset | |
1915 | * impossible. This symbol makes us call tzset before localtime_r | |
58bf2e2e | 1916 | */ |
9244ff22 SP |
1917 | /*#define LOCALTIME_R_NEEDS_TZSET / **/ |
1918 | #ifdef LOCALTIME_R_NEEDS_TZSET | |
1919 | #define L_R_TZSET tzset(), | |
1920 | #else | |
1921 | #define L_R_TZSET | |
1922 | #endif | |
58bf2e2e | 1923 | |
9244ff22 SP |
1924 | /* LOCALTIME_R_PROTO: |
1925 | * This symbol encodes the prototype of localtime_r. | |
1926 | * It is zero if d_localtime_r is undef, and one of the | |
1927 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r | |
1928 | * is defined. | |
58bf2e2e | 1929 | */ |
9244ff22 SP |
1930 | /*#define HAS_LOCALTIME_R / **/ |
1931 | #define LOCALTIME_R_PROTO 0 /**/ | |
58bf2e2e | 1932 | |
06501368 MB |
1933 | /* HAS_LONG_DOUBLE: |
1934 | * This symbol will be defined if the C compiler supports long | |
1935 | * doubles. | |
58bf2e2e | 1936 | */ |
06501368 MB |
1937 | /* LONG_DOUBLESIZE: |
1938 | * This symbol contains the size of a long double, so that the | |
1939 | * C preprocessor can make decisions based on it. It is only | |
1940 | * defined if the system supports long doubles. | |
1de32f2a | 1941 | */ |
06501368 MB |
1942 | /*#define HAS_LONG_DOUBLE / **/ |
1943 | #ifdef HAS_LONG_DOUBLE | |
1944 | #define LONG_DOUBLESIZE 8 /**/ | |
1945 | #endif | |
1de32f2a | 1946 | |
06501368 MB |
1947 | /* HAS_LONG_LONG: |
1948 | * This symbol will be defined if the C compiler supports long long. | |
535ceeb0 | 1949 | */ |
06501368 MB |
1950 | /* LONGLONGSIZE: |
1951 | * This symbol contains the size of a long long, so that the | |
1952 | * C preprocessor can make decisions based on it. It is only | |
1953 | * defined if the system supports long long. | |
1954 | */ | |
1955 | /*#define HAS_LONG_LONG / **/ | |
1956 | #ifdef HAS_LONG_LONG | |
1957 | #define LONGLONGSIZE 8 /**/ | |
1958 | #endif | |
535ceeb0 | 1959 | |
06501368 MB |
1960 | /* HAS_LSEEK_PROTO: |
1961 | * This symbol, if defined, indicates that the system provides | |
1962 | * a prototype for the lseek() function. Otherwise, it is up | |
1963 | * to the program to supply one. A good guess is | |
1964 | * extern off_t lseek(int, off_t, int); | |
1de32f2a | 1965 | */ |
06501368 MB |
1966 | /*#define HAS_LSEEK_PROTO / **/ |
1967 | ||
1968 | /* HAS_MEMCHR: | |
1969 | * This symbol, if defined, indicates that the memchr routine is available | |
1970 | * to locate characters within a C string. | |
58bf2e2e | 1971 | */ |
06501368 MB |
1972 | #define HAS_MEMCHR /**/ |
1973 | ||
1974 | /* HAS_MKSTEMP: | |
1975 | * This symbol, if defined, indicates that the mkstemp routine is | |
1976 | * available to exclusively create and open a uniquely named | |
1977 | * temporary file. | |
1978 | */ | |
1979 | /*#define HAS_MKSTEMP / **/ | |
1980 | ||
1981 | /* HAS_MMAP: | |
1982 | * This symbol, if defined, indicates that the mmap system call is | |
1983 | * available to map a file into memory. | |
1984 | */ | |
1985 | /* Mmap_t: | |
1986 | * This symbol holds the return type of the mmap() system call | |
1987 | * (and simultaneously the type of the first argument). | |
1988 | * Usually set to 'void *' or 'caddr_t'. | |
1989 | */ | |
1990 | /*#define HAS_MMAP / **/ | |
1991 | #define Mmap_t void * /**/ | |
1992 | ||
1993 | /* HAS_MSG: | |
1994 | * This symbol, if defined, indicates that the entire msg*(2) library is | |
1995 | * supported (IPC mechanism based on message queues). | |
1996 | */ | |
1997 | /*#define HAS_MSG / **/ | |
1998 | ||
1999 | /* HAS_OPEN3: | |
2000 | * This manifest constant lets the C program know that the three | |
2001 | * argument form of open(2) is available. | |
2002 | */ | |
2003 | /*#define HAS_OPEN3 / **/ | |
2004 | ||
2005 | /* OLD_PTHREAD_CREATE_JOINABLE: | |
2006 | * This symbol, if defined, indicates how to create pthread | |
2007 | * in joinable (aka undetached) state. NOTE: not defined | |
2008 | * if pthread.h already has defined PTHREAD_CREATE_JOINABLE | |
2009 | * (the new version of the constant). | |
2010 | * If defined, known values are PTHREAD_CREATE_UNDETACHED | |
2011 | * and __UNDETACHED. | |
2012 | */ | |
2013 | /*#define OLD_PTHREAD_CREATE_JOINABLE / **/ | |
2014 | ||
2015 | /* HAS_PTHREAD_ATFORK: | |
2016 | * This symbol, if defined, indicates that the pthread_atfork routine | |
2017 | * is available to setup fork handlers. | |
2018 | */ | |
2019 | /*#define HAS_PTHREAD_ATFORK / **/ | |
2020 | ||
2021 | /* HAS_PTHREAD_YIELD: | |
2022 | * This symbol, if defined, indicates that the pthread_yield | |
2023 | * routine is available to yield the execution of the current | |
2024 | * thread. sched_yield is preferable to pthread_yield. | |
2025 | */ | |
2026 | /* SCHED_YIELD: | |
2027 | * This symbol defines the way to yield the execution of | |
2028 | * the current thread. Known ways are sched_yield, | |
2029 | * pthread_yield, and pthread_yield with NULL. | |
2030 | */ | |
2031 | /* HAS_SCHED_YIELD: | |
2032 | * This symbol, if defined, indicates that the sched_yield | |
58bf2e2e RGS |
2033 | * routine is available to yield the execution of the current |
2034 | * thread. sched_yield is preferable to pthread_yield. | |
2035 | */ | |
2036 | /*#define HAS_PTHREAD_YIELD / **/ | |
2037 | #define SCHED_YIELD sched_yield() /**/ | |
2038 | /*#define HAS_SCHED_YIELD / **/ | |
1de32f2a | 2039 | |
58bf2e2e RGS |
2040 | /* HAS_RANDOM_R: |
2041 | * This symbol, if defined, indicates that the random_r routine | |
2042 | * is available to random re-entrantly. | |
1de32f2a | 2043 | */ |
58bf2e2e RGS |
2044 | /* RANDOM_R_PROTO: |
2045 | * This symbol encodes the prototype of random_r. | |
2046 | * It is zero if d_random_r is undef, and one of the | |
2047 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r | |
2048 | * is defined. | |
2049 | */ | |
2050 | /*#define HAS_RANDOM_R / **/ | |
2051 | #define RANDOM_R_PROTO 0 /**/ | |
1de32f2a | 2052 | |
535ceeb0 JH |
2053 | /* HAS_READDIR64_R: |
2054 | * This symbol, if defined, indicates that the readdir64_r routine | |
2055 | * is available to readdir64 re-entrantly. | |
2056 | */ | |
2057 | /* READDIR64_R_PROTO: | |
2058 | * This symbol encodes the prototype of readdir64_r. | |
2059 | * It is zero if d_readdir64_r is undef, and one of the | |
2060 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir64_r | |
2061 | * is defined. | |
2062 | */ | |
2063 | /*#define HAS_READDIR64_R / **/ | |
2064 | #define READDIR64_R_PROTO 0 /**/ | |
2065 | ||
58bf2e2e RGS |
2066 | /* HAS_READDIR_R: |
2067 | * This symbol, if defined, indicates that the readdir_r routine | |
2068 | * is available to readdir re-entrantly. | |
1de32f2a | 2069 | */ |
58bf2e2e RGS |
2070 | /* READDIR_R_PROTO: |
2071 | * This symbol encodes the prototype of readdir_r. | |
2072 | * It is zero if d_readdir_r is undef, and one of the | |
2073 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r | |
2074 | * is defined. | |
1de32f2a | 2075 | */ |
58bf2e2e RGS |
2076 | /*#define HAS_READDIR_R / **/ |
2077 | #define READDIR_R_PROTO 0 /**/ | |
1de32f2a | 2078 | |
12cf8ac4 NC |
2079 | /* HAS_SAFE_BCOPY: |
2080 | * This symbol, if defined, indicates that the bcopy routine is available | |
2081 | * to copy potentially overlapping memory blocks. Normally, you should | |
2082 | * probably use memmove() or memcpy(). If neither is defined, roll your | |
2083 | * own version. | |
58bf2e2e | 2084 | */ |
12cf8ac4 | 2085 | /*#define HAS_SAFE_BCOPY / **/ |
58bf2e2e | 2086 | |
12cf8ac4 NC |
2087 | /* HAS_SAFE_MEMCPY: |
2088 | * This symbol, if defined, indicates that the memcpy routine is available | |
2089 | * to copy potentially overlapping memory blocks. If you need to | |
2090 | * copy overlapping memory blocks, you should check HAS_MEMMOVE and | |
2091 | * use memmove() instead, if available. | |
58bf2e2e | 2092 | */ |
12cf8ac4 NC |
2093 | /*#define HAS_SAFE_MEMCPY / **/ |
2094 | ||
2095 | /* HAS_SANE_MEMCMP: | |
2096 | * This symbol, if defined, indicates that the memcmp routine is available | |
2097 | * and can be used to compare relative magnitudes of chars with their high | |
2098 | * bits set. If it is not defined, roll your own version. | |
2099 | */ | |
2100 | /*#define HAS_SANE_MEMCMP / **/ | |
58bf2e2e | 2101 | |
06501368 MB |
2102 | /* HAS_SEM: |
2103 | * This symbol, if defined, indicates that the entire sem*(2) library is | |
2104 | * supported. | |
2105 | */ | |
2106 | /*#define HAS_SEM / **/ | |
2107 | ||
2108 | /* HAS_SETGRENT: | |
2109 | * This symbol, if defined, indicates that the setgrent routine is | |
2110 | * available for initializing sequential access of the group database. | |
2111 | */ | |
2112 | /*#define HAS_SETGRENT / **/ | |
2113 | ||
58bf2e2e RGS |
2114 | /* HAS_SETGRENT_R: |
2115 | * This symbol, if defined, indicates that the setgrent_r routine | |
2116 | * is available to setgrent re-entrantly. | |
2117 | */ | |
2118 | /* SETGRENT_R_PROTO: | |
2119 | * This symbol encodes the prototype of setgrent_r. | |
2120 | * It is zero if d_setgrent_r is undef, and one of the | |
2121 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r | |
2122 | * is defined. | |
2123 | */ | |
2124 | /*#define HAS_SETGRENT_R / **/ | |
2125 | #define SETGRENT_R_PROTO 0 /**/ | |
2126 | ||
06501368 MB |
2127 | /* HAS_SETHOSTENT: |
2128 | * This symbol, if defined, indicates that the sethostent() routine is | |
2129 | * available. | |
2130 | */ | |
2131 | /*#define HAS_SETHOSTENT / **/ | |
2132 | ||
535ceeb0 JH |
2133 | /* HAS_SETHOSTENT_R: |
2134 | * This symbol, if defined, indicates that the sethostent_r routine | |
2135 | * is available to sethostent re-entrantly. | |
2136 | */ | |
2137 | /* SETHOSTENT_R_PROTO: | |
2138 | * This symbol encodes the prototype of sethostent_r. | |
2139 | * It is zero if d_sethostent_r is undef, and one of the | |
2140 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_sethostent_r | |
2141 | * is defined. | |
2142 | */ | |
2143 | /*#define HAS_SETHOSTENT_R / **/ | |
2144 | #define SETHOSTENT_R_PROTO 0 /**/ | |
2145 | ||
535ceeb0 JH |
2146 | /* HAS_SETLOCALE_R: |
2147 | * This symbol, if defined, indicates that the setlocale_r routine | |
2148 | * is available to setlocale re-entrantly. | |
2149 | */ | |
2150 | /* SETLOCALE_R_PROTO: | |
2151 | * This symbol encodes the prototype of setlocale_r. | |
2152 | * It is zero if d_setlocale_r is undef, and one of the | |
2153 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setlocale_r | |
2154 | * is defined. | |
2155 | */ | |
2156 | /*#define HAS_SETLOCALE_R / **/ | |
2157 | #define SETLOCALE_R_PROTO 0 /**/ | |
2158 | ||
06501368 MB |
2159 | /* HAS_SETNETENT: |
2160 | * This symbol, if defined, indicates that the setnetent() routine is | |
2161 | * available. | |
2162 | */ | |
2163 | /*#define HAS_SETNETENT / **/ | |
2164 | ||
535ceeb0 JH |
2165 | /* HAS_SETNETENT_R: |
2166 | * This symbol, if defined, indicates that the setnetent_r routine | |
2167 | * is available to setnetent re-entrantly. | |
2168 | */ | |
2169 | /* SETNETENT_R_PROTO: | |
2170 | * This symbol encodes the prototype of setnetent_r. | |
2171 | * It is zero if d_setnetent_r is undef, and one of the | |
2172 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setnetent_r | |
2173 | * is defined. | |
2174 | */ | |
2175 | /*#define HAS_SETNETENT_R / **/ | |
2176 | #define SETNETENT_R_PROTO 0 /**/ | |
2177 | ||
06501368 MB |
2178 | /* HAS_SETPROTOENT: |
2179 | * This symbol, if defined, indicates that the setprotoent() routine is | |
2180 | * available. | |
2181 | */ | |
2182 | /*#define HAS_SETPROTOENT / **/ | |
2183 | ||
2184 | /* HAS_SETPGRP: | |
2185 | * This symbol, if defined, indicates that the setpgrp routine is | |
2186 | * available to set the current process group. | |
2187 | */ | |
2188 | /* USE_BSD_SETPGRP: | |
2189 | * This symbol, if defined, indicates that setpgrp needs two | |
2190 | * arguments whereas USG one needs none. See also HAS_SETPGID | |
2191 | * for a POSIX interface. | |
2192 | */ | |
2193 | /*#define HAS_SETPGRP / **/ | |
2194 | /*#define USE_BSD_SETPGRP / **/ | |
2195 | ||
535ceeb0 JH |
2196 | /* HAS_SETPROTOENT_R: |
2197 | * This symbol, if defined, indicates that the setprotoent_r routine | |
2198 | * is available to setprotoent re-entrantly. | |
2199 | */ | |
2200 | /* SETPROTOENT_R_PROTO: | |
2201 | * This symbol encodes the prototype of setprotoent_r. | |
2202 | * It is zero if d_setprotoent_r is undef, and one of the | |
2203 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setprotoent_r | |
2204 | * is defined. | |
2205 | */ | |
2206 | /*#define HAS_SETPROTOENT_R / **/ | |
2207 | #define SETPROTOENT_R_PROTO 0 /**/ | |
2208 | ||
06501368 MB |
2209 | /* HAS_SETPWENT: |
2210 | * This symbol, if defined, indicates that the setpwent routine is | |
2211 | * available for initializing sequential access of the passwd database. | |
2212 | */ | |
2213 | /*#define HAS_SETPWENT / **/ | |
2214 | ||
58bf2e2e RGS |
2215 | /* HAS_SETPWENT_R: |
2216 | * This symbol, if defined, indicates that the setpwent_r routine | |
2217 | * is available to setpwent re-entrantly. | |
2218 | */ | |
2219 | /* SETPWENT_R_PROTO: | |
2220 | * This symbol encodes the prototype of setpwent_r. | |
2221 | * It is zero if d_setpwent_r is undef, and one of the | |
2222 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r | |
2223 | * is defined. | |
2224 | */ | |
2225 | /*#define HAS_SETPWENT_R / **/ | |
2226 | #define SETPWENT_R_PROTO 0 /**/ | |
2227 | ||
06501368 MB |
2228 | /* HAS_SETSERVENT: |
2229 | * This symbol, if defined, indicates that the setservent() routine is | |
2230 | * available. | |
2231 | */ | |
2232 | /*#define HAS_SETSERVENT / **/ | |
2233 | ||
535ceeb0 JH |
2234 | /* HAS_SETSERVENT_R: |
2235 | * This symbol, if defined, indicates that the setservent_r routine | |
2236 | * is available to setservent re-entrantly. | |
2237 | */ | |
2238 | /* SETSERVENT_R_PROTO: | |
2239 | * This symbol encodes the prototype of setservent_r. | |
2240 | * It is zero if d_setservent_r is undef, and one of the | |
2241 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setservent_r | |
2242 | * is defined. | |
2243 | */ | |
2244 | /*#define HAS_SETSERVENT_R / **/ | |
2245 | #define SETSERVENT_R_PROTO 0 /**/ | |
2246 | ||
06501368 MB |
2247 | /* HAS_SETVBUF: |
2248 | * This symbol, if defined, indicates that the setvbuf routine is | |
2249 | * available to change buffering on an open stdio stream. | |
2250 | * to a line-buffered mode. | |
2251 | */ | |
2252 | /*#define HAS_SETVBUF / **/ | |
2253 | ||
2254 | /* HAS_SHM: | |
2255 | * This symbol, if defined, indicates that the entire shm*(2) library is | |
2256 | * supported. | |
2257 | */ | |
2258 | /*#define HAS_SHM / **/ | |
2259 | ||
2260 | /* Shmat_t: | |
2261 | * This symbol holds the return type of the shmat() system call. | |
2262 | * Usually set to 'void *' or 'char *'. | |
2263 | */ | |
2264 | /* HAS_SHMAT_PROTOTYPE: | |
2265 | * This symbol, if defined, indicates that the sys/shm.h includes | |
2266 | * a prototype for shmat(). Otherwise, it is up to the program to | |
2267 | * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess, | |
2268 | * but not always right so it should be emitted by the program only | |
2269 | * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs. | |
2270 | */ | |
2271 | #define Shmat_t void * /**/ | |
2272 | /*#define HAS_SHMAT_PROTOTYPE / **/ | |
2273 | ||
12cf8ac4 NC |
2274 | /* HAS_SIGACTION: |
2275 | * This symbol, if defined, indicates that Vr4's sigaction() routine | |
2276 | * is available. | |
535ceeb0 | 2277 | */ |
12cf8ac4 | 2278 | /*#define HAS_SIGACTION / **/ |
535ceeb0 | 2279 | |
12cf8ac4 NC |
2280 | /* HAS_SIGSETJMP: |
2281 | * This variable indicates to the C program that the sigsetjmp() | |
2282 | * routine is available to save the calling process's registers | |
2283 | * and stack environment for later use by siglongjmp(), and | |
2284 | * to optionally save the process's signal mask. See | |
2285 | * Sigjmp_buf, Sigsetjmp, and Siglongjmp. | |
e9a8643a | 2286 | */ |
12cf8ac4 NC |
2287 | /* Sigjmp_buf: |
2288 | * This is the buffer type to be used with Sigsetjmp and Siglongjmp. | |
10bc17b6 | 2289 | */ |
12cf8ac4 NC |
2290 | /* Sigsetjmp: |
2291 | * This macro is used in the same way as sigsetjmp(), but will invoke | |
2292 | * traditional setjmp() if sigsetjmp isn't available. | |
2293 | * See HAS_SIGSETJMP. | |
10bc17b6 | 2294 | */ |
12cf8ac4 NC |
2295 | /* Siglongjmp: |
2296 | * This macro is used in the same way as siglongjmp(), but will invoke | |
2297 | * traditional longjmp() if siglongjmp isn't available. | |
2298 | * See HAS_SIGSETJMP. | |
e9a8643a | 2299 | */ |
12cf8ac4 NC |
2300 | /*#define HAS_SIGSETJMP / **/ |
2301 | #ifdef HAS_SIGSETJMP | |
2302 | #define Sigjmp_buf sigjmp_buf | |
2303 | #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask)) | |
2304 | #define Siglongjmp(buf,retval) siglongjmp((buf),(retval)) | |
2305 | #else | |
2306 | #define Sigjmp_buf jmp_buf | |
2307 | #define Sigsetjmp(buf,save_mask) setjmp((buf)) | |
2308 | #define Siglongjmp(buf,retval) longjmp((buf),(retval)) | |
2309 | #endif | |
e9a8643a | 2310 | |
06501368 MB |
2311 | /* HAS_SOCKET: |
2312 | * This symbol, if defined, indicates that the BSD socket interface is | |
2313 | * supported. | |
2314 | */ | |
2315 | /* HAS_SOCKETPAIR: | |
2316 | * This symbol, if defined, indicates that the BSD socketpair() call is | |
2317 | * supported. | |
2318 | */ | |
2319 | /* HAS_MSG_CTRUNC: | |
2320 | * This symbol, if defined, indicates that the MSG_CTRUNC is supported. | |
2321 | * Checking just with #ifdef might not be enough because this symbol | |
2322 | * has been known to be an enum. | |
2323 | */ | |
2324 | /* HAS_MSG_DONTROUTE: | |
2325 | * This symbol, if defined, indicates that the MSG_DONTROUTE is supported. | |
2326 | * Checking just with #ifdef might not be enough because this symbol | |
2327 | * has been known to be an enum. | |
2328 | */ | |
2329 | /* HAS_MSG_OOB: | |
2330 | * This symbol, if defined, indicates that the MSG_OOB is supported. | |
2331 | * Checking just with #ifdef might not be enough because this symbol | |
2332 | * has been known to be an enum. | |
2333 | */ | |
2334 | /* HAS_MSG_PEEK: | |
2335 | * This symbol, if defined, indicates that the MSG_PEEK is supported. | |
2336 | * Checking just with #ifdef might not be enough because this symbol | |
2337 | * has been known to be an enum. | |
2338 | */ | |
2339 | /* HAS_MSG_PROXY: | |
2340 | * This symbol, if defined, indicates that the MSG_PROXY is supported. | |
2341 | * Checking just with #ifdef might not be enough because this symbol | |
2342 | * has been known to be an enum. | |
2343 | */ | |
2344 | /* HAS_SCM_RIGHTS: | |
2345 | * This symbol, if defined, indicates that the SCM_RIGHTS is supported. | |
2346 | * Checking just with #ifdef might not be enough because this symbol | |
2347 | * has been known to be an enum. | |
2348 | */ | |
2349 | /* HAS_SOCKADDR_SA_LEN: | |
2350 | * This symbol, if defined, indicates that the struct sockaddr | |
2351 | * structure has a member called sa_len, indicating the length of | |
2352 | * the structure. | |
2353 | */ | |
18126d98 MB |
2354 | /* HAS_SOCKADDR_IN6: |
2355 | * This symbol, if defined, indicates the availability of | |
2356 | * struct sockaddr_in6; | |
2357 | */ | |
06501368 MB |
2358 | /* HAS_SIN6_SCOPE_ID: |
2359 | * This symbol, if defined, indicates that the struct sockaddr_in6 | |
2360 | * structure has a member called sin6_scope_id. | |
2361 | */ | |
122b9bf4 MB |
2362 | /* HAS_IP_MREQ: |
2363 | * This symbol, if defined, indicates the availability of | |
2364 | * struct ip_mreq; | |
2365 | */ | |
3e06601f MB |
2366 | /* HAS_IP_MREQ_SOURCE: |
2367 | * This symbol, if defined, indicates the availability of | |
2368 | * struct ip_mreq_source; | |
2369 | */ | |
18126d98 MB |
2370 | /* HAS_IPV6_MREQ: |
2371 | * This symbol, if defined, indicates the availability of | |
2372 | * struct ipv6_mreq; | |
2373 | */ | |
3e06601f MB |
2374 | /* HAS_IPV6_MREQ_SOURCE: |
2375 | * This symbol, if defined, indicates the availability of | |
2376 | * struct ipv6_mreq_source; | |
2377 | */ | |
06501368 MB |
2378 | /*#define HAS_SOCKET / **/ |
2379 | /*#define HAS_SOCKETPAIR / **/ | |
2380 | /*#define HAS_SOCKADDR_SA_LEN / **/ | |
2381 | /*#define HAS_MSG_CTRUNC / **/ | |
2382 | /*#define HAS_MSG_DONTROUTE / **/ | |
2383 | /*#define HAS_MSG_OOB / **/ | |
2384 | /*#define HAS_MSG_PEEK / **/ | |
2385 | /*#define HAS_MSG_PROXY / **/ | |
2386 | /*#define HAS_SCM_RIGHTS / **/ | |
18126d98 | 2387 | /*#define HAS_SOCKADDR_IN6 / **/ |
06501368 | 2388 | /*#define HAS_SIN6_SCOPE_ID / **/ |
122b9bf4 | 2389 | /*#define HAS_IP_MREQ / **/ |
3e06601f | 2390 | /*#define HAS_IP_MREQ_SOURCE / **/ |
18126d98 | 2391 | /*#define HAS_IPV6_MREQ / **/ |
3e06601f | 2392 | /*#define HAS_IPV6_MREQ_SOURCE / **/ |
06501368 | 2393 | |
58bf2e2e RGS |
2394 | /* HAS_SRAND48_R: |
2395 | * This symbol, if defined, indicates that the srand48_r routine | |
2396 | * is available to srand48 re-entrantly. | |
2397 | */ | |
2398 | /* SRAND48_R_PROTO: | |
2399 | * This symbol encodes the prototype of srand48_r. | |
2400 | * It is zero if d_srand48_r is undef, and one of the | |
2401 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r | |
2402 | * is defined. | |
2403 | */ | |
2404 | /*#define HAS_SRAND48_R / **/ | |
2405 | #define SRAND48_R_PROTO 0 /**/ | |
2406 | ||
2407 | /* HAS_SRANDOM_R: | |
2408 | * This symbol, if defined, indicates that the srandom_r routine | |
2409 | * is available to srandom re-entrantly. | |
2410 | */ | |
2411 | /* SRANDOM_R_PROTO: | |
2412 | * This symbol encodes the prototype of srandom_r. | |
2413 | * It is zero if d_srandom_r is undef, and one of the | |
2414 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srandom_r | |
2415 | * is defined. | |
2416 | */ | |
2417 | /*#define HAS_SRANDOM_R / **/ | |
2418 | #define SRANDOM_R_PROTO 0 /**/ | |
2419 | ||
06501368 MB |
2420 | /* USE_STAT_BLOCKS: |
2421 | * This symbol is defined if this system has a stat structure declaring | |
2422 | * st_blksize and st_blocks. | |
2423 | */ | |
2424 | #ifndef USE_STAT_BLOCKS | |
2425 | /*#define USE_STAT_BLOCKS / **/ | |
2426 | #endif | |
2427 | ||
2428 | /* HAS_STATIC_INLINE: | |
2429 | * This symbol, if defined, indicates that the C compiler supports | |
2430 | * C99-style static inline. That is, the function can't be called | |
2431 | * from another translation unit. | |
2432 | */ | |
2433 | /* PERL_STATIC_INLINE: | |
2434 | * This symbol gives the best-guess incantation to use for static | |
2435 | * inline functions. If HAS_STATIC_INLINE is defined, this will | |
2436 | * give C99-style inline. If HAS_STATIC_INLINE is not defined, | |
2437 | * this will give a plain 'static'. It will always be defined | |
2438 | * to something that gives static linkage. | |
2439 | * Possibilities include | |
2440 | * static inline (c99) | |
2441 | * static __inline__ (gcc -ansi) | |
2442 | * static __inline (MSVC) | |
2443 | * static _inline (older MSVC) | |
2444 | * static (c89 compilers) | |
2445 | */ | |
2446 | /*#define HAS_STATIC_INLINE / **/ | |
2447 | #define PERL_STATIC_INLINE static /**/ | |
2448 | ||
12cf8ac4 NC |
2449 | /* USE_STDIO_PTR: |
2450 | * This symbol is defined if the _ptr and _cnt fields (or similar) | |
2451 | * of the stdio FILE structure can be used to access the stdio buffer | |
2452 | * for a file handle. If this is defined, then the FILE_ptr(fp) | |
2453 | * and FILE_cnt(fp) macros will also be defined and should be used | |
2454 | * to access these fields. | |
58bf2e2e | 2455 | */ |
12cf8ac4 NC |
2456 | /* FILE_ptr: |
2457 | * This macro is used to access the _ptr field (or equivalent) of the | |
2458 | * FILE structure pointed to by its argument. This macro will always be | |
2459 | * defined if USE_STDIO_PTR is defined. | |
58bf2e2e | 2460 | */ |
12cf8ac4 NC |
2461 | /* STDIO_PTR_LVALUE: |
2462 | * This symbol is defined if the FILE_ptr macro can be used as an | |
2463 | * lvalue. | |
58bf2e2e | 2464 | */ |
12cf8ac4 NC |
2465 | /* FILE_cnt: |
2466 | * This macro is used to access the _cnt field (or equivalent) of the | |
2467 | * FILE structure pointed to by its argument. This macro will always be | |
2468 | * defined if USE_STDIO_PTR is defined. | |
58bf2e2e | 2469 | */ |
12cf8ac4 NC |
2470 | /* STDIO_CNT_LVALUE: |
2471 | * This symbol is defined if the FILE_cnt macro can be used as an | |
2472 | * lvalue. | |
2473 | */ | |
2474 | /* STDIO_PTR_LVAL_SETS_CNT: | |
2475 | * This symbol is defined if using the FILE_ptr macro as an lvalue | |
2476 | * to increase the pointer by n has the side effect of decreasing the | |
2477 | * value of File_cnt(fp) by n. | |
2478 | */ | |
2479 | /* STDIO_PTR_LVAL_NOCHANGE_CNT: | |
2480 | * This symbol is defined if using the FILE_ptr macro as an lvalue | |
2481 | * to increase the pointer by n leaves File_cnt(fp) unchanged. | |
2482 | */ | |
2483 | /*#define USE_STDIO_PTR / **/ | |
2484 | #ifdef USE_STDIO_PTR | |
2485 | #define FILE_ptr(fp) ((fp)->_IO_read_ptr) | |
2486 | /*#define STDIO_PTR_LVALUE / **/ | |
2487 | #define FILE_cnt(fp) ((fp)->_IO_read_end - (fp)->_IO_read_ptr) | |
2488 | /*#define STDIO_CNT_LVALUE / **/ | |
2489 | /*#define STDIO_PTR_LVAL_SETS_CNT / **/ | |
2490 | /*#define STDIO_PTR_LVAL_NOCHANGE_CNT / **/ | |
2491 | #endif | |
2492 | ||
2493 | /* USE_STDIO_BASE: | |
2494 | * This symbol is defined if the _base field (or similar) of the | |
2495 | * stdio FILE structure can be used to access the stdio buffer for | |
2496 | * a file handle. If this is defined, then the FILE_base(fp) macro | |
2497 | * will also be defined and should be used to access this field. | |
2498 | * Also, the FILE_bufsiz(fp) macro will be defined and should be used | |
2499 | * to determine the number of bytes in the buffer. USE_STDIO_BASE | |
2500 | * will never be defined unless USE_STDIO_PTR is. | |
2501 | */ | |
2502 | /* FILE_base: | |
2503 | * This macro is used to access the _base field (or equivalent) of the | |
2504 | * FILE structure pointed to by its argument. This macro will always be | |
2505 | * defined if USE_STDIO_BASE is defined. | |
2506 | */ | |
2507 | /* FILE_bufsiz: | |
2508 | * This macro is used to determine the number of bytes in the I/O | |
2509 | * buffer pointed to by _base field (or equivalent) of the FILE | |
2510 | * structure pointed to its argument. This macro will always be defined | |
2511 | * if USE_STDIO_BASE is defined. | |
2512 | */ | |
2513 | /*#define USE_STDIO_BASE / **/ | |
2514 | #ifdef USE_STDIO_BASE | |
2515 | #define FILE_base(fp) ((fp)->_IO_read_base) | |
2516 | #define FILE_bufsiz(fp) ((fp)->_IO_read_end - (fp)->_IO_read_base) | |
2517 | #endif | |
58bf2e2e | 2518 | |
06501368 MB |
2519 | /* USE_STRUCT_COPY: |
2520 | * This symbol, if defined, indicates that this C compiler knows how | |
2521 | * to copy structures. If undefined, you'll need to use a block copy | |
2522 | * routine of some sort instead. | |
2523 | */ | |
2524 | /*#define USE_STRUCT_COPY / **/ | |
2525 | ||
2526 | /* HAS_STRERROR: | |
2527 | * This symbol, if defined, indicates that the strerror routine is | |
2528 | * available to translate error numbers to strings. See the writeup | |
2529 | * of Strerror() in this file before you try to define your own. | |
2530 | */ | |
2531 | /* HAS_SYS_ERRLIST: | |
2532 | * This symbol, if defined, indicates that the sys_errlist array is | |
2533 | * available to translate error numbers to strings. The extern int | |
2534 | * sys_nerr gives the size of that table. | |
2535 | */ | |
2536 | /* Strerror: | |
2537 | * This preprocessor symbol is defined as a macro if strerror() is | |
2538 | * not available to translate error numbers to strings but sys_errlist[] | |
2539 | * array is there. | |
2540 | */ | |
2541 | /*#define HAS_STRERROR / **/ | |
2542 | /*#define HAS_SYS_ERRLIST / **/ | |
2543 | #define Strerror(e) strerror(e) | |
2544 | ||
58bf2e2e RGS |
2545 | /* HAS_STRERROR_R: |
2546 | * This symbol, if defined, indicates that the strerror_r routine | |
2547 | * is available to strerror re-entrantly. | |
2548 | */ | |
2549 | /* STRERROR_R_PROTO: | |
2550 | * This symbol encodes the prototype of strerror_r. | |
2551 | * It is zero if d_strerror_r is undef, and one of the | |
2552 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r | |
2553 | * is defined. | |
2554 | */ | |
2555 | /*#define HAS_STRERROR_R / **/ | |
2556 | #define STRERROR_R_PROTO 0 /**/ | |
2557 | ||
06501368 MB |
2558 | /* HAS_STRTOUL: |
2559 | * This symbol, if defined, indicates that the strtoul routine is | |
2560 | * available to provide conversion of strings to unsigned long. | |
2561 | */ | |
2562 | #define HAS_STRTOUL /**/ | |
2563 | ||
2564 | /* HAS_TIME: | |
2565 | * This symbol, if defined, indicates that the time() routine exists. | |
2566 | */ | |
2567 | /* Time_t: | |
2568 | * This symbol holds the type returned by time(). It can be long, | |
2569 | * or time_t on BSD sites (in which case <sys/types.h> should be | |
2570 | * included). | |
2571 | */ | |
2572 | #define HAS_TIME /**/ | |
2573 | #define Time_t time_t /* Time type */ | |
2574 | ||
2575 | /* HAS_TIMES: | |
2576 | * This symbol, if defined, indicates that the times() routine exists. | |
2577 | * Note that this became obsolete on some systems (SUNOS), which now | |
2578 | * use getrusage(). It may be necessary to include <sys/times.h>. | |
2579 | */ | |
2580 | /*#define HAS_TIMES / **/ | |
2581 | ||
2582 | /* HAS_TMPNAM_R: | |
9244ff22 SP |
2583 | * This symbol, if defined, indicates that the tmpnam_r routine |
2584 | * is available to tmpnam re-entrantly. | |
58bf2e2e | 2585 | */ |
9244ff22 SP |
2586 | /* TMPNAM_R_PROTO: |
2587 | * This symbol encodes the prototype of tmpnam_r. | |
2588 | * It is zero if d_tmpnam_r is undef, and one of the | |
2589 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_tmpnam_r | |
2590 | * is defined. | |
58bf2e2e | 2591 | */ |
9244ff22 SP |
2592 | /*#define HAS_TMPNAM_R / **/ |
2593 | #define TMPNAM_R_PROTO 0 /**/ | |
58bf2e2e | 2594 | |
535ceeb0 JH |
2595 | /* HAS_TTYNAME_R: |
2596 | * This symbol, if defined, indicates that the ttyname_r routine | |
2597 | * is available to ttyname re-entrantly. | |
2598 | */ | |
2599 | /* TTYNAME_R_PROTO: | |
2600 | * This symbol encodes the prototype of ttyname_r. | |
2601 | * It is zero if d_ttyname_r is undef, and one of the | |
2602 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ttyname_r | |
2603 | * is defined. | |
2604 | */ | |
2605 | /*#define HAS_TTYNAME_R / **/ | |
2606 | #define TTYNAME_R_PROTO 0 /**/ | |
2607 | ||
06501368 MB |
2608 | /* HAS_UNION_SEMUN: |
2609 | * This symbol, if defined, indicates that the union semun is | |
2610 | * defined by including <sys/sem.h>. If not, the user code | |
2611 | * probably needs to define it as: | |
2612 | * union semun { | |
2613 | * int val; | |
2614 | * struct semid_ds *buf; | |
2615 | * unsigned short *array; | |
2616 | * } | |
2617 | */ | |
2618 | /* USE_SEMCTL_SEMUN: | |
2619 | * This symbol, if defined, indicates that union semun is | |
2620 | * used for semctl IPC_STAT. | |
2621 | */ | |
2622 | /* USE_SEMCTL_SEMID_DS: | |
2623 | * This symbol, if defined, indicates that struct semid_ds * is | |
2624 | * used for semctl IPC_STAT. | |
2625 | */ | |
2626 | /*#define HAS_UNION_SEMUN / **/ | |
2627 | /*#define USE_SEMCTL_SEMUN / **/ | |
2628 | /*#define USE_SEMCTL_SEMID_DS / **/ | |
2629 | ||
2630 | /* HAS_VFORK: | |
2631 | * This symbol, if defined, indicates that vfork() exists. | |
2632 | */ | |
2633 | /*#define HAS_VFORK / **/ | |
2634 | ||
2635 | /* HAS_PSEUDOFORK: | |
2636 | * This symbol, if defined, indicates that an emulation of the | |
2637 | * fork routine is available. | |
2638 | */ | |
2639 | /*#define HAS_PSEUDOFORK / **/ | |
2640 | ||
2641 | /* Signal_t: | |
2642 | * This symbol's value is either "void" or "int", corresponding to the | |
2643 | * appropriate return type of a signal handler. Thus, you can declare | |
2644 | * a signal handler using "Signal_t (*handler)()", and define the | |
2645 | * handler using "Signal_t handler(sig)". | |
2646 | */ | |
2647 | #define Signal_t int /* Signal handler's return type */ | |
2648 | ||
2649 | /* HASVOLATILE: | |
2650 | * This symbol, if defined, indicates that this C compiler knows about | |
2651 | * the volatile declaration. | |
2652 | */ | |
2653 | /*#define HASVOLATILE / **/ | |
2654 | #ifndef HASVOLATILE | |
2655 | #define volatile | |
2656 | #endif | |
2657 | ||
12cf8ac4 NC |
2658 | /* HAS_VPRINTF: |
2659 | * This symbol, if defined, indicates that the vprintf routine is available | |
2660 | * to printf with a pointer to an argument list. If unavailable, you | |
2661 | * may need to write your own, probably in terms of _doprnt(). | |
b363b713 | 2662 | */ |
12cf8ac4 NC |
2663 | /* USE_CHAR_VSPRINTF: |
2664 | * This symbol is defined if this system has vsprintf() returning type | |
2665 | * (char*). The trend seems to be to declare it as "int vsprintf()". It | |
2666 | * is up to the package author to declare vsprintf correctly based on the | |
2667 | * symbol. | |
9244ff22 | 2668 | */ |
12cf8ac4 NC |
2669 | #define HAS_VPRINTF /**/ |
2670 | /*#define USE_CHAR_VSPRINTF / **/ | |
9244ff22 | 2671 | |
12cf8ac4 NC |
2672 | /* DOUBLESIZE: |
2673 | * This symbol contains the size of a double, so that the C preprocessor | |
2674 | * can make decisions based on it. | |
a7fea17f | 2675 | */ |
12cf8ac4 | 2676 | #define DOUBLESIZE 8 /**/ |
a7fea17f | 2677 | |
06501368 MB |
2678 | /* EBCDIC: |
2679 | * This symbol, if defined, indicates that this system uses | |
2680 | * EBCDIC encoding. | |
2681 | */ | |
2682 | /*#define EBCDIC / **/ | |
2683 | ||
2684 | /* Fpos_t: | |
2685 | * This symbol holds the type used to declare file positions in libc. | |
2686 | * It can be fpos_t, long, uint, etc... It may be necessary to include | |
2687 | * <sys/types.h> to get any typedef'ed information. | |
2688 | */ | |
2689 | #define Fpos_t int /* File position type */ | |
2690 | ||
2691 | /* Gid_t_f: | |
2692 | * This symbol defines the format string used for printing a Gid_t. | |
2693 | */ | |
2694 | #define Gid_t_f "lu" /**/ | |
2695 | ||
2696 | /* Gid_t_sign: | |
2697 | * This symbol holds the signedess of a Gid_t. | |
2698 | * 1 for unsigned, -1 for signed. | |
2699 | */ | |
2700 | #define Gid_t_sign 1 /* GID sign */ | |
2701 | ||
2702 | /* Gid_t_size: | |
2703 | * This symbol holds the size of a Gid_t in bytes. | |
2704 | */ | |
2705 | #define Gid_t_size 4 /* GID size */ | |
2706 | ||
2707 | /* Gid_t: | |
2708 | * This symbol holds the return type of getgid() and the type of | |
2709 | * argument to setrgid() and related functions. Typically, | |
2710 | * it is the type of group ids in the kernel. It can be int, ushort, | |
2711 | * gid_t, etc... It may be necessary to include <sys/types.h> to get | |
2712 | * any typedef'ed information. | |
2713 | */ | |
2714 | #define Gid_t int /* Type for getgid(), etc... */ | |
2715 | ||
2716 | /* I_DIRENT: | |
2717 | * This symbol, if defined, indicates to the C program that it should | |
2718 | * include <dirent.h>. Using this symbol also triggers the definition | |
2719 | * of the Direntry_t define which ends up being 'struct dirent' or | |
2720 | * 'struct direct' depending on the availability of <dirent.h>. | |
2721 | */ | |
2722 | /* DIRNAMLEN: | |
2723 | * This symbol, if defined, indicates to the C program that the length | |
2724 | * of directory entry names is provided by a d_namlen field. Otherwise | |
2725 | * you need to do strlen() on the d_name field. | |
2726 | */ | |
2727 | /* Direntry_t: | |
2728 | * This symbol is set to 'struct direct' or 'struct dirent' depending on | |
2729 | * whether dirent is available or not. You should use this pseudo type to | |
2730 | * portably declare your directory entries. | |
2731 | */ | |
2732 | #define I_DIRENT /**/ | |
2733 | /*#define DIRNAMLEN / **/ | |
2734 | #define Direntry_t struct dirent | |
2735 | ||
2736 | /* I_GRP: | |
2737 | * This symbol, if defined, indicates to the C program that it should | |
2738 | * include <grp.h>. | |
2739 | */ | |
2740 | /* GRPASSWD: | |
2741 | * This symbol, if defined, indicates to the C program that struct group | |
2742 | * in <grp.h> contains gr_passwd. | |
2743 | */ | |
2744 | /*#define I_GRP / **/ | |
2745 | /*#define GRPASSWD / **/ | |
2746 | ||
12cf8ac4 NC |
2747 | /* I_MACH_CTHREADS: |
2748 | * This symbol, if defined, indicates to the C program that it should | |
2749 | * include <mach/cthreads.h>. | |
58bf2e2e | 2750 | */ |
12cf8ac4 | 2751 | /*#define I_MACH_CTHREADS / **/ |
58bf2e2e | 2752 | |
06501368 MB |
2753 | /* I_NDBM: |
2754 | * This symbol, if defined, indicates that <ndbm.h> exists and should | |
2755 | * be included. | |
2756 | */ | |
2757 | /* I_GDBMNDBM: | |
2758 | * This symbol, if defined, indicates that <gdbm/ndbm.h> exists and should | |
2759 | * be included. This was the location of the ndbm.h compatibility file | |
2760 | * in RedHat 7.1. | |
2761 | */ | |
2762 | /* I_GDBM_NDBM: | |
2763 | * This symbol, if defined, indicates that <gdbm-ndbm.h> exists and should | |
2764 | * be included. This is the location of the ndbm.h compatibility file | |
2765 | * in Debian 4.0. | |
2766 | */ | |
2767 | /* NDBM_H_USES_PROTOTYPES: | |
2768 | * This symbol, if defined, indicates that <ndbm.h> uses real ANSI C | |
2769 | * prototypes instead of K&R style function declarations without any | |
2770 | * parameter information. While ANSI C prototypes are supported in C++, | |
2771 | * K&R style function declarations will yield errors. | |
2772 | */ | |
2773 | /* GDBMNDBM_H_USES_PROTOTYPES: | |
2774 | * This symbol, if defined, indicates that <gdbm/ndbm.h> uses real ANSI C | |
2775 | * prototypes instead of K&R style function declarations without any | |
2776 | * parameter information. While ANSI C prototypes are supported in C++, | |
2777 | * K&R style function declarations will yield errors. | |
2778 | */ | |
2779 | /* GDBM_NDBM_H_USES_PROTOTYPES: | |
2780 | * This symbol, if defined, indicates that <gdbm-ndbm.h> uses real ANSI C | |
2781 | * prototypes instead of K&R style function declarations without any | |
2782 | * parameter information. While ANSI C prototypes are supported in C++, | |
2783 | * K&R style function declarations will yield errors. | |
2784 | */ | |
2785 | /*#define I_NDBM / **/ | |
2786 | /*#define I_GDBMNDBM / **/ | |
2787 | /*#define I_GDBM_NDBM / **/ | |
2788 | /*#define NDBM_H_USES_PROTOTYPES / **/ | |
2789 | /*#define GDBMNDBM_H_USES_PROTOTYPES / **/ | |
2790 | /*#define GDBM_NDBM_H_USES_PROTOTYPES / **/ | |
2791 | ||
2792 | /* I_NETDB: | |
2793 | * This symbol, if defined, indicates that <netdb.h> exists and | |
2794 | * should be included. | |
2795 | */ | |
2796 | /*#define I_NETDB / **/ | |
2797 | ||
2798 | /* I_NET_ERRNO: | |
2799 | * This symbol, if defined, indicates that <net/errno.h> exists and | |
2800 | * should be included. | |
2801 | */ | |
2802 | /*#define I_NET_ERRNO / **/ | |
2803 | ||
12cf8ac4 NC |
2804 | /* I_PTHREAD: |
2805 | * This symbol, if defined, indicates to the C program that it should | |
2806 | * include <pthread.h>. | |
58bf2e2e | 2807 | */ |
12cf8ac4 | 2808 | /*#define I_PTHREAD / **/ |
58bf2e2e | 2809 | |
06501368 MB |
2810 | /* I_PWD: |
2811 | * This symbol, if defined, indicates to the C program that it should | |
2812 | * include <pwd.h>. | |
2813 | */ | |
2814 | /* PWQUOTA: | |
2815 | * This symbol, if defined, indicates to the C program that struct passwd | |
2816 | * contains pw_quota. | |
2817 | */ | |
2818 | /* PWAGE: | |
2819 | * This symbol, if defined, indicates to the C program that struct passwd | |
2820 | * contains pw_age. | |
2821 | */ | |
2822 | /* PWCHANGE: | |
2823 | * This symbol, if defined, indicates to the C program that struct passwd | |
2824 | * contains pw_change. | |
2825 | */ | |
2826 | /* PWCLASS: | |
2827 | * This symbol, if defined, indicates to the C program that struct passwd | |
2828 | * contains pw_class. | |
2829 | */ | |
2830 | /* PWEXPIRE: | |
2831 | * This symbol, if defined, indicates to the C program that struct passwd | |
2832 | * contains pw_expire. | |
2833 | */ | |
2834 | /* PWCOMMENT: | |
2835 | * This symbol, if defined, indicates to the C program that struct passwd | |
2836 | * contains pw_comment. | |
2837 | */ | |
2838 | /* PWGECOS: | |
2839 | * This symbol, if defined, indicates to the C program that struct passwd | |
2840 | * contains pw_gecos. | |
2841 | */ | |
2842 | /* PWPASSWD: | |
2843 | * This symbol, if defined, indicates to the C program that struct passwd | |
2844 | * contains pw_passwd. | |
2845 | */ | |
2846 | /*#define I_PWD / **/ | |
2847 | /*#define PWQUOTA / **/ | |
2848 | /*#define PWAGE / **/ | |
2849 | /*#define PWCHANGE / **/ | |
2850 | /*#define PWCLASS / **/ | |
2851 | /*#define PWEXPIRE / **/ | |
2852 | /*#define PWCOMMENT / **/ | |
2853 | /*#define PWGECOS / **/ | |
2854 | /*#define PWPASSWD / **/ | |
2855 | ||
12cf8ac4 NC |
2856 | /* I_SYS_ACCESS: |
2857 | * This symbol, if defined, indicates to the C program that it should | |
2858 | * include <sys/access.h>. | |
58bf2e2e | 2859 | */ |
12cf8ac4 | 2860 | /*#define I_SYS_ACCESS / **/ |
58bf2e2e | 2861 | |
12cf8ac4 NC |
2862 | /* I_SYS_SECURITY: |
2863 | * This symbol, if defined, indicates to the C program that it should | |
2864 | * include <sys/security.h>. | |
58bf2e2e | 2865 | */ |
12cf8ac4 | 2866 | /*#define I_SYS_SECURITY / **/ |
58bf2e2e | 2867 | |
06501368 MB |
2868 | /* I_SYSUIO: |
2869 | * This symbol, if defined, indicates that <sys/uio.h> exists and | |
2870 | * should be included. | |
2871 | */ | |
2872 | /*#define I_SYSUIO / **/ | |
2873 | ||
12cf8ac4 NC |
2874 | /* I_TIME: |
2875 | * This symbol, if defined, indicates to the C program that it should | |
2876 | * include <time.h>. | |
58bf2e2e | 2877 | */ |
12cf8ac4 NC |
2878 | /* I_SYS_TIME: |
2879 | * This symbol, if defined, indicates to the C program that it should | |
2880 | * include <sys/time.h>. | |
58bf2e2e | 2881 | */ |
12cf8ac4 | 2882 | /* I_SYS_TIME_KERNEL: |
9244ff22 | 2883 | * This symbol, if defined, indicates to the C program that it should |
12cf8ac4 | 2884 | * include <sys/time.h> with KERNEL defined. |
58bf2e2e | 2885 | */ |
12cf8ac4 NC |
2886 | /* HAS_TM_TM_ZONE: |
2887 | * This symbol, if defined, indicates to the C program that | |
2888 | * the struct tm has a tm_zone field. | |
535ceeb0 | 2889 | */ |
12cf8ac4 NC |
2890 | /* HAS_TM_TM_GMTOFF: |
2891 | * This symbol, if defined, indicates to the C program that | |
2892 | * the struct tm has a tm_gmtoff field. | |
58bf2e2e | 2893 | */ |
12cf8ac4 NC |
2894 | #define I_TIME /**/ |
2895 | /*#define I_SYS_TIME / **/ | |
2896 | /*#define I_SYS_TIME_KERNEL / **/ | |
2897 | /*#define HAS_TM_TM_ZONE / **/ | |
2898 | /*#define HAS_TM_TM_GMTOFF / **/ | |
58bf2e2e | 2899 | |
06501368 MB |
2900 | /* I_STDARG: |
2901 | * This symbol, if defined, indicates that <stdarg.h> exists and should | |
2902 | * be included. | |
2903 | */ | |
2904 | /* I_VARARGS: | |
2905 | * This symbol, if defined, indicates to the C program that it should | |
2906 | * include <varargs.h>. | |
2907 | */ | |
2908 | #define I_STDARG /**/ | |
2909 | /*#define I_VARARGS / **/ | |
2910 | ||
2911 | /* PERL_INC_VERSION_LIST: | |
2912 | * This variable specifies the list of subdirectories in over | |
2913 | * which perl.c:incpush() and lib/lib.pm will automatically | |
2914 | * search when adding directories to @INC, in a format suitable | |
2915 | * for a C initialization string. See the inc_version_list entry | |
2916 | * in Porting/Glossary for more details. | |
58bf2e2e | 2917 | */ |
12cf8ac4 | 2918 | /*#define PERL_INC_VERSION_LIST NULL / **/ |
58bf2e2e | 2919 | |
12cf8ac4 NC |
2920 | /* INSTALL_USR_BIN_PERL: |
2921 | * This symbol, if defined, indicates that Perl is to be installed | |
2922 | * also as /usr/bin/perl. | |
58bf2e2e | 2923 | */ |
12cf8ac4 | 2924 | /*#define INSTALL_USR_BIN_PERL / **/ |
58bf2e2e | 2925 | |
06501368 MB |
2926 | /* Off_t: |
2927 | * This symbol holds the type used to declare offsets in the kernel. | |
2928 | * It can be int, long, off_t, etc... It may be necessary to include | |
2929 | * <sys/types.h> to get any typedef'ed information. | |
2930 | */ | |
2931 | /* LSEEKSIZE: | |
2932 | * This symbol holds the number of bytes used by the Off_t. | |
2933 | */ | |
2934 | /* Off_t_size: | |
2935 | * This symbol holds the number of bytes used by the Off_t. | |
2936 | */ | |
2937 | #define Off_t int /* <offset> type */ | |
2938 | #define LSEEKSIZE 4 /* <offset> size */ | |
2939 | #define Off_t_size 4 /* <offset> size */ | |
2940 | ||
2941 | /* Free_t: | |
2942 | * This variable contains the return type of free(). It is usually | |
2943 | * void, but occasionally int. | |
2944 | */ | |
2945 | /* Malloc_t: | |
2946 | * This symbol is the type of pointer returned by malloc and realloc. | |
2947 | */ | |
2948 | #define Malloc_t void * /**/ | |
2949 | #define Free_t void /**/ | |
2950 | ||
2951 | /* PERL_MALLOC_WRAP: | |
2952 | * This symbol, if defined, indicates that we'd like malloc wrap checks. | |
2953 | */ | |
2954 | /*#define PERL_MALLOC_WRAP / **/ | |
2955 | ||
2956 | /* MYMALLOC: | |
2957 | * This symbol, if defined, indicates that we're using our own malloc. | |
2958 | */ | |
2959 | /*#define MYMALLOC / **/ | |
2960 | ||
2961 | /* Mode_t: | |
2962 | * This symbol holds the type used to declare file modes | |
2963 | * for systems calls. It is usually mode_t, but may be | |
2964 | * int or unsigned short. It may be necessary to include <sys/types.h> | |
2965 | * to get any typedef'ed information. | |
2966 | */ | |
2967 | #define Mode_t int /* file mode parameter for system calls */ | |
2968 | ||
12cf8ac4 NC |
2969 | /* VAL_O_NONBLOCK: |
2970 | * This symbol is to be used during open() or fcntl(F_SETFL) to turn on | |
2971 | * non-blocking I/O for the file descriptor. Note that there is no way | |
2972 | * back, i.e. you cannot turn it blocking again this way. If you wish to | |
2973 | * alternatively switch between blocking and non-blocking, use the | |
2974 | * ioctl(FIOSNBIO) call instead, but that is not supported by all devices. | |
535ceeb0 | 2975 | */ |
12cf8ac4 NC |
2976 | /* VAL_EAGAIN: |
2977 | * This symbol holds the errno error code set by read() when no data was | |
2978 | * present on the non-blocking file descriptor. | |
0639114f | 2979 | */ |
12cf8ac4 NC |
2980 | /* RD_NODATA: |
2981 | * This symbol holds the return code from read() when no data is present | |
2982 | * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is | |
2983 | * not defined, then you can't distinguish between no data and EOF by | |
2984 | * issuing a read(). You'll have to find another way to tell for sure! | |
0639114f | 2985 | */ |
12cf8ac4 NC |
2986 | /* EOF_NONBLOCK: |
2987 | * This symbol, if defined, indicates to the C program that a read() on | |
2988 | * a non-blocking file descriptor will return 0 on EOF, and not the value | |
2989 | * held in RD_NODATA (-1 usually, in that case!). | |
0639114f | 2990 | */ |
12cf8ac4 NC |
2991 | #define VAL_O_NONBLOCK O_NONBLOCK |
2992 | #define VAL_EAGAIN EAGAIN | |
2993 | #define RD_NODATA -1 | |
2994 | #undef EOF_NONBLOCK | |
535ceeb0 | 2995 | |
06501368 MB |
2996 | /* Netdb_host_t: |
2997 | * This symbol holds the type used for the 1st argument | |
2998 | * to gethostbyaddr(). | |
2999 | */ | |
3000 | /* Netdb_hlen_t: | |
3001 | * This symbol holds the type used for the 2nd argument | |
3002 | * to gethostbyaddr(). | |
3003 | */ | |
3004 | /* Netdb_name_t: | |
3005 | * This symbol holds the type used for the argument to | |
3006 | * gethostbyname(). | |
3007 | */ | |
3008 | /* Netdb_net_t: | |
3009 | * This symbol holds the type used for the 1st argument to | |
3010 | * getnetbyaddr(). | |
3011 | */ | |
3012 | #define Netdb_host_t const char * /**/ | |
3013 | #define Netdb_hlen_t int /**/ | |
3014 | #define Netdb_name_t const char * /**/ | |
3015 | #define Netdb_net_t unsigned long /**/ | |
3016 | ||
12cf8ac4 NC |
3017 | /* PERL_OTHERLIBDIRS: |
3018 | * This variable contains a colon-separated set of paths for the perl | |
3019 | * binary to search for additional library files or modules. | |
3020 | * These directories will be tacked to the end of @INC. | |
3021 | * Perl will automatically search below each path for version- | |
3022 | * and architecture-specific directories. See PERL_INC_VERSION_LIST | |
3023 | * for more details. | |
58bf2e2e | 3024 | */ |
12cf8ac4 | 3025 | /*#define PERL_OTHERLIBDIRS " " / **/ |
58bf2e2e | 3026 | |
06501368 MB |
3027 | /* Pid_t: |
3028 | * This symbol holds the type used to declare process ids in the kernel. | |
3029 | * It can be int, uint, pid_t, etc... It may be necessary to include | |
3030 | * <sys/types.h> to get any typedef'ed information. | |
3031 | */ | |
3032 | #define Pid_t int /* PID type */ | |
3033 | ||
12cf8ac4 NC |
3034 | /* PRIVLIB: |
3035 | * This symbol contains the name of the private library for this package. | |
3036 | * The library is private in the sense that it needn't be in anyone's | |
3037 | * execution path, but it should be accessible by the world. The program | |
3038 | * should be prepared to do ~ expansion. | |
58bf2e2e | 3039 | */ |
12cf8ac4 NC |
3040 | /* PRIVLIB_EXP: |
3041 | * This symbol contains the ~name expanded version of PRIVLIB, to be used | |
3042 | * in programs that are not prepared to deal with ~ expansion at run-time. | |
3043 | */ | |
0e79a3d1 RS |
3044 | #define PRIVLIB "/usr/local/lib/perl5/5.17" /**/ |
3045 | #define PRIVLIB_EXP "/usr/local/lib/perl5/5.17" /**/ | |
58bf2e2e | 3046 | |
06501368 MB |
3047 | /* CAN_PROTOTYPE: |
3048 | * If defined, this macro indicates that the C compiler can handle | |
3049 | * function prototypes. | |
3050 | */ | |
3051 | /* _: | |
3052 | * This macro is used to declare function parameters for folks who want | |
3053 | * to make declarations with prototypes using a different style than | |
3054 | * the above macros. Use double parentheses. For example: | |
3055 | * | |
3056 | * int main _((int argc, char *argv[])); | |
3057 | */ | |
3058 | /*#define CAN_PROTOTYPE / **/ | |
3059 | #ifdef CAN_PROTOTYPE | |
3060 | #define _(args) args | |
3061 | #else | |
3062 | #define _(args) () | |
3063 | #endif | |
3064 | ||
12cf8ac4 NC |
3065 | /* PTRSIZE: |
3066 | * This symbol contains the size of a pointer, so that the C preprocessor | |
3067 | * can make decisions based on it. It will be sizeof(void *) if | |
3068 | * the compiler supports (void *); otherwise it will be | |
3069 | * sizeof(char *). | |
58bf2e2e | 3070 | */ |
12cf8ac4 | 3071 | #define PTRSIZE 4 /**/ |
58bf2e2e | 3072 | |
06501368 MB |
3073 | /* HAS_QUAD: |
3074 | * This symbol, if defined, tells that there's a 64-bit integer type, | |
3075 | * Quad_t, and its unsigned counterpart, Uquad_t. QUADKIND will be one | |
3076 | * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, QUAD_IS_INT64_T, | |
3077 | * or QUAD_IS___INT64. | |
3078 | */ | |
3079 | /*#define HAS_QUAD / **/ | |
3080 | #ifdef HAS_QUAD | |
3081 | # define Quad_t int64_t /**/ | |
3082 | # define Uquad_t uint64_t /**/ | |
3083 | # define QUADKIND 4 /**/ | |
3084 | # define QUAD_IS_INT 1 | |
3085 | # define QUAD_IS_LONG 2 | |
3086 | # define QUAD_IS_LONG_LONG 3 | |
3087 | # define QUAD_IS_INT64_T 4 | |
3088 | # define QUAD_IS___INT64 5 | |
3089 | #endif | |
3090 | ||
12cf8ac4 NC |
3091 | /* Drand01: |
3092 | * This macro is to be used to generate uniformly distributed | |
3093 | * random numbers over the range [0., 1.[. You may have to supply | |
3094 | * an 'extern double drand48();' in your program since SunOS 4.1.3 | |
3095 | * doesn't provide you with anything relevant in its headers. | |
3096 | * See HAS_DRAND48_PROTO. | |
758a5d79 | 3097 | */ |
12cf8ac4 NC |
3098 | /* Rand_seed_t: |
3099 | * This symbol defines the type of the argument of the | |
3100 | * random seed function. | |
758a5d79 | 3101 | */ |
12cf8ac4 NC |
3102 | /* seedDrand01: |
3103 | * This symbol defines the macro to be used in seeding the | |
3104 | * random number generator (see Drand01). | |
3ebb1980 | 3105 | */ |
12cf8ac4 NC |
3106 | /* RANDBITS: |
3107 | * This symbol indicates how many bits are produced by the | |
3108 | * function used to generate normalized random numbers. | |
3109 | * Values include 15, 16, 31, and 48. | |
3ebb1980 | 3110 | */ |
12cf8ac4 NC |
3111 | #define Drand01() ((rand() & 0x7FFF) / (double) ((unsigned long)1 << 15)) /**/ |
3112 | #define Rand_seed_t int /**/ | |
3113 | #define seedDrand01(x) srand((Rand_seed_t)x) /**/ | |
3114 | #define RANDBITS 48 /**/ | |
3115 | ||
06501368 MB |
3116 | /* Select_fd_set_t: |
3117 | * This symbol holds the type used for the 2nd, 3rd, and 4th | |
3118 | * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET | |
3119 | * is defined, and 'int *' otherwise. This is only useful if you | |
3120 | * have select(), of course. | |
3121 | */ | |
3122 | #define Select_fd_set_t int /**/ | |
3123 | ||
3124 | /* SH_PATH: | |
3125 | * This symbol contains the full pathname to the shell used on this | |
3126 | * on this system to execute Bourne shell scripts. Usually, this will be | |
3127 | * /bin/sh, though it's possible that some systems will have /bin/ksh, | |
3128 | * /bin/pdksh, /bin/ash, /bin/bash, or even something such as | |
3129 | * D:/bin/sh.exe. | |
3130 | */ | |
3131 | #define SH_PATH "/bin/sh" /**/ | |
3132 | ||
3133 | /* SIG_NAME: | |
3134 | * This symbol contains a list of signal names in order of | |
3135 | * signal number. This is intended | |
3136 | * to be used as a static array initialization, like this: | |
3137 | * char *sig_name[] = { SIG_NAME }; | |
3138 | * The signals in the list are separated with commas, and each signal | |
3139 | * is surrounded by double quotes. There is no leading SIG in the signal | |
3140 | * name, i.e. SIGQUIT is known as "QUIT". | |
3141 | * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn, | |
3142 | * etc., where nn is the actual signal number (e.g. NUM37). | |
3143 | * The signal number for sig_name[i] is stored in sig_num[i]. | |
3144 | * The last element is 0 to terminate the list with a NULL. This | |
3145 | * corresponds to the 0 at the end of the sig_name_init list. | |
3146 | * Note that this variable is initialized from the sig_name_init, | |
3147 | * not from sig_name (which is unused). | |
3148 | */ | |
3149 | /* SIG_NUM: | |
3150 | * This symbol contains a list of signal numbers, in the same order as the | |
3151 | * SIG_NAME list. It is suitable for static array initialization, as in: | |
3152 | * int sig_num[] = { SIG_NUM }; | |
3153 | * The signals in the list are separated with commas, and the indices | |
3154 | * within that list and the SIG_NAME list match, so it's easy to compute | |
3155 | * the signal name from a number or vice versa at the price of a small | |
3156 | * dynamic linear lookup. | |
3157 | * Duplicates are allowed, but are moved to the end of the list. | |
3158 | * The signal number corresponding to sig_name[i] is sig_number[i]. | |
3159 | * if (i < NSIG) then sig_number[i] == i. | |
3160 | * The last element is 0, corresponding to the 0 at the end of | |
3161 | * the sig_name_init list. | |
3162 | * Note that this variable is initialized from the sig_num_init, | |
3163 | * not from sig_num (which is unused). | |
3164 | */ | |
3165 | /* SIG_SIZE: | |
3166 | * This variable contains the number of elements of the SIG_NAME | |
3167 | * and SIG_NUM arrays, excluding the final NULL entry. | |
3168 | */ | |
3169 | #define SIG_NAME 0 /**/ | |
3170 | #define SIG_NUM 0 /**/ | |
3171 | #define SIG_SIZE 1 /**/ | |
3172 | ||
12cf8ac4 NC |
3173 | /* SITEARCH: |
3174 | * This symbol contains the name of the private library for this package. | |
3175 | * The library is private in the sense that it needn't be in anyone's | |
3176 | * execution path, but it should be accessible by the world. The program | |
3177 | * should be prepared to do ~ expansion. | |
3178 | * The standard distribution will put nothing in this directory. | |
3179 | * After perl has been installed, users may install their own local | |
3180 | * architecture-dependent modules in this directory with | |
3181 | * MakeMaker Makefile.PL | |
3182 | * or equivalent. See INSTALL for details. | |
3ebb1980 | 3183 | */ |
12cf8ac4 NC |
3184 | /* SITEARCH_EXP: |
3185 | * This symbol contains the ~name expanded version of SITEARCH, to be used | |
3186 | * in programs that are not prepared to deal with ~ expansion at run-time. | |
1de32f2a | 3187 | */ |
0e79a3d1 RS |
3188 | /*#define SITEARCH "/usr/local/lib/perl5/5.17/unknown" / **/ |
3189 | /*#define SITEARCH_EXP "/usr/local/lib/perl5/5.17/unknown" / **/ | |
12cf8ac4 NC |
3190 | |
3191 | /* SITELIB: | |
3192 | * This symbol contains the name of the private library for this package. | |
3193 | * The library is private in the sense that it needn't be in anyone's | |
3194 | * execution path, but it should be accessible by the world. The program | |
3195 | * should be prepared to do ~ expansion. | |
3196 | * The standard distribution will put nothing in this directory. | |
3197 | * After perl has been installed, users may install their own local | |
3198 | * architecture-independent modules in this directory with | |
3199 | * MakeMaker Makefile.PL | |
3200 | * or equivalent. See INSTALL for details. | |
3ebb1980 | 3201 | */ |
12cf8ac4 NC |
3202 | /* SITELIB_EXP: |
3203 | * This symbol contains the ~name expanded version of SITELIB, to be used | |
3204 | * in programs that are not prepared to deal with ~ expansion at run-time. | |
3ebb1980 | 3205 | */ |
12cf8ac4 NC |
3206 | /* SITELIB_STEM: |
3207 | * This define is SITELIB_EXP with any trailing version-specific component | |
3208 | * removed. The elements in inc_version_list (inc_version_list.U) can | |
3209 | * be tacked onto this variable to generate a list of directories to search. | |
3ebb1980 | 3210 | */ |
0e79a3d1 RS |
3211 | #define SITELIB "/usr/local/lib/perl5/5.17" /**/ |
3212 | #define SITELIB_EXP "/usr/local/lib/perl5/5.17" /**/ | |
12cf8ac4 | 3213 | #define SITELIB_STEM "/usr/local/lib/perl5" /**/ |
e9a8643a | 3214 | |
06501368 MB |
3215 | /* Size_t_size: |
3216 | * This symbol holds the size of a Size_t in bytes. | |
3217 | */ | |
3218 | #define Size_t_size 4 /**/ | |
3219 | ||
3220 | /* Size_t: | |
3221 | * This symbol holds the type used to declare length parameters | |
3222 | * for string functions. It is usually size_t, but may be | |
3223 | * unsigned long, int, etc. It may be necessary to include | |
3224 | * <sys/types.h> to get any typedef'ed information. | |
3225 | */ | |
3226 | #define Size_t size_t /* length parameter for string functions */ | |
3227 | ||
3228 | /* Sock_size_t: | |
3229 | * This symbol holds the type used for the size argument of | |
3230 | * various socket calls (just the base type, not the pointer-to). | |
3231 | */ | |
3232 | #define Sock_size_t int /**/ | |
3233 | ||
12cf8ac4 NC |
3234 | /* SSize_t: |
3235 | * This symbol holds the type used by functions that return | |
3236 | * a count of bytes or an error condition. It must be a signed type. | |
3237 | * It is usually ssize_t, but may be long or int, etc. | |
3238 | * It may be necessary to include <sys/types.h> or <unistd.h> | |
3239 | * to get any typedef'ed information. | |
3240 | * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t). | |
10bc17b6 | 3241 | */ |
12cf8ac4 | 3242 | #define SSize_t int /* signed count of bytes */ |
58bf2e2e | 3243 | |
06501368 MB |
3244 | /* STDCHAR: |
3245 | * This symbol is defined to be the type of char used in stdio.h. | |
3246 | * It has the values "unsigned char" or "char". | |
535ceeb0 | 3247 | */ |
06501368 MB |
3248 | #define STDCHAR char /**/ |
3249 | ||
3250 | /* Uid_t_f: | |
3251 | * This symbol defines the format string used for printing a Uid_t. | |
535ceeb0 | 3252 | */ |
06501368 | 3253 | #define Uid_t_f "lu" /**/ |
535ceeb0 | 3254 | |
06501368 MB |
3255 | /* Uid_t_sign: |
3256 | * This symbol holds the signedess of a Uid_t. | |
3257 | * 1 for unsigned, -1 for signed. | |
10bc17b6 | 3258 | */ |
06501368 MB |
3259 | #define Uid_t_sign 1 /* UID sign */ |
3260 | ||
3261 | /* Uid_t_size: | |
3262 | * This symbol holds the size of a Uid_t in bytes. | |
3ebb1980 | 3263 | */ |
06501368 | 3264 | #define Uid_t_size 4 /* UID size */ |
3ebb1980 | 3265 | |
06501368 MB |
3266 | /* Uid_t: |
3267 | * This symbol holds the type used to declare user ids in the kernel. | |
3268 | * It can be int, ushort, uid_t, etc... It may be necessary to include | |
3269 | * <sys/types.h> to get any typedef'ed information. | |
a838cfe5 | 3270 | */ |
06501368 | 3271 | #define Uid_t int /* UID type */ |
12cf8ac4 | 3272 | |
06501368 MB |
3273 | /* USE_ITHREADS: |
3274 | * This symbol, if defined, indicates that Perl should be built to | |
3275 | * use the interpreter-based threading implementation. | |
12cf8ac4 | 3276 | */ |
06501368 MB |
3277 | /* USE_5005THREADS: |
3278 | * This symbol, if defined, indicates that Perl should be built to | |
3279 | * use the 5.005-based threading implementation. | |
3280 | * Only valid up to 5.8.x. | |
12cf8ac4 | 3281 | */ |
06501368 MB |
3282 | /* OLD_PTHREADS_API: |
3283 | * This symbol, if defined, indicates that Perl should | |
3284 | * be built to use the old draft POSIX threads API. | |
12cf8ac4 | 3285 | */ |
06501368 MB |
3286 | /* USE_REENTRANT_API: |
3287 | * This symbol, if defined, indicates that Perl should | |
3288 | * try to use the various _r versions of library functions. | |
3289 | * This is extremely experimental. | |
3290 | */ | |
3291 | /*#define USE_5005THREADS / **/ | |
3292 | /*#define USE_ITHREADS / **/ | |
3293 | #if defined(USE_5005THREADS) && !defined(USE_ITHREADS) | |
3294 | #define USE_THREADS /* until src is revised*/ | |
3295 | #endif | |
3296 | /*#define OLD_PTHREADS_API / **/ | |
3297 | /*#define USE_REENTRANT_API / **/ | |
9244ff22 | 3298 | |
06501368 MB |
3299 | /* PERL_VENDORARCH: |
3300 | * If defined, this symbol contains the name of a private library. | |
3301 | * The library is private in the sense that it needn't be in anyone's | |
3302 | * execution path, but it should be accessible by the world. | |
3303 | * It may have a ~ on the front. | |
3304 | * The standard distribution will put nothing in this directory. | |
3305 | * Vendors who distribute perl may wish to place their own | |
3306 | * architecture-dependent modules and extensions in this directory with | |
3307 | * MakeMaker Makefile.PL INSTALLDIRS=vendor | |
3308 | * or equivalent. See INSTALL for details. | |
9244ff22 | 3309 | */ |
06501368 MB |
3310 | /* PERL_VENDORARCH_EXP: |
3311 | * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used | |
3312 | * in programs that are not prepared to deal with ~ expansion at run-time. | |
3313 | */ | |
3314 | /*#define PERL_VENDORARCH "" / **/ | |
3315 | /*#define PERL_VENDORARCH_EXP "" / **/ | |
3316 | ||
3317 | /* PERL_VENDORLIB_EXP: | |
3318 | * This symbol contains the ~name expanded version of VENDORLIB, to be used | |
3319 | * in programs that are not prepared to deal with ~ expansion at run-time. | |
3320 | */ | |
3321 | /* PERL_VENDORLIB_STEM: | |
3322 | * This define is PERL_VENDORLIB_EXP with any trailing version-specific component | |
3323 | * removed. The elements in inc_version_list (inc_version_list.U) can | |
3324 | * be tacked onto this variable to generate a list of directories to search. | |
3325 | */ | |
3326 | /*#define PERL_VENDORLIB_EXP "" / **/ | |
3327 | /*#define PERL_VENDORLIB_STEM "" / **/ | |
9244ff22 | 3328 | |
12cf8ac4 NC |
3329 | /* VOIDFLAGS: |
3330 | * This symbol indicates how much support of the void type is given by this | |
3331 | * compiler. What various bits mean: | |
3332 | * | |
3333 | * 1 = supports declaration of void | |
3334 | * 2 = supports arrays of pointers to functions returning void | |
3335 | * 4 = supports comparisons between pointers to void functions and | |
3336 | * addresses of void functions | |
3337 | * 8 = supports declaration of generic void pointers | |
3338 | * | |
3339 | * The package designer should define VOIDUSED to indicate the requirements | |
3340 | * of the package. This can be done either by #defining VOIDUSED before | |
3341 | * including config.h, or by defining defvoidused in Myinit.U. If the | |
3342 | * latter approach is taken, only those flags will be tested. If the | |
3343 | * level of void support necessary is not present, defines void to int. | |
9244ff22 | 3344 | */ |
12cf8ac4 NC |
3345 | #ifndef VOIDUSED |
3346 | #define VOIDUSED 1 | |
3347 | #endif | |
3348 | #define VOIDFLAGS 1 | |
3349 | #if (VOIDFLAGS & VOIDUSED) != VOIDUSED | |
3350 | #define void int /* is void to be avoided? */ | |
3351 | #define M_VOID /* Xenix strikes again */ | |
3352 | #endif | |
9244ff22 | 3353 | |
0639114f NC |
3354 | /* PERL_USE_DEVEL: |
3355 | * This symbol, if defined, indicates that Perl was configured with | |
3356 | * -Dusedevel, to enable development features. This should not be | |
3357 | * done for production builds. | |
3358 | */ | |
3359 | /*#define PERL_USE_DEVEL / **/ | |
3360 | ||
9244ff22 SP |
3361 | /* HAS_ATOLF: |
3362 | * This symbol, if defined, indicates that the atolf routine is | |
3363 | * available to convert strings into long doubles. | |
3364 | */ | |
3365 | /*#define HAS_ATOLF / **/ | |
3366 | ||
3367 | /* HAS_ATOLL: | |
3368 | * This symbol, if defined, indicates that the atoll routine is | |
3369 | * available to convert strings into long longs. | |
3370 | */ | |
3371 | /*#define HAS_ATOLL / **/ | |
3372 | ||
3373 | /* HAS__FWALK: | |
3374 | * This symbol, if defined, indicates that the _fwalk system call is | |
3375 | * available to apply a function to all the file handles. | |
3376 | */ | |
3377 | /*#define HAS__FWALK / **/ | |
3378 | ||
3379 | /* HAS_AINTL: | |
3380 | * This symbol, if defined, indicates that the aintl routine is | |
3381 | * available. If copysignl is also present we can emulate modfl. | |
3382 | */ | |
3383 | /*#define HAS_AINTL / **/ | |
3384 | ||
3385 | /* HAS_BUILTIN_CHOOSE_EXPR: | |
3386 | * Can we handle GCC builtin for compile-time ternary-like expressions | |
3387 | */ | |
3388 | /* HAS_BUILTIN_EXPECT: | |
3389 | * Can we handle GCC builtin for telling that certain values are more | |
3390 | * likely | |
3391 | */ | |
3392 | /*#define HAS_BUILTIN_EXPECT / **/ | |
3393 | /*#define HAS_BUILTIN_CHOOSE_EXPR / **/ | |
3394 | ||
3395 | /* HAS_C99_VARIADIC_MACROS: | |
3396 | * If defined, the compiler supports C99 variadic macros. | |
3397 | */ | |
3398 | /*#define HAS_C99_VARIADIC_MACROS / **/ | |
3399 | ||
3400 | /* HAS_CLASS: | |
3401 | * This symbol, if defined, indicates that the class routine is | |
3402 | * available to classify doubles. Available for example in AIX. | |
3403 | * The returned values are defined in <float.h> and are: | |
3404 | * | |
3405 | * FP_PLUS_NORM Positive normalized, nonzero | |
3406 | * FP_MINUS_NORM Negative normalized, nonzero | |
3407 | * FP_PLUS_DENORM Positive denormalized, nonzero | |
3408 | * FP_MINUS_DENORM Negative denormalized, nonzero | |
3409 | * FP_PLUS_ZERO +0.0 | |
3410 | * FP_MINUS_ZERO -0.0 | |
3411 | * FP_PLUS_INF +INF | |
3412 | * FP_MINUS_INF -INF | |
3413 | * FP_NANS Signaling Not a Number (NaNS) | |
3414 | * FP_NANQ Quiet Not a Number (NaNQ) | |
3415 | */ | |
3416 | /*#define HAS_CLASS / **/ | |
3417 | ||
3418 | /* HAS_CLEARENV: | |
3419 | * This symbol, if defined, indicates that the clearenv () routine is | |
3420 | * available for use. | |
3421 | */ | |
3422 | /*#define HAS_CLEARENV / **/ | |
3423 | ||
3424 | /* HAS_STRUCT_CMSGHDR: | |
3425 | * This symbol, if defined, indicates that the struct cmsghdr | |
3426 | * is supported. | |
3427 | */ | |
3428 | /*#define HAS_STRUCT_CMSGHDR / **/ | |
3429 | ||
3430 | /* HAS_COPYSIGNL: | |
3431 | * This symbol, if defined, indicates that the copysignl routine is | |
3432 | * available. If aintl is also present we can emulate modfl. | |
3433 | */ | |
3434 | /*#define HAS_COPYSIGNL / **/ | |
3435 | ||
3436 | /* USE_CPLUSPLUS: | |
3437 | * This symbol, if defined, indicates that a C++ compiler was | |
3438 | * used to compiled Perl and will be used to compile extensions. | |
3439 | */ | |
3440 | /*#define USE_CPLUSPLUS / **/ | |
3441 | ||
3442 | /* HAS_DBMINIT_PROTO: | |
3443 | * This symbol, if defined, indicates that the system provides | |
3444 | * a prototype for the dbminit() function. Otherwise, it is up | |
3445 | * to the program to supply one. A good guess is | |
3446 | * extern int dbminit(char *); | |
3447 | */ | |
3448 | /*#define HAS_DBMINIT_PROTO / **/ | |
3449 | ||
3450 | /* HAS_DIR_DD_FD: | |
3451 | * This symbol, if defined, indicates that the the DIR* dirstream | |
3452 | * structure contains a member variable named dd_fd. | |
3453 | */ | |
3454 | /*#define HAS_DIR_DD_FD / **/ | |
3455 | ||
3456 | /* HAS_DIRFD: | |
3457 | * This manifest constant lets the C program know that dirfd | |
3458 | * is available. | |
3459 | */ | |
3460 | /*#define HAS_DIRFD / **/ | |
3461 | ||
3462 | /* DLSYM_NEEDS_UNDERSCORE: | |
3463 | * This symbol, if defined, indicates that we need to prepend an | |
3464 | * underscore to the symbol name before calling dlsym(). This only | |
3465 | * makes sense if you *have* dlsym, which we will presume is the | |
3466 | * case if you're using dl_dlopen.xs. | |
3467 | */ | |
3468 | /*#define DLSYM_NEEDS_UNDERSCORE / **/ | |
3469 | ||
3470 | /* HAS_FAST_STDIO: | |
3471 | * This symbol, if defined, indicates that the "fast stdio" | |
3472 | * is available to manipulate the stdio buffers directly. | |
3473 | */ | |
3474 | /*#define HAS_FAST_STDIO / **/ | |
3475 | ||
3476 | /* HAS_FCHDIR: | |
3477 | * This symbol, if defined, indicates that the fchdir routine is | |
3478 | * available to change directory using a file descriptor. | |
3479 | */ | |
3480 | /*#define HAS_FCHDIR / **/ | |
3481 | ||
3482 | /* FCNTL_CAN_LOCK: | |
3483 | * This symbol, if defined, indicates that fcntl() can be used | |
3484 | * for file locking. Normally on Unix systems this is defined. | |
3485 | * It may be undefined on VMS. | |
3486 | */ | |
3487 | /*#define FCNTL_CAN_LOCK / **/ | |
3488 | ||
3489 | /* HAS_FINITE: | |
3490 | * This symbol, if defined, indicates that the finite routine is | |
3491 | * available to check whether a double is finite (non-infinity non-NaN). | |
3492 | */ | |
3493 | /*#define HAS_FINITE / **/ | |
3494 | ||
3495 | /* HAS_FINITEL: | |
3496 | * This symbol, if defined, indicates that the finitel routine is | |
3497 | * available to check whether a long double is finite | |
3498 | * (non-infinity non-NaN). | |
3499 | */ | |
3500 | /*#define HAS_FINITEL / **/ | |
3501 | ||
3502 | /* HAS_FLOCK_PROTO: | |
3503 | * This symbol, if defined, indicates that the system provides | |
3504 | * a prototype for the flock() function. Otherwise, it is up | |
3505 | * to the program to supply one. A good guess is | |
3506 | * extern int flock(int, int); | |
3507 | */ | |
3508 | /*#define HAS_FLOCK_PROTO / **/ | |
3509 | ||
3510 | /* HAS_FP_CLASS: | |
3511 | * This symbol, if defined, indicates that the fp_class routine is | |
3512 | * available to classify doubles. Available for example in Digital UNIX. | |
3513 | * The returned values are defined in <math.h> and are: | |
3514 | * | |
3515 | * FP_SNAN Signaling NaN (Not-a-Number) | |
3516 | * FP_QNAN Quiet NaN (Not-a-Number) | |
3517 | * FP_POS_INF +infinity | |
3518 | * FP_NEG_INF -infinity | |
3519 | * FP_POS_NORM Positive normalized | |
3520 | * FP_NEG_NORM Negative normalized | |
3521 | * FP_POS_DENORM Positive denormalized | |
3522 | * FP_NEG_DENORM Negative denormalized | |
3523 | * FP_POS_ZERO +0.0 (positive zero) | |
3524 | * FP_NEG_ZERO -0.0 (negative zero) | |
3525 | */ | |
3526 | /*#define HAS_FP_CLASS / **/ | |
3527 | ||
3528 | /* HAS_FPCLASS: | |
3529 | * This symbol, if defined, indicates that the fpclass routine is | |
3530 | * available to classify doubles. Available for example in Solaris/SVR4. | |
3531 | * The returned values are defined in <ieeefp.h> and are: | |
3532 | * | |
3533 | * FP_SNAN signaling NaN | |
3534 | * FP_QNAN quiet NaN | |
3535 | * FP_NINF negative infinity | |
3536 | * FP_PINF positive infinity | |
3537 | * FP_NDENORM negative denormalized non-zero | |
3538 | * FP_PDENORM positive denormalized non-zero | |
3539 | * FP_NZERO negative zero | |
3540 | * FP_PZERO positive zero | |
3541 | * FP_NNORM negative normalized non-zero | |
3542 | * FP_PNORM positive normalized non-zero | |
3543 | */ | |
3544 | /*#define HAS_FPCLASS / **/ | |
3545 | ||
3546 | /* HAS_FPCLASSIFY: | |
3547 | * This symbol, if defined, indicates that the fpclassify routine is | |
3548 | * available to classify doubles. Available for example in HP-UX. | |
3549 | * The returned values are defined in <math.h> and are | |
3550 | * | |
3551 | * FP_NORMAL Normalized | |
3552 | * FP_ZERO Zero | |
3553 | * FP_INFINITE Infinity | |
3554 | * FP_SUBNORMAL Denormalized | |
3555 | * FP_NAN NaN | |
3556 | * | |
3557 | */ | |
3558 | /*#define HAS_FPCLASSIFY / **/ | |
3559 | ||
3560 | /* HAS_FPCLASSL: | |
3561 | * This symbol, if defined, indicates that the fpclassl routine is | |
3562 | * available to classify long doubles. Available for example in IRIX. | |
3563 | * The returned values are defined in <ieeefp.h> and are: | |
3564 | * | |
3565 | * FP_SNAN signaling NaN | |
3566 | * FP_QNAN quiet NaN | |
3567 | * FP_NINF negative infinity | |
3568 | * FP_PINF positive infinity | |
3569 | * FP_NDENORM negative denormalized non-zero | |
3570 | * FP_PDENORM positive denormalized non-zero | |
3571 | * FP_NZERO negative zero | |
3572 | * FP_PZERO positive zero | |
3573 | * FP_NNORM negative normalized non-zero | |
3574 | * FP_PNORM positive normalized non-zero | |
3575 | */ | |
3576 | /*#define HAS_FPCLASSL / **/ | |
3577 | ||
3578 | /* HAS_FPOS64_T: | |
3579 | * This symbol will be defined if the C compiler supports fpos64_t. | |
3580 | */ | |
3581 | /*#define HAS_FPOS64_T / **/ | |
3582 | ||
3583 | /* HAS_FREXPL: | |
3584 | * This symbol, if defined, indicates that the frexpl routine is | |
3585 | * available to break a long double floating-point number into | |
3586 | * a normalized fraction and an integral power of 2. | |
3587 | */ | |
3588 | /*#define HAS_FREXPL / **/ | |
3589 | ||
3590 | /* HAS_STRUCT_FS_DATA: | |
3591 | * This symbol, if defined, indicates that the struct fs_data | |
3592 | * to do statfs() is supported. | |
3593 | */ | |
3594 | /*#define HAS_STRUCT_FS_DATA / **/ | |
3595 | ||
3596 | /* HAS_FSEEKO: | |
3597 | * This symbol, if defined, indicates that the fseeko routine is | |
3598 | * available to fseek beyond 32 bits (useful for ILP32 hosts). | |
3599 | */ | |
3600 | /*#define HAS_FSEEKO / **/ | |
3601 | ||
3602 | /* HAS_FSTATFS: | |
3603 | * This symbol, if defined, indicates that the fstatfs routine is | |
3604 | * available to stat filesystems by file descriptors. | |
3605 | */ | |
3606 | /*#define HAS_FSTATFS / **/ | |
3607 | ||
3608 | /* HAS_FSYNC: | |
3609 | * This symbol, if defined, indicates that the fsync routine is | |
3610 | * available to write a file's modified data and attributes to | |
3611 | * permanent storage. | |
3612 | */ | |
3613 | /*#define HAS_FSYNC / **/ | |
3614 | ||
3615 | /* HAS_FTELLO: | |
3616 | * This symbol, if defined, indicates that the ftello routine is | |
3617 | * available to ftell beyond 32 bits (useful for ILP32 hosts). | |
3618 | */ | |
3619 | /*#define HAS_FTELLO / **/ | |
3620 | ||
3621 | /* HAS_FUTIMES: | |
3622 | * This symbol, if defined, indicates that the futimes routine is | |
3623 | * available to change file descriptor time stamps with struct timevals. | |
3624 | */ | |
3625 | /*#define HAS_FUTIMES / **/ | |
3626 | ||
12cf8ac4 NC |
3627 | /* HAS_GETADDRINFO: |
3628 | * This symbol, if defined, indicates that the getaddrinfo() function | |
3629 | * is available for use. | |
3630 | */ | |
3631 | /*#define HAS_GETADDRINFO / **/ | |
3632 | ||
9244ff22 SP |
3633 | /* HAS_GETCWD: |
3634 | * This symbol, if defined, indicates that the getcwd routine is | |
3635 | * available to get the current working directory. | |
3636 | */ | |
3637 | /*#define HAS_GETCWD / **/ | |
3638 | ||
3639 | /* HAS_GETESPWNAM: | |
3640 | * This symbol, if defined, indicates that the getespwnam system call is | |
486ec47a | 3641 | * available to retrieve enhanced (shadow) password entries by name. |
9244ff22 SP |
3642 | */ |
3643 | /*#define HAS_GETESPWNAM / **/ | |
3644 | ||
3645 | /* HAS_GETFSSTAT: | |
3646 | * This symbol, if defined, indicates that the getfsstat routine is | |
3647 | * available to stat filesystems in bulk. | |
3648 | */ | |
3649 | /*#define HAS_GETFSSTAT / **/ | |
3650 | ||
3651 | /* HAS_GETITIMER: | |
3652 | * This symbol, if defined, indicates that the getitimer routine is | |
3653 | * available to return interval timers. | |
3654 | */ | |
3655 | /*#define HAS_GETITIMER / **/ | |
3656 | ||
3657 | /* HAS_GETMNT: | |
3658 | * This symbol, if defined, indicates that the getmnt routine is | |
3659 | * available to get filesystem mount info by filename. | |
3660 | */ | |
3661 | /*#define HAS_GETMNT / **/ | |
3662 | ||
3663 | /* HAS_GETMNTENT: | |
3664 | * This symbol, if defined, indicates that the getmntent routine is | |
3665 | * available to iterate through mounted file systems to get their info. | |
3666 | */ | |
3667 | /*#define HAS_GETMNTENT / **/ | |
3668 | ||
12cf8ac4 NC |
3669 | /* HAS_GETNAMEINFO: |
3670 | * This symbol, if defined, indicates that the getnameinfo() function | |
3671 | * is available for use. | |
3672 | */ | |
3673 | /*#define HAS_GETNAMEINFO / **/ | |
3674 | ||
9244ff22 SP |
3675 | /* HAS_GETPRPWNAM: |
3676 | * This symbol, if defined, indicates that the getprpwnam system call is | |
3677 | * available to retrieve protected (shadow) password entries by name. | |
3678 | */ | |
3679 | /*#define HAS_GETPRPWNAM / **/ | |
3680 | ||
3681 | /* HAS_GETSPNAM: | |
3682 | * This symbol, if defined, indicates that the getspnam system call is | |
3683 | * available to retrieve SysV shadow password entries by name. | |
3684 | */ | |
3685 | /*#define HAS_GETSPNAM / **/ | |
3686 | ||
3687 | /* HAS_HASMNTOPT: | |
3688 | * This symbol, if defined, indicates that the hasmntopt routine is | |
3689 | * available to query the mount options of file systems. | |
3690 | */ | |
3691 | /*#define HAS_HASMNTOPT / **/ | |
3692 | ||
3693 | /* HAS_ILOGBL: | |
3694 | * This symbol, if defined, indicates that the ilogbl routine is | |
3695 | * available. If scalbnl is also present we can emulate frexpl. | |
3696 | */ | |
3697 | /*#define HAS_ILOGBL / **/ | |
3698 | ||
12cf8ac4 NC |
3699 | /* HAS_INETNTOP: |
3700 | * This symbol, if defined, indicates that the inet_ntop() function | |
3701 | * is available to parse IPv4 and IPv6 strings. | |
3702 | */ | |
3703 | /*#define HAS_INETNTOP / **/ | |
3704 | ||
3705 | /* HAS_INETPTON: | |
3706 | * This symbol, if defined, indicates that the inet_pton() function | |
3707 | * is available to parse IPv4 and IPv6 strings. | |
3708 | */ | |
3709 | /*#define HAS_INETPTON / **/ | |
3710 | ||
9244ff22 SP |
3711 | /* HAS_INT64_T: |
3712 | * This symbol will defined if the C compiler supports int64_t. | |
3713 | * Usually the <inttypes.h> needs to be included, but sometimes | |
3714 | * <sys/types.h> is enough. | |
3715 | */ | |
3716 | /*#define HAS_INT64_T / **/ | |
3717 | ||
96a17eae MB |
3718 | /* HAS_ISBLANK: |
3719 | * This manifest constant lets the C program know that isblank | |
3720 | * is available. | |
3721 | */ | |
3722 | /*#define HAS_ISBLANK / **/ | |
3723 | ||
9244ff22 SP |
3724 | /* HAS_ISFINITE: |
3725 | * This symbol, if defined, indicates that the isfinite routine is | |
3726 | * available to check whether a double is finite (non-infinity non-NaN). | |
3727 | */ | |
3728 | /*#define HAS_ISFINITE / **/ | |
3729 | ||
3730 | /* HAS_ISINF: | |
3731 | * This symbol, if defined, indicates that the isinf routine is | |
3732 | * available to check whether a double is an infinity. | |
3733 | */ | |
3734 | /*#define HAS_ISINF / **/ | |
3735 | ||
3736 | /* HAS_ISNAN: | |
3737 | * This symbol, if defined, indicates that the isnan routine is | |
3738 | * available to check whether a double is a NaN. | |
3739 | */ | |
3740 | /*#define HAS_ISNAN / **/ | |
3741 | ||
3742 | /* HAS_ISNANL: | |
3743 | * This symbol, if defined, indicates that the isnanl routine is | |
3744 | * available to check whether a long double is a NaN. | |
3745 | */ | |
3746 | /*#define HAS_ISNANL / **/ | |
3747 | ||
3748 | /* HAS_LDBL_DIG: | |
3749 | * This symbol, if defined, indicates that this system's <float.h> | |
3750 | * or <limits.h> defines the symbol LDBL_DIG, which is the number | |
3751 | * of significant digits in a long double precision number. Unlike | |
3752 | * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined. | |
3753 | */ | |
06501368 | 3754 | /*#define HAS_LDBL_DIG / * */ |
9244ff22 SP |
3755 | |
3756 | /* LIBM_LIB_VERSION: | |
3757 | * This symbol, if defined, indicates that libm exports _LIB_VERSION | |
3758 | * and that math.h defines the enum to manipulate it. | |
3759 | */ | |
3760 | /*#define LIBM_LIB_VERSION / **/ | |
3761 | ||
3762 | /* HAS_MADVISE: | |
3763 | * This symbol, if defined, indicates that the madvise system call is | |
3764 | * available to map a file into memory. | |
3765 | */ | |
3766 | /*#define HAS_MADVISE / **/ | |
3767 | ||
3768 | /* HAS_MALLOC_SIZE: | |
3769 | * This symbol, if defined, indicates that the malloc_size | |
3770 | * routine is available for use. | |
3771 | */ | |
3772 | /*#define HAS_MALLOC_SIZE / **/ | |
3773 | ||
3774 | /* HAS_MALLOC_GOOD_SIZE: | |
3775 | * This symbol, if defined, indicates that the malloc_good_size | |
3776 | * routine is available for use. | |
3777 | */ | |
3778 | /*#define HAS_MALLOC_GOOD_SIZE / **/ | |
3779 | ||
3780 | /* HAS_MKDTEMP: | |
3781 | * This symbol, if defined, indicates that the mkdtemp routine is | |
3782 | * available to exclusively create a uniquely named temporary directory. | |
3783 | */ | |
3784 | /*#define HAS_MKDTEMP / **/ | |
3785 | ||
3786 | /* HAS_MKSTEMPS: | |
3787 | * This symbol, if defined, indicates that the mkstemps routine is | |
486ec47a | 3788 | * available to exclusively create and open a uniquely named |
9244ff22 SP |
3789 | * (with a suffix) temporary file. |
3790 | */ | |
3791 | /*#define HAS_MKSTEMPS / **/ | |
3792 | ||
3793 | /* HAS_MODFL: | |
3794 | * This symbol, if defined, indicates that the modfl routine is | |
3795 | * available to split a long double x into a fractional part f and | |
3796 | * an integer part i such that |f| < 1.0 and (f + i) = x. | |
3797 | */ | |
3798 | /* HAS_MODFL_PROTO: | |
3799 | * This symbol, if defined, indicates that the system provides | |
3800 | * a prototype for the modfl() function. Otherwise, it is up | |
3801 | * to the program to supply one. | |
3802 | */ | |
3803 | /* HAS_MODFL_POW32_BUG: | |
3804 | * This symbol, if defined, indicates that the modfl routine is | |
3805 | * broken for long doubles >= pow(2, 32). | |
3806 | * For example from 4294967303.150000 one would get 4294967302.000000 | |
3807 | * and 1.150000. The bug has been seen in certain versions of glibc, | |
3808 | * release 2.2.2 is known to be okay. | |
3809 | */ | |
3810 | /*#define HAS_MODFL / **/ | |
3811 | /*#define HAS_MODFL_PROTO / **/ | |
3812 | /*#define HAS_MODFL_POW32_BUG / **/ | |
3813 | ||
3814 | /* HAS_MPROTECT: | |
3815 | * This symbol, if defined, indicates that the mprotect system call is | |
3816 | * available to modify the access protection of a memory mapped file. | |
3817 | */ | |
3818 | /*#define HAS_MPROTECT / **/ | |
3819 | ||
3820 | /* HAS_STRUCT_MSGHDR: | |
3821 | * This symbol, if defined, indicates that the struct msghdr | |
3822 | * is supported. | |
3823 | */ | |
3824 | /*#define HAS_STRUCT_MSGHDR / **/ | |
3825 | ||
3826 | /* HAS_NL_LANGINFO: | |
3827 | * This symbol, if defined, indicates that the nl_langinfo routine is | |
3828 | * available to return local data. You will also need <langinfo.h> | |
3829 | * and therefore I_LANGINFO. | |
3830 | */ | |
3831 | /*#define HAS_NL_LANGINFO / **/ | |
3832 | ||
3833 | /* HAS_OFF64_T: | |
3834 | * This symbol will be defined if the C compiler supports off64_t. | |
3835 | */ | |
3836 | /*#define HAS_OFF64_T / **/ | |
3837 | ||
12cf8ac4 NC |
3838 | /* HAS_PRCTL: |
3839 | * This symbol, if defined, indicates that the prctl routine is | |
3840 | * available to set process title. | |
3841 | */ | |
3842 | /* HAS_PRCTL_SET_NAME: | |
3843 | * This symbol, if defined, indicates that the prctl routine is | |
3844 | * available to set process title and supports PR_SET_NAME. | |
3845 | */ | |
3846 | /*#define HAS_PRCTL / **/ | |
3847 | /*#define HAS_PRCTL_SET_NAME / **/ | |
3848 | ||
9244ff22 SP |
3849 | /* HAS_PROCSELFEXE: |
3850 | * This symbol is defined if PROCSELFEXE_PATH is a symlink | |
3851 | * to the absolute pathname of the executing program. | |
3852 | */ | |
3853 | /* PROCSELFEXE_PATH: | |
3854 | * If HAS_PROCSELFEXE is defined this symbol is the filename | |
3855 | * of the symbolic link pointing to the absolute pathname of | |
3856 | * the executing program. | |
3857 | */ | |
3858 | /*#define HAS_PROCSELFEXE / **/ | |
3859 | #if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH) | |
3860 | #define PROCSELFEXE_PATH /**/ | |
3861 | #endif | |
3862 | ||
3863 | /* HAS_PTHREAD_ATTR_SETSCOPE: | |
3864 | * This symbol, if defined, indicates that the pthread_attr_setscope | |
3865 | * system call is available to set the contention scope attribute of | |
3866 | * a thread attribute object. | |
3867 | */ | |
3868 | /*#define HAS_PTHREAD_ATTR_SETSCOPE / **/ | |
3869 | ||
3870 | /* HAS_READV: | |
3871 | * This symbol, if defined, indicates that the readv routine is | |
3872 | * available to do gather reads. You will also need <sys/uio.h> | |
3873 | * and there I_SYSUIO. | |
3874 | */ | |
3875 | /*#define HAS_READV / **/ | |
3876 | ||
3877 | /* HAS_RECVMSG: | |
3878 | * This symbol, if defined, indicates that the recvmsg routine is | |
3879 | * available to send structured socket messages. | |
3880 | */ | |
3881 | /*#define HAS_RECVMSG / **/ | |
3882 | ||
3883 | /* HAS_SBRK_PROTO: | |
3884 | * This symbol, if defined, indicates that the system provides | |
3885 | * a prototype for the sbrk() function. Otherwise, it is up | |
3886 | * to the program to supply one. Good guesses are | |
3887 | * extern void* sbrk(int); | |
3888 | * extern void* sbrk(size_t); | |
3889 | */ | |
3890 | /*#define HAS_SBRK_PROTO / **/ | |
3891 | ||
3892 | /* HAS_SCALBNL: | |
3893 | * This symbol, if defined, indicates that the scalbnl routine is | |
3894 | * available. If ilogbl is also present we can emulate frexpl. | |
3895 | */ | |
3896 | /*#define HAS_SCALBNL / **/ | |
3897 | ||
3898 | /* HAS_SENDMSG: | |
3899 | * This symbol, if defined, indicates that the sendmsg routine is | |
3900 | * available to send structured socket messages. | |
3901 | */ | |
3902 | /*#define HAS_SENDMSG / **/ | |
3903 | ||
3904 | /* HAS_SETITIMER: | |
3905 | * This symbol, if defined, indicates that the setitimer routine is | |
3906 | * available to set interval timers. | |
3907 | */ | |
3908 | /*#define HAS_SETITIMER / **/ | |
3909 | ||
3910 | /* HAS_SETPROCTITLE: | |
3911 | * This symbol, if defined, indicates that the setproctitle routine is | |
3912 | * available to set process title. | |
3913 | */ | |
3914 | /*#define HAS_SETPROCTITLE / **/ | |
3915 | ||
3916 | /* USE_SFIO: | |
3917 | * This symbol, if defined, indicates that sfio should | |
3918 | * be used. | |
3919 | */ | |
3920 | /*#define USE_SFIO / **/ | |
3921 | ||
3922 | /* HAS_SIGNBIT: | |
3923 | * This symbol, if defined, indicates that the signbit routine is | |
3924 | * available to check if the given number has the sign bit set. | |
3925 | * This should include correct testing of -0.0. This will only be set | |
3926 | * if the signbit() routine is safe to use with the NV type used internally | |
3927 | * in perl. Users should call Perl_signbit(), which will be #defined to | |
3928 | * the system's signbit() function or macro if this symbol is defined. | |
3929 | */ | |
3930 | /*#define HAS_SIGNBIT / **/ | |
3931 | ||
3932 | /* HAS_SIGPROCMASK: | |
3933 | * This symbol, if defined, indicates that the sigprocmask | |
3934 | * system call is available to examine or change the signal mask | |
3935 | * of the calling process. | |
3936 | */ | |
3937 | /*#define HAS_SIGPROCMASK / **/ | |
3938 | ||
3939 | /* USE_SITECUSTOMIZE: | |
3940 | * This symbol, if defined, indicates that sitecustomize should | |
3941 | * be used. | |
3942 | */ | |
3943 | #ifndef USE_SITECUSTOMIZE | |
3944 | /*#define USE_SITECUSTOMIZE / **/ | |
3945 | #endif | |
3946 | ||
3947 | /* HAS_SNPRINTF: | |
3948 | * This symbol, if defined, indicates that the snprintf () library | |
3949 | * function is available for use. | |
3950 | */ | |
3951 | /* HAS_VSNPRINTF: | |
3952 | * This symbol, if defined, indicates that the vsnprintf () library | |
3953 | * function is available for use. | |
3954 | */ | |
3955 | /*#define HAS_SNPRINTF / **/ | |
3956 | /*#define HAS_VSNPRINTF / **/ | |
3957 | ||
3958 | /* HAS_SOCKATMARK: | |
3959 | * This symbol, if defined, indicates that the sockatmark routine is | |
3960 | * available to test whether a socket is at the out-of-band mark. | |
3961 | */ | |
3962 | /*#define HAS_SOCKATMARK / **/ | |
3963 | ||
3964 | /* HAS_SOCKATMARK_PROTO: | |
3965 | * This symbol, if defined, indicates that the system provides | |
3966 | * a prototype for the sockatmark() function. Otherwise, it is up | |
3967 | * to the program to supply one. A good guess is | |
3968 | * extern int sockatmark(int); | |
3969 | */ | |
3970 | /*#define HAS_SOCKATMARK_PROTO / **/ | |
3971 | ||
3972 | /* HAS_SOCKS5_INIT: | |
3973 | * This symbol, if defined, indicates that the socks5_init routine is | |
3974 | * available to initialize SOCKS 5. | |
3975 | */ | |
3976 | /*#define HAS_SOCKS5_INIT / **/ | |
3977 | ||
3978 | /* SPRINTF_RETURNS_STRLEN: | |
3979 | * This variable defines whether sprintf returns the length of the string | |
3980 | * (as per the ANSI spec). Some C libraries retain compatibility with | |
3981 | * pre-ANSI C and return a pointer to the passed in buffer; for these | |
3982 | * this variable will be undef. | |
3983 | */ | |
3984 | /*#define SPRINTF_RETURNS_STRLEN / **/ | |
3985 | ||
3986 | /* HAS_SQRTL: | |
3987 | * This symbol, if defined, indicates that the sqrtl routine is | |
3988 | * available to do long double square roots. | |
3989 | */ | |
3990 | /*#define HAS_SQRTL / **/ | |
3991 | ||
3992 | /* HAS_SETRESGID_PROTO: | |
3993 | * This symbol, if defined, indicates that the system provides | |
3994 | * a prototype for the setresgid() function. Otherwise, it is up | |
3995 | * to the program to supply one. Good guesses are | |
3996 | * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid); | |
3997 | */ | |
3998 | /*#define HAS_SETRESGID_PROTO / **/ | |
3999 | ||
4000 | /* HAS_SETRESUID_PROTO: | |
4001 | * This symbol, if defined, indicates that the system provides | |
4002 | * a prototype for the setresuid() function. Otherwise, it is up | |
4003 | * to the program to supply one. Good guesses are | |
4004 | * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid); | |
4005 | */ | |
4006 | /*#define HAS_SETRESUID_PROTO / **/ | |
4007 | ||
4008 | /* HAS_STRUCT_STATFS_F_FLAGS: | |
4009 | * This symbol, if defined, indicates that the struct statfs | |
4010 | * does have the f_flags member containing the mount flags of | |
4011 | * the filesystem containing the file. | |
4012 | * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3), | |
4013 | * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not | |
4014 | * have statfs() and struct statfs, they have ustat() and getmnt() | |
4015 | * with struct ustat and struct fs_data. | |
4016 | */ | |
4017 | /*#define HAS_STRUCT_STATFS_F_FLAGS / **/ | |
4018 | ||
4019 | /* HAS_STRUCT_STATFS: | |
4020 | * This symbol, if defined, indicates that the struct statfs | |
4021 | * to do statfs() is supported. | |
4022 | */ | |
4023 | /*#define HAS_STRUCT_STATFS / **/ | |
4024 | ||
4025 | /* HAS_FSTATVFS: | |
4026 | * This symbol, if defined, indicates that the fstatvfs routine is | |
4027 | * available to stat filesystems by file descriptors. | |
4028 | */ | |
4029 | /*#define HAS_FSTATVFS / **/ | |
4030 | ||
4031 | /* HAS_STRFTIME: | |
4032 | * This symbol, if defined, indicates that the strftime routine is | |
4033 | * available to do time formatting. | |
4034 | */ | |
4035 | /*#define HAS_STRFTIME / **/ | |
4036 | ||
4037 | /* HAS_STRLCAT: | |
4038 | * This symbol, if defined, indicates that the strlcat () routine is | |
4039 | * available to do string concatenation. | |
4040 | */ | |
4041 | /*#define HAS_STRLCAT / **/ | |
4042 | ||
4043 | /* HAS_STRLCPY: | |
4044 | * This symbol, if defined, indicates that the strlcpy () routine is | |
4045 | * available to do string copying. | |
4046 | */ | |
4047 | /*#define HAS_STRLCPY / **/ | |
4048 | ||
4049 | /* HAS_STRTOLD: | |
4050 | * This symbol, if defined, indicates that the strtold routine is | |
4051 | * available to convert strings to long doubles. | |
4052 | */ | |
4053 | /*#define HAS_STRTOLD / **/ | |
4054 | ||
4055 | /* HAS_STRTOLL: | |
4056 | * This symbol, if defined, indicates that the strtoll routine is | |
4057 | * available to convert strings to long longs. | |
4058 | */ | |
4059 | /*#define HAS_STRTOLL / **/ | |
4060 | ||
4061 | /* HAS_STRTOQ: | |
4062 | * This symbol, if defined, indicates that the strtoq routine is | |
4063 | * available to convert strings to long longs (quads). | |
4064 | */ | |
4065 | /*#define HAS_STRTOQ / **/ | |
4066 | ||
4067 | /* HAS_STRTOULL: | |
4068 | * This symbol, if defined, indicates that the strtoull routine is | |
4069 | * available to convert strings to unsigned long longs. | |
4070 | */ | |
4071 | /*#define HAS_STRTOULL / **/ | |
4072 | ||
4073 | /* HAS_STRTOUQ: | |
4074 | * This symbol, if defined, indicates that the strtouq routine is | |
4075 | * available to convert strings to unsigned long longs (quads). | |
4076 | */ | |
4077 | /*#define HAS_STRTOUQ / **/ | |
4078 | ||
4079 | /* HAS_SYSCALL_PROTO: | |
4080 | * This symbol, if defined, indicates that the system provides | |
4081 | * a prototype for the syscall() function. Otherwise, it is up | |
4082 | * to the program to supply one. Good guesses are | |
4083 | * extern int syscall(int, ...); | |
4084 | * extern int syscall(long, ...); | |
4085 | */ | |
4086 | /*#define HAS_SYSCALL_PROTO / **/ | |
4087 | ||
4088 | /* HAS_TELLDIR_PROTO: | |
4089 | * This symbol, if defined, indicates that the system provides | |
4090 | * a prototype for the telldir() function. Otherwise, it is up | |
4091 | * to the program to supply one. A good guess is | |
4092 | * extern long telldir(DIR*); | |
4093 | */ | |
4094 | /*#define HAS_TELLDIR_PROTO / **/ | |
4095 | ||
0639114f NC |
4096 | /* HAS_CTIME64: |
4097 | * This symbol, if defined, indicates that the ctime64 () routine is | |
4098 | * available to do the 64bit variant of ctime () | |
4099 | */ | |
4100 | /* HAS_LOCALTIME64: | |
4101 | * This symbol, if defined, indicates that the localtime64 () routine is | |
4102 | * available to do the 64bit variant of localtime () | |
4103 | */ | |
4104 | /* HAS_GMTIME64: | |
4105 | * This symbol, if defined, indicates that the gmtime64 () routine is | |
4106 | * available to do the 64bit variant of gmtime () | |
4107 | */ | |
4108 | /* HAS_MKTIME64: | |
4109 | * This symbol, if defined, indicates that the mktime64 () routine is | |
4110 | * available to do the 64bit variant of mktime () | |
4111 | */ | |
4112 | /* HAS_DIFFTIME64: | |
4113 | * This symbol, if defined, indicates that the difftime64 () routine is | |
4114 | * available to do the 64bit variant of difftime () | |
4115 | */ | |
4116 | /* HAS_ASCTIME64: | |
4117 | * This symbol, if defined, indicates that the asctime64 () routine is | |
4118 | * available to do the 64bit variant of asctime () | |
4119 | */ | |
4120 | /*#define HAS_CTIME64 / **/ | |
4121 | /*#define HAS_LOCALTIME64 / **/ | |
4122 | /*#define HAS_GMTIME64 / **/ | |
4123 | /*#define HAS_MKTIME64 / **/ | |
4124 | /*#define HAS_DIFFTIME64 / **/ | |
4125 | /*#define HAS_ASCTIME64 / **/ | |
4126 | ||
4127 | /* HAS_TIMEGM: | |
4128 | * This symbol, if defined, indicates that the timegm routine is | |
4129 | * available to do the opposite of gmtime () | |
4130 | */ | |
4131 | /*#define HAS_TIMEGM / **/ | |
4132 | ||
9244ff22 SP |
4133 | /* U32_ALIGNMENT_REQUIRED: |
4134 | * This symbol, if defined, indicates that you must access | |
4135 | * character data through U32-aligned pointers. | |
4136 | */ | |
4137 | #ifndef U32_ALIGNMENT_REQUIRED | |
4138 | #define U32_ALIGNMENT_REQUIRED /**/ | |
4139 | #endif | |
4140 | ||
4141 | /* HAS_UALARM: | |
4142 | * This symbol, if defined, indicates that the ualarm routine is | |
4143 | * available to do alarms with microsecond granularity. | |
4144 | */ | |
4145 | /*#define HAS_UALARM / **/ | |
4146 | ||
4147 | /* HAS_UNORDERED: | |
4148 | * This symbol, if defined, indicates that the unordered routine is | |
4149 | * available to check whether two doubles are unordered | |
4150 | * (effectively: whether either of them is NaN) | |
4151 | */ | |
4152 | /*#define HAS_UNORDERED / **/ | |
4153 | ||
4154 | /* HAS_UNSETENV: | |
4155 | * This symbol, if defined, indicates that the unsetenv () routine is | |
4156 | * available for use. | |
4157 | */ | |
4158 | /*#define HAS_UNSETENV / **/ | |
4159 | ||
4160 | /* HAS_USLEEP_PROTO: | |
4161 | * This symbol, if defined, indicates that the system provides | |
4162 | * a prototype for the usleep() function. Otherwise, it is up | |
4163 | * to the program to supply one. A good guess is | |
4164 | * extern int usleep(useconds_t); | |
4165 | */ | |
4166 | /*#define HAS_USLEEP_PROTO / **/ | |
4167 | ||
4168 | /* HAS_USTAT: | |
4169 | * This symbol, if defined, indicates that the ustat system call is | |
4170 | * available to query file system statistics by dev_t. | |
4171 | */ | |
4172 | /*#define HAS_USTAT / **/ | |
4173 | ||
4174 | /* HAS_WRITEV: | |
4175 | * This symbol, if defined, indicates that the writev routine is | |
4176 | * available to do scatter writes. | |
4177 | */ | |
4178 | /*#define HAS_WRITEV / **/ | |
4179 | ||
4180 | /* USE_DYNAMIC_LOADING: | |
4181 | * This symbol, if defined, indicates that dynamic loading of | |
4182 | * some sort is available. | |
4183 | */ | |
4184 | /*#define USE_DYNAMIC_LOADING / **/ | |
4185 | ||
4186 | /* FFLUSH_NULL: | |
4187 | * This symbol, if defined, tells that fflush(NULL) does flush | |
4188 | * all pending stdio output. | |
4189 | */ | |
4190 | /* FFLUSH_ALL: | |
4191 | * This symbol, if defined, tells that to flush | |
4192 | * all pending stdio output one must loop through all | |
4193 | * the stdio file handles stored in an array and fflush them. | |
4194 | * Note that if fflushNULL is defined, fflushall will not | |
4195 | * even be probed for and will be left undefined. | |
4196 | */ | |
4197 | /*#define FFLUSH_NULL / **/ | |
4198 | /*#define FFLUSH_ALL / **/ | |
4199 | ||
4200 | /* I_ASSERT: | |
4201 | * This symbol, if defined, indicates that <assert.h> exists and | |
4202 | * could be included by the C program to get the assert() macro. | |
4203 | */ | |
4204 | #define I_ASSERT /**/ | |
4205 | ||
4206 | /* I_CRYPT: | |
4207 | * This symbol, if defined, indicates that <crypt.h> exists and | |
4208 | * should be included. | |
4209 | */ | |
4210 | /*#define I_CRYPT / **/ | |
4211 | ||
4212 | /* DB_Prefix_t: | |
4213 | * This symbol contains the type of the prefix structure element | |
4214 | * in the <db.h> header file. In older versions of DB, it was | |
4215 | * int, while in newer ones it is u_int32_t. | |
4216 | */ | |
4217 | /* DB_Hash_t: | |
4218 | * This symbol contains the type of the prefix structure element | |
4219 | * in the <db.h> header file. In older versions of DB, it was | |
4220 | * int, while in newer ones it is size_t. | |
4221 | */ | |
4222 | /* DB_VERSION_MAJOR_CFG: | |
4223 | * This symbol, if defined, defines the major version number of | |
4224 | * Berkeley DB found in the <db.h> header when Perl was configured. | |
4225 | */ | |
4226 | /* DB_VERSION_MINOR_CFG: | |
4227 | * This symbol, if defined, defines the minor version number of | |
4228 | * Berkeley DB found in the <db.h> header when Perl was configured. | |
4229 | * For DB version 1 this is always 0. | |
4230 | */ | |
4231 | /* DB_VERSION_PATCH_CFG: | |
4232 | * This symbol, if defined, defines the patch version number of | |
4233 | * Berkeley DB found in the <db.h> header when Perl was configured. | |
4234 | * For DB version 1 this is always 0. | |
4235 | */ | |
4236 | #define DB_Hash_t u_int32_t /**/ | |
4237 | #define DB_Prefix_t size_t /**/ | |
4238 | #define DB_VERSION_MAJOR_CFG 0 /**/ | |
4239 | #define DB_VERSION_MINOR_CFG 0 /**/ | |
4240 | #define DB_VERSION_PATCH_CFG 0 /**/ | |
4241 | ||
4242 | /* I_FP: | |
4243 | * This symbol, if defined, indicates that <fp.h> exists and | |
4244 | * should be included. | |
4245 | */ | |
4246 | /*#define I_FP / **/ | |
4247 | ||
4248 | /* I_FP_CLASS: | |
4249 | * This symbol, if defined, indicates that <fp_class.h> exists and | |
4250 | * should be included. | |
4251 | */ | |
4252 | /*#define I_FP_CLASS / **/ | |
4253 | ||
4254 | /* I_IEEEFP: | |
4255 | * This symbol, if defined, indicates that <ieeefp.h> exists and | |
4256 | * should be included. | |
4257 | */ | |
4258 | /*#define I_IEEEFP / **/ | |
4259 | ||
4260 | /* I_INTTYPES: | |
4261 | * This symbol, if defined, indicates to the C program that it should | |
4262 | * include <inttypes.h>. | |
4263 | */ | |
4264 | /*#define I_INTTYPES / **/ | |
4265 | ||
4266 | /* I_LANGINFO: | |
4267 | * This symbol, if defined, indicates that <langinfo.h> exists and | |
4268 | * should be included. | |
4269 | */ | |
4270 | /*#define I_LANGINFO / **/ | |
4271 | ||
4272 | /* I_LIBUTIL: | |
4273 | * This symbol, if defined, indicates that <libutil.h> exists and | |
4274 | * should be included. | |
4275 | */ | |
4276 | /*#define I_LIBUTIL / **/ | |
4277 | ||
0639114f NC |
4278 | /* I_MALLOCMALLOC: |
4279 | * This symbol, if defined, indicates to the C program that it should | |
4280 | * include <malloc/malloc.h>. | |
4281 | */ | |
4282 | /*#define I_MALLOCMALLOC / **/ | |
4283 | ||
9244ff22 SP |
4284 | /* I_MNTENT: |
4285 | * This symbol, if defined, indicates that <mntent.h> exists and | |
4286 | * should be included. | |
4287 | */ | |
4288 | /*#define I_MNTENT / **/ | |
4289 | ||
4290 | /* I_NETINET_TCP: | |
4291 | * This symbol, if defined, indicates to the C program that it should | |
4292 | * include <netinet/tcp.h>. | |
4293 | */ | |
4294 | /*#define I_NETINET_TCP / **/ | |
4295 | ||
4296 | /* I_POLL: | |
4297 | * This symbol, if defined, indicates that <poll.h> exists and | |
4298 | * should be included. (see also HAS_POLL) | |
4299 | */ | |
4300 | /*#define I_POLL / **/ | |
4301 | ||
4302 | /* I_PROT: | |
4303 | * This symbol, if defined, indicates that <prot.h> exists and | |
4304 | * should be included. | |
4305 | */ | |
4306 | /*#define I_PROT / **/ | |
4307 | ||
4308 | /* I_SHADOW: | |
4309 | * This symbol, if defined, indicates that <shadow.h> exists and | |
4310 | * should be included. | |
4311 | */ | |
4312 | /*#define I_SHADOW / **/ | |
4313 | ||
4314 | /* I_SOCKS: | |
4315 | * This symbol, if defined, indicates that <socks.h> exists and | |
4316 | * should be included. | |
4317 | */ | |
4318 | /*#define I_SOCKS / **/ | |
4319 | ||
06501368 MB |
4320 | /* I_STDBOOL: |
4321 | * This symbol, if defined, indicates that <stdbool.h> exists and | |
4322 | * can be included. | |
4323 | */ | |
4324 | /*#define I_STDBOOL / **/ | |
4325 | ||
9244ff22 SP |
4326 | /* I_SUNMATH: |
4327 | * This symbol, if defined, indicates that <sunmath.h> exists and | |
4328 | * should be included. | |
4329 | */ | |
4330 | /*#define I_SUNMATH / **/ | |
4331 | ||
4332 | /* I_SYSLOG: | |
4333 | * This symbol, if defined, indicates that <syslog.h> exists and | |
4334 | * should be included. | |
4335 | */ | |
4336 | /*#define I_SYSLOG / **/ | |
4337 | ||
4338 | /* I_SYSMODE: | |
4339 | * This symbol, if defined, indicates that <sys/mode.h> exists and | |
4340 | * should be included. | |
4341 | */ | |
4342 | /*#define I_SYSMODE / **/ | |
4343 | ||
4344 | /* I_SYS_MOUNT: | |
4345 | * This symbol, if defined, indicates that <sys/mount.h> exists and | |
4346 | * should be included. | |
4347 | */ | |
4348 | /*#define I_SYS_MOUNT / **/ | |
4349 | ||
4350 | /* I_SYS_STATFS: | |
4351 | * This symbol, if defined, indicates that <sys/statfs.h> exists. | |
4352 | */ | |
4353 | /*#define I_SYS_STATFS / **/ | |
4354 | ||
4355 | /* I_SYS_STATVFS: | |
4356 | * This symbol, if defined, indicates that <sys/statvfs.h> exists and | |
4357 | * should be included. | |
4358 | */ | |
4359 | /*#define I_SYS_STATVFS / **/ | |
4360 | ||
4361 | /* I_SYSUTSNAME: | |
4362 | * This symbol, if defined, indicates that <sys/utsname.h> exists and | |
4363 | * should be included. | |
4364 | */ | |
4365 | /*#define I_SYSUTSNAME / **/ | |
4366 | ||
4367 | /* I_SYS_VFS: | |
4368 | * This symbol, if defined, indicates that <sys/vfs.h> exists and | |
4369 | * should be included. | |
4370 | */ | |
4371 | /*#define I_SYS_VFS / **/ | |
4372 | ||
4373 | /* I_USTAT: | |
4374 | * This symbol, if defined, indicates that <ustat.h> exists and | |
4375 | * should be included. | |
4376 | */ | |
4377 | /*#define I_USTAT / **/ | |
4378 | ||
4379 | /* PERL_PRIfldbl: | |
4380 | * This symbol, if defined, contains the string used by stdio to | |
4381 | * format long doubles (format 'f') for output. | |
4382 | */ | |
4383 | /* PERL_PRIgldbl: | |
4384 | * This symbol, if defined, contains the string used by stdio to | |
4385 | * format long doubles (format 'g') for output. | |
4386 | */ | |
4387 | /* PERL_PRIeldbl: | |
4388 | * This symbol, if defined, contains the string used by stdio to | |
4389 | * format long doubles (format 'e') for output. | |
4390 | */ | |
4391 | /* PERL_SCNfldbl: | |
4392 | * This symbol, if defined, contains the string used by stdio to | |
4393 | * format long doubles (format 'f') for input. | |
4394 | */ | |
4395 | /*#define PERL_PRIfldbl "llf" / **/ | |
4396 | /*#define PERL_PRIgldbl "llg" / **/ | |
4397 | /*#define PERL_PRIeldbl "lle" / **/ | |
4398 | /*#define PERL_SCNfldbl "llf" / **/ | |
4399 | ||
4400 | /* PERL_MAD: | |
4401 | * This symbol, if defined, indicates that the Misc Attribution | |
4402 | * Declaration code should be conditionally compiled. | |
4403 | */ | |
4404 | /*#define PERL_MAD / **/ | |
4405 | ||
4406 | /* NEED_VA_COPY: | |
4407 | * This symbol, if defined, indicates that the system stores | |
4408 | * the variable argument list datatype, va_list, in a format | |
4409 | * that cannot be copied by simple assignment, so that some | |
4410 | * other means must be used when copying is required. | |
4411 | * As such systems vary in their provision (or non-provision) | |
4412 | * of copying mechanisms, handy.h defines a platform- | |
4413 | * independent macro, Perl_va_copy(src, dst), to do the job. | |
4414 | */ | |
6644ede8 | 4415 | #define NEED_VA_COPY /**/ |
9244ff22 SP |
4416 | |
4417 | /* IVTYPE: | |
4418 | * This symbol defines the C type used for Perl's IV. | |
4419 | */ | |
4420 | /* UVTYPE: | |
4421 | * This symbol defines the C type used for Perl's UV. | |
4422 | */ | |
4423 | /* I8TYPE: | |
4424 | * This symbol defines the C type used for Perl's I8. | |
4425 | */ | |
4426 | /* U8TYPE: | |
4427 | * This symbol defines the C type used for Perl's U8. | |
4428 | */ | |
4429 | /* I16TYPE: | |
4430 | * This symbol defines the C type used for Perl's I16. | |
4431 | */ | |
4432 | /* U16TYPE: | |
4433 | * This symbol defines the C type used for Perl's U16. | |
4434 | */ | |
4435 | /* I32TYPE: | |
4436 | * This symbol defines the C type used for Perl's I32. | |
4437 | */ | |
4438 | /* U32TYPE: | |
4439 | * This symbol defines the C type used for Perl's U32. | |
4440 | */ | |
4441 | /* I64TYPE: | |
4442 | * This symbol defines the C type used for Perl's I64. | |
4443 | */ | |
4444 | /* U64TYPE: | |
4445 | * This symbol defines the C type used for Perl's U64. | |
4446 | */ | |
4447 | /* NVTYPE: | |
4448 | * This symbol defines the C type used for Perl's NV. | |
4449 | */ | |
4450 | /* IVSIZE: | |
4451 | * This symbol contains the sizeof(IV). | |
4452 | */ | |
4453 | /* UVSIZE: | |
4454 | * This symbol contains the sizeof(UV). | |
4455 | */ | |
4456 | /* I8SIZE: | |
4457 | * This symbol contains the sizeof(I8). | |
4458 | */ | |
4459 | /* U8SIZE: | |
4460 | * This symbol contains the sizeof(U8). | |
4461 | */ | |
4462 | /* I16SIZE: | |
4463 | * This symbol contains the sizeof(I16). | |
4464 | */ | |
4465 | /* U16SIZE: | |
4466 | * This symbol contains the sizeof(U16). | |
4467 | */ | |
4468 | /* I32SIZE: | |
4469 | * This symbol contains the sizeof(I32). | |
4470 | */ | |
4471 | /* U32SIZE: | |
4472 | * This symbol contains the sizeof(U32). | |
4473 | */ | |
4474 | /* I64SIZE: | |
4475 | * This symbol contains the sizeof(I64). | |
4476 | */ | |
4477 | /* U64SIZE: | |
4478 | * This symbol contains the sizeof(U64). | |
4479 | */ | |
4480 | /* NVSIZE: | |
4481 | * This symbol contains the sizeof(NV). | |
4482 | */ | |
4483 | /* NV_PRESERVES_UV: | |
4484 | * This symbol, if defined, indicates that a variable of type NVTYPE | |
4485 | * can preserve all the bits of a variable of type UVTYPE. | |
4486 | */ | |
4487 | /* NV_PRESERVES_UV_BITS: | |
4488 | * This symbol contains the number of bits a variable of type NVTYPE | |
4489 | * can preserve of a variable of type UVTYPE. | |
4490 | */ | |
0639114f | 4491 | /* NV_OVERFLOWS_INTEGERS_AT: |
b10924eb SP |
4492 | * This symbol gives the largest integer value that NVs can hold. This |
4493 | * value + 1.0 cannot be stored accurately. It is expressed as constant | |
486ec47a | 4494 | * floating point expression to reduce the chance of decimal/binary |
b10924eb SP |
4495 | * conversion issues. If it can not be determined, the value 0 is given. |
4496 | */ | |
9244ff22 SP |
4497 | /* NV_ZERO_IS_ALLBITS_ZERO: |
4498 | * This symbol, if defined, indicates that a variable of type NVTYPE | |
4499 | * stores 0.0 in memory as all bits zero. | |
4500 | */ | |
4501 | #define IVTYPE long /**/ | |
4502 | #define UVTYPE unsigned long /**/ | |
ab3ee5ad | 4503 | #define I8TYPE signed char /**/ |
9244ff22 SP |
4504 | #define U8TYPE unsigned char /**/ |
4505 | #define I16TYPE short /**/ | |
4506 | #define U16TYPE unsigned short /**/ | |
4507 | #define I32TYPE long /**/ | |
4508 | #define U32TYPE unsigned long /**/ | |
4509 | #ifdef HAS_QUAD | |
4510 | #define I64TYPE int64_t /**/ | |
4511 | #define U64TYPE uint64_t /**/ | |
4512 | #endif | |
4513 | #define NVTYPE double /**/ | |
4514 | #define IVSIZE 4 /**/ | |
4515 | #define UVSIZE 4 /**/ | |
4516 | #define I8SIZE 1 /**/ | |
4517 | #define U8SIZE 1 /**/ | |
4518 | #define I16SIZE 2 /**/ | |
4519 | #define U16SIZE 2 /**/ | |
4520 | #define I32SIZE 4 /**/ | |
4521 | #define U32SIZE 4 /**/ | |
4522 | #ifdef HAS_QUAD | |
4523 | #define I64SIZE 8 /**/ | |
4524 | #define U64SIZE 8 /**/ | |
4525 | #endif | |
4526 | #define NVSIZE 8 /**/ | |
4527 | #undef NV_PRESERVES_UV | |
4528 | #define NV_PRESERVES_UV_BITS 0 | |
b10924eb | 4529 | #define NV_OVERFLOWS_INTEGERS_AT 256.0*256.0*256.0*256.0*256.0*256.0*2.0*2.0*2.0*2.0*2.0 |
9244ff22 SP |
4530 | #undef NV_ZERO_IS_ALLBITS_ZERO |
4531 | #if UVSIZE == 8 | |
4532 | # ifdef BYTEORDER | |
4533 | # if BYTEORDER == 0x1234 | |
4534 | # undef BYTEORDER | |
4535 | # define BYTEORDER 0x12345678 | |
4536 | # else | |
4537 | # if BYTEORDER == 0x4321 | |
4538 | # undef BYTEORDER | |
4539 | # define BYTEORDER 0x87654321 | |
4540 | # endif | |
4541 | # endif | |
4542 | # endif | |
4543 | #endif | |
4544 | ||
4545 | /* IVdf: | |
4546 | * This symbol defines the format string used for printing a Perl IV | |
4547 | * as a signed decimal integer. | |
4548 | */ | |
4549 | /* UVuf: | |
4550 | * This symbol defines the format string used for printing a Perl UV | |
4551 | * as an unsigned decimal integer. | |
4552 | */ | |
4553 | /* UVof: | |
4554 | * This symbol defines the format string used for printing a Perl UV | |
4555 | * as an unsigned octal integer. | |
4556 | */ | |
4557 | /* UVxf: | |
4558 | * This symbol defines the format string used for printing a Perl UV | |
4559 | * as an unsigned hexadecimal integer in lowercase abcdef. | |
4560 | */ | |
4561 | /* UVXf: | |
4562 | * This symbol defines the format string used for printing a Perl UV | |
4563 | * as an unsigned hexadecimal integer in uppercase ABCDEF. | |
4564 | */ | |
4565 | /* NVef: | |
4566 | * This symbol defines the format string used for printing a Perl NV | |
4567 | * using %e-ish floating point format. | |
4568 | */ | |
4569 | /* NVff: | |
4570 | * This symbol defines the format string used for printing a Perl NV | |
4571 | * using %f-ish floating point format. | |
4572 | */ | |
4573 | /* NVgf: | |
4574 | * This symbol defines the format string used for printing a Perl NV | |
4575 | * using %g-ish floating point format. | |
4576 | */ | |
4577 | #define IVdf "ld" /**/ | |
4578 | #define UVuf "lu" /**/ | |
4579 | #define UVof "lo" /**/ | |
4580 | #define UVxf "lx" /**/ | |
4581 | #define UVXf "lX" /**/ | |
4582 | #define NVef "e" /**/ | |
4583 | #define NVff "f" /**/ | |
4584 | #define NVgf "g" /**/ | |
4585 | ||
4586 | /* SELECT_MIN_BITS: | |
4587 | * This symbol holds the minimum number of bits operated by select. | |
4588 | * That is, if you do select(n, ...), how many bits at least will be | |
4589 | * cleared in the masks if some activity is detected. Usually this | |
4590 | * is either n or 32*ceil(n/32), especially many little-endians do | |
4591 | * the latter. This is only useful if you have select(), naturally. | |
4592 | */ | |
4593 | #define SELECT_MIN_BITS 32 /**/ | |
4594 | ||
dcfe4a1a MB |
4595 | /* ST_INO_SIZE: |
4596 | * This variable contains the size of struct stat's st_ino in bytes. | |
4597 | */ | |
4598 | /* ST_INO_SIGN: | |
4599 | * This symbol holds the signedess of struct stat's st_ino. | |
4600 | * 1 for unsigned, -1 for signed. | |
4601 | */ | |
4602 | #define ST_INO_SIGN 1 /* st_ino sign */ | |
4603 | #define ST_INO_SIZE 4 /* st_ino size */ | |
4604 | ||
9244ff22 SP |
4605 | /* STARTPERL: |
4606 | * This variable contains the string to put in front of a perl | |
4607 | * script to make sure (one hopes) that it runs with perl and not | |
4608 | * some shell. | |
4609 | */ | |
4610 | #define STARTPERL "#!perl" /**/ | |
4611 | ||
4612 | /* HAS_STDIO_STREAM_ARRAY: | |
4613 | * This symbol, if defined, tells that there is an array | |
4614 | * holding the stdio streams. | |
4615 | */ | |
4616 | /* STDIO_STREAM_ARRAY: | |
4617 | * This symbol tells the name of the array holding the stdio streams. | |
4618 | * Usual values include _iob, __iob, and __sF. | |
4619 | */ | |
4620 | /*#define HAS_STDIO_STREAM_ARRAY / **/ | |
0639114f | 4621 | #ifdef HAS_STDIO_STREAM_ARRAY |
9244ff22 | 4622 | #define STDIO_STREAM_ARRAY |
0639114f NC |
4623 | #endif |
4624 | ||
4625 | /* GMTIME_MAX: | |
4626 | * This symbol contains the maximum value for the time_t offset that | |
4627 | * the system function gmtime () accepts, and defaults to 0 | |
4628 | */ | |
4629 | /* GMTIME_MIN: | |
4630 | * This symbol contains the minimum value for the time_t offset that | |
4631 | * the system function gmtime () accepts, and defaults to 0 | |
4632 | */ | |
4633 | /* LOCALTIME_MAX: | |
4634 | * This symbol contains the maximum value for the time_t offset that | |
4635 | * the system function localtime () accepts, and defaults to 0 | |
4636 | */ | |
4637 | /* LOCALTIME_MIN: | |
4638 | * This symbol contains the minimum value for the time_t offset that | |
4639 | * the system function localtime () accepts, and defaults to 0 | |
4640 | */ | |
4641 | #define GMTIME_MAX 2147483647 /**/ | |
4642 | #define GMTIME_MIN 0 /**/ | |
4643 | #define LOCALTIME_MAX 2147483647 /**/ | |
4644 | #define LOCALTIME_MIN 0 /**/ | |
9244ff22 SP |
4645 | |
4646 | /* USE_64_BIT_INT: | |
4647 | * This symbol, if defined, indicates that 64-bit integers should | |
4648 | * be used when available. If not defined, the native integers | |
4649 | * will be employed (be they 32 or 64 bits). The minimal possible | |
4650 | * 64-bitness is used, just enough to get 64-bit integers into Perl. | |
4651 | * This may mean using for example "long longs", while your memory | |
4652 | * may still be limited to 2 gigabytes. | |
4653 | */ | |
4654 | /* USE_64_BIT_ALL: | |
4655 | * This symbol, if defined, indicates that 64-bit integers should | |
4656 | * be used when available. If not defined, the native integers | |
4657 | * will be used (be they 32 or 64 bits). The maximal possible | |
4658 | * 64-bitness is employed: LP64 or ILP64, meaning that you will | |
4659 | * be able to use more than 2 gigabytes of memory. This mode is | |
4660 | * even more binary incompatible than USE_64_BIT_INT. You may not | |
4661 | * be able to run the resulting executable in a 32-bit CPU at all or | |
4662 | * you may need at least to reboot your OS to 64-bit mode. | |
4663 | */ | |
4664 | #ifndef USE_64_BIT_INT | |
4665 | /*#define USE_64_BIT_INT / **/ | |
4666 | #endif | |
9244ff22 SP |
4667 | #ifndef USE_64_BIT_ALL |
4668 | /*#define USE_64_BIT_ALL / **/ | |
4669 | #endif | |
4670 | ||
b10924eb SP |
4671 | /* USE_DTRACE: |
4672 | * This symbol, if defined, indicates that Perl should | |
4673 | * be built with support for DTrace. | |
4674 | */ | |
4675 | /*#define USE_DTRACE / **/ | |
4676 | ||
9244ff22 SP |
4677 | /* USE_FAST_STDIO: |
4678 | * This symbol, if defined, indicates that Perl should | |
4679 | * be built to use 'fast stdio'. | |
4680 | * Defaults to define in Perls 5.8 and earlier, to undef later. | |
4681 | */ | |
4682 | #ifndef USE_FAST_STDIO | |
4683 | /*#define USE_FAST_STDIO / **/ | |
4684 | #endif | |
4685 | ||
d78f9ffa MB |
4686 | /* USE_KERN_PROC_PATHNAME: |
4687 | * This symbol, if defined, indicates that we can use sysctl with | |
4688 | * KERN_PROC_PATHNAME to get a full path for the executable, and hence | |
4689 | * convert $^X to an absolute path. | |
4690 | */ | |
4691 | /*#define USE_KERN_PROC_PATHNAME / **/ | |
4692 | ||
9244ff22 SP |
4693 | /* USE_LARGE_FILES: |
4694 | * This symbol, if defined, indicates that large file support | |
4695 | * should be used when available. | |
4696 | */ | |
4697 | #ifndef USE_LARGE_FILES | |
4698 | /*#define USE_LARGE_FILES / **/ | |
4699 | #endif | |
4700 | ||
4701 | /* USE_LONG_DOUBLE: | |
4702 | * This symbol, if defined, indicates that long doubles should | |
4703 | * be used when available. | |
4704 | */ | |
4705 | #ifndef USE_LONG_DOUBLE | |
4706 | /*#define USE_LONG_DOUBLE / **/ | |
4707 | #endif | |
4708 | ||
4709 | /* USE_MORE_BITS: | |
4710 | * This symbol, if defined, indicates that 64-bit interfaces and | |
4711 | * long doubles should be used when available. | |
4712 | */ | |
4713 | #ifndef USE_MORE_BITS | |
4714 | /*#define USE_MORE_BITS / **/ | |
4715 | #endif | |
4716 | ||
4717 | /* MULTIPLICITY: | |
4718 | * This symbol, if defined, indicates that Perl should | |
4719 | * be built to use multiplicity. | |
4720 | */ | |
4721 | #ifndef MULTIPLICITY | |
4722 | /*#define MULTIPLICITY / **/ | |
4723 | #endif | |
4724 | ||
d78f9ffa MB |
4725 | /* USE_NSGETEXECUTABLEPATH: |
4726 | * This symbol, if defined, indicates that we can use _NSGetExecutablePath | |
4727 | * and realpath to get a full path for the executable, and hence convert | |
4728 | * $^X to an absolute path. | |
4729 | */ | |
4730 | /*#define USE_NSGETEXECUTABLEPATH / **/ | |
4731 | ||
9244ff22 SP |
4732 | /* USE_PERLIO: |
4733 | * This symbol, if defined, indicates that the PerlIO abstraction should | |
4734 | * be used throughout. If not defined, stdio should be | |
4735 | * used in a fully backward compatible manner. | |
4736 | */ | |
4737 | #ifndef USE_PERLIO | |
4738 | /*#define USE_PERLIO / **/ | |
4739 | #endif | |
4740 | ||
4741 | /* USE_SOCKS: | |
4742 | * This symbol, if defined, indicates that Perl should | |
4743 | * be built to use socks. | |
4744 | */ | |
4745 | #ifndef USE_SOCKS | |
4746 | /*#define USE_SOCKS / **/ | |
4747 | #endif | |
666ea192 | 4748 | |
3ebb1980 | 4749 | #endif |
d0817dbe NC |
4750 | |
4751 | /* Generated from: | |
3e06601f MB |
4752 | * 55f6d0595668c028fe4021a469971587307b23080241f008057ee1aba71a73c9 config_h.SH |
4753 | * 0b6320512dbf7572c05acf6d6add343230d232f287d02f6d32a7a32edadd97b9 uconfig.sh | |
d0817dbe | 4754 | * ex: set ro: */ |