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