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