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 | ||
f40bbcbf MB |
31 | /* HAS_CBRT: |
32 | * This symbol, if defined, indicates that the cbrt() (cube root) | |
33 | * function is available. | |
34 | */ | |
35 | /*#define HAS_CBRT / **/ | |
36 | ||
3ebb1980 JH |
37 | /* HAS_CHOWN: |
38 | * This symbol, if defined, indicates that the chown routine is | |
39 | * available. | |
40 | */ | |
41 | /*#define HAS_CHOWN / **/ | |
42 | ||
43 | /* HAS_CHROOT: | |
44 | * This symbol, if defined, indicates that the chroot routine is | |
45 | * available. | |
46 | */ | |
47 | /*#define HAS_CHROOT / **/ | |
48 | ||
49 | /* HAS_CHSIZE: | |
50 | * This symbol, if defined, indicates that the chsize routine is available | |
51 | * to truncate files. You might need a -lx to get this routine. | |
52 | */ | |
53 | /*#define HAS_CHSIZE / **/ | |
54 | ||
0639114f NC |
55 | /* HAS_CRYPT: |
56 | * This symbol, if defined, indicates that the crypt routine is available | |
57 | * to encrypt passwords and the like. | |
58 | */ | |
59 | /*#define HAS_CRYPT / **/ | |
60 | ||
9244ff22 SP |
61 | /* HAS_CTERMID: |
62 | * This symbol, if defined, indicates that the ctermid routine is | |
63 | * available to generate filename for terminal. | |
3ebb1980 | 64 | */ |
9244ff22 | 65 | /*#define HAS_CTERMID / **/ |
3ebb1980 | 66 | |
3ebb1980 JH |
67 | /* HAS_CUSERID: |
68 | * This symbol, if defined, indicates that the cuserid routine is | |
69 | * available to get character login names. | |
70 | */ | |
71 | /*#define HAS_CUSERID / **/ | |
72 | ||
73 | /* HAS_DBL_DIG: | |
74 | * This symbol, if defined, indicates that this system's <float.h> | |
75 | * or <limits.h> defines the symbol DBL_DIG, which is the number | |
76 | * of significant digits in a double precision number. If this | |
77 | * symbol is not defined, a guess of 15 is usually pretty good. | |
78 | */ | |
44f645e8 | 79 | /*#define HAS_DBL_DIG / **/ |
3ebb1980 JH |
80 | |
81 | /* HAS_DIFFTIME: | |
82 | * This symbol, if defined, indicates that the difftime routine is | |
83 | * available. | |
84 | */ | |
85 | /*#define HAS_DIFFTIME / **/ | |
86 | ||
87 | /* HAS_DLERROR: | |
88 | * This symbol, if defined, indicates that the dlerror routine is | |
89 | * available to return a string describing the last error that | |
90 | * occurred from a call to dlopen(), dlclose() or dlsym(). | |
91 | */ | |
92 | /*#define HAS_DLERROR / **/ | |
93 | ||
3ebb1980 JH |
94 | /* HAS_DUP2: |
95 | * This symbol, if defined, indicates that the dup2 routine is | |
96 | * available to duplicate file descriptors. | |
97 | */ | |
98 | /*#define HAS_DUP2 / **/ | |
99 | ||
100 | /* HAS_FCHMOD: | |
101 | * This symbol, if defined, indicates that the fchmod routine is available | |
102 | * to change mode of opened files. If unavailable, use chmod(). | |
103 | */ | |
104 | /*#define HAS_FCHMOD / **/ | |
105 | ||
106 | /* HAS_FCHOWN: | |
107 | * This symbol, if defined, indicates that the fchown routine is available | |
108 | * to change ownership of opened files. If unavailable, use chown(). | |
109 | */ | |
110 | /*#define HAS_FCHOWN / **/ | |
111 | ||
112 | /* HAS_FCNTL: | |
113 | * This symbol, if defined, indicates to the C program that | |
114 | * the fcntl() function exists. | |
115 | */ | |
116 | /*#define HAS_FCNTL / **/ | |
117 | ||
118 | /* HAS_FGETPOS: | |
119 | * This symbol, if defined, indicates that the fgetpos routine is | |
120 | * available to get the file position indicator, similar to ftell(). | |
121 | */ | |
122 | /*#define HAS_FGETPOS / **/ | |
123 | ||
124 | /* HAS_FLOCK: | |
125 | * This symbol, if defined, indicates that the flock routine is | |
126 | * available to do file locking. | |
127 | */ | |
128 | /*#define HAS_FLOCK / **/ | |
129 | ||
130 | /* HAS_FORK: | |
131 | * This symbol, if defined, indicates that the fork routine is | |
132 | * available. | |
133 | */ | |
134 | #define HAS_FORK /**/ | |
135 | ||
136 | /* HAS_FSETPOS: | |
137 | * This symbol, if defined, indicates that the fsetpos routine is | |
138 | * available to set the file position indicator, similar to fseek(). | |
139 | */ | |
140 | /*#define HAS_FSETPOS / **/ | |
141 | ||
142 | /* HAS_GETTIMEOFDAY: | |
143 | * This symbol, if defined, indicates that the gettimeofday() system | |
144 | * call is available for a sub-second accuracy clock. Usually, the file | |
145 | * <sys/resource.h> needs to be included (see I_SYS_RESOURCE). | |
146 | * The type "Timeval" should be used to refer to "struct timeval". | |
147 | */ | |
148 | /*#define HAS_GETTIMEOFDAY / **/ | |
149 | #ifdef HAS_GETTIMEOFDAY | |
150 | #define Timeval struct timeval /* Structure used by gettimeofday() */ | |
151 | #endif | |
152 | ||
153 | /* HAS_GETGROUPS: | |
154 | * This symbol, if defined, indicates that the getgroups() routine is | |
155 | * available to get the list of process groups. If unavailable, multiple | |
156 | * groups are probably not supported. | |
157 | */ | |
158 | /*#define HAS_GETGROUPS / **/ | |
159 | ||
160 | /* HAS_GETLOGIN: | |
161 | * This symbol, if defined, indicates that the getlogin routine is | |
162 | * available to get the login name. | |
163 | */ | |
164 | /*#define HAS_GETLOGIN / **/ | |
165 | ||
166 | /* HAS_GETPGID: | |
bc900e45 | 167 | * This symbol, if defined, indicates to the C program that |
3ebb1980 JH |
168 | * the getpgid(pid) function is available to get the |
169 | * process group id. | |
170 | */ | |
171 | /*#define HAS_GETPGID / **/ | |
172 | ||
3ebb1980 JH |
173 | /* HAS_GETPGRP2: |
174 | * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX) | |
175 | * routine is available to get the current process group. | |
176 | */ | |
177 | /*#define HAS_GETPGRP2 / **/ | |
178 | ||
179 | /* HAS_GETPPID: | |
180 | * This symbol, if defined, indicates that the getppid routine is | |
181 | * available to get the parent process ID. | |
182 | */ | |
183 | /*#define HAS_GETPPID / **/ | |
184 | ||
185 | /* HAS_GETPRIORITY: | |
186 | * This symbol, if defined, indicates that the getpriority routine is | |
187 | * available to get a process's priority. | |
188 | */ | |
189 | /*#define HAS_GETPRIORITY / **/ | |
190 | ||
191 | /* HAS_INET_ATON: | |
192 | * This symbol, if defined, indicates to the C program that the | |
193 | * inet_aton() function is available to parse IP address "dotted-quad" | |
194 | * strings. | |
195 | */ | |
196 | /*#define HAS_INET_ATON / **/ | |
197 | ||
198 | /* HAS_KILLPG: | |
199 | * This symbol, if defined, indicates that the killpg routine is available | |
200 | * to kill process groups. If unavailable, you probably should use kill | |
201 | * with a negative process number. | |
202 | */ | |
203 | /*#define HAS_KILLPG / **/ | |
204 | ||
205 | /* HAS_LINK: | |
206 | * This symbol, if defined, indicates that the link routine is | |
207 | * available to create hard links. | |
208 | */ | |
209 | /*#define HAS_LINK / **/ | |
210 | ||
211 | /* HAS_LOCALECONV: | |
212 | * This symbol, if defined, indicates that the localeconv routine is | |
213 | * available for numeric and monetary formatting conventions. | |
214 | */ | |
215 | /*#define HAS_LOCALECONV / **/ | |
216 | ||
217 | /* HAS_LOCKF: | |
218 | * This symbol, if defined, indicates that the lockf routine is | |
219 | * available to do file locking. | |
220 | */ | |
221 | /*#define HAS_LOCKF / **/ | |
222 | ||
223 | /* HAS_LSTAT: | |
224 | * This symbol, if defined, indicates that the lstat routine is | |
225 | * available to do file stats on symbolic links. | |
226 | */ | |
227 | /*#define HAS_LSTAT / **/ | |
228 | ||
229 | /* HAS_MBLEN: | |
230 | * This symbol, if defined, indicates that the mblen routine is available | |
231 | * to find the number of bytes in a multibye character. | |
232 | */ | |
233 | /*#define HAS_MBLEN / **/ | |
234 | ||
235 | /* HAS_MBSTOWCS: | |
236 | * This symbol, if defined, indicates that the mbstowcs routine is | |
9cdcdad1 | 237 | * available to convert a multibyte string into a wide character string. |
3ebb1980 JH |
238 | */ |
239 | /*#define HAS_MBSTOWCS / **/ | |
240 | ||
241 | /* HAS_MBTOWC: | |
242 | * This symbol, if defined, indicates that the mbtowc routine is available | |
9cdcdad1 | 243 | * to convert a multibyte to a wide character. |
3ebb1980 JH |
244 | */ |
245 | /*#define HAS_MBTOWC / **/ | |
246 | ||
3ebb1980 JH |
247 | /* HAS_MKDIR: |
248 | * This symbol, if defined, indicates that the mkdir routine is available | |
249 | * to create directories. Otherwise you should fork off a new process to | |
250 | * exec /bin/mkdir. | |
251 | */ | |
252 | /*#define HAS_MKDIR / **/ | |
253 | ||
254 | /* HAS_MKFIFO: | |
255 | * This symbol, if defined, indicates that the mkfifo routine is | |
256 | * available to create FIFOs. Otherwise, mknod should be able to | |
257 | * do it for you. However, if mkfifo is there, mknod might require | |
258 | * super-user privileges which mkfifo will not. | |
259 | */ | |
260 | /*#define HAS_MKFIFO / **/ | |
261 | ||
262 | /* HAS_MKTIME: | |
263 | * This symbol, if defined, indicates that the mktime routine is | |
264 | * available. | |
265 | */ | |
266 | /*#define HAS_MKTIME / **/ | |
267 | ||
c94a4d04 MB |
268 | /* HAS_MSG: |
269 | * This symbol, if defined, indicates that the entire msg*(2) library is | |
270 | * supported (IPC mechanism based on message queues). | |
271 | */ | |
272 | /*#define HAS_MSG / **/ | |
273 | ||
3ebb1980 JH |
274 | /* HAS_MSYNC: |
275 | * This symbol, if defined, indicates that the msync system call is | |
276 | * available to synchronize a mapped file. | |
277 | */ | |
278 | /*#define HAS_MSYNC / **/ | |
279 | ||
280 | /* HAS_MUNMAP: | |
281 | * This symbol, if defined, indicates that the munmap system call is | |
282 | * available to unmap a region, usually mapped by mmap(). | |
283 | */ | |
284 | /*#define HAS_MUNMAP / **/ | |
285 | ||
286 | /* HAS_NICE: | |
287 | * This symbol, if defined, indicates that the nice routine is | |
288 | * available. | |
289 | */ | |
290 | /*#define HAS_NICE / **/ | |
291 | ||
292 | /* HAS_PATHCONF: | |
293 | * This symbol, if defined, indicates that pathconf() is available | |
294 | * to determine file-system related limits and options associated | |
295 | * with a given filename. | |
296 | */ | |
297 | /* HAS_FPATHCONF: | |
298 | * This symbol, if defined, indicates that pathconf() is available | |
299 | * to determine file-system related limits and options associated | |
300 | * with a given open file descriptor. | |
301 | */ | |
302 | /*#define HAS_PATHCONF / **/ | |
303 | /*#define HAS_FPATHCONF / **/ | |
304 | ||
305 | /* HAS_PAUSE: | |
306 | * This symbol, if defined, indicates that the pause routine is | |
307 | * available to suspend a process until a signal is received. | |
308 | */ | |
309 | /*#define HAS_PAUSE / **/ | |
310 | ||
311 | /* HAS_PIPE: | |
312 | * This symbol, if defined, indicates that the pipe routine is | |
313 | * available to create an inter-process channel. | |
314 | */ | |
315 | /*#define HAS_PIPE / **/ | |
316 | ||
0639114f NC |
317 | /* HAS_POLL: |
318 | * This symbol, if defined, indicates that the poll routine is | |
319 | * available to poll active file descriptors. Please check I_POLL and | |
320 | * I_SYS_POLL to know which header should be included as well. | |
321 | */ | |
322 | /*#define HAS_POLL / **/ | |
323 | ||
3ebb1980 JH |
324 | /* HAS_READDIR: |
325 | * This symbol, if defined, indicates that the readdir routine is | |
326 | * available to read directory entries. You may have to include | |
327 | * <dirent.h>. See I_DIRENT. | |
328 | */ | |
2f42fcb0 | 329 | #define HAS_READDIR /**/ |
3ebb1980 JH |
330 | |
331 | /* HAS_SEEKDIR: | |
332 | * This symbol, if defined, indicates that the seekdir routine is | |
333 | * available. You may have to include <dirent.h>. See I_DIRENT. | |
334 | */ | |
335 | /*#define HAS_SEEKDIR / **/ | |
336 | ||
337 | /* HAS_TELLDIR: | |
338 | * This symbol, if defined, indicates that the telldir routine is | |
339 | * available. You may have to include <dirent.h>. See I_DIRENT. | |
340 | */ | |
341 | /*#define HAS_TELLDIR / **/ | |
342 | ||
343 | /* HAS_REWINDDIR: | |
344 | * This symbol, if defined, indicates that the rewinddir routine is | |
345 | * available. You may have to include <dirent.h>. See I_DIRENT. | |
346 | */ | |
347 | /*#define HAS_REWINDDIR / **/ | |
348 | ||
349 | /* HAS_READLINK: | |
350 | * This symbol, if defined, indicates that the readlink routine is | |
351 | * available to read the value of a symbolic link. | |
352 | */ | |
353 | /*#define HAS_READLINK / **/ | |
354 | ||
f40bbcbf MB |
355 | /* HAS_REGCOMP: |
356 | * This symbol, if defined, indicates that the regcomp() routine is | |
357 | * available to do some regular patern matching (usually on POSIX.2 | |
358 | * conforming systems). | |
3adf3699 | 359 | */ |
f40bbcbf | 360 | #define HAS_REGCOMP /* POSIX.2 */ |
3adf3699 | 361 | |
3ebb1980 JH |
362 | /* HAS_RENAME: |
363 | * This symbol, if defined, indicates that the rename routine is available | |
364 | * to rename files. Otherwise you should do the unlink(), link(), unlink() | |
365 | * trick. | |
366 | */ | |
2f42fcb0 | 367 | #define HAS_RENAME /**/ |
3ebb1980 JH |
368 | |
369 | /* HAS_RMDIR: | |
370 | * This symbol, if defined, indicates that the rmdir routine is | |
371 | * available to remove directories. Otherwise you should fork off a | |
372 | * new process to exec /bin/rmdir. | |
373 | */ | |
374 | /*#define HAS_RMDIR / **/ | |
375 | ||
376 | /* HAS_SELECT: | |
377 | * This symbol, if defined, indicates that the select routine is | |
378 | * available to select active file descriptors. If the timeout field | |
379 | * is used, <sys/time.h> may need to be included. | |
380 | */ | |
381 | /*#define HAS_SELECT / **/ | |
382 | ||
c94a4d04 MB |
383 | /* HAS_SEM: |
384 | * This symbol, if defined, indicates that the entire sem*(2) library is | |
385 | * supported. | |
386 | */ | |
387 | /*#define HAS_SEM / **/ | |
388 | ||
3ebb1980 JH |
389 | /* HAS_SETEGID: |
390 | * This symbol, if defined, indicates that the setegid routine is available | |
391 | * to change the effective gid of the current program. | |
392 | */ | |
393 | /*#define HAS_SETEGID / **/ | |
394 | ||
395 | /* HAS_SETEUID: | |
396 | * This symbol, if defined, indicates that the seteuid routine is available | |
397 | * to change the effective uid of the current program. | |
398 | */ | |
399 | /*#define HAS_SETEUID / **/ | |
400 | ||
0639114f NC |
401 | /* HAS_SETGROUPS: |
402 | * This symbol, if defined, indicates that the setgroups() routine is | |
403 | * available to set the list of process groups. If unavailable, multiple | |
404 | * groups are probably not supported. | |
405 | */ | |
406 | /*#define HAS_SETGROUPS / **/ | |
407 | ||
3ebb1980 JH |
408 | /* HAS_SETLINEBUF: |
409 | * This symbol, if defined, indicates that the setlinebuf routine is | |
410 | * available to change stderr or stdout from block-buffered or unbuffered | |
411 | * to a line-buffered mode. | |
412 | */ | |
413 | /*#define HAS_SETLINEBUF / **/ | |
414 | ||
415 | /* HAS_SETLOCALE: | |
416 | * This symbol, if defined, indicates that the setlocale routine is | |
417 | * available to handle locale-specific ctype implementations. | |
418 | */ | |
419 | /*#define HAS_SETLOCALE / **/ | |
420 | ||
421 | /* HAS_SETPGID: | |
422 | * This symbol, if defined, indicates that the setpgid(pid, gpid) | |
423 | * routine is available to set process group ID. | |
424 | */ | |
425 | /*#define HAS_SETPGID / **/ | |
426 | ||
3ebb1980 JH |
427 | /* HAS_SETPGRP2: |
428 | * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX) | |
429 | * routine is available to set the current process group. | |
430 | */ | |
431 | /*#define HAS_SETPGRP2 / **/ | |
432 | ||
433 | /* HAS_SETPRIORITY: | |
434 | * This symbol, if defined, indicates that the setpriority routine is | |
435 | * available to set a process's priority. | |
436 | */ | |
437 | /*#define HAS_SETPRIORITY / **/ | |
438 | ||
439 | /* HAS_SETREGID: | |
440 | * This symbol, if defined, indicates that the setregid routine is | |
441 | * available to change the real and effective gid of the current | |
442 | * process. | |
443 | */ | |
444 | /* HAS_SETRESGID: | |
445 | * This symbol, if defined, indicates that the setresgid routine is | |
446 | * available to change the real, effective and saved gid of the current | |
447 | * process. | |
448 | */ | |
449 | /*#define HAS_SETREGID / **/ | |
450 | /*#define HAS_SETRESGID / **/ | |
451 | ||
452 | /* HAS_SETREUID: | |
453 | * This symbol, if defined, indicates that the setreuid routine is | |
454 | * available to change the real and effective uid of the current | |
455 | * process. | |
456 | */ | |
457 | /* HAS_SETRESUID: | |
458 | * This symbol, if defined, indicates that the setresuid routine is | |
459 | * available to change the real, effective and saved uid of the current | |
460 | * process. | |
461 | */ | |
462 | /*#define HAS_SETREUID / **/ | |
463 | /*#define HAS_SETRESUID / **/ | |
464 | ||
465 | /* HAS_SETRGID: | |
466 | * This symbol, if defined, indicates that the setrgid routine is available | |
467 | * to change the real gid of the current program. | |
468 | */ | |
469 | /*#define HAS_SETRGID / **/ | |
470 | ||
471 | /* HAS_SETRUID: | |
472 | * This symbol, if defined, indicates that the setruid routine is available | |
473 | * to change the real uid of the current program. | |
474 | */ | |
475 | /*#define HAS_SETRUID / **/ | |
476 | ||
477 | /* HAS_SETSID: | |
478 | * This symbol, if defined, indicates that the setsid routine is | |
479 | * available to set the process group ID. | |
480 | */ | |
481 | /*#define HAS_SETSID / **/ | |
482 | ||
f40bbcbf MB |
483 | /* HAS_STAT: |
484 | * This symbol, if defined, indicates that the stat routine is | |
485 | * available to get file status. | |
486 | */ | |
487 | #define HAS_STAT /**/ | |
488 | ||
3ebb1980 JH |
489 | /* HAS_STRCOLL: |
490 | * This symbol, if defined, indicates that the strcoll routine is | |
491 | * available to compare strings using collating information. | |
492 | */ | |
493 | /*#define HAS_STRCOLL / **/ | |
494 | ||
3ebb1980 JH |
495 | /* HAS_STRTOD: |
496 | * This symbol, if defined, indicates that the strtod routine is | |
497 | * available to provide better numeric string conversion than atof(). | |
498 | */ | |
499 | /*#define HAS_STRTOD / **/ | |
500 | ||
501 | /* HAS_STRTOL: | |
502 | * This symbol, if defined, indicates that the strtol routine is available | |
503 | * to provide better numeric string conversion than atoi() and friends. | |
504 | */ | |
d40eae8f | 505 | #define HAS_STRTOL /**/ |
3ebb1980 | 506 | |
3ebb1980 JH |
507 | /* HAS_STRXFRM: |
508 | * This symbol, if defined, indicates that the strxfrm() routine is | |
509 | * available to transform strings. | |
510 | */ | |
511 | /*#define HAS_STRXFRM / **/ | |
512 | ||
513 | /* HAS_SYMLINK: | |
514 | * This symbol, if defined, indicates that the symlink routine is available | |
515 | * to create symbolic links. | |
516 | */ | |
517 | /*#define HAS_SYMLINK / **/ | |
518 | ||
519 | /* HAS_SYSCALL: | |
520 | * This symbol, if defined, indicates that the syscall routine is | |
521 | * available to call arbitrary system calls. If undefined, that's tough. | |
522 | */ | |
523 | /*#define HAS_SYSCALL / **/ | |
524 | ||
525 | /* HAS_SYSCONF: | |
526 | * This symbol, if defined, indicates that sysconf() is available | |
527 | * to determine system related limits and options. | |
528 | */ | |
529 | /*#define HAS_SYSCONF / **/ | |
530 | ||
531 | /* HAS_SYSTEM: | |
532 | * This symbol, if defined, indicates that the system routine is | |
533 | * available to issue a shell command. | |
534 | */ | |
535 | /*#define HAS_SYSTEM / **/ | |
536 | ||
537 | /* HAS_TCGETPGRP: | |
538 | * This symbol, if defined, indicates that the tcgetpgrp routine is | |
539 | * available to get foreground process group ID. | |
540 | */ | |
541 | /*#define HAS_TCGETPGRP / **/ | |
542 | ||
543 | /* HAS_TCSETPGRP: | |
544 | * This symbol, if defined, indicates that the tcsetpgrp routine is | |
545 | * available to set foreground process group ID. | |
546 | */ | |
547 | /*#define HAS_TCSETPGRP / **/ | |
548 | ||
549 | /* HAS_TRUNCATE: | |
550 | * This symbol, if defined, indicates that the truncate routine is | |
551 | * available to truncate files. | |
552 | */ | |
553 | /*#define HAS_TRUNCATE / **/ | |
554 | ||
555 | /* HAS_TZNAME: | |
556 | * This symbol, if defined, indicates that the tzname[] array is | |
557 | * available to access timezone names. | |
558 | */ | |
559 | /*#define HAS_TZNAME / **/ | |
560 | ||
561 | /* HAS_UMASK: | |
562 | * This symbol, if defined, indicates that the umask routine is | |
563 | * available to set and get the value of the file creation mask. | |
564 | */ | |
565 | /*#define HAS_UMASK / **/ | |
566 | ||
4e0554ec JH |
567 | /* HAS_USLEEP: |
568 | * This symbol, if defined, indicates that the usleep routine is | |
569 | * available to let the process sleep on a sub-second accuracy. | |
570 | */ | |
571 | /*#define HAS_USLEEP / **/ | |
572 | ||
3ebb1980 JH |
573 | /* HAS_WAIT4: |
574 | * This symbol, if defined, indicates that wait4() exists. | |
575 | */ | |
576 | /*#define HAS_WAIT4 / **/ | |
577 | ||
578 | /* HAS_WAITPID: | |
579 | * This symbol, if defined, indicates that the waitpid routine is | |
580 | * available to wait for child process. | |
581 | */ | |
582 | /*#define HAS_WAITPID / **/ | |
583 | ||
584 | /* HAS_WCSTOMBS: | |
585 | * This symbol, if defined, indicates that the wcstombs routine is | |
586 | * available to convert wide character strings to multibyte strings. | |
587 | */ | |
588 | /*#define HAS_WCSTOMBS / **/ | |
589 | ||
590 | /* HAS_WCTOMB: | |
591 | * This symbol, if defined, indicates that the wctomb routine is available | |
9cdcdad1 | 592 | * to convert a wide character to a multibyte. |
3ebb1980 JH |
593 | */ |
594 | /*#define HAS_WCTOMB / **/ | |
595 | ||
0639114f NC |
596 | /* Groups_t: |
597 | * This symbol holds the type used for the second argument to | |
598 | * getgroups() and setgroups(). Usually, this is the same as | |
599 | * gidtype (gid_t) , but sometimes it isn't. | |
bc900e45 AC |
600 | * It can be int, ushort, gid_t, etc... |
601 | * It may be necessary to include <sys/types.h> to get any | |
0639114f NC |
602 | * typedef'ed information. This is only required if you have |
603 | * getgroups() or setgroups().. | |
604 | */ | |
605 | #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS) | |
606 | #define Groups_t int /* Type for 2nd arg to [sg]etgroups() */ | |
607 | #endif | |
608 | ||
3ebb1980 JH |
609 | /* I_ARPA_INET: |
610 | * This symbol, if defined, indicates to the C program that it should | |
611 | * include <arpa/inet.h> to get inet_addr and friends declarations. | |
612 | */ | |
9244ff22 | 613 | /*#define I_ARPA_INET / **/ |
3ebb1980 JH |
614 | |
615 | /* I_DBM: | |
616 | * This symbol, if defined, indicates that <dbm.h> exists and should | |
617 | * be included. | |
618 | */ | |
619 | /* I_RPCSVC_DBM: | |
620 | * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and | |
621 | * should be included. | |
622 | */ | |
623 | /*#define I_DBM / **/ | |
624 | /*#define I_RPCSVC_DBM / **/ | |
625 | ||
3ebb1980 JH |
626 | /* I_DLFCN: |
627 | * This symbol, if defined, indicates that <dlfcn.h> exists and should | |
628 | * be included. | |
629 | */ | |
630 | /*#define I_DLFCN / **/ | |
631 | ||
632 | /* I_FCNTL: | |
633 | * This manifest constant tells the C program to include <fcntl.h>. | |
634 | */ | |
635 | /*#define I_FCNTL / **/ | |
636 | ||
637 | /* I_FLOAT: | |
638 | * This symbol, if defined, indicates to the C program that it should | |
639 | * include <float.h> to get definition of symbols like DBL_MAX or | |
640 | * DBL_MIN, i.e. machine dependent floating point values. | |
641 | */ | |
642 | /*#define I_FLOAT / **/ | |
643 | ||
9244ff22 SP |
644 | /* I_GDBM: |
645 | * This symbol, if defined, indicates that <gdbm.h> exists and should | |
646 | * be included. | |
647 | */ | |
648 | /*#define I_GDBM / **/ | |
649 | ||
3ebb1980 JH |
650 | /* I_LIMITS: |
651 | * This symbol, if defined, indicates to the C program that it should | |
652 | * include <limits.h> to get definition of symbols like WORD_BIT or | |
653 | * LONG_MAX, i.e. machine dependant limitations. | |
654 | */ | |
655 | /*#define I_LIMITS / **/ | |
656 | ||
657 | /* I_LOCALE: | |
658 | * This symbol, if defined, indicates to the C program that it should | |
659 | * include <locale.h>. | |
660 | */ | |
661 | /*#define I_LOCALE / **/ | |
662 | ||
663 | /* I_MATH: | |
664 | * This symbol, if defined, indicates to the C program that it should | |
665 | * include <math.h>. | |
666 | */ | |
251f6efd | 667 | #define I_MATH /**/ |
3ebb1980 JH |
668 | |
669 | /* I_MEMORY: | |
670 | * This symbol, if defined, indicates to the C program that it should | |
671 | * include <memory.h>. | |
672 | */ | |
673 | /*#define I_MEMORY / **/ | |
674 | ||
3ebb1980 JH |
675 | /* I_NETINET_IN: |
676 | * This symbol, if defined, indicates to the C program that it should | |
677 | * include <netinet/in.h>. Otherwise, you may try <sys/in.h>. | |
678 | */ | |
679 | /*#define I_NETINET_IN / **/ | |
680 | ||
3ebb1980 JH |
681 | /* I_STRING: |
682 | * This symbol, if defined, indicates to the C program that it should | |
683 | * include <string.h> (USG systems) instead of <strings.h> (BSD systems). | |
684 | */ | |
685 | #define I_STRING /**/ | |
686 | ||
687 | /* I_SYS_DIR: | |
688 | * This symbol, if defined, indicates to the C program that it should | |
689 | * include <sys/dir.h>. | |
690 | */ | |
691 | /*#define I_SYS_DIR / **/ | |
692 | ||
693 | /* I_SYS_FILE: | |
694 | * This symbol, if defined, indicates to the C program that it should | |
695 | * include <sys/file.h> to get definition of R_OK and friends. | |
696 | */ | |
697 | /*#define I_SYS_FILE / **/ | |
698 | ||
699 | /* I_SYS_IOCTL: | |
700 | * This symbol, if defined, indicates that <sys/ioctl.h> exists and should | |
701 | * be included. Otherwise, include <sgtty.h> or <termio.h>. | |
702 | */ | |
49a78c82 JH |
703 | /* I_SYS_SOCKIO: |
704 | * This symbol, if defined, indicates the <sys/sockio.h> should be included | |
705 | * to get socket ioctl options, like SIOCATMARK. | |
706 | */ | |
3ebb1980 | 707 | /*#define I_SYS_IOCTL / **/ |
49a78c82 | 708 | /*#define I_SYS_SOCKIO / **/ |
3ebb1980 JH |
709 | |
710 | /* I_SYS_NDIR: | |
711 | * This symbol, if defined, indicates to the C program that it should | |
712 | * include <sys/ndir.h>. | |
713 | */ | |
714 | /*#define I_SYS_NDIR / **/ | |
715 | ||
716 | /* I_SYS_PARAM: | |
717 | * This symbol, if defined, indicates to the C program that it should | |
718 | * include <sys/param.h>. | |
719 | */ | |
720 | /*#define I_SYS_PARAM / **/ | |
721 | ||
0639114f NC |
722 | /* I_SYS_POLL: |
723 | * This symbol, if defined, indicates that the program may include | |
724 | * <sys/poll.h>. When I_POLL is also defined, it's probably safest | |
725 | * to only include <poll.h>. | |
726 | */ | |
727 | /*#define I_SYS_POLL / **/ | |
728 | ||
3ebb1980 JH |
729 | /* I_SYS_RESOURCE: |
730 | * This symbol, if defined, indicates to the C program that it should | |
731 | * include <sys/resource.h>. | |
732 | */ | |
733 | /*#define I_SYS_RESOURCE / **/ | |
734 | ||
735 | /* I_SYS_SELECT: | |
736 | * This symbol, if defined, indicates to the C program that it should | |
737 | * include <sys/select.h> in order to get definition of struct timeval. | |
738 | */ | |
739 | /*#define I_SYS_SELECT / **/ | |
740 | ||
741 | /* I_SYS_STAT: | |
742 | * This symbol, if defined, indicates to the C program that it should | |
743 | * include <sys/stat.h>. | |
744 | */ | |
745 | #define I_SYS_STAT /**/ | |
746 | ||
747 | /* I_SYS_TIMES: | |
748 | * This symbol, if defined, indicates to the C program that it should | |
749 | * include <sys/times.h>. | |
750 | */ | |
751 | /*#define I_SYS_TIMES / **/ | |
752 | ||
753 | /* I_SYS_TYPES: | |
754 | * This symbol, if defined, indicates to the C program that it should | |
755 | * include <sys/types.h>. | |
756 | */ | |
757 | /*#define I_SYS_TYPES / **/ | |
758 | ||
759 | /* I_SYS_UN: | |
760 | * This symbol, if defined, indicates to the C program that it should | |
761 | * include <sys/un.h> to get UNIX domain socket definitions. | |
762 | */ | |
763 | /*#define I_SYS_UN / **/ | |
764 | ||
765 | /* I_SYS_WAIT: | |
766 | * This symbol, if defined, indicates to the C program that it should | |
767 | * include <sys/wait.h>. | |
768 | */ | |
769 | /*#define I_SYS_WAIT / **/ | |
770 | ||
3ebb1980 JH |
771 | /* I_UNISTD: |
772 | * This symbol, if defined, indicates to the C program that it should | |
773 | * include <unistd.h>. | |
774 | */ | |
775 | /*#define I_UNISTD / **/ | |
776 | ||
777 | /* I_UTIME: | |
778 | * This symbol, if defined, indicates to the C program that it should | |
779 | * include <utime.h>. | |
780 | */ | |
781 | /*#define I_UTIME / **/ | |
782 | ||
783 | /* I_VALUES: | |
784 | * This symbol, if defined, indicates to the C program that it should | |
785 | * include <values.h> to get definition of symbols like MINFLOAT or | |
786 | * MAXLONG, i.e. machine dependant limitations. Probably, you | |
787 | * should use <limits.h> instead, if it is available. | |
788 | */ | |
789 | /*#define I_VALUES / **/ | |
790 | ||
3ebb1980 JH |
791 | /* I_VFORK: |
792 | * This symbol, if defined, indicates to the C program that it should | |
793 | * include vfork.h. | |
794 | */ | |
795 | /*#define I_VFORK / **/ | |
796 | ||
7e69463d AC |
797 | /* STDCHAR: |
798 | * This symbol is defined to be the type of char used in stdio.h. | |
799 | * It has the values "unsigned char" or "char". | |
800 | */ | |
801 | #define STDCHAR char /**/ | |
802 | ||
7e69463d AC |
803 | /* INTSIZE: |
804 | * This symbol contains the value of sizeof(int) so that the C | |
805 | * preprocessor can make decisions based on it. | |
3ebb1980 | 806 | */ |
7e69463d AC |
807 | /* LONGSIZE: |
808 | * This symbol contains the value of sizeof(long) so that the C | |
809 | * preprocessor can make decisions based on it. | |
535ceeb0 | 810 | */ |
7e69463d AC |
811 | /* SHORTSIZE: |
812 | * This symbol contains the value of sizeof(short) so that the C | |
813 | * preprocessor can make decisions based on it. | |
814 | */ | |
815 | #define INTSIZE 4 /**/ | |
816 | #define LONGSIZE 4 /**/ | |
817 | #define SHORTSIZE 2 /**/ | |
535ceeb0 | 818 | |
6e89a33a MB |
819 | /* MULTIARCH: |
820 | * This symbol, if defined, signifies that the build | |
821 | * process will produce some binary files that are going to be | |
822 | * used in a cross-platform environment. This is the case for | |
823 | * example with the NeXT "fat" binaries that contain executables | |
824 | * for several CPUs. | |
825 | */ | |
826 | /*#define MULTIARCH / **/ | |
827 | ||
7e69463d AC |
828 | /* HAS_QUAD: |
829 | * This symbol, if defined, tells that there's a 64-bit integer type, | |
830 | * Quad_t, and its unsigned counterpart, Uquad_t. QUADKIND will be one | |
831 | * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, QUAD_IS_INT64_T, | |
832 | * or QUAD_IS___INT64. | |
12cf8ac4 | 833 | */ |
7e69463d AC |
834 | /*#define HAS_QUAD / **/ |
835 | #ifdef HAS_QUAD | |
836 | # define Quad_t int64_t /**/ | |
837 | # define Uquad_t uint64_t /**/ | |
838 | # define QUADKIND 4 /**/ | |
839 | # define QUAD_IS_INT 1 | |
840 | # define QUAD_IS_LONG 2 | |
841 | # define QUAD_IS_LONG_LONG 3 | |
842 | # define QUAD_IS_INT64_T 4 | |
843 | # define QUAD_IS___INT64 5 | |
844 | #endif | |
3ebb1980 | 845 | |
7e69463d AC |
846 | /* HAS_ACCESSX: |
847 | * This symbol, if defined, indicates that the accessx routine is | |
848 | * available to do extended access checks. | |
58bf2e2e | 849 | */ |
7e69463d | 850 | /*#define HAS_ACCESSX / **/ |
58bf2e2e | 851 | |
7e69463d AC |
852 | /* HAS_EACCESS: |
853 | * This symbol, if defined, indicates that the eaccess routine is | |
854 | * available to do extended access checks. | |
58bf2e2e | 855 | */ |
7e69463d | 856 | /*#define HAS_EACCESS / **/ |
58bf2e2e | 857 | |
7e69463d AC |
858 | /* I_SYS_ACCESS: |
859 | * This symbol, if defined, indicates to the C program that it should | |
860 | * include <sys/access.h>. | |
535ceeb0 | 861 | */ |
7e69463d | 862 | /*#define I_SYS_ACCESS / **/ |
58bf2e2e | 863 | |
7e69463d AC |
864 | /* I_SYS_SECURITY: |
865 | * This symbol, if defined, indicates to the C program that it should | |
866 | * include <sys/security.h>. | |
06501368 | 867 | */ |
7e69463d AC |
868 | /*#define I_SYS_SECURITY / **/ |
869 | ||
870 | /* MEM_ALIGNBYTES: | |
871 | * This symbol contains the number of bytes required to align a | |
872 | * double, or a long double when applicable. Usual values are 2, | |
873 | * 4 and 8. The default is eight, for safety. For cross-compiling | |
874 | * or multiarch support, Configure will set a minimum of 8. | |
06501368 | 875 | */ |
7e69463d | 876 | #define MEM_ALIGNBYTES 4 |
06501368 | 877 | |
12cf8ac4 NC |
878 | /* BYTEORDER: |
879 | * This symbol holds the hexadecimal constant defined in byteorder, | |
880 | * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc... | |
881 | * If the compiler supports cross-compiling or multiple-architecture | |
f05550c0 | 882 | * binaries, use compiler-defined macros to |
12cf8ac4 | 883 | * determine the byte order. |
58bf2e2e | 884 | */ |
c9d1bf8e | 885 | #if defined(MULTIARCH) |
12cf8ac4 NC |
886 | # ifdef __LITTLE_ENDIAN__ |
887 | # if LONGSIZE == 4 | |
888 | # define BYTEORDER 0x1234 | |
889 | # else | |
890 | # if LONGSIZE == 8 | |
891 | # define BYTEORDER 0x12345678 | |
892 | # endif | |
893 | # endif | |
894 | # else | |
895 | # ifdef __BIG_ENDIAN__ | |
896 | # if LONGSIZE == 4 | |
897 | # define BYTEORDER 0x4321 | |
898 | # else | |
899 | # if LONGSIZE == 8 | |
900 | # define BYTEORDER 0x87654321 | |
901 | # endif | |
902 | # endif | |
903 | # endif | |
904 | # endif | |
12cf8ac4 NC |
905 | #else |
906 | #define BYTEORDER 0x1234 /* large digits for MSB */ | |
f05550c0 | 907 | #endif |
58bf2e2e | 908 | |
12cf8ac4 NC |
909 | /* CHARBITS: |
910 | * This symbol contains the size of a char, so that the C preprocessor | |
911 | * can make decisions based on it. | |
58bf2e2e | 912 | */ |
12cf8ac4 | 913 | #define CHARBITS 8 /**/ |
58bf2e2e | 914 | |
12cf8ac4 NC |
915 | /* CASTI32: |
916 | * This symbol is defined if the C compiler can cast negative | |
917 | * or large floating point numbers to 32-bit ints. | |
535ceeb0 | 918 | */ |
12cf8ac4 NC |
919 | /*#define CASTI32 / **/ |
920 | ||
921 | /* CASTNEGFLOAT: | |
922 | * This symbol is defined if the C compiler can cast negative | |
923 | * numbers to unsigned longs, ints and shorts. | |
0639114f | 924 | */ |
12cf8ac4 NC |
925 | /* CASTFLAGS: |
926 | * This symbol contains flags that say what difficulties the compiler | |
927 | * has casting odd floating values to unsigned long: | |
928 | * 0 = ok | |
929 | * 1 = couldn't cast < 0 | |
930 | * 2 = couldn't cast >= 0x80000000 | |
931 | * 4 = couldn't cast in argument expression list | |
535ceeb0 | 932 | */ |
12cf8ac4 NC |
933 | /*#define CASTNEGFLOAT / **/ |
934 | #define CASTFLAGS 0 /**/ | |
535ceeb0 | 935 | |
12cf8ac4 NC |
936 | /* VOID_CLOSEDIR: |
937 | * This symbol, if defined, indicates that the closedir() routine | |
938 | * does not return a value. | |
666ea192 | 939 | */ |
12cf8ac4 | 940 | /*#define VOID_CLOSEDIR / **/ |
666ea192 | 941 | |
7e69463d AC |
942 | /* HAS_FD_SET: |
943 | * This symbol, when defined, indicates presence of the fd_set typedef | |
944 | * in <sys/types.h> | |
06501368 | 945 | */ |
7e69463d | 946 | /*#define HAS_FD_SET / **/ |
06501368 | 947 | |
7e69463d AC |
948 | /* Gconvert: |
949 | * This preprocessor macro is defined to convert a floating point | |
950 | * number to a string without a trailing decimal point. This | |
951 | * emulates the behavior of sprintf("%g"), but is sometimes much more | |
952 | * efficient. If gconvert() is not available, but gcvt() drops the | |
953 | * trailing decimal point, then gcvt() is used. If all else fails, | |
954 | * a macro using sprintf("%g") is used. Arguments for the Gconvert | |
955 | * macro are: value, number of digits, whether trailing zeros should | |
956 | * be retained, and the output buffer. | |
957 | * The usual values are: | |
958 | * d_Gconvert='gconvert((x),(n),(t),(b))' | |
959 | * d_Gconvert='gcvt((x),(n),(b))' | |
960 | * d_Gconvert='sprintf((b),"%.*g",(n),(x))' | |
961 | * The last two assume trailing zeros should not be kept. | |
3ebb1980 | 962 | */ |
7e69463d | 963 | #define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x)) |
a838cfe5 | 964 | |
7e69463d AC |
965 | /* HAS_GETPAGESIZE: |
966 | * This symbol, if defined, indicates that the getpagesize system call | |
967 | * is available to get system page size, which is the granularity of | |
968 | * many memory management calls. | |
06501368 | 969 | */ |
7e69463d AC |
970 | /*#define HAS_GETPAGESIZE / **/ |
971 | ||
972 | /* HAS_GNULIBC: | |
973 | * This symbol, if defined, indicates to the C program that | |
974 | * the GNU C library is being used. A better check is to use | |
975 | * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc. | |
06501368 | 976 | */ |
7e69463d AC |
977 | /*#define HAS_GNULIBC / **/ |
978 | #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE) | |
979 | # define _GNU_SOURCE | |
06501368 MB |
980 | #endif |
981 | ||
7e69463d AC |
982 | /* HAS_ISASCII: |
983 | * This manifest constant lets the C program know that isascii | |
984 | * is available. | |
535ceeb0 | 985 | */ |
7e69463d | 986 | /*#define HAS_ISASCII / **/ |
535ceeb0 | 987 | |
7e69463d AC |
988 | /* HAS_LCHOWN: |
989 | * This symbol, if defined, indicates that the lchown routine is | |
990 | * available to operate on a symbolic link (instead of following the | |
991 | * link). | |
10bc17b6 | 992 | */ |
7e69463d | 993 | /*#define HAS_LCHOWN / **/ |
1de32f2a | 994 | |
7e69463d AC |
995 | /* HAS_OPEN3: |
996 | * This manifest constant lets the C program know that the three | |
997 | * argument form of open(2) is available. | |
1f922d87 | 998 | */ |
7e69463d | 999 | /*#define HAS_OPEN3 / **/ |
1f922d87 | 1000 | |
7e69463d AC |
1001 | /* HAS_SIGACTION: |
1002 | * This symbol, if defined, indicates that Vr4's sigaction() routine | |
1003 | * is available. | |
9244ff22 | 1004 | */ |
7e69463d | 1005 | /*#define HAS_SIGACTION / **/ |
9244ff22 | 1006 | |
7e69463d AC |
1007 | /* HAS_SIGINFO_SI_ERRNO: |
1008 | * This symbol, if defined, indicates that siginfo_t has the | |
1009 | * si_errno member | |
06501368 | 1010 | */ |
7e69463d AC |
1011 | /* HAS_SIGINFO_SI_PID: |
1012 | * This symbol, if defined, indicates that siginfo_t has the | |
1013 | * si_pid member | |
1de32f2a | 1014 | */ |
7e69463d AC |
1015 | /* HAS_SIGINFO_SI_UID: |
1016 | * This symbol, if defined, indicates that siginfo_t has the | |
1017 | * si_uid member | |
1de32f2a | 1018 | */ |
7e69463d AC |
1019 | /* HAS_SIGINFO_SI_ADDR: |
1020 | * This symbol, if defined, indicates that siginfo_t has the | |
1021 | * si_addr member | |
06501368 | 1022 | */ |
7e69463d AC |
1023 | /* HAS_SIGINFO_SI_STATUS: |
1024 | * This symbol, if defined, indicates that siginfo_t has the | |
1025 | * si_status member | |
535ceeb0 | 1026 | */ |
7e69463d AC |
1027 | /* HAS_SIGINFO_SI_BAND: |
1028 | * This symbol, if defined, indicates that siginfo_t has the | |
1029 | * si_band member | |
535ceeb0 | 1030 | */ |
7e69463d AC |
1031 | /* HAS_SIGINFO_SI_VALUE: |
1032 | * This symbol, if defined, indicates that siginfo_t has the | |
1033 | * si_value member | |
06501368 | 1034 | */ |
7e69463d AC |
1035 | /*#define HAS_SIGINFO_SI_ERRNO / **/ |
1036 | /*#define HAS_SIGINFO_SI_PID / **/ | |
1037 | /*#define HAS_SIGINFO_SI_UID / **/ | |
1038 | /*#define HAS_SIGINFO_SI_ADDR / **/ | |
1039 | /*#define HAS_SIGINFO_SI_STATUS / **/ | |
1040 | /*#define HAS_SIGINFO_SI_BAND / **/ | |
1041 | /*#define HAS_SIGINFO_SI_VALUE / **/ | |
06501368 | 1042 | |
7e69463d AC |
1043 | /* HAS_SIGSETJMP: |
1044 | * This variable indicates to the C program that the sigsetjmp() | |
1045 | * routine is available to save the calling process's registers | |
1046 | * and stack environment for later use by siglongjmp(), and | |
1047 | * to optionally save the process's signal mask. See | |
1048 | * Sigjmp_buf, Sigsetjmp, and Siglongjmp. | |
535ceeb0 | 1049 | */ |
7e69463d AC |
1050 | /* Sigjmp_buf: |
1051 | * This is the buffer type to be used with Sigsetjmp and Siglongjmp. | |
06501368 | 1052 | */ |
7e69463d AC |
1053 | /* Sigsetjmp: |
1054 | * This macro is used in the same way as sigsetjmp(), but will invoke | |
1055 | * traditional setjmp() if sigsetjmp isn't available. | |
1056 | * See HAS_SIGSETJMP. | |
535ceeb0 | 1057 | */ |
7e69463d AC |
1058 | /* Siglongjmp: |
1059 | * This macro is used in the same way as siglongjmp(), but will invoke | |
1060 | * traditional longjmp() if siglongjmp isn't available. | |
1061 | * See HAS_SIGSETJMP. | |
535ceeb0 | 1062 | */ |
7e69463d AC |
1063 | /*#define HAS_SIGSETJMP / **/ |
1064 | #ifdef HAS_SIGSETJMP | |
1065 | #define Sigjmp_buf sigjmp_buf | |
1066 | #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask)) | |
1067 | #define Siglongjmp(buf,retval) siglongjmp((buf),(retval)) | |
1068 | #else | |
1069 | #define Sigjmp_buf jmp_buf | |
1070 | #define Sigsetjmp(buf,save_mask) setjmp((buf)) | |
1071 | #define Siglongjmp(buf,retval) longjmp((buf),(retval)) | |
1072 | #endif | |
06501368 | 1073 | |
7e69463d AC |
1074 | /* HAS_STATIC_INLINE: |
1075 | * This symbol, if defined, indicates that the C compiler supports | |
1076 | * C99-style static inline. That is, the function can't be called | |
1077 | * from another translation unit. | |
1de32f2a | 1078 | */ |
7e69463d AC |
1079 | /* PERL_STATIC_INLINE: |
1080 | * This symbol gives the best-guess incantation to use for static | |
1081 | * inline functions. If HAS_STATIC_INLINE is defined, this will | |
1082 | * give C99-style inline. If HAS_STATIC_INLINE is not defined, | |
1083 | * this will give a plain 'static'. It will always be defined | |
1084 | * to something that gives static linkage. | |
1085 | * Possibilities include | |
1086 | * static inline (c99) | |
1087 | * static __inline__ (gcc -ansi) | |
1088 | * static __inline (MSVC) | |
1089 | * static _inline (older MSVC) | |
1090 | * static (c89 compilers) | |
1de32f2a | 1091 | */ |
7e69463d AC |
1092 | /*#define HAS_STATIC_INLINE / **/ |
1093 | #define PERL_STATIC_INLINE static /**/ | |
58bf2e2e | 1094 | |
7e69463d AC |
1095 | /* USE_STDIO_PTR: |
1096 | * This symbol is defined if the _ptr and _cnt fields (or similar) | |
1097 | * of the stdio FILE structure can be used to access the stdio buffer | |
1098 | * for a file handle. If this is defined, then the FILE_ptr(fp) | |
1099 | * and FILE_cnt(fp) macros will also be defined and should be used | |
1100 | * to access these fields. | |
06501368 | 1101 | */ |
7e69463d AC |
1102 | /* FILE_ptr: |
1103 | * This macro is used to access the _ptr field (or equivalent) of the | |
1104 | * FILE structure pointed to by its argument. This macro will always be | |
1105 | * defined if USE_STDIO_PTR is defined. | |
06501368 | 1106 | */ |
7e69463d AC |
1107 | /* STDIO_PTR_LVALUE: |
1108 | * This symbol is defined if the FILE_ptr macro can be used as an | |
1109 | * lvalue. | |
535ceeb0 | 1110 | */ |
7e69463d AC |
1111 | /* FILE_cnt: |
1112 | * This macro is used to access the _cnt field (or equivalent) of the | |
1113 | * FILE structure pointed to by its argument. This macro will always be | |
1114 | * defined if USE_STDIO_PTR is defined. | |
1de32f2a | 1115 | */ |
7e69463d AC |
1116 | /* STDIO_CNT_LVALUE: |
1117 | * This symbol is defined if the FILE_cnt macro can be used as an | |
1118 | * lvalue. | |
06501368 | 1119 | */ |
7e69463d AC |
1120 | /* STDIO_PTR_LVAL_SETS_CNT: |
1121 | * This symbol is defined if using the FILE_ptr macro as an lvalue | |
1122 | * to increase the pointer by n has the side effect of decreasing the | |
1123 | * value of File_cnt(fp) by n. | |
1de32f2a | 1124 | */ |
7e69463d AC |
1125 | /* STDIO_PTR_LVAL_NOCHANGE_CNT: |
1126 | * This symbol is defined if using the FILE_ptr macro as an lvalue | |
1127 | * to increase the pointer by n leaves File_cnt(fp) unchanged. | |
06501368 | 1128 | */ |
7e69463d AC |
1129 | /*#define USE_STDIO_PTR / **/ |
1130 | #ifdef USE_STDIO_PTR | |
1131 | #define FILE_ptr(fp) ((fp)->_IO_read_ptr) | |
1132 | /*#define STDIO_PTR_LVALUE / **/ | |
1133 | #define FILE_cnt(fp) ((fp)->_IO_read_end - (fp)->_IO_read_ptr) | |
1134 | /*#define STDIO_CNT_LVALUE / **/ | |
1135 | /*#define STDIO_PTR_LVAL_SETS_CNT / **/ | |
1136 | /*#define STDIO_PTR_LVAL_NOCHANGE_CNT / **/ | |
1137 | #endif | |
06501368 | 1138 | |
7e69463d AC |
1139 | /* USE_STDIO_BASE: |
1140 | * This symbol is defined if the _base field (or similar) of the | |
1141 | * stdio FILE structure can be used to access the stdio buffer for | |
1142 | * a file handle. If this is defined, then the FILE_base(fp) macro | |
1143 | * will also be defined and should be used to access this field. | |
1144 | * Also, the FILE_bufsiz(fp) macro will be defined and should be used | |
1145 | * to determine the number of bytes in the buffer. USE_STDIO_BASE | |
1146 | * will never be defined unless USE_STDIO_PTR is. | |
1de32f2a | 1147 | */ |
7e69463d AC |
1148 | /* FILE_base: |
1149 | * This macro is used to access the _base field (or equivalent) of the | |
1150 | * FILE structure pointed to by its argument. This macro will always be | |
1151 | * defined if USE_STDIO_BASE is defined. | |
1de32f2a | 1152 | */ |
7e69463d AC |
1153 | /* FILE_bufsiz: |
1154 | * This macro is used to determine the number of bytes in the I/O | |
1155 | * buffer pointed to by _base field (or equivalent) of the FILE | |
1156 | * structure pointed to its argument. This macro will always be defined | |
1157 | * if USE_STDIO_BASE is defined. | |
1de32f2a | 1158 | */ |
7e69463d AC |
1159 | /*#define USE_STDIO_BASE / **/ |
1160 | #ifdef USE_STDIO_BASE | |
1161 | #define FILE_base(fp) ((fp)->_IO_read_base) | |
1162 | #define FILE_bufsiz(fp) ((fp)->_IO_read_end - (fp)->_IO_read_base) | |
1163 | #endif | |
1de32f2a | 1164 | |
7e69463d AC |
1165 | /* DOUBLESIZE: |
1166 | * This symbol contains the size of a double, so that the C preprocessor | |
1167 | * can make decisions based on it. | |
06501368 | 1168 | */ |
7e69463d | 1169 | #define DOUBLESIZE 8 /**/ |
06501368 | 1170 | |
7e69463d | 1171 | /* I_TIME: |
9245da2a AC |
1172 | * This symbol is always defined, and indicates to the C program that |
1173 | * it should include <time.h>. | |
06501368 | 1174 | */ |
7e69463d AC |
1175 | /* I_SYS_TIME: |
1176 | * This symbol, if defined, indicates to the C program that it should | |
1177 | * include <sys/time.h>. | |
06501368 | 1178 | */ |
7e69463d AC |
1179 | /* I_SYS_TIME_KERNEL: |
1180 | * This symbol, if defined, indicates to the C program that it should | |
1181 | * include <sys/time.h> with KERNEL defined. | |
06501368 | 1182 | */ |
7e69463d AC |
1183 | /* HAS_TM_TM_ZONE: |
1184 | * This symbol, if defined, indicates to the C program that | |
1185 | * the struct tm has a tm_zone field. | |
06501368 | 1186 | */ |
7e69463d AC |
1187 | /* HAS_TM_TM_GMTOFF: |
1188 | * This symbol, if defined, indicates to the C program that | |
1189 | * the struct tm has a tm_gmtoff field. | |
06501368 | 1190 | */ |
7e69463d AC |
1191 | #define I_TIME /**/ |
1192 | /*#define I_SYS_TIME / **/ | |
1193 | /*#define I_SYS_TIME_KERNEL / **/ | |
1194 | /*#define HAS_TM_TM_ZONE / **/ | |
1195 | /*#define HAS_TM_TM_GMTOFF / **/ | |
06501368 | 1196 | |
7e69463d AC |
1197 | /* VAL_O_NONBLOCK: |
1198 | * This symbol is to be used during open() or fcntl(F_SETFL) to turn on | |
1199 | * non-blocking I/O for the file descriptor. Note that there is no way | |
1200 | * back, i.e. you cannot turn it blocking again this way. If you wish to | |
1201 | * alternatively switch between blocking and non-blocking, use the | |
1202 | * ioctl(FIOSNBIO) call instead, but that is not supported by all devices. | |
535ceeb0 | 1203 | */ |
7e69463d AC |
1204 | /* VAL_EAGAIN: |
1205 | * This symbol holds the errno error code set by read() when no data was | |
1206 | * present on the non-blocking file descriptor. | |
535ceeb0 | 1207 | */ |
7e69463d AC |
1208 | /* RD_NODATA: |
1209 | * This symbol holds the return code from read() when no data is present | |
1210 | * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is | |
1211 | * not defined, then you can't distinguish between no data and EOF by | |
1212 | * issuing a read(). You'll have to find another way to tell for sure! | |
535ceeb0 | 1213 | */ |
7e69463d AC |
1214 | /* EOF_NONBLOCK: |
1215 | * This symbol, if defined, indicates to the C program that a read() on | |
1216 | * a non-blocking file descriptor will return 0 on EOF, and not the value | |
1217 | * held in RD_NODATA (-1 usually, in that case!). | |
535ceeb0 | 1218 | */ |
7e69463d AC |
1219 | #define VAL_O_NONBLOCK O_NONBLOCK |
1220 | #define VAL_EAGAIN EAGAIN | |
1221 | #define RD_NODATA -1 | |
1222 | #undef EOF_NONBLOCK | |
535ceeb0 | 1223 | |
7e69463d AC |
1224 | /* PTRSIZE: |
1225 | * This symbol contains the size of a pointer, so that the C preprocessor | |
1226 | * can make decisions based on it. It will be sizeof(void *) if | |
1227 | * the compiler supports (void *); otherwise it will be | |
1228 | * sizeof(char *). | |
06501368 | 1229 | */ |
7e69463d | 1230 | #define PTRSIZE 4 /**/ |
06501368 | 1231 | |
7e69463d AC |
1232 | /* Drand01: |
1233 | * This macro is to be used to generate uniformly distributed | |
1234 | * random numbers over the range [0., 1.[. You may have to supply | |
1235 | * an 'extern double drand48();' in your program since SunOS 4.1.3 | |
1236 | * doesn't provide you with anything relevant in its headers. | |
1237 | * See HAS_DRAND48_PROTO. | |
1de32f2a | 1238 | */ |
7e69463d AC |
1239 | /* Rand_seed_t: |
1240 | * This symbol defines the type of the argument of the | |
1241 | * random seed function. | |
1de32f2a | 1242 | */ |
7e69463d AC |
1243 | /* seedDrand01: |
1244 | * This symbol defines the macro to be used in seeding the | |
1245 | * random number generator (see Drand01). | |
06501368 | 1246 | */ |
7e69463d AC |
1247 | /* RANDBITS: |
1248 | * This symbol indicates how many bits are produced by the | |
1249 | * function used to generate normalized random numbers. | |
1250 | * Values include 15, 16, 31, and 48. | |
06501368 | 1251 | */ |
7e69463d AC |
1252 | #define Drand01() Perl_drand48() /**/ |
1253 | #define Rand_seed_t U32 /**/ | |
1254 | #define seedDrand01(x) Perl_drand48_init((Rand_seed_t)x) /**/ | |
1255 | #define RANDBITS 48 /**/ | |
06501368 | 1256 | |
7e69463d AC |
1257 | /* SSize_t: |
1258 | * This symbol holds the type used by functions that return | |
1259 | * a count of bytes or an error condition. It must be a signed type. | |
1260 | * It is usually ssize_t, but may be long or int, etc. | |
1261 | * It may be necessary to include <sys/types.h> or <unistd.h> | |
1262 | * to get any typedef'ed information. | |
1263 | * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t). | |
06501368 | 1264 | */ |
7e69463d | 1265 | #define SSize_t int /* signed count of bytes */ |
06501368 | 1266 | |
7e69463d AC |
1267 | /* EBCDIC: |
1268 | * This symbol, if defined, indicates that this system uses | |
1269 | * EBCDIC encoding. | |
535ceeb0 | 1270 | */ |
7e69463d | 1271 | /*#define EBCDIC / **/ |
535ceeb0 | 1272 | |
7e69463d AC |
1273 | /* ARCHLIB: |
1274 | * This variable, if defined, holds the name of the directory in | |
1275 | * which the user wants to put architecture-dependent public | |
1276 | * library files for perl5. It is most often a local directory | |
1277 | * such as /usr/local/lib. Programs using this variable must be | |
1278 | * prepared to deal with filename expansion. If ARCHLIB is the | |
1279 | * same as PRIVLIB, it is not defined, since presumably the | |
1280 | * program already searches PRIVLIB. | |
535ceeb0 | 1281 | */ |
7e69463d AC |
1282 | /* ARCHLIB_EXP: |
1283 | * This symbol contains the ~name expanded version of ARCHLIB, to be used | |
1284 | * in programs that are not prepared to deal with ~ expansion at run-time. | |
535ceeb0 | 1285 | */ |
6612e40e S |
1286 | /*#define ARCHLIB "/usr/local/lib/perl5/5.27/unknown" / **/ |
1287 | /*#define ARCHLIB_EXP "/usr/local/lib/perl5/5.27/unknown" / **/ | |
535ceeb0 | 1288 | |
7e69463d AC |
1289 | /* BIN: |
1290 | * This symbol holds the path of the bin directory where the package will | |
1291 | * be installed. Program must be prepared to deal with ~name substitution. | |
535ceeb0 | 1292 | */ |
7e69463d AC |
1293 | /* BIN_EXP: |
1294 | * This symbol is the filename expanded version of the BIN symbol, for | |
1295 | * programs that do not want to deal with that at run-time. | |
535ceeb0 | 1296 | */ |
7e69463d AC |
1297 | /* PERL_RELOCATABLE_INC: |
1298 | * This symbol, if defined, indicates that we'd like to relocate entries | |
1299 | * in @INC at run time based on the location of the perl binary. | |
1300 | */ | |
1301 | #define BIN "/usr/local/bin" /**/ | |
1302 | #define BIN_EXP "/usr/local/bin" /**/ | |
1303 | #define PERL_RELOCATABLE_INC "undef" /**/ | |
535ceeb0 | 1304 | |
7e69463d AC |
1305 | /* PERL_INC_VERSION_LIST: |
1306 | * This variable specifies the list of subdirectories in over | |
1307 | * which perl.c:incpush() and lib/lib.pm will automatically | |
1308 | * search when adding directories to @INC, in a format suitable | |
1309 | * for a C initialization string. See the inc_version_list entry | |
1310 | * in Porting/Glossary for more details. | |
06501368 | 1311 | */ |
7e69463d | 1312 | /*#define PERL_INC_VERSION_LIST NULL / **/ |
06501368 | 1313 | |
7e69463d AC |
1314 | /* INSTALL_USR_BIN_PERL: |
1315 | * This symbol, if defined, indicates that Perl is to be installed | |
1316 | * also as /usr/bin/perl. | |
1de32f2a | 1317 | */ |
7e69463d | 1318 | /*#define INSTALL_USR_BIN_PERL / **/ |
1de32f2a | 1319 | |
7e69463d AC |
1320 | /* PERL_OTHERLIBDIRS: |
1321 | * This variable contains a colon-separated set of paths for the perl | |
1322 | * binary to search for additional library files or modules. | |
1323 | * These directories will be tacked to the end of @INC. | |
1324 | * Perl will automatically search below each path for version- | |
1325 | * and architecture-specific directories. See PERL_INC_VERSION_LIST | |
1326 | * for more details. | |
06501368 | 1327 | */ |
7e69463d | 1328 | /*#define PERL_OTHERLIBDIRS " " / **/ |
06501368 | 1329 | |
7e69463d AC |
1330 | /* PRIVLIB: |
1331 | * This symbol contains the name of the private library for this package. | |
1332 | * The library is private in the sense that it needn't be in anyone's | |
1333 | * execution path, but it should be accessible by the world. The program | |
1334 | * should be prepared to do ~ expansion. | |
06501368 | 1335 | */ |
7e69463d AC |
1336 | /* PRIVLIB_EXP: |
1337 | * This symbol contains the ~name expanded version of PRIVLIB, to be used | |
1338 | * in programs that are not prepared to deal with ~ expansion at run-time. | |
06501368 | 1339 | */ |
6612e40e S |
1340 | #define PRIVLIB "/usr/local/lib/perl5/5.27" /**/ |
1341 | #define PRIVLIB_EXP "/usr/local/lib/perl5/5.27" /**/ | |
06501368 | 1342 | |
7e69463d AC |
1343 | /* SITEARCH: |
1344 | * This symbol contains the name of the private library for this package. | |
1345 | * The library is private in the sense that it needn't be in anyone's | |
1346 | * execution path, but it should be accessible by the world. The program | |
1347 | * should be prepared to do ~ expansion. | |
1348 | * The standard distribution will put nothing in this directory. | |
1349 | * After perl has been installed, users may install their own local | |
1350 | * architecture-dependent modules in this directory with | |
1351 | * MakeMaker Makefile.PL | |
1352 | * or equivalent. See INSTALL for details. | |
06501368 | 1353 | */ |
7e69463d AC |
1354 | /* SITEARCH_EXP: |
1355 | * This symbol contains the ~name expanded version of SITEARCH, to be used | |
1356 | * in programs that are not prepared to deal with ~ expansion at run-time. | |
06501368 | 1357 | */ |
6612e40e S |
1358 | /*#define SITEARCH "/usr/local/lib/perl5/5.27/unknown" / **/ |
1359 | /*#define SITEARCH_EXP "/usr/local/lib/perl5/5.27/unknown" / **/ | |
06501368 | 1360 | |
7e69463d AC |
1361 | /* SITELIB: |
1362 | * This symbol contains the name of the private library for this package. | |
1363 | * The library is private in the sense that it needn't be in anyone's | |
1364 | * execution path, but it should be accessible by the world. The program | |
1365 | * should be prepared to do ~ expansion. | |
1366 | * The standard distribution will put nothing in this directory. | |
1367 | * After perl has been installed, users may install their own local | |
1368 | * architecture-independent modules in this directory with | |
1369 | * MakeMaker Makefile.PL | |
1370 | * or equivalent. See INSTALL for details. | |
535ceeb0 | 1371 | */ |
7e69463d AC |
1372 | /* SITELIB_EXP: |
1373 | * This symbol contains the ~name expanded version of SITELIB, to be used | |
1374 | * in programs that are not prepared to deal with ~ expansion at run-time. | |
535ceeb0 | 1375 | */ |
7e69463d AC |
1376 | /* SITELIB_STEM: |
1377 | * This define is SITELIB_EXP with any trailing version-specific component | |
1378 | * removed. The elements in inc_version_list (inc_version_list.U) can | |
1379 | * be tacked onto this variable to generate a list of directories to search. | |
535ceeb0 | 1380 | */ |
6612e40e S |
1381 | #define SITELIB "/usr/local/lib/perl5/5.27" /**/ |
1382 | #define SITELIB_EXP "/usr/local/lib/perl5/5.27" /**/ | |
7e69463d | 1383 | #define SITELIB_STEM "/usr/local/lib/perl5" /**/ |
535ceeb0 | 1384 | |
7e69463d AC |
1385 | /* PERL_VENDORARCH: |
1386 | * If defined, this symbol contains the name of a private library. | |
1387 | * The library is private in the sense that it needn't be in anyone's | |
1388 | * execution path, but it should be accessible by the world. | |
1389 | * It may have a ~ on the front. | |
1390 | * The standard distribution will put nothing in this directory. | |
1391 | * Vendors who distribute perl may wish to place their own | |
1392 | * architecture-dependent modules and extensions in this directory with | |
1393 | * MakeMaker Makefile.PL INSTALLDIRS=vendor | |
1394 | * or equivalent. See INSTALL for details. | |
535ceeb0 | 1395 | */ |
7e69463d AC |
1396 | /* PERL_VENDORARCH_EXP: |
1397 | * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used | |
1398 | * in programs that are not prepared to deal with ~ expansion at run-time. | |
535ceeb0 | 1399 | */ |
7e69463d AC |
1400 | /*#define PERL_VENDORARCH "" / **/ |
1401 | /*#define PERL_VENDORARCH_EXP "" / **/ | |
535ceeb0 | 1402 | |
7e69463d AC |
1403 | /* PERL_VENDORLIB_EXP: |
1404 | * This symbol contains the ~name expanded version of VENDORLIB, to be used | |
1405 | * in programs that are not prepared to deal with ~ expansion at run-time. | |
06501368 | 1406 | */ |
7e69463d AC |
1407 | /* PERL_VENDORLIB_STEM: |
1408 | * This define is PERL_VENDORLIB_EXP with any trailing version-specific component | |
1409 | * removed. The elements in inc_version_list (inc_version_list.U) can | |
1410 | * be tacked onto this variable to generate a list of directories to search. | |
06501368 | 1411 | */ |
7e69463d AC |
1412 | /*#define PERL_VENDORLIB_EXP "" / **/ |
1413 | /*#define PERL_VENDORLIB_STEM "" / **/ | |
06501368 | 1414 | |
7e69463d AC |
1415 | /* OSNAME: |
1416 | * This symbol contains the name of the operating system, as determined | |
1417 | * by Configure. You shouldn't rely on it too much; the specific | |
1418 | * feature tests from Configure are generally more reliable. | |
58bf2e2e | 1419 | */ |
7e69463d AC |
1420 | /* OSVERS: |
1421 | * This symbol contains the version of the operating system, as determined | |
1422 | * by Configure. You shouldn't rely on it too much; the specific | |
1423 | * feature tests from Configure are generally more reliable. | |
58bf2e2e | 1424 | */ |
7e69463d AC |
1425 | #define OSNAME "unknown" /**/ |
1426 | #define OSVERS "unknown" /**/ | |
58bf2e2e | 1427 | |
7e69463d AC |
1428 | /* CAT2: |
1429 | * This macro concatenates 2 tokens together. | |
58bf2e2e | 1430 | */ |
7e69463d AC |
1431 | /* STRINGIFY: |
1432 | * This macro surrounds its token with double quotes. | |
58bf2e2e | 1433 | */ |
7e69463d AC |
1434 | #if 42 == 1 |
1435 | #define CAT2(a,b) a/**/b | |
1436 | #define STRINGIFY(a) "a" | |
1437 | #endif | |
1438 | #if 42 == 42 | |
1439 | #define PeRl_CaTiFy(a, b) a ## b | |
1440 | #define PeRl_StGiFy(a) #a | |
1441 | #define CAT2(a,b) PeRl_CaTiFy(a,b) | |
1442 | #define StGiFy(a) PeRl_StGiFy(a) | |
1443 | #define STRINGIFY(a) PeRl_StGiFy(a) | |
1444 | #endif | |
1445 | #if 42 != 1 && 42 != 42 | |
1446 | #include "Bletch: How does this C preprocessor concatenate tokens?" | |
1447 | #endif | |
58bf2e2e | 1448 | |
7e69463d AC |
1449 | /* CPPSTDIN: |
1450 | * This symbol contains the first part of the string which will invoke | |
1451 | * the C preprocessor on the standard input and produce to standard | |
1452 | * output. Typical value of "cc -E" or "/lib/cpp", but it can also | |
1453 | * call a wrapper. See CPPRUN. | |
58bf2e2e | 1454 | */ |
7e69463d AC |
1455 | /* CPPMINUS: |
1456 | * This symbol contains the second part of the string which will invoke | |
1457 | * the C preprocessor on the standard input and produce to standard | |
1458 | * output. This symbol will have the value "-" if CPPSTDIN needs a minus | |
1459 | * to specify standard input, otherwise the value is "". | |
06501368 | 1460 | */ |
7e69463d AC |
1461 | /* CPPRUN: |
1462 | * This symbol contains the string which will invoke a C preprocessor on | |
1463 | * the standard input and produce to standard output. It needs to end | |
1464 | * with CPPLAST, after all other preprocessor flags have been specified. | |
1465 | * The main difference with CPPSTDIN is that this program will never be a | |
1466 | * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is | |
1467 | * available directly to the user. Note that it may well be different from | |
1468 | * the preprocessor used to compile the C program. | |
535ceeb0 | 1469 | */ |
7e69463d AC |
1470 | /* CPPLAST: |
1471 | * This symbol is intended to be used along with CPPRUN in the same manner | |
1472 | * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "". | |
535ceeb0 | 1473 | */ |
7e69463d AC |
1474 | #define CPPSTDIN "cc -E" |
1475 | #define CPPMINUS "-" | |
1476 | #define CPPRUN "cc -E" | |
1477 | #define CPPLAST "-" | |
535ceeb0 | 1478 | |
7e69463d AC |
1479 | /* HAS_ACCESS: |
1480 | * This manifest constant lets the C program know that the access() | |
1481 | * system call is available to check for accessibility using real UID/GID. | |
1482 | * (always present on UNIX.) | |
535ceeb0 | 1483 | */ |
7e69463d | 1484 | /*#define HAS_ACCESS / **/ |
535ceeb0 | 1485 | |
7e69463d AC |
1486 | /* HASATTRIBUTE_FORMAT: |
1487 | * Can we handle GCC attribute for checking printf-style formats | |
535ceeb0 | 1488 | */ |
7e69463d AC |
1489 | /* PRINTF_FORMAT_NULL_OK: |
1490 | * Allows __printf__ format to be null when checking printf-style | |
535ceeb0 | 1491 | */ |
7e69463d AC |
1492 | /* HASATTRIBUTE_MALLOC: |
1493 | * Can we handle GCC attribute for malloc-style functions. | |
06501368 | 1494 | */ |
7e69463d AC |
1495 | /* HASATTRIBUTE_NONNULL: |
1496 | * Can we handle GCC attribute for nonnull function parms. | |
58bf2e2e | 1497 | */ |
7e69463d AC |
1498 | /* HASATTRIBUTE_NORETURN: |
1499 | * Can we handle GCC attribute for functions that do not return | |
58bf2e2e | 1500 | */ |
7e69463d AC |
1501 | /* HASATTRIBUTE_PURE: |
1502 | * Can we handle GCC attribute for pure functions | |
06501368 | 1503 | */ |
7e69463d AC |
1504 | /* HASATTRIBUTE_UNUSED: |
1505 | * Can we handle GCC attribute for unused variables and arguments | |
06501368 | 1506 | */ |
7e69463d AC |
1507 | /* HASATTRIBUTE_DEPRECATED: |
1508 | * Can we handle GCC attribute for marking deprecated APIs | |
58bf2e2e | 1509 | */ |
7e69463d AC |
1510 | /* HASATTRIBUTE_WARN_UNUSED_RESULT: |
1511 | * Can we handle GCC attribute for warning on unused results | |
06501368 | 1512 | */ |
7e69463d AC |
1513 | /*#define HASATTRIBUTE_DEPRECATED / **/ |
1514 | /*#define HASATTRIBUTE_FORMAT / **/ | |
1515 | /*#define PRINTF_FORMAT_NULL_OK / **/ | |
1516 | /*#define HASATTRIBUTE_NORETURN / **/ | |
1517 | /*#define HASATTRIBUTE_MALLOC / **/ | |
1518 | /*#define HASATTRIBUTE_NONNULL / **/ | |
1519 | /*#define HASATTRIBUTE_PURE / **/ | |
1520 | /*#define HASATTRIBUTE_UNUSED / **/ | |
1521 | /*#define HASATTRIBUTE_WARN_UNUSED_RESULT / **/ | |
06501368 | 1522 | |
7e69463d AC |
1523 | /* HAS_BACKTRACE: |
1524 | * This symbol, if defined, indicates that the backtrace() routine is | |
1525 | * available to get a stack trace. The <execinfo.h> header must be | |
1526 | * included to use this routine. | |
1de32f2a | 1527 | */ |
7e69463d | 1528 | /*#define HAS_BACKTRACE / **/ |
12cf8ac4 | 1529 | |
7e69463d AC |
1530 | /* HASCONST: |
1531 | * This symbol, if defined, indicates that this C compiler knows about | |
1532 | * the const type. There is no need to actually test for that symbol | |
1533 | * within your programs. The mere use of the "const" keyword will | |
1534 | * trigger the necessary tests. | |
1de32f2a | 1535 | */ |
7e69463d AC |
1536 | /*#define HASCONST / **/ |
1537 | #ifndef HASCONST | |
1538 | #define const | |
1539 | #endif | |
1de32f2a | 1540 | |
7e69463d AC |
1541 | /* HAS_CSH: |
1542 | * This symbol, if defined, indicates that the C-shell exists. | |
535ceeb0 | 1543 | */ |
7e69463d AC |
1544 | /* CSH: |
1545 | * This symbol, if defined, contains the full pathname of csh. | |
58bf2e2e | 1546 | */ |
7e69463d AC |
1547 | /*#define HAS_CSH / **/ |
1548 | #ifdef HAS_CSH | |
1549 | #define CSH "" /**/ | |
9244ff22 | 1550 | #endif |
58bf2e2e | 1551 | |
7e69463d AC |
1552 | /* HAS_DLADDR: |
1553 | * This symbol, if defined, indicates that the dladdr() routine is | |
1554 | * available to query dynamic linker information for an address. | |
1555 | * The <dlfcn.h> header must be included to use this routine. | |
58bf2e2e | 1556 | */ |
7e69463d | 1557 | /*#define HAS_DLADDR / **/ |
58bf2e2e | 1558 | |
7e69463d AC |
1559 | /* SETUID_SCRIPTS_ARE_SECURE_NOW: |
1560 | * This symbol, if defined, indicates that the bug that prevents | |
1561 | * setuid scripts from being secure is not present in this kernel. | |
1de32f2a | 1562 | */ |
7e69463d AC |
1563 | /* DOSUID: |
1564 | * This symbol, if defined, indicates that the C program should | |
1565 | * check the script that it is executing for setuid/setgid bits, and | |
1566 | * attempt to emulate setuid/setgid on systems that have disabled | |
1567 | * setuid #! scripts because the kernel can't do it securely. | |
1568 | * It is up to the package designer to make sure that this emulation | |
1569 | * is done securely. Among other things, it should do an fstat on | |
1570 | * the script it just opened to make sure it really is a setuid/setgid | |
1571 | * script, it should make sure the arguments passed correspond exactly | |
1572 | * to the argument on the #! line, and it should not trust any | |
1573 | * subprocesses to which it must pass the filename rather than the | |
1574 | * file descriptor of the script to be executed. | |
db8b8c75 | 1575 | */ |
7e69463d AC |
1576 | /*#define SETUID_SCRIPTS_ARE_SECURE_NOW / **/ |
1577 | /*#define DOSUID / **/ | |
1578 | ||
1579 | /* HAS_ENDGRENT: | |
1580 | * This symbol, if defined, indicates that the getgrent routine is | |
1581 | * available for finalizing sequential access of the group database. | |
dc91db6c | 1582 | */ |
7e69463d | 1583 | /*#define HAS_ENDGRENT / **/ |
1de32f2a | 1584 | |
7e69463d AC |
1585 | /* HAS_ENDHOSTENT: |
1586 | * This symbol, if defined, indicates that the endhostent() routine is | |
1587 | * available to close whatever was being used for host queries. | |
535ceeb0 | 1588 | */ |
7e69463d AC |
1589 | /*#define HAS_ENDHOSTENT / **/ |
1590 | ||
1591 | /* HAS_ENDNETENT: | |
1592 | * This symbol, if defined, indicates that the endnetent() routine is | |
1593 | * available to close whatever was being used for network queries. | |
06501368 | 1594 | */ |
7e69463d | 1595 | /*#define HAS_ENDNETENT / **/ |
535ceeb0 | 1596 | |
7e69463d AC |
1597 | /* HAS_ENDPROTOENT: |
1598 | * This symbol, if defined, indicates that the endprotoent() routine is | |
1599 | * available to close whatever was being used for protocol queries. | |
1de32f2a | 1600 | */ |
7e69463d | 1601 | /*#define HAS_ENDPROTOENT / **/ |
06501368 | 1602 | |
7e69463d AC |
1603 | /* HAS_ENDPWENT: |
1604 | * This symbol, if defined, indicates that the getgrent routine is | |
1605 | * available for finalizing sequential access of the passwd database. | |
58bf2e2e | 1606 | */ |
7e69463d | 1607 | /*#define HAS_ENDPWENT / **/ |
06501368 | 1608 | |
7e69463d AC |
1609 | /* HAS_ENDSERVENT: |
1610 | * This symbol, if defined, indicates that the endservent() routine is | |
1611 | * available to close whatever was being used for service queries. | |
06501368 | 1612 | */ |
7e69463d | 1613 | /*#define HAS_ENDSERVENT / **/ |
06501368 | 1614 | |
7e69463d AC |
1615 | /* FLEXFILENAMES: |
1616 | * This symbol, if defined, indicates that the system supports filenames | |
1617 | * longer than 14 characters. | |
06501368 | 1618 | */ |
7e69463d AC |
1619 | /*#define FLEXFILENAMES / **/ |
1620 | ||
1621 | /* HAS_GETGRENT: | |
1622 | * This symbol, if defined, indicates that the getgrent routine is | |
1623 | * available for sequential access of the group database. | |
06501368 | 1624 | */ |
7e69463d | 1625 | /*#define HAS_GETGRENT / **/ |
06501368 | 1626 | |
7e69463d AC |
1627 | /* HAS_GETHOSTBYADDR: |
1628 | * This symbol, if defined, indicates that the gethostbyaddr() routine is | |
1629 | * available to look up hosts by their IP addresses. | |
06501368 | 1630 | */ |
7e69463d | 1631 | /*#define HAS_GETHOSTBYADDR / **/ |
06501368 | 1632 | |
7e69463d AC |
1633 | /* HAS_GETHOSTBYNAME: |
1634 | * This symbol, if defined, indicates that the gethostbyname() routine is | |
1635 | * available to look up host names in some data base or other. | |
06501368 | 1636 | */ |
7e69463d | 1637 | /*#define HAS_GETHOSTBYNAME / **/ |
06501368 | 1638 | |
7e69463d AC |
1639 | /* HAS_GETHOSTENT: |
1640 | * This symbol, if defined, indicates that the gethostent() routine is | |
1641 | * available to look up host names in some data base or another. | |
58bf2e2e | 1642 | */ |
7e69463d | 1643 | /*#define HAS_GETHOSTENT / **/ |
1de32f2a | 1644 | |
7e69463d AC |
1645 | /* HAS_GETHOSTNAME: |
1646 | * This symbol, if defined, indicates that the C program may use the | |
1647 | * gethostname() routine to derive the host name. See also HAS_UNAME | |
1648 | * and PHOSTNAME. | |
1de32f2a | 1649 | */ |
7e69463d AC |
1650 | /* HAS_UNAME: |
1651 | * This symbol, if defined, indicates that the C program may use the | |
1652 | * uname() routine to derive the host name. See also HAS_GETHOSTNAME | |
1653 | * and PHOSTNAME. | |
58bf2e2e | 1654 | */ |
7e69463d AC |
1655 | /* PHOSTNAME: |
1656 | * This symbol, if defined, indicates the command to feed to the | |
1657 | * popen() routine to derive the host name. See also HAS_GETHOSTNAME | |
1658 | * and HAS_UNAME. Note that the command uses a fully qualified path, | |
1659 | * so that it is safe even if used by a process with super-user | |
1660 | * privileges. | |
535ceeb0 | 1661 | */ |
7e69463d AC |
1662 | /* HAS_PHOSTNAME: |
1663 | * This symbol, if defined, indicates that the C program may use the | |
1664 | * contents of PHOSTNAME as a command to feed to the popen() routine | |
1665 | * to derive the host name. | |
535ceeb0 | 1666 | */ |
7e69463d AC |
1667 | /*#define HAS_GETHOSTNAME / **/ |
1668 | /*#define HAS_UNAME / **/ | |
1669 | /*#define HAS_PHOSTNAME / **/ | |
1670 | #ifdef HAS_PHOSTNAME | |
1671 | #define PHOSTNAME "/bin/hostname" /* How to get the host name */ | |
1672 | #endif | |
535ceeb0 | 1673 | |
7e69463d AC |
1674 | /* HAS_GETNETBYADDR: |
1675 | * This symbol, if defined, indicates that the getnetbyaddr() routine is | |
1676 | * available to look up networks by their IP addresses. | |
1de32f2a | 1677 | */ |
7e69463d | 1678 | /*#define HAS_GETNETBYADDR / **/ |
1de32f2a | 1679 | |
7e69463d AC |
1680 | /* HAS_GETNETBYNAME: |
1681 | * This symbol, if defined, indicates that the getnetbyname() routine is | |
1682 | * available to look up networks by their names. | |
58bf2e2e | 1683 | */ |
7e69463d | 1684 | /*#define HAS_GETNETBYNAME / **/ |
58bf2e2e | 1685 | |
7e69463d AC |
1686 | /* HAS_GETNETENT: |
1687 | * This symbol, if defined, indicates that the getnetent() routine is | |
1688 | * available to look up network names in some data base or another. | |
58bf2e2e | 1689 | */ |
7e69463d | 1690 | /*#define HAS_GETNETENT / **/ |
12cf8ac4 | 1691 | |
7e69463d AC |
1692 | /* HAS_GETPROTOENT: |
1693 | * This symbol, if defined, indicates that the getprotoent() routine is | |
1694 | * available to look up protocols in some data base or another. | |
12cf8ac4 | 1695 | */ |
7e69463d | 1696 | /*#define HAS_GETPROTOENT / **/ |
58bf2e2e | 1697 | |
7e69463d AC |
1698 | /* HAS_GETPGRP: |
1699 | * This symbol, if defined, indicates that the getpgrp routine is | |
1700 | * available to get the current process group. | |
06501368 | 1701 | */ |
7e69463d AC |
1702 | /* USE_BSD_GETPGRP: |
1703 | * This symbol, if defined, indicates that getpgrp needs one | |
1704 | * arguments whereas USG one needs none. | |
06501368 | 1705 | */ |
7e69463d AC |
1706 | /*#define HAS_GETPGRP / **/ |
1707 | /*#define USE_BSD_GETPGRP / **/ | |
06501368 | 1708 | |
7e69463d AC |
1709 | /* HAS_GETPROTOBYNAME: |
1710 | * This symbol, if defined, indicates that the getprotobyname() | |
1711 | * routine is available to look up protocols by their name. | |
58bf2e2e | 1712 | */ |
7e69463d AC |
1713 | /* HAS_GETPROTOBYNUMBER: |
1714 | * This symbol, if defined, indicates that the getprotobynumber() | |
1715 | * routine is available to look up protocols by their number. | |
58bf2e2e | 1716 | */ |
7e69463d AC |
1717 | /*#define HAS_GETPROTOBYNAME / **/ |
1718 | /*#define HAS_GETPROTOBYNUMBER / **/ | |
58bf2e2e | 1719 | |
7e69463d AC |
1720 | /* HAS_GETPWENT: |
1721 | * This symbol, if defined, indicates that the getpwent routine is | |
1722 | * available for sequential access of the passwd database. | |
1723 | * If this is not available, the older getpw() function may be available. | |
06501368 | 1724 | */ |
7e69463d | 1725 | /*#define HAS_GETPWENT / **/ |
06501368 | 1726 | |
7e69463d AC |
1727 | /* HAS_GETSERVENT: |
1728 | * This symbol, if defined, indicates that the getservent() routine is | |
1729 | * available to look up network services in some data base or another. | |
535ceeb0 | 1730 | */ |
7e69463d | 1731 | /*#define HAS_GETSERVENT / **/ |
535ceeb0 | 1732 | |
7e69463d AC |
1733 | /* HAS_GETSERVBYNAME: |
1734 | * This symbol, if defined, indicates that the getservbyname() | |
1735 | * routine is available to look up services by their name. | |
535ceeb0 | 1736 | */ |
7e69463d AC |
1737 | /* HAS_GETSERVBYPORT: |
1738 | * This symbol, if defined, indicates that the getservbyport() | |
1739 | * routine is available to look up services by their port. | |
535ceeb0 | 1740 | */ |
7e69463d AC |
1741 | /*#define HAS_GETSERVBYNAME / **/ |
1742 | /*#define HAS_GETSERVBYPORT / **/ | |
535ceeb0 | 1743 | |
7e69463d AC |
1744 | /* HAS_HTONL: |
1745 | * This symbol, if defined, indicates that the htonl() routine (and | |
1746 | * friends htons() ntohl() ntohs()) are available to do network | |
1747 | * order byte swapping. | |
06501368 | 1748 | */ |
7e69463d AC |
1749 | /* HAS_HTONS: |
1750 | * This symbol, if defined, indicates that the htons() routine (and | |
1751 | * friends htonl() ntohl() ntohs()) are available to do network | |
1752 | * order byte swapping. | |
535ceeb0 | 1753 | */ |
7e69463d AC |
1754 | /* HAS_NTOHL: |
1755 | * This symbol, if defined, indicates that the ntohl() routine (and | |
1756 | * friends htonl() htons() ntohs()) are available to do network | |
1757 | * order byte swapping. | |
535ceeb0 | 1758 | */ |
7e69463d AC |
1759 | /* HAS_NTOHS: |
1760 | * This symbol, if defined, indicates that the ntohs() routine (and | |
1761 | * friends htonl() htons() ntohl()) are available to do network | |
1762 | * order byte swapping. | |
06501368 | 1763 | */ |
7e69463d AC |
1764 | /*#define HAS_HTONL / **/ |
1765 | /*#define HAS_HTONS / **/ | |
1766 | /*#define HAS_NTOHL / **/ | |
1767 | /*#define HAS_NTOHS / **/ | |
06501368 | 1768 | |
7e69463d AC |
1769 | /* HAS_LONG_DOUBLE: |
1770 | * This symbol will be defined if the C compiler supports long | |
1771 | * doubles. | |
06501368 | 1772 | */ |
7e69463d AC |
1773 | /* LONG_DOUBLESIZE: |
1774 | * This symbol contains the size of a long double, so that the | |
1775 | * C preprocessor can make decisions based on it. It is only | |
1776 | * defined if the system supports long doubles. Note that this | |
1777 | * is sizeof(long double), which may include unused bytes. | |
06501368 | 1778 | */ |
7e69463d AC |
1779 | /* HAS_LDEXPL: |
1780 | * This symbol, if defined, indicates that the ldexpl routine is | |
1781 | * available to shift a long double floating-point number | |
1782 | * by an integral power of 2. | |
1783 | */ | |
1784 | /* LONG_DOUBLEKIND: | |
1785 | * LONG_DOUBLEKIND will be one of | |
1786 | * LONG_DOUBLE_IS_DOUBLE | |
1787 | * LONG_DOUBLE_IS_IEEE_754_128_BIT_LITTLE_ENDIAN | |
1788 | * LONG_DOUBLE_IS_IEEE_754_128_BIT_BIG_ENDIAN | |
1789 | * LONG_DOUBLE_IS_X86_80_BIT_LITTLE_ENDIAN | |
1790 | * LONG_DOUBLE_IS_X86_80_BIT_BIG_ENDIAN | |
1791 | * LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LE_LE | |
1792 | * LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BE_BE | |
1793 | * LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LE_BE | |
1794 | * LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BE_LE | |
884c85de | 1795 | * LONG_DOUBLE_IS_VAX_H_FLOAT |
7e69463d AC |
1796 | * LONG_DOUBLE_IS_UNKNOWN_FORMAT |
1797 | * It is only defined if the system supports long doubles. | |
1798 | */ | |
21196d16 | 1799 | /* LONG_DOUBLE_STYLE_IEEE: |
4cb05021 JH |
1800 | * This symbol, if defined, indicates that the long double |
1801 | * is any of the IEEE 754 style long doubles: | |
1802 | * LONG_DOUBLE_STYLE_IEEE_STD, LONG_DOUBLE_STYLE_IEEE_EXTENDED, | |
1803 | * LONG_DOUBLE_STYLE_IEEE_DOUBLEDOUBLE. | |
1804 | */ | |
21196d16 | 1805 | /* LONG_DOUBLE_STYLE_IEEE_DOUBLEDOUBLE: |
4cb05021 JH |
1806 | * This symbol, if defined, indicates that the long double is |
1807 | * the 128-bit double-double. | |
1808 | */ | |
21196d16 | 1809 | /* LONG_DOUBLE_STYLE_IEEE_EXTENDED: |
4cb05021 JH |
1810 | * This symbol, if defined, indicates that the long double is |
1811 | * the 80-bit IEEE 754. Note that despite the 'extended' this | |
1812 | * is less than the 'std', since this is an extension of | |
1813 | * the double precision. | |
1814 | */ | |
21196d16 | 1815 | /* LONG_DOUBLE_STYLE_IEEE_STD: |
4cb05021 JH |
1816 | * This symbol, if defined, indicates that the long double is |
1817 | * the 128-bit IEEE 754. | |
1818 | */ | |
21196d16 | 1819 | /* LONG_DOUBLE_STYLE_VAX: |
4cb05021 JH |
1820 | * This symbol, if defined, indicates that the long double is |
1821 | * the 128-bit VAX format H. | |
1822 | */ | |
7e69463d AC |
1823 | /*#define HAS_LDEXPL / **/ |
1824 | /*#define HAS_LONG_DOUBLE / **/ | |
1825 | #ifdef HAS_LONG_DOUBLE | |
1826 | #define LONG_DOUBLESIZE 8 /**/ | |
1827 | #define LONG_DOUBLEKIND 0 /**/ | |
1828 | #define LONG_DOUBLE_IS_DOUBLE 0 | |
1829 | #define LONG_DOUBLE_IS_IEEE_754_128_BIT_LITTLE_ENDIAN 1 | |
1830 | #define LONG_DOUBLE_IS_IEEE_754_128_BIT_BIG_ENDIAN 2 | |
1831 | #define LONG_DOUBLE_IS_X86_80_BIT_LITTLE_ENDIAN 3 | |
1832 | #define LONG_DOUBLE_IS_X86_80_BIT_BIG_ENDIAN 4 | |
1833 | #define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LE_LE 5 | |
1834 | #define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BE_BE 6 | |
1835 | #define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LE_BE 7 | |
1836 | #define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BE_LE 8 | |
86ea01eb | 1837 | #define LONG_DOUBLE_IS_VAX_H_FLOAT 9 |
7e69463d AC |
1838 | #define LONG_DOUBLE_IS_UNKNOWN_FORMAT -1 |
1839 | #define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LITTLE_ENDIAN LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LE_LE /* back-compat */ | |
1840 | #define LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BIG_ENDIAN LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BE_BE /* back-compat */ | |
4cb05021 JH |
1841 | #undef LONG_DOUBLE_STYLE_IEEE |
1842 | #undef LONG_DOUBLE_STYLE_IEEE_DOUBLEDOUBLE | |
1843 | #undef LONG_DOUBLE_STYLE_IEEE_EXTENDED | |
1844 | #undef LONG_DOUBLE_STYLE_IEEE_STD | |
1845 | #undef LONG_DOUBLE_STYLE_VAX | |
7e69463d | 1846 | #endif |
06501368 | 1847 | |
7e69463d AC |
1848 | /* HAS_LONG_LONG: |
1849 | * This symbol will be defined if the C compiler supports long long. | |
535ceeb0 | 1850 | */ |
7e69463d AC |
1851 | /* LONGLONGSIZE: |
1852 | * This symbol contains the size of a long long, so that the | |
1853 | * C preprocessor can make decisions based on it. It is only | |
1854 | * defined if the system supports long long. | |
535ceeb0 | 1855 | */ |
7e69463d AC |
1856 | /*#define HAS_LONG_LONG / **/ |
1857 | #ifdef HAS_LONG_LONG | |
1858 | #define LONGLONGSIZE 8 /**/ | |
1859 | #endif | |
1860 | ||
7e69463d AC |
1861 | /* HAS_MKSTEMP: |
1862 | * This symbol, if defined, indicates that the mkstemp routine is | |
1863 | * available to exclusively create and open a uniquely named | |
1864 | * temporary file. | |
1865 | */ | |
1866 | /*#define HAS_MKSTEMP / **/ | |
1867 | ||
1868 | /* HAS_MMAP: | |
1869 | * This symbol, if defined, indicates that the mmap system call is | |
1870 | * available to map a file into memory. | |
1871 | */ | |
1872 | /* Mmap_t: | |
1873 | * This symbol holds the return type of the mmap() system call | |
1874 | * (and simultaneously the type of the first argument). | |
1875 | * Usually set to 'void *' or 'caddr_t'. | |
1876 | */ | |
1877 | /*#define HAS_MMAP / **/ | |
1878 | #define Mmap_t void * /**/ | |
1879 | ||
7e69463d AC |
1880 | /* HAS_SETGRENT: |
1881 | * This symbol, if defined, indicates that the setgrent routine is | |
1882 | * available for initializing sequential access of the group database. | |
1883 | */ | |
1884 | /*#define HAS_SETGRENT / **/ | |
1885 | ||
1886 | /* HAS_SETHOSTENT: | |
1887 | * This symbol, if defined, indicates that the sethostent() routine is | |
1888 | * available. | |
1889 | */ | |
1890 | /*#define HAS_SETHOSTENT / **/ | |
1891 | ||
1892 | /* HAS_SETNETENT: | |
1893 | * This symbol, if defined, indicates that the setnetent() routine is | |
1894 | * available. | |
1895 | */ | |
1896 | /*#define HAS_SETNETENT / **/ | |
1897 | ||
1898 | /* HAS_SETPROTOENT: | |
1899 | * This symbol, if defined, indicates that the setprotoent() routine is | |
1900 | * available. | |
1901 | */ | |
1902 | /*#define HAS_SETPROTOENT / **/ | |
1903 | ||
1904 | /* HAS_SETPGRP: | |
1905 | * This symbol, if defined, indicates that the setpgrp routine is | |
1906 | * available to set the current process group. | |
1907 | */ | |
1908 | /* USE_BSD_SETPGRP: | |
1909 | * This symbol, if defined, indicates that setpgrp needs two | |
1910 | * arguments whereas USG one needs none. See also HAS_SETPGID | |
1911 | * for a POSIX interface. | |
1912 | */ | |
1913 | /*#define HAS_SETPGRP / **/ | |
1914 | /*#define USE_BSD_SETPGRP / **/ | |
535ceeb0 | 1915 | |
06501368 MB |
1916 | /* HAS_SETPWENT: |
1917 | * This symbol, if defined, indicates that the setpwent routine is | |
1918 | * available for initializing sequential access of the passwd database. | |
1919 | */ | |
1920 | /*#define HAS_SETPWENT / **/ | |
1921 | ||
06501368 MB |
1922 | /* HAS_SETSERVENT: |
1923 | * This symbol, if defined, indicates that the setservent() routine is | |
1924 | * available. | |
1925 | */ | |
1926 | /*#define HAS_SETSERVENT / **/ | |
1927 | ||
06501368 MB |
1928 | /* HAS_SETVBUF: |
1929 | * This symbol, if defined, indicates that the setvbuf routine is | |
1930 | * available to change buffering on an open stdio stream. | |
1931 | * to a line-buffered mode. | |
1932 | */ | |
1933 | /*#define HAS_SETVBUF / **/ | |
1934 | ||
1935 | /* HAS_SHM: | |
1936 | * This symbol, if defined, indicates that the entire shm*(2) library is | |
1937 | * supported. | |
1938 | */ | |
1939 | /*#define HAS_SHM / **/ | |
1940 | ||
1941 | /* Shmat_t: | |
1942 | * This symbol holds the return type of the shmat() system call. | |
1943 | * Usually set to 'void *' or 'char *'. | |
1944 | */ | |
1945 | /* HAS_SHMAT_PROTOTYPE: | |
1946 | * This symbol, if defined, indicates that the sys/shm.h includes | |
1947 | * a prototype for shmat(). Otherwise, it is up to the program to | |
1948 | * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess, | |
1949 | * but not always right so it should be emitted by the program only | |
1950 | * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs. | |
1951 | */ | |
1952 | #define Shmat_t void * /**/ | |
1953 | /*#define HAS_SHMAT_PROTOTYPE / **/ | |
1954 | ||
06501368 MB |
1955 | /* HAS_SOCKET: |
1956 | * This symbol, if defined, indicates that the BSD socket interface is | |
1957 | * supported. | |
1958 | */ | |
1959 | /* HAS_SOCKETPAIR: | |
1960 | * This symbol, if defined, indicates that the BSD socketpair() call is | |
1961 | * supported. | |
1962 | */ | |
06501368 MB |
1963 | /* HAS_SOCKADDR_SA_LEN: |
1964 | * This symbol, if defined, indicates that the struct sockaddr | |
1965 | * structure has a member called sa_len, indicating the length of | |
1966 | * the structure. | |
1967 | */ | |
18126d98 MB |
1968 | /* HAS_SOCKADDR_IN6: |
1969 | * This symbol, if defined, indicates the availability of | |
1970 | * struct sockaddr_in6; | |
1971 | */ | |
06501368 MB |
1972 | /* HAS_SIN6_SCOPE_ID: |
1973 | * This symbol, if defined, indicates that the struct sockaddr_in6 | |
1974 | * structure has a member called sin6_scope_id. | |
1975 | */ | |
122b9bf4 MB |
1976 | /* HAS_IP_MREQ: |
1977 | * This symbol, if defined, indicates the availability of | |
1978 | * struct ip_mreq; | |
1979 | */ | |
3e06601f MB |
1980 | /* HAS_IP_MREQ_SOURCE: |
1981 | * This symbol, if defined, indicates the availability of | |
1982 | * struct ip_mreq_source; | |
1983 | */ | |
18126d98 MB |
1984 | /* HAS_IPV6_MREQ: |
1985 | * This symbol, if defined, indicates the availability of | |
1986 | * struct ipv6_mreq; | |
1987 | */ | |
3e06601f MB |
1988 | /* HAS_IPV6_MREQ_SOURCE: |
1989 | * This symbol, if defined, indicates the availability of | |
1990 | * struct ipv6_mreq_source; | |
1991 | */ | |
06501368 MB |
1992 | /*#define HAS_SOCKET / **/ |
1993 | /*#define HAS_SOCKETPAIR / **/ | |
1994 | /*#define HAS_SOCKADDR_SA_LEN / **/ | |
18126d98 | 1995 | /*#define HAS_SOCKADDR_IN6 / **/ |
06501368 | 1996 | /*#define HAS_SIN6_SCOPE_ID / **/ |
122b9bf4 | 1997 | /*#define HAS_IP_MREQ / **/ |
3e06601f | 1998 | /*#define HAS_IP_MREQ_SOURCE / **/ |
18126d98 | 1999 | /*#define HAS_IPV6_MREQ / **/ |
3e06601f | 2000 | /*#define HAS_IPV6_MREQ_SOURCE / **/ |
06501368 | 2001 | |
06501368 MB |
2002 | /* USE_STAT_BLOCKS: |
2003 | * This symbol is defined if this system has a stat structure declaring | |
2004 | * st_blksize and st_blocks. | |
2005 | */ | |
2006 | #ifndef USE_STAT_BLOCKS | |
2007 | /*#define USE_STAT_BLOCKS / **/ | |
2008 | #endif | |
2009 | ||
06501368 MB |
2010 | /* HAS_STRERROR: |
2011 | * This symbol, if defined, indicates that the strerror routine is | |
2012 | * available to translate error numbers to strings. See the writeup | |
2013 | * of Strerror() in this file before you try to define your own. | |
2014 | */ | |
2015 | /* HAS_SYS_ERRLIST: | |
2016 | * This symbol, if defined, indicates that the sys_errlist array is | |
2017 | * available to translate error numbers to strings. The extern int | |
2018 | * sys_nerr gives the size of that table. | |
2019 | */ | |
2020 | /* Strerror: | |
2021 | * This preprocessor symbol is defined as a macro if strerror() is | |
2022 | * not available to translate error numbers to strings but sys_errlist[] | |
2023 | * array is there. | |
2024 | */ | |
2025 | /*#define HAS_STRERROR / **/ | |
2026 | /*#define HAS_SYS_ERRLIST / **/ | |
2027 | #define Strerror(e) strerror(e) | |
2028 | ||
06501368 MB |
2029 | /* HAS_STRTOUL: |
2030 | * This symbol, if defined, indicates that the strtoul routine is | |
2031 | * available to provide conversion of strings to unsigned long. | |
2032 | */ | |
2033 | #define HAS_STRTOUL /**/ | |
2034 | ||
06501368 MB |
2035 | /* HAS_UNION_SEMUN: |
2036 | * This symbol, if defined, indicates that the union semun is | |
2037 | * defined by including <sys/sem.h>. If not, the user code | |
2038 | * probably needs to define it as: | |
2039 | * union semun { | |
2040 | * int val; | |
2041 | * struct semid_ds *buf; | |
2042 | * unsigned short *array; | |
2043 | * } | |
2044 | */ | |
2045 | /* USE_SEMCTL_SEMUN: | |
2046 | * This symbol, if defined, indicates that union semun is | |
2047 | * used for semctl IPC_STAT. | |
2048 | */ | |
2049 | /* USE_SEMCTL_SEMID_DS: | |
2050 | * This symbol, if defined, indicates that struct semid_ds * is | |
2051 | * used for semctl IPC_STAT. | |
2052 | */ | |
2053 | /*#define HAS_UNION_SEMUN / **/ | |
2054 | /*#define USE_SEMCTL_SEMUN / **/ | |
2055 | /*#define USE_SEMCTL_SEMID_DS / **/ | |
2056 | ||
2057 | /* HAS_VFORK: | |
2058 | * This symbol, if defined, indicates that vfork() exists. | |
2059 | */ | |
2060 | /*#define HAS_VFORK / **/ | |
2061 | ||
2062 | /* HAS_PSEUDOFORK: | |
2063 | * This symbol, if defined, indicates that an emulation of the | |
2064 | * fork routine is available. | |
2065 | */ | |
2066 | /*#define HAS_PSEUDOFORK / **/ | |
2067 | ||
2068 | /* Signal_t: | |
2069 | * This symbol's value is either "void" or "int", corresponding to the | |
2070 | * appropriate return type of a signal handler. Thus, you can declare | |
2071 | * a signal handler using "Signal_t (*handler)()", and define the | |
2072 | * handler using "Signal_t handler(sig)". | |
2073 | */ | |
2074 | #define Signal_t int /* Signal handler's return type */ | |
2075 | ||
06501368 MB |
2076 | /* I_DIRENT: |
2077 | * This symbol, if defined, indicates to the C program that it should | |
2078 | * include <dirent.h>. Using this symbol also triggers the definition | |
2079 | * of the Direntry_t define which ends up being 'struct dirent' or | |
2080 | * 'struct direct' depending on the availability of <dirent.h>. | |
2081 | */ | |
2082 | /* DIRNAMLEN: | |
2083 | * This symbol, if defined, indicates to the C program that the length | |
2084 | * of directory entry names is provided by a d_namlen field. Otherwise | |
2085 | * you need to do strlen() on the d_name field. | |
2086 | */ | |
2087 | /* Direntry_t: | |
2088 | * This symbol is set to 'struct direct' or 'struct dirent' depending on | |
2089 | * whether dirent is available or not. You should use this pseudo type to | |
2090 | * portably declare your directory entries. | |
2091 | */ | |
2092 | #define I_DIRENT /**/ | |
2093 | /*#define DIRNAMLEN / **/ | |
2094 | #define Direntry_t struct dirent | |
2095 | ||
1f922d87 MB |
2096 | /* I_EXECINFO: |
2097 | * This symbol, if defined, indicates to the C program that it should | |
2098 | * include <execinfo.h> for backtrace() support. | |
2099 | */ | |
2100 | /*#define I_EXECINFO / **/ | |
2101 | ||
06501368 MB |
2102 | /* I_GRP: |
2103 | * This symbol, if defined, indicates to the C program that it should | |
2104 | * include <grp.h>. | |
2105 | */ | |
2106 | /* GRPASSWD: | |
2107 | * This symbol, if defined, indicates to the C program that struct group | |
2108 | * in <grp.h> contains gr_passwd. | |
2109 | */ | |
2110 | /*#define I_GRP / **/ | |
2111 | /*#define GRPASSWD / **/ | |
2112 | ||
06501368 MB |
2113 | /* I_NDBM: |
2114 | * This symbol, if defined, indicates that <ndbm.h> exists and should | |
2115 | * be included. | |
2116 | */ | |
2117 | /* I_GDBMNDBM: | |
2118 | * This symbol, if defined, indicates that <gdbm/ndbm.h> exists and should | |
2119 | * be included. This was the location of the ndbm.h compatibility file | |
2120 | * in RedHat 7.1. | |
2121 | */ | |
2122 | /* I_GDBM_NDBM: | |
2123 | * This symbol, if defined, indicates that <gdbm-ndbm.h> exists and should | |
2124 | * be included. This is the location of the ndbm.h compatibility file | |
2125 | * in Debian 4.0. | |
2126 | */ | |
2127 | /* NDBM_H_USES_PROTOTYPES: | |
2128 | * This symbol, if defined, indicates that <ndbm.h> uses real ANSI C | |
2129 | * prototypes instead of K&R style function declarations without any | |
2130 | * parameter information. While ANSI C prototypes are supported in C++, | |
2131 | * K&R style function declarations will yield errors. | |
2132 | */ | |
2133 | /* GDBMNDBM_H_USES_PROTOTYPES: | |
2134 | * This symbol, if defined, indicates that <gdbm/ndbm.h> uses real ANSI C | |
2135 | * prototypes instead of K&R style function declarations without any | |
2136 | * parameter information. While ANSI C prototypes are supported in C++, | |
2137 | * K&R style function declarations will yield errors. | |
2138 | */ | |
2139 | /* GDBM_NDBM_H_USES_PROTOTYPES: | |
2140 | * This symbol, if defined, indicates that <gdbm-ndbm.h> uses real ANSI C | |
2141 | * prototypes instead of K&R style function declarations without any | |
2142 | * parameter information. While ANSI C prototypes are supported in C++, | |
2143 | * K&R style function declarations will yield errors. | |
2144 | */ | |
2145 | /*#define I_NDBM / **/ | |
2146 | /*#define I_GDBMNDBM / **/ | |
2147 | /*#define I_GDBM_NDBM / **/ | |
2148 | /*#define NDBM_H_USES_PROTOTYPES / **/ | |
2149 | /*#define GDBMNDBM_H_USES_PROTOTYPES / **/ | |
2150 | /*#define GDBM_NDBM_H_USES_PROTOTYPES / **/ | |
2151 | ||
2152 | /* I_NETDB: | |
2153 | * This symbol, if defined, indicates that <netdb.h> exists and | |
2154 | * should be included. | |
2155 | */ | |
2156 | /*#define I_NETDB / **/ | |
2157 | ||
2158 | /* I_NET_ERRNO: | |
2159 | * This symbol, if defined, indicates that <net/errno.h> exists and | |
2160 | * should be included. | |
2161 | */ | |
2162 | /*#define I_NET_ERRNO / **/ | |
2163 | ||
06501368 MB |
2164 | /* I_PWD: |
2165 | * This symbol, if defined, indicates to the C program that it should | |
2166 | * include <pwd.h>. | |
2167 | */ | |
2168 | /* PWQUOTA: | |
2169 | * This symbol, if defined, indicates to the C program that struct passwd | |
2170 | * contains pw_quota. | |
2171 | */ | |
2172 | /* PWAGE: | |
2173 | * This symbol, if defined, indicates to the C program that struct passwd | |
2174 | * contains pw_age. | |
2175 | */ | |
2176 | /* PWCHANGE: | |
2177 | * This symbol, if defined, indicates to the C program that struct passwd | |
2178 | * contains pw_change. | |
2179 | */ | |
2180 | /* PWCLASS: | |
2181 | * This symbol, if defined, indicates to the C program that struct passwd | |
2182 | * contains pw_class. | |
2183 | */ | |
2184 | /* PWEXPIRE: | |
2185 | * This symbol, if defined, indicates to the C program that struct passwd | |
2186 | * contains pw_expire. | |
2187 | */ | |
2188 | /* PWCOMMENT: | |
2189 | * This symbol, if defined, indicates to the C program that struct passwd | |
2190 | * contains pw_comment. | |
2191 | */ | |
2192 | /* PWGECOS: | |
2193 | * This symbol, if defined, indicates to the C program that struct passwd | |
2194 | * contains pw_gecos. | |
2195 | */ | |
2196 | /* PWPASSWD: | |
2197 | * This symbol, if defined, indicates to the C program that struct passwd | |
2198 | * contains pw_passwd. | |
2199 | */ | |
2200 | /*#define I_PWD / **/ | |
2201 | /*#define PWQUOTA / **/ | |
2202 | /*#define PWAGE / **/ | |
2203 | /*#define PWCHANGE / **/ | |
2204 | /*#define PWCLASS / **/ | |
2205 | /*#define PWEXPIRE / **/ | |
2206 | /*#define PWCOMMENT / **/ | |
2207 | /*#define PWGECOS / **/ | |
2208 | /*#define PWPASSWD / **/ | |
2209 | ||
06501368 MB |
2210 | /* I_SYSUIO: |
2211 | * This symbol, if defined, indicates that <sys/uio.h> exists and | |
2212 | * should be included. | |
2213 | */ | |
2214 | /*#define I_SYSUIO / **/ | |
2215 | ||
1f922d87 MB |
2216 | /* I_TERMIO: |
2217 | * This symbol, if defined, indicates that the program should include | |
2218 | * <termio.h> rather than <sgtty.h>. There are also differences in | |
2219 | * the ioctl() calls that depend on the value of this symbol. | |
2220 | */ | |
2221 | /* I_TERMIOS: | |
2222 | * This symbol, if defined, indicates that the program should include | |
2223 | * the POSIX termios.h rather than sgtty.h or termio.h. | |
2224 | * There are also differences in the ioctl() calls that depend on the | |
2225 | * value of this symbol. | |
2226 | */ | |
2227 | /* I_SGTTY: | |
2228 | * This symbol, if defined, indicates that the program should include | |
2229 | * <sgtty.h> rather than <termio.h>. There are also differences in | |
2230 | * the ioctl() calls that depend on the value of this symbol. | |
2231 | */ | |
2232 | /*#define I_TERMIO / **/ | |
2233 | /*#define I_TERMIOS / **/ | |
2234 | /*#define I_SGTTY / **/ | |
2235 | ||
06501368 MB |
2236 | /* Free_t: |
2237 | * This variable contains the return type of free(). It is usually | |
2238 | * void, but occasionally int. | |
2239 | */ | |
2240 | /* Malloc_t: | |
2241 | * This symbol is the type of pointer returned by malloc and realloc. | |
2242 | */ | |
2243 | #define Malloc_t void * /**/ | |
2244 | #define Free_t void /**/ | |
2245 | ||
2246 | /* PERL_MALLOC_WRAP: | |
2247 | * This symbol, if defined, indicates that we'd like malloc wrap checks. | |
2248 | */ | |
2249 | /*#define PERL_MALLOC_WRAP / **/ | |
2250 | ||
2251 | /* MYMALLOC: | |
2252 | * This symbol, if defined, indicates that we're using our own malloc. | |
2253 | */ | |
2254 | /*#define MYMALLOC / **/ | |
2255 | ||
06501368 MB |
2256 | /* SH_PATH: |
2257 | * This symbol contains the full pathname to the shell used on this | |
2258 | * on this system to execute Bourne shell scripts. Usually, this will be | |
2259 | * /bin/sh, though it's possible that some systems will have /bin/ksh, | |
2260 | * /bin/pdksh, /bin/ash, /bin/bash, or even something such as | |
2261 | * D:/bin/sh.exe. | |
2262 | */ | |
2263 | #define SH_PATH "/bin/sh" /**/ | |
2264 | ||
2265 | /* SIG_NAME: | |
2266 | * This symbol contains a list of signal names in order of | |
2267 | * signal number. This is intended | |
2268 | * to be used as a static array initialization, like this: | |
2269 | * char *sig_name[] = { SIG_NAME }; | |
2270 | * The signals in the list are separated with commas, and each signal | |
2271 | * is surrounded by double quotes. There is no leading SIG in the signal | |
2272 | * name, i.e. SIGQUIT is known as "QUIT". | |
2273 | * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn, | |
2274 | * etc., where nn is the actual signal number (e.g. NUM37). | |
2275 | * The signal number for sig_name[i] is stored in sig_num[i]. | |
2276 | * The last element is 0 to terminate the list with a NULL. This | |
2277 | * corresponds to the 0 at the end of the sig_name_init list. | |
2278 | * Note that this variable is initialized from the sig_name_init, | |
2279 | * not from sig_name (which is unused). | |
2280 | */ | |
2281 | /* SIG_NUM: | |
2282 | * This symbol contains a list of signal numbers, in the same order as the | |
2283 | * SIG_NAME list. It is suitable for static array initialization, as in: | |
2284 | * int sig_num[] = { SIG_NUM }; | |
2285 | * The signals in the list are separated with commas, and the indices | |
2286 | * within that list and the SIG_NAME list match, so it's easy to compute | |
2287 | * the signal name from a number or vice versa at the price of a small | |
2288 | * dynamic linear lookup. | |
2289 | * Duplicates are allowed, but are moved to the end of the list. | |
2290 | * The signal number corresponding to sig_name[i] is sig_number[i]. | |
2291 | * if (i < NSIG) then sig_number[i] == i. | |
2292 | * The last element is 0, corresponding to the 0 at the end of | |
2293 | * the sig_name_init list. | |
2294 | * Note that this variable is initialized from the sig_num_init, | |
2295 | * not from sig_num (which is unused). | |
2296 | */ | |
2297 | /* SIG_SIZE: | |
2298 | * This variable contains the number of elements of the SIG_NAME | |
2299 | * and SIG_NUM arrays, excluding the final NULL entry. | |
2300 | */ | |
2301 | #define SIG_NAME 0 /**/ | |
2302 | #define SIG_NUM 0 /**/ | |
2303 | #define SIG_SIZE 1 /**/ | |
2304 | ||
7e69463d AC |
2305 | /* USE_CROSS_COMPILE: |
2306 | * This symbol, if defined, indicates that Perl is being cross-compiled. | |
3ebb1980 | 2307 | */ |
7e69463d AC |
2308 | /* PERL_TARGETARCH: |
2309 | * This symbol, if defined, indicates the target architecture | |
2310 | * Perl has been cross-compiled to. Undefined if not a cross-compile. | |
1de32f2a | 2311 | */ |
7e69463d AC |
2312 | #ifndef USE_CROSS_COMPILE |
2313 | /*#define USE_CROSS_COMPILE / **/ | |
2314 | #define PERL_TARGETARCH "" /**/ | |
2315 | #endif | |
12cf8ac4 | 2316 | |
7e69463d AC |
2317 | /* PERL_USE_DEVEL: |
2318 | * This symbol, if defined, indicates that Perl was configured with | |
2319 | * -Dusedevel, to enable development features. This should not be | |
2320 | * done for production builds. | |
3ebb1980 | 2321 | */ |
7e69463d AC |
2322 | /*#define PERL_USE_DEVEL / **/ |
2323 | ||
2324 | /* HAS_ATOLF: | |
2325 | * This symbol, if defined, indicates that the atolf routine is | |
2326 | * available to convert strings into long doubles. | |
3ebb1980 | 2327 | */ |
7e69463d | 2328 | /*#define HAS_ATOLF / **/ |
e9a8643a | 2329 | |
7e69463d AC |
2330 | /* HAS_ATOLL: |
2331 | * This symbol, if defined, indicates that the atoll routine is | |
2332 | * available to convert strings into long longs. | |
06501368 | 2333 | */ |
7e69463d | 2334 | /*#define HAS_ATOLL / **/ |
06501368 | 2335 | |
7e69463d AC |
2336 | /* HAS__FWALK: |
2337 | * This symbol, if defined, indicates that the _fwalk system call is | |
2338 | * available to apply a function to all the file handles. | |
06501368 | 2339 | */ |
7e69463d | 2340 | /*#define HAS__FWALK / **/ |
06501368 | 2341 | |
7e69463d AC |
2342 | /* HAS_ACOSH: |
2343 | * This symbol, if defined, indicates that the acosh routine is | |
2344 | * available to do the inverse hyperbolic cosine function. | |
06501368 | 2345 | */ |
7e69463d | 2346 | /*#define HAS_ACOSH / **/ |
40613a90 | 2347 | |
f40bbcbf MB |
2348 | /* HAS_AINTL: |
2349 | * This symbol, if defined, indicates that the aintl routine is | |
2350 | * available. If copysignl is also present we can emulate modfl. | |
2351 | */ | |
2352 | /*#define HAS_AINTL / **/ | |
2353 | ||
3adf3699 JH |
2354 | /* HAS_ASINH: |
2355 | * This symbol, if defined, indicates that the asinh routine is | |
2356 | * available to do the inverse hyperbolic sine function. | |
2357 | */ | |
2358 | /*#define HAS_ASINH / **/ | |
2359 | ||
2360 | /* HAS_ATANH: | |
2361 | * This symbol, if defined, indicates that the atanh routine is | |
2362 | * available to do the inverse hyperbolic tangent function. | |
2363 | */ | |
2364 | /*#define HAS_ATANH / **/ | |
2365 | ||
9244ff22 SP |
2366 | /* HAS_BUILTIN_CHOOSE_EXPR: |
2367 | * Can we handle GCC builtin for compile-time ternary-like expressions | |
2368 | */ | |
2369 | /* HAS_BUILTIN_EXPECT: | |
2370 | * Can we handle GCC builtin for telling that certain values are more | |
2371 | * likely | |
2372 | */ | |
2373 | /*#define HAS_BUILTIN_EXPECT / **/ | |
2374 | /*#define HAS_BUILTIN_CHOOSE_EXPR / **/ | |
2375 | ||
c94a4d04 MB |
2376 | /* HAS_BUILTIN_ADD_OVERFLOW: |
2377 | * This symbol, if defined, indicates that the compiler supports | |
2378 | * __builtin_add_overflow for adding integers with overflow checks. | |
2379 | */ | |
2380 | /* HAS_BUILTIN_SUB_OVERFLOW: | |
2381 | * This symbol, if defined, indicates that the compiler supports | |
2382 | * __builtin_sub_overflow for subtracting integers with overflow checks. | |
2383 | */ | |
2384 | /* HAS_BUILTIN_MUL_OVERFLOW: | |
2385 | * This symbol, if defined, indicates that the compiler supports | |
2386 | * __builtin_mul_overflow for multiplying integers with overflow checks. | |
2387 | */ | |
2388 | /*#define HAS_BUILTIN_ADD_OVERFLOW / **/ | |
2389 | /*#define HAS_BUILTIN_SUB_OVERFLOW / **/ | |
2390 | /*#define HAS_BUILTIN_MUL_OVERFLOW / **/ | |
2391 | ||
9244ff22 SP |
2392 | /* HAS_C99_VARIADIC_MACROS: |
2393 | * If defined, the compiler supports C99 variadic macros. | |
2394 | */ | |
2395 | /*#define HAS_C99_VARIADIC_MACROS / **/ | |
2396 | ||
2397 | /* HAS_CLASS: | |
2398 | * This symbol, if defined, indicates that the class routine is | |
2399 | * available to classify doubles. Available for example in AIX. | |
2400 | * The returned values are defined in <float.h> and are: | |
2401 | * | |
2402 | * FP_PLUS_NORM Positive normalized, nonzero | |
2403 | * FP_MINUS_NORM Negative normalized, nonzero | |
2404 | * FP_PLUS_DENORM Positive denormalized, nonzero | |
2405 | * FP_MINUS_DENORM Negative denormalized, nonzero | |
2406 | * FP_PLUS_ZERO +0.0 | |
2407 | * FP_MINUS_ZERO -0.0 | |
2408 | * FP_PLUS_INF +INF | |
2409 | * FP_MINUS_INF -INF | |
2410 | * FP_NANS Signaling Not a Number (NaNS) | |
2411 | * FP_NANQ Quiet Not a Number (NaNQ) | |
2412 | */ | |
2413 | /*#define HAS_CLASS / **/ | |
2414 | ||
2415 | /* HAS_CLEARENV: | |
2416 | * This symbol, if defined, indicates that the clearenv () routine is | |
2417 | * available for use. | |
2418 | */ | |
2419 | /*#define HAS_CLEARENV / **/ | |
2420 | ||
2421 | /* HAS_STRUCT_CMSGHDR: | |
2422 | * This symbol, if defined, indicates that the struct cmsghdr | |
2423 | * is supported. | |
2424 | */ | |
2425 | /*#define HAS_STRUCT_CMSGHDR / **/ | |
2426 | ||
f40bbcbf MB |
2427 | /* HAS_COPYSIGN: |
2428 | * This symbol, if defined, indicates that the copysign routine is | |
2429 | * available to do the copysign function. | |
2430 | */ | |
2431 | /*#define HAS_COPYSIGN / **/ | |
2432 | ||
9244ff22 SP |
2433 | /* HAS_COPYSIGNL: |
2434 | * This symbol, if defined, indicates that the copysignl routine is | |
2435 | * available. If aintl is also present we can emulate modfl. | |
2436 | */ | |
2437 | /*#define HAS_COPYSIGNL / **/ | |
2438 | ||
2439 | /* USE_CPLUSPLUS: | |
2440 | * This symbol, if defined, indicates that a C++ compiler was | |
2441 | * used to compiled Perl and will be used to compile extensions. | |
2442 | */ | |
2443 | /*#define USE_CPLUSPLUS / **/ | |
2444 | ||
2445 | /* HAS_DBMINIT_PROTO: | |
2446 | * This symbol, if defined, indicates that the system provides | |
2447 | * a prototype for the dbminit() function. Otherwise, it is up | |
2448 | * to the program to supply one. A good guess is | |
2449 | * extern int dbminit(char *); | |
2450 | */ | |
2451 | /*#define HAS_DBMINIT_PROTO / **/ | |
2452 | ||
2453 | /* HAS_DIR_DD_FD: | |
2454 | * This symbol, if defined, indicates that the the DIR* dirstream | |
2455 | * structure contains a member variable named dd_fd. | |
2456 | */ | |
2457 | /*#define HAS_DIR_DD_FD / **/ | |
2458 | ||
2459 | /* HAS_DIRFD: | |
2460 | * This manifest constant lets the C program know that dirfd | |
2461 | * is available. | |
2462 | */ | |
2463 | /*#define HAS_DIRFD / **/ | |
2464 | ||
2465 | /* DLSYM_NEEDS_UNDERSCORE: | |
2466 | * This symbol, if defined, indicates that we need to prepend an | |
2467 | * underscore to the symbol name before calling dlsym(). This only | |
2468 | * makes sense if you *have* dlsym, which we will presume is the | |
2469 | * case if you're using dl_dlopen.xs. | |
2470 | */ | |
2471 | /*#define DLSYM_NEEDS_UNDERSCORE / **/ | |
2472 | ||
f40bbcbf MB |
2473 | /* HAS_ERF: |
2474 | * This symbol, if defined, indicates that the erf routine is | |
2475 | * available to do the error function. | |
2476 | */ | |
2477 | /*#define HAS_ERF / **/ | |
2478 | ||
2479 | /* HAS_ERFC: | |
2480 | * This symbol, if defined, indicates that the erfc routine is | |
2481 | * available to do the complementary error function. | |
2482 | */ | |
2483 | /*#define HAS_ERFC / **/ | |
2484 | ||
2485 | /* HAS_EXP2: | |
2486 | * This symbol, if defined, indicates that the exp2 routine is | |
2487 | * available to do the 2**x function. | |
2488 | */ | |
2489 | /*#define HAS_EXP2 / **/ | |
2490 | ||
2491 | /* HAS_EXPM1: | |
2492 | * This symbol, if defined, indicates that the expm1 routine is | |
2493 | * available to do the exp(x) - 1 when x is near 1 function. | |
2494 | */ | |
2495 | /*#define HAS_EXPM1 / **/ | |
2496 | ||
9244ff22 SP |
2497 | /* HAS_FAST_STDIO: |
2498 | * This symbol, if defined, indicates that the "fast stdio" | |
2499 | * is available to manipulate the stdio buffers directly. | |
2500 | */ | |
2501 | /*#define HAS_FAST_STDIO / **/ | |
2502 | ||
2503 | /* HAS_FCHDIR: | |
2504 | * This symbol, if defined, indicates that the fchdir routine is | |
2505 | * available to change directory using a file descriptor. | |
2506 | */ | |
2507 | /*#define HAS_FCHDIR / **/ | |
2508 | ||
2509 | /* FCNTL_CAN_LOCK: | |
2510 | * This symbol, if defined, indicates that fcntl() can be used | |
2511 | * for file locking. Normally on Unix systems this is defined. | |
2512 | * It may be undefined on VMS. | |
2513 | */ | |
2514 | /*#define FCNTL_CAN_LOCK / **/ | |
2515 | ||
8b8c6ab7 AD |
2516 | /* HAS_FDCLOSE: |
2517 | * This symbol, if defined, indicates that the fdclose routine is | |
2518 | * available to free a FILE structure without closing the underlying | |
2519 | * file descriptor. This function appeared in FreeBSD 10.2. | |
2520 | */ | |
2521 | /*#define HAS_FDCLOSE / **/ | |
2522 | ||
f40bbcbf MB |
2523 | /* HAS_FDIM: |
2524 | * This symbol, if defined, indicates that the fdim routine is | |
2525 | * available to do the positive difference function. | |
2526 | */ | |
2527 | /*#define HAS_FDIM / **/ | |
2528 | ||
d0166596 MB |
2529 | /* HAS_FEGETROUND: |
2530 | * This symbol, if defined, indicates that the fegetround routine is | |
2531 | * available to return the macro corresponding to the current rounding | |
2532 | * mode. | |
2533 | */ | |
2534 | /*#define HAS_FEGETROUND / **/ | |
2535 | ||
9244ff22 SP |
2536 | /* HAS_FINITE: |
2537 | * This symbol, if defined, indicates that the finite routine is | |
2538 | * available to check whether a double is finite (non-infinity non-NaN). | |
2539 | */ | |
2540 | /*#define HAS_FINITE / **/ | |
2541 | ||
2542 | /* HAS_FINITEL: | |
2543 | * This symbol, if defined, indicates that the finitel routine is | |
2544 | * available to check whether a long double is finite | |
2545 | * (non-infinity non-NaN). | |
2546 | */ | |
2547 | /*#define HAS_FINITEL / **/ | |
2548 | ||
2549 | /* HAS_FLOCK_PROTO: | |
2550 | * This symbol, if defined, indicates that the system provides | |
2551 | * a prototype for the flock() function. Otherwise, it is up | |
2552 | * to the program to supply one. A good guess is | |
2553 | * extern int flock(int, int); | |
2554 | */ | |
2555 | /*#define HAS_FLOCK_PROTO / **/ | |
2556 | ||
f40bbcbf MB |
2557 | /* HAS_FMA: |
2558 | * This symbol, if defined, indicates that the fma routine is | |
2559 | * available to do the multiply-add function. | |
2560 | */ | |
2561 | /*#define HAS_FMA / **/ | |
2562 | ||
2563 | /* HAS_FMAX: | |
2564 | * This symbol, if defined, indicates that the fmax routine is | |
2565 | * available to do the maximum function. | |
2566 | */ | |
2567 | /*#define HAS_FMAX / **/ | |
2568 | ||
2569 | /* HAS_FMIN: | |
2570 | * This symbol, if defined, indicates that the fmin routine is | |
2571 | * available to do the minimum function. | |
2572 | */ | |
2573 | /*#define HAS_FMIN / **/ | |
2574 | ||
9244ff22 SP |
2575 | /* HAS_FP_CLASS: |
2576 | * This symbol, if defined, indicates that the fp_class routine is | |
2577 | * available to classify doubles. Available for example in Digital UNIX. | |
2578 | * The returned values are defined in <math.h> and are: | |
2579 | * | |
2580 | * FP_SNAN Signaling NaN (Not-a-Number) | |
2581 | * FP_QNAN Quiet NaN (Not-a-Number) | |
2582 | * FP_POS_INF +infinity | |
2583 | * FP_NEG_INF -infinity | |
2584 | * FP_POS_NORM Positive normalized | |
2585 | * FP_NEG_NORM Negative normalized | |
2586 | * FP_POS_DENORM Positive denormalized | |
2587 | * FP_NEG_DENORM Negative denormalized | |
2588 | * FP_POS_ZERO +0.0 (positive zero) | |
2589 | * FP_NEG_ZERO -0.0 (negative zero) | |
2590 | */ | |
2591 | /*#define HAS_FP_CLASS / **/ | |
2592 | ||
b19ee02c JH |
2593 | /* HAS_FP_CLASSL: |
2594 | * This symbol, if defined, indicates that the fp_classl routine is | |
d0166596 MB |
2595 | * available to classify long doubles. Available for example in |
2596 | * Digital UNIX. See for possible values HAS_FP_CLASS. | |
b19ee02c JH |
2597 | */ |
2598 | /*#define HAS_FP_CLASSL / **/ | |
2599 | ||
9244ff22 SP |
2600 | /* HAS_FPCLASS: |
2601 | * This symbol, if defined, indicates that the fpclass routine is | |
2602 | * available to classify doubles. Available for example in Solaris/SVR4. | |
2603 | * The returned values are defined in <ieeefp.h> and are: | |
2604 | * | |
2605 | * FP_SNAN signaling NaN | |
2606 | * FP_QNAN quiet NaN | |
2607 | * FP_NINF negative infinity | |
2608 | * FP_PINF positive infinity | |
2609 | * FP_NDENORM negative denormalized non-zero | |
2610 | * FP_PDENORM positive denormalized non-zero | |
2611 | * FP_NZERO negative zero | |
2612 | * FP_PZERO positive zero | |
2613 | * FP_NNORM negative normalized non-zero | |
2614 | * FP_PNORM positive normalized non-zero | |
2615 | */ | |
2616 | /*#define HAS_FPCLASS / **/ | |
2617 | ||
2618 | /* HAS_FPCLASSIFY: | |
2619 | * This symbol, if defined, indicates that the fpclassify routine is | |
2620 | * available to classify doubles. Available for example in HP-UX. | |
2621 | * The returned values are defined in <math.h> and are | |
2622 | * | |
2623 | * FP_NORMAL Normalized | |
2624 | * FP_ZERO Zero | |
2625 | * FP_INFINITE Infinity | |
2626 | * FP_SUBNORMAL Denormalized | |
2627 | * FP_NAN NaN | |
2628 | * | |
2629 | */ | |
d0166596 MB |
2630 | /* HAS_FP_CLASSIFY: |
2631 | * This symbol, if defined, indicates that the fp_classify routine is | |
2632 | * available to classify doubles. The values are defined in <math.h> | |
2633 | * | |
2634 | * FP_NORMAL Normalized | |
2635 | * FP_ZERO Zero | |
2636 | * FP_INFINITE Infinity | |
2637 | * FP_SUBNORMAL Denormalized | |
2638 | * FP_NAN NaN | |
2639 | * | |
2640 | */ | |
2641 | /*#define HAS_FPCLASSIFY / **/ | |
2642 | /*#define HAS_FP_CLASSIFY / **/ | |
9244ff22 SP |
2643 | |
2644 | /* HAS_FPCLASSL: | |
2645 | * This symbol, if defined, indicates that the fpclassl routine is | |
2646 | * available to classify long doubles. Available for example in IRIX. | |
2647 | * The returned values are defined in <ieeefp.h> and are: | |
2648 | * | |
2649 | * FP_SNAN signaling NaN | |
2650 | * FP_QNAN quiet NaN | |
2651 | * FP_NINF negative infinity | |
2652 | * FP_PINF positive infinity | |
2653 | * FP_NDENORM negative denormalized non-zero | |
2654 | * FP_PDENORM positive denormalized non-zero | |
2655 | * FP_NZERO negative zero | |
2656 | * FP_PZERO positive zero | |
2657 | * FP_NNORM negative normalized non-zero | |
2658 | * FP_PNORM positive normalized non-zero | |
2659 | */ | |
2660 | /*#define HAS_FPCLASSL / **/ | |
2661 | ||
4c1a9b0c JH |
2662 | /* HAS_FPGETROUND: |
2663 | * This symbol, if defined, indicates that the fpgetround routine is | |
2664 | * available to get the floating point rounding mode. | |
2665 | */ | |
2666 | /*#define HAS_FPGETROUND / **/ | |
2667 | ||
9244ff22 SP |
2668 | /* HAS_FPOS64_T: |
2669 | * This symbol will be defined if the C compiler supports fpos64_t. | |
2670 | */ | |
2671 | /*#define HAS_FPOS64_T / **/ | |
2672 | ||
2673 | /* HAS_FREXPL: | |
2674 | * This symbol, if defined, indicates that the frexpl routine is | |
2675 | * available to break a long double floating-point number into | |
2676 | * a normalized fraction and an integral power of 2. | |
2677 | */ | |
2678 | /*#define HAS_FREXPL / **/ | |
2679 | ||
ea442100 JH |
2680 | /* HAS_STRUCT_FS_DATA: |
2681 | * This symbol, if defined, indicates that the struct fs_data | |
2682 | * to do statfs() is supported. | |
2683 | */ | |
2684 | /*#define HAS_STRUCT_FS_DATA / **/ | |
2685 | ||
3e09f0e1 JSA |
2686 | /* HAS_FCHMODAT: |
2687 | * This symbol is defined if the fchmodat() routine is available. | |
2688 | */ | |
2689 | /* HAS_LINKAT: | |
2690 | * This symbol is defined if the linkat() routine is available. | |
2691 | */ | |
2692 | /* HAS_OPENAT: | |
2693 | * This symbol is defined if the openat() routine is available. | |
2694 | */ | |
2695 | /* HAS_RENAMEAT: | |
2696 | * This symbol is defined if the renameat() routine is available. | |
2697 | */ | |
2698 | /* HAS_UNLINKAT: | |
2699 | * This symbol is defined if the unlinkat() routine is available. | |
2700 | */ | |
2701 | /*#define HAS_FCHMODAT / **/ | |
2702 | /*#define HAS_LINKAT / **/ | |
2703 | /*#define HAS_OPENAT / **/ | |
2704 | /*#define HAS_RENAMEAT / **/ | |
2705 | /*#define HAS_UNLINKAT / **/ | |
2706 | ||
9244ff22 SP |
2707 | /* HAS_FSEEKO: |
2708 | * This symbol, if defined, indicates that the fseeko routine is | |
2709 | * available to fseek beyond 32 bits (useful for ILP32 hosts). | |
2710 | */ | |
2711 | /*#define HAS_FSEEKO / **/ | |
2712 | ||
ea442100 JH |
2713 | /* HAS_FSTATFS: |
2714 | * This symbol, if defined, indicates that the fstatfs routine is | |
2715 | * available to stat filesystems by file descriptors. | |
2716 | */ | |
2717 | /*#define HAS_FSTATFS / **/ | |
2718 | ||
9244ff22 SP |
2719 | /* HAS_FSYNC: |
2720 | * This symbol, if defined, indicates that the fsync routine is | |
2721 | * available to write a file's modified data and attributes to | |
2722 | * permanent storage. | |
2723 | */ | |
2724 | /*#define HAS_FSYNC / **/ | |
2725 | ||
2726 | /* HAS_FTELLO: | |
2727 | * This symbol, if defined, indicates that the ftello routine is | |
2728 | * available to ftell beyond 32 bits (useful for ILP32 hosts). | |
2729 | */ | |
2730 | /*#define HAS_FTELLO / **/ | |
2731 | ||
2732 | /* HAS_FUTIMES: | |
2733 | * This symbol, if defined, indicates that the futimes routine is | |
2734 | * available to change file descriptor time stamps with struct timevals. | |
2735 | */ | |
2736 | /*#define HAS_FUTIMES / **/ | |
2737 | ||
0cc74f39 MB |
2738 | /* HAS_GAI_STRERROR: |
2739 | * This symbol, if defined, indicates that the gai_strerror routine | |
2740 | * is available to translate error codes returned by getaddrinfo() | |
2741 | * into human readable strings. | |
2742 | */ | |
2743 | /*#define HAS_GAI_STRERROR / **/ | |
2744 | ||
12cf8ac4 NC |
2745 | /* HAS_GETADDRINFO: |
2746 | * This symbol, if defined, indicates that the getaddrinfo() function | |
2747 | * is available for use. | |
2748 | */ | |
2749 | /*#define HAS_GETADDRINFO / **/ | |
2750 | ||
9244ff22 SP |
2751 | /* HAS_GETCWD: |
2752 | * This symbol, if defined, indicates that the getcwd routine is | |
2753 | * available to get the current working directory. | |
2754 | */ | |
2755 | /*#define HAS_GETCWD / **/ | |
2756 | ||
2757 | /* HAS_GETESPWNAM: | |
2758 | * This symbol, if defined, indicates that the getespwnam system call is | |
486ec47a | 2759 | * available to retrieve enhanced (shadow) password entries by name. |
9244ff22 SP |
2760 | */ |
2761 | /*#define HAS_GETESPWNAM / **/ | |
2762 | ||
ea442100 JH |
2763 | /* HAS_GETFSSTAT: |
2764 | * This symbol, if defined, indicates that the getfsstat routine is | |
2765 | * available to stat filesystems in bulk. | |
2766 | */ | |
2767 | /*#define HAS_GETFSSTAT / **/ | |
2768 | ||
9244ff22 SP |
2769 | /* HAS_GETITIMER: |
2770 | * This symbol, if defined, indicates that the getitimer routine is | |
2771 | * available to return interval timers. | |
2772 | */ | |
2773 | /*#define HAS_GETITIMER / **/ | |
2774 | ||
ea442100 JH |
2775 | /* HAS_GETMNT: |
2776 | * This symbol, if defined, indicates that the getmnt routine is | |
2777 | * available to get filesystem mount info by filename. | |
2778 | */ | |
2779 | /*#define HAS_GETMNT / **/ | |
2780 | ||
2781 | /* HAS_GETMNTENT: | |
2782 | * This symbol, if defined, indicates that the getmntent routine is | |
2783 | * available to iterate through mounted file systems to get their info. | |
2784 | */ | |
2785 | /*#define HAS_GETMNTENT / **/ | |
2786 | ||
12cf8ac4 NC |
2787 | /* HAS_GETNAMEINFO: |
2788 | * This symbol, if defined, indicates that the getnameinfo() function | |
2789 | * is available for use. | |
2790 | */ | |
2791 | /*#define HAS_GETNAMEINFO / **/ | |
2792 | ||
9244ff22 SP |
2793 | /* HAS_GETPRPWNAM: |
2794 | * This symbol, if defined, indicates that the getprpwnam system call is | |
2795 | * available to retrieve protected (shadow) password entries by name. | |
2796 | */ | |
2797 | /*#define HAS_GETPRPWNAM / **/ | |
2798 | ||
2799 | /* HAS_GETSPNAM: | |
2800 | * This symbol, if defined, indicates that the getspnam system call is | |
2801 | * available to retrieve SysV shadow password entries by name. | |
2802 | */ | |
2803 | /*#define HAS_GETSPNAM / **/ | |
2804 | ||
ea442100 JH |
2805 | /* HAS_HASMNTOPT: |
2806 | * This symbol, if defined, indicates that the hasmntopt routine is | |
2807 | * available to query the mount options of file systems. | |
2808 | */ | |
2809 | /*#define HAS_HASMNTOPT / **/ | |
2810 | ||
3adf3699 JH |
2811 | /* HAS_HYPOT: |
2812 | * This symbol, if defined, indicates that the hypot routine is | |
2813 | * available to do the hypotenuse function. | |
2814 | */ | |
2815 | /*#define HAS_HYPOT / **/ | |
2816 | ||
2817 | /* HAS_ILOGB: | |
2818 | * This symbol, if defined, indicates that the ilogb routine is | |
f40bbcbf | 2819 | * available to get integer exponent of a floating-point value. |
3adf3699 JH |
2820 | */ |
2821 | /*#define HAS_ILOGB / **/ | |
2822 | ||
9244ff22 SP |
2823 | /* HAS_ILOGBL: |
2824 | * This symbol, if defined, indicates that the ilogbl routine is | |
2825 | * available. If scalbnl is also present we can emulate frexpl. | |
2826 | */ | |
2827 | /*#define HAS_ILOGBL / **/ | |
2828 | ||
12cf8ac4 NC |
2829 | /* HAS_INETNTOP: |
2830 | * This symbol, if defined, indicates that the inet_ntop() function | |
2831 | * is available to parse IPv4 and IPv6 strings. | |
2832 | */ | |
2833 | /*#define HAS_INETNTOP / **/ | |
2834 | ||
2835 | /* HAS_INETPTON: | |
2836 | * This symbol, if defined, indicates that the inet_pton() function | |
2837 | * is available to parse IPv4 and IPv6 strings. | |
2838 | */ | |
2839 | /*#define HAS_INETPTON / **/ | |
2840 | ||
9244ff22 SP |
2841 | /* HAS_INT64_T: |
2842 | * This symbol will defined if the C compiler supports int64_t. | |
2843 | * Usually the <inttypes.h> needs to be included, but sometimes | |
2844 | * <sys/types.h> is enough. | |
2845 | */ | |
2846 | /*#define HAS_INT64_T / **/ | |
2847 | ||
96a17eae | 2848 | /* HAS_ISBLANK: |
cfc2543a | 2849 | * This manifest constant lets the C program know that isblank |
96a17eae MB |
2850 | * is available. |
2851 | */ | |
2852 | /*#define HAS_ISBLANK / **/ | |
2853 | ||
9244ff22 SP |
2854 | /* HAS_ISFINITE: |
2855 | * This symbol, if defined, indicates that the isfinite routine is | |
2856 | * available to check whether a double is finite (non-infinity non-NaN). | |
2857 | */ | |
2858 | /*#define HAS_ISFINITE / **/ | |
2859 | ||
fa484e60 | 2860 | /* HAS_ISFINITEL: |
d0166596 MB |
2861 | * This symbol, if defined, indicates that the isfinitel routine is |
2862 | * available to check whether a long double is finite. | |
fa484e60 JH |
2863 | * (non-infinity non-NaN). |
2864 | */ | |
2865 | /*#define HAS_ISFINITEL / **/ | |
2866 | ||
9244ff22 SP |
2867 | /* HAS_ISINF: |
2868 | * This symbol, if defined, indicates that the isinf routine is | |
2869 | * available to check whether a double is an infinity. | |
2870 | */ | |
2871 | /*#define HAS_ISINF / **/ | |
2872 | ||
d0166596 MB |
2873 | /* HAS_ISINFL: |
2874 | * This symbol, if defined, indicates that the isinfl routine is | |
fa484e60 JH |
2875 | * available to check whether a long double is an infinity. |
2876 | */ | |
2877 | /*#define HAS_ISINFL / **/ | |
2878 | ||
f40bbcbf MB |
2879 | /* HAS_ISLESS: |
2880 | * This symbol, if defined, indicates that the isless routine is | |
2881 | * available to do the isless function. | |
2882 | */ | |
2883 | /*#define HAS_ISLESS / **/ | |
2884 | ||
9244ff22 SP |
2885 | /* HAS_ISNAN: |
2886 | * This symbol, if defined, indicates that the isnan routine is | |
2887 | * available to check whether a double is a NaN. | |
2888 | */ | |
2889 | /*#define HAS_ISNAN / **/ | |
2890 | ||
2891 | /* HAS_ISNANL: | |
2892 | * This symbol, if defined, indicates that the isnanl routine is | |
2893 | * available to check whether a long double is a NaN. | |
2894 | */ | |
2895 | /*#define HAS_ISNANL / **/ | |
2896 | ||
3adf3699 JH |
2897 | /* HAS_ISNORMAL: |
2898 | * This symbol, if defined, indicates that the isnormal routine is | |
2899 | * available to check whether a double is normal (non-zero normalized). | |
2900 | */ | |
2901 | /*#define HAS_ISNORMAL / **/ | |
2902 | ||
d0166596 MB |
2903 | /* HAS_J0: |
2904 | * This symbol, if defined, indicates to the C program that the | |
2905 | * j0() function is available for Bessel functions of the first | |
2906 | * kind of the order zero, for doubles. | |
2907 | */ | |
2908 | /* HAS_J0L: | |
2909 | * This symbol, if defined, indicates to the C program that the | |
2910 | * j0l() function is available for Bessel functions of the first | |
2911 | * kind of the order zero, for long doubles. | |
2912 | */ | |
2913 | /*#define HAS_J0 / **/ | |
2914 | /*#define HAS_J0L / **/ | |
2915 | ||
f40bbcbf MB |
2916 | /* HAS_LC_MONETARY_2008: |
2917 | * This symbol, if defined, indicates that the localeconv routine is | |
2918 | * available and has the additional members added in POSIX 1003.1-2008. | |
2919 | */ | |
2920 | /*#define HAS_LC_MONETARY_2008 / **/ | |
2921 | ||
9244ff22 SP |
2922 | /* HAS_LDBL_DIG: |
2923 | * This symbol, if defined, indicates that this system's <float.h> | |
2924 | * or <limits.h> defines the symbol LDBL_DIG, which is the number | |
2925 | * of significant digits in a long double precision number. Unlike | |
2926 | * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined. | |
2927 | */ | |
06501368 | 2928 | /*#define HAS_LDBL_DIG / * */ |
9244ff22 | 2929 | |
3adf3699 JH |
2930 | /* HAS_LGAMMA: |
2931 | * This symbol, if defined, indicates that the lgamma routine is | |
2932 | * available to do the log gamma function. See also HAS_TGAMMA and | |
2933 | * HAS_LGAMMA_R. | |
2934 | */ | |
2935 | /*#define HAS_LGAMMA / **/ | |
2936 | ||
2937 | /* HAS_LGAMMA_R: | |
2938 | * This symbol, if defined, indicates that the lgamma_r routine is | |
2939 | * available to do the log gamma function without using the global | |
2940 | * signgam variable. | |
2941 | */ | |
2942 | /*#define HAS_LGAMMA_R / **/ | |
2943 | ||
9244ff22 SP |
2944 | /* LIBM_LIB_VERSION: |
2945 | * This symbol, if defined, indicates that libm exports _LIB_VERSION | |
2946 | * and that math.h defines the enum to manipulate it. | |
2947 | */ | |
2948 | /*#define LIBM_LIB_VERSION / **/ | |
2949 | ||
3adf3699 JH |
2950 | /* HAS_LLRINT: |
2951 | * This symbol, if defined, indicates that the llrint routine is | |
2640dfa8 MB |
2952 | * available to return the long long value closest to a double |
2953 | * (according to the current rounding mode). | |
3adf3699 JH |
2954 | */ |
2955 | /*#define HAS_LLRINT / **/ | |
2956 | ||
bc580dd3 JH |
2957 | /* HAS_LLRINTL: |
2958 | * This symbol, if defined, indicates that the llrintl routine is | |
2640dfa8 MB |
2959 | * available to return the long long value closest to a long double |
2960 | * (according to the current rounding mode). | |
bc580dd3 JH |
2961 | */ |
2962 | /*#define HAS_LLRINTL / **/ | |
2963 | ||
3adf3699 JH |
2964 | /* HAS_LLROUND: |
2965 | * This symbol, if defined, indicates that the llround routine is | |
2966 | * available to return the nearest long long value. | |
2967 | */ | |
2968 | /*#define HAS_LLROUND / **/ | |
2969 | ||
bc580dd3 JH |
2970 | /* HAS_LLROUNDL: |
2971 | * This symbol, if defined, indicates that the llroundl routine is | |
5abe6a2a MB |
2972 | * available to return the nearest long long value away from zero of |
2973 | * the long double argument value. | |
bc580dd3 JH |
2974 | */ |
2975 | /*#define HAS_LLROUNDL / **/ | |
2976 | ||
3adf3699 | 2977 | /* HAS_LOG1P: |
f40bbcbf MB |
2978 | * This symbol, if defined, indicates that the log1p routine is |
2979 | * available to do the logarithm of 1 plus argument function. | |
3adf3699 JH |
2980 | */ |
2981 | /*#define HAS_LOG1P / **/ | |
2982 | ||
2983 | /* HAS_LOG2: | |
f40bbcbf | 2984 | * This symbol, if defined, indicates that the log2 routine is |
3adf3699 JH |
2985 | * available to do the log2 function. |
2986 | */ | |
2987 | /*#define HAS_LOG2 / **/ | |
2988 | ||
2989 | /* HAS_LOGB: | |
f40bbcbf | 2990 | * This symbol, if defined, indicates that the logb routine is |
3adf3699 JH |
2991 | * available to do the logb function. |
2992 | */ | |
2993 | /*#define HAS_LOGB / **/ | |
2994 | ||
2995 | /* HAS_LRINT: | |
2996 | * This symbol, if defined, indicates that the lrint routine is | |
2640dfa8 MB |
2997 | * available to return the integral value closest to a double |
2998 | * (according to the current rounding mode). | |
3adf3699 JH |
2999 | */ |
3000 | /*#define HAS_LRINT / **/ | |
3001 | ||
bc580dd3 JH |
3002 | /* HAS_LRINTL: |
3003 | * This symbol, if defined, indicates that the lrintl routine is | |
2640dfa8 MB |
3004 | * available to return the integral value closest to a long double |
3005 | * (according to the current rounding mode). | |
bc580dd3 JH |
3006 | */ |
3007 | /*#define HAS_LRINTL / **/ | |
3008 | ||
3adf3699 JH |
3009 | /* HAS_LROUND: |
3010 | * This symbol, if defined, indicates that the lround routine is | |
3011 | * available to return the nearest integral value. | |
3012 | */ | |
3013 | /*#define HAS_LROUND / **/ | |
3014 | ||
bc580dd3 JH |
3015 | /* HAS_LROUNDL: |
3016 | * This symbol, if defined, indicates that the lroundl routine is | |
5abe6a2a MB |
3017 | * available to return the nearest integral value away from zero of |
3018 | * the long double argument value. | |
bc580dd3 JH |
3019 | */ |
3020 | /*#define HAS_LROUNDL / **/ | |
3021 | ||
9244ff22 SP |
3022 | /* HAS_MADVISE: |
3023 | * This symbol, if defined, indicates that the madvise system call is | |
3024 | * available to map a file into memory. | |
3025 | */ | |
3026 | /*#define HAS_MADVISE / **/ | |
3027 | ||
3028 | /* HAS_MALLOC_SIZE: | |
3029 | * This symbol, if defined, indicates that the malloc_size | |
3030 | * routine is available for use. | |
3031 | */ | |
3032 | /*#define HAS_MALLOC_SIZE / **/ | |
3033 | ||
3034 | /* HAS_MALLOC_GOOD_SIZE: | |
3035 | * This symbol, if defined, indicates that the malloc_good_size | |
3036 | * routine is available for use. | |
3037 | */ | |
3038 | /*#define HAS_MALLOC_GOOD_SIZE / **/ | |
3039 | ||
3879c54d MB |
3040 | /* HAS_MEMMEM: |
3041 | * This symbol, if defined, indicates that the memmem routine is | |
3042 | * available to return a pointer to the start of the first occurance | |
3043 | * of a substring in a memory area (or NULL if not found). | |
3044 | */ | |
61b2a465 | 3045 | /*#define HAS_MEMMEM / **/ |
3879c54d | 3046 | |
28ebb8fb DIM |
3047 | /* HAS_MEMRCHR: |
3048 | * This symbol, if defined, indicates that the memrchr routine is | |
3049 | * available to return a pointer to the last occurrence of a byte in | |
3050 | * a memory area (or NULL if not found). | |
3051 | */ | |
3052 | /*#define HAS_MEMRCHR / **/ | |
3053 | ||
9244ff22 SP |
3054 | /* HAS_MKDTEMP: |
3055 | * This symbol, if defined, indicates that the mkdtemp routine is | |
3056 | * available to exclusively create a uniquely named temporary directory. | |
3057 | */ | |
3058 | /*#define HAS_MKDTEMP / **/ | |
3059 | ||
3060 | /* HAS_MKSTEMPS: | |
3061 | * This symbol, if defined, indicates that the mkstemps routine is | |
486ec47a | 3062 | * available to exclusively create and open a uniquely named |
9244ff22 SP |
3063 | * (with a suffix) temporary file. |
3064 | */ | |
3065 | /*#define HAS_MKSTEMPS / **/ | |
3066 | ||
3067 | /* HAS_MODFL: | |
3068 | * This symbol, if defined, indicates that the modfl routine is | |
3069 | * available to split a long double x into a fractional part f and | |
3070 | * an integer part i such that |f| < 1.0 and (f + i) = x. | |
3071 | */ | |
3072 | /* HAS_MODFL_PROTO: | |
3073 | * This symbol, if defined, indicates that the system provides | |
3074 | * a prototype for the modfl() function. Otherwise, it is up | |
3075 | * to the program to supply one. | |
3076 | */ | |
9244ff22 SP |
3077 | /*#define HAS_MODFL / **/ |
3078 | /*#define HAS_MODFL_PROTO / **/ | |
9244ff22 SP |
3079 | |
3080 | /* HAS_MPROTECT: | |
3081 | * This symbol, if defined, indicates that the mprotect system call is | |
3082 | * available to modify the access protection of a memory mapped file. | |
3083 | */ | |
3084 | /*#define HAS_MPROTECT / **/ | |
3085 | ||
3086 | /* HAS_STRUCT_MSGHDR: | |
3087 | * This symbol, if defined, indicates that the struct msghdr | |
3088 | * is supported. | |
3089 | */ | |
3090 | /*#define HAS_STRUCT_MSGHDR / **/ | |
3091 | ||
f40bbcbf MB |
3092 | /* HAS_NAN: |
3093 | * This symbol, if defined, indicates that the nan routine is | |
3094 | * available to generate NaN. | |
3095 | */ | |
3096 | /*#define HAS_NAN / **/ | |
3097 | ||
c94a4d04 MB |
3098 | /* HAS_NANOSLEEP: |
3099 | * This symbol, if defined, indicates that the nanosleep | |
3100 | * system call is available to sleep with 1E-9 sec accuracy. | |
3101 | */ | |
3102 | /*#define HAS_NANOSLEEP / **/ | |
3103 | ||
f40bbcbf MB |
3104 | /* HAS_NEARBYINT: |
3105 | * This symbol, if defined, indicates that the nearbyint routine is | |
3106 | * available to return the integral value closest to (according to | |
3107 | * the current rounding mode) to x. | |
3108 | */ | |
3109 | /*#define HAS_NEARBYINT / **/ | |
3110 | ||
0f2b45c7 MB |
3111 | /* HAS_NEWLOCALE: |
3112 | * This symbol, if defined, indicates that the newlocale routine is | |
3113 | * available to return a new locale object or modify an existing | |
3114 | * locale object. | |
3115 | */ | |
3116 | /* HAS_FREELOCALE: | |
3117 | * This symbol, if defined, indicates that the freelocale routine is | |
3118 | * available to deallocates the resources associated with a locale object. | |
3119 | */ | |
3120 | /* HAS_USELOCALE: | |
3121 | * This symbol, if defined, indicates that the uselocale routine is | |
3122 | * available to set the current locale for the calling thread. | |
3123 | */ | |
bc900e45 AC |
3124 | /* HAS_QUERYLOCALE: |
3125 | * This symbol, if defined, indicates that the querylocale routine is | |
3126 | * available to return the name of the locale for a category mask. | |
3127 | */ | |
884c85de MB |
3128 | /* I_XLOCALE: |
3129 | * This symbol, if defined, indicates to the C program that it should | |
3130 | * include <xlocale.h> to get uselocale() and its friends. | |
3131 | */ | |
0f2b45c7 MB |
3132 | /*#define HAS_NEWLOCALE / **/ |
3133 | /*#define HAS_FREELOCALE / **/ | |
3134 | /*#define HAS_USELOCALE / **/ | |
bc900e45 | 3135 | /*#define HAS_QUERYLOCALE / **/ |
38ab612a | 3136 | /*#define I_XLOCALE / **/ |
0f2b45c7 | 3137 | |
f40bbcbf MB |
3138 | /* HAS_NEXTAFTER: |
3139 | * This symbol, if defined, indicates that the nextafter routine is | |
3140 | * available to return the next machine representable double from | |
3141 | * x in direction y. | |
3142 | */ | |
3143 | /*#define HAS_NEXTAFTER / **/ | |
3144 | ||
3145 | /* HAS_NEXTTOWARD: | |
3146 | * This symbol, if defined, indicates that the nexttoward routine is | |
3147 | * available to return the next machine representable long double from | |
3148 | * x in direction y. | |
3149 | */ | |
3150 | /*#define HAS_NEXTTOWARD / **/ | |
3151 | ||
9244ff22 SP |
3152 | /* HAS_NL_LANGINFO: |
3153 | * This symbol, if defined, indicates that the nl_langinfo routine is | |
3154 | * available to return local data. You will also need <langinfo.h> | |
3155 | * and therefore I_LANGINFO. | |
3156 | */ | |
3157 | /*#define HAS_NL_LANGINFO / **/ | |
3158 | ||
3159 | /* HAS_OFF64_T: | |
3160 | * This symbol will be defined if the C compiler supports off64_t. | |
3161 | */ | |
3162 | /*#define HAS_OFF64_T / **/ | |
3163 | ||
12cf8ac4 NC |
3164 | /* HAS_PRCTL: |
3165 | * This symbol, if defined, indicates that the prctl routine is | |
3166 | * available to set process title. | |
b75ee85b JH |
3167 | * Note that there are at least two prctl variants: Linux and Irix. |
3168 | * While they are somewhat similar, they are incompatible. | |
12cf8ac4 NC |
3169 | */ |
3170 | /* HAS_PRCTL_SET_NAME: | |
3171 | * This symbol, if defined, indicates that the prctl routine is | |
3172 | * available to set process title and supports PR_SET_NAME. | |
3173 | */ | |
3174 | /*#define HAS_PRCTL / **/ | |
3175 | /*#define HAS_PRCTL_SET_NAME / **/ | |
3176 | ||
9244ff22 SP |
3177 | /* HAS_PROCSELFEXE: |
3178 | * This symbol is defined if PROCSELFEXE_PATH is a symlink | |
3179 | * to the absolute pathname of the executing program. | |
3180 | */ | |
3181 | /* PROCSELFEXE_PATH: | |
3182 | * If HAS_PROCSELFEXE is defined this symbol is the filename | |
3183 | * of the symbolic link pointing to the absolute pathname of | |
3184 | * the executing program. | |
3185 | */ | |
3186 | /*#define HAS_PROCSELFEXE / **/ | |
3187 | #if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH) | |
3188 | #define PROCSELFEXE_PATH /**/ | |
3189 | #endif | |
3190 | ||
3191 | /* HAS_PTHREAD_ATTR_SETSCOPE: | |
3192 | * This symbol, if defined, indicates that the pthread_attr_setscope | |
3193 | * system call is available to set the contention scope attribute of | |
3194 | * a thread attribute object. | |
3195 | */ | |
3196 | /*#define HAS_PTHREAD_ATTR_SETSCOPE / **/ | |
3197 | ||
1f922d87 MB |
3198 | /* HAS_PTRDIFF_T: |
3199 | * This symbol will be defined if the C compiler supports ptrdiff_t. | |
3200 | */ | |
3201 | #define HAS_PTRDIFF_T /**/ | |
3202 | ||
9244ff22 SP |
3203 | /* HAS_READV: |
3204 | * This symbol, if defined, indicates that the readv routine is | |
3205 | * available to do gather reads. You will also need <sys/uio.h> | |
3206 | * and there I_SYSUIO. | |
3207 | */ | |
3208 | /*#define HAS_READV / **/ | |
3209 | ||
3210 | /* HAS_RECVMSG: | |
3211 | * This symbol, if defined, indicates that the recvmsg routine is | |
3212 | * available to send structured socket messages. | |
3213 | */ | |
3214 | /*#define HAS_RECVMSG / **/ | |
3215 | ||
f40bbcbf MB |
3216 | /* HAS_REMAINDER: |
3217 | * This symbol, if defined, indicates that the remainder routine is | |
3218 | * available to return the floating-point remainder. | |
3219 | */ | |
3220 | /*#define HAS_REMAINDER / **/ | |
3221 | ||
3222 | /* HAS_REMQUO: | |
3223 | * This symbol, if defined, indicates that the remquo routine is | |
3224 | * available to return the remainder and part of quotient. | |
3225 | */ | |
3226 | /*#define HAS_REMQUO / **/ | |
3227 | ||
3228 | /* HAS_RINT: | |
3229 | * This symbol, if defined, indicates that the rint routine is | |
3230 | * available to return the nearest integral value to x as double | |
3231 | * using the current rounding mode. | |
3232 | */ | |
3233 | /*#define HAS_RINT / **/ | |
3234 | ||
3235 | /* HAS_ROUND: | |
3236 | * This symbol, if defined, indicates that the round routine is | |
3237 | * available to round to nearest integer, away from zero. | |
3238 | */ | |
3239 | /*#define HAS_ROUND / **/ | |
3240 | ||
9244ff22 SP |
3241 | /* HAS_SBRK_PROTO: |
3242 | * This symbol, if defined, indicates that the system provides | |
3243 | * a prototype for the sbrk() function. Otherwise, it is up | |
3244 | * to the program to supply one. Good guesses are | |
3245 | * extern void* sbrk(int); | |
3246 | * extern void* sbrk(size_t); | |
3247 | */ | |
3248 | /*#define HAS_SBRK_PROTO / **/ | |
3249 | ||
3adf3699 | 3250 | /* HAS_SCALBN: |
f40bbcbf MB |
3251 | * This symbol, if defined, indicates that the scalbn routine is |
3252 | * available to multiply floating-point number by integral power | |
3253 | * of radix. | |
3adf3699 JH |
3254 | */ |
3255 | /*#define HAS_SCALBN / **/ | |
3256 | ||
9244ff22 SP |
3257 | /* HAS_SCALBNL: |
3258 | * This symbol, if defined, indicates that the scalbnl routine is | |
3259 | * available. If ilogbl is also present we can emulate frexpl. | |
3260 | */ | |
3261 | /*#define HAS_SCALBNL / **/ | |
3262 | ||
3263 | /* HAS_SENDMSG: | |
3264 | * This symbol, if defined, indicates that the sendmsg routine is | |
3265 | * available to send structured socket messages. | |
3266 | */ | |
3267 | /*#define HAS_SENDMSG / **/ | |
3268 | ||
3269 | /* HAS_SETITIMER: | |
3270 | * This symbol, if defined, indicates that the setitimer routine is | |
3271 | * available to set interval timers. | |
3272 | */ | |
3273 | /*#define HAS_SETITIMER / **/ | |
3274 | ||
3275 | /* HAS_SETPROCTITLE: | |
3276 | * This symbol, if defined, indicates that the setproctitle routine is | |
3277 | * available to set process title. | |
3278 | */ | |
3279 | /*#define HAS_SETPROCTITLE / **/ | |
3280 | ||
9244ff22 SP |
3281 | /* HAS_SIGNBIT: |
3282 | * This symbol, if defined, indicates that the signbit routine is | |
3283 | * available to check if the given number has the sign bit set. | |
3284 | * This should include correct testing of -0.0. This will only be set | |
3285 | * if the signbit() routine is safe to use with the NV type used internally | |
3286 | * in perl. Users should call Perl_signbit(), which will be #defined to | |
3287 | * the system's signbit() function or macro if this symbol is defined. | |
3288 | */ | |
3289 | /*#define HAS_SIGNBIT / **/ | |
3290 | ||
3291 | /* HAS_SIGPROCMASK: | |
3292 | * This symbol, if defined, indicates that the sigprocmask | |
3293 | * system call is available to examine or change the signal mask | |
3294 | * of the calling process. | |
3295 | */ | |
3296 | /*#define HAS_SIGPROCMASK / **/ | |
3297 | ||
3298 | /* USE_SITECUSTOMIZE: | |
3299 | * This symbol, if defined, indicates that sitecustomize should | |
3300 | * be used. | |
3301 | */ | |
3302 | #ifndef USE_SITECUSTOMIZE | |
3303 | /*#define USE_SITECUSTOMIZE / **/ | |
3304 | #endif | |
3305 | ||
9244ff22 SP |
3306 | /* HAS_SOCKATMARK: |
3307 | * This symbol, if defined, indicates that the sockatmark routine is | |
3308 | * available to test whether a socket is at the out-of-band mark. | |
3309 | */ | |
3310 | /*#define HAS_SOCKATMARK / **/ | |
3311 | ||
3312 | /* HAS_SOCKATMARK_PROTO: | |
3313 | * This symbol, if defined, indicates that the system provides | |
3314 | * a prototype for the sockatmark() function. Otherwise, it is up | |
3315 | * to the program to supply one. A good guess is | |
3316 | * extern int sockatmark(int); | |
3317 | */ | |
3318 | /*#define HAS_SOCKATMARK_PROTO / **/ | |
3319 | ||
3320 | /* HAS_SOCKS5_INIT: | |
3321 | * This symbol, if defined, indicates that the socks5_init routine is | |
3322 | * available to initialize SOCKS 5. | |
3323 | */ | |
3324 | /*#define HAS_SOCKS5_INIT / **/ | |
3325 | ||
9244ff22 SP |
3326 | /* HAS_SQRTL: |
3327 | * This symbol, if defined, indicates that the sqrtl routine is | |
3328 | * available to do long double square roots. | |
3329 | */ | |
3330 | /*#define HAS_SQRTL / **/ | |
3331 | ||
3332 | /* HAS_SETRESGID_PROTO: | |
3333 | * This symbol, if defined, indicates that the system provides | |
3334 | * a prototype for the setresgid() function. Otherwise, it is up | |
3335 | * to the program to supply one. Good guesses are | |
3336 | * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid); | |
3337 | */ | |
3338 | /*#define HAS_SETRESGID_PROTO / **/ | |
3339 | ||
3340 | /* HAS_SETRESUID_PROTO: | |
3341 | * This symbol, if defined, indicates that the system provides | |
3342 | * a prototype for the setresuid() function. Otherwise, it is up | |
3343 | * to the program to supply one. Good guesses are | |
3344 | * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid); | |
3345 | */ | |
3346 | /*#define HAS_SETRESUID_PROTO / **/ | |
3347 | ||
ea442100 JH |
3348 | /* HAS_STRUCT_STATFS_F_FLAGS: |
3349 | * This symbol, if defined, indicates that the struct statfs | |
3350 | * does have the f_flags member containing the mount flags of | |
3351 | * the filesystem containing the file. | |
3352 | * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3), | |
3353 | * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not | |
3354 | * have statfs() and struct statfs, they have ustat() and getmnt() | |
3355 | * with struct ustat and struct fs_data. | |
3356 | */ | |
3357 | /*#define HAS_STRUCT_STATFS_F_FLAGS / **/ | |
3358 | ||
3359 | /* HAS_STRUCT_STATFS: | |
3360 | * This symbol, if defined, indicates that the struct statfs | |
3361 | * to do statfs() is supported. | |
3362 | */ | |
3363 | /*#define HAS_STRUCT_STATFS / **/ | |
3364 | ||
3365 | /* HAS_FSTATVFS: | |
3366 | * This symbol, if defined, indicates that the fstatvfs routine is | |
3367 | * available to stat filesystems by file descriptors. | |
3368 | */ | |
3369 | /*#define HAS_FSTATVFS / **/ | |
3370 | ||
ef55c673 AC |
3371 | /* HAS_STRERROR_L: |
3372 | * This symbol, if defined, indicates that the strerror_l routine is | |
3373 | * available to return the error message for a given errno value in | |
3374 | * a particular locale (identified by a locale_t object). | |
3375 | */ | |
3376 | /*#define HAS_STRERROR_L / **/ | |
3377 | ||
9244ff22 SP |
3378 | /* HAS_STRFTIME: |
3379 | * This symbol, if defined, indicates that the strftime routine is | |
3380 | * available to do time formatting. | |
3381 | */ | |
3382 | /*#define HAS_STRFTIME / **/ | |
3383 | ||
3384 | /* HAS_STRLCAT: | |
3385 | * This symbol, if defined, indicates that the strlcat () routine is | |
3386 | * available to do string concatenation. | |
3387 | */ | |
3388 | /*#define HAS_STRLCAT / **/ | |
3389 | ||
3390 | /* HAS_STRLCPY: | |
3391 | * This symbol, if defined, indicates that the strlcpy () routine is | |
3392 | * available to do string copying. | |
3393 | */ | |
3394 | /*#define HAS_STRLCPY / **/ | |
3395 | ||
c94a4d04 MB |
3396 | /* HAS_STRNLEN: |
3397 | * This symbol, if defined, indicates that the strnlen () routine is | |
3398 | * available to check the length of a string up to a maximum. | |
3399 | */ | |
3400 | /*#define HAS_STRNLEN / **/ | |
3401 | ||
9244ff22 SP |
3402 | /* HAS_STRTOLD: |
3403 | * This symbol, if defined, indicates that the strtold routine is | |
3404 | * available to convert strings to long doubles. | |
3405 | */ | |
3406 | /*#define HAS_STRTOLD / **/ | |
3407 | ||
3408 | /* HAS_STRTOLL: | |
3409 | * This symbol, if defined, indicates that the strtoll routine is | |
3410 | * available to convert strings to long longs. | |
3411 | */ | |
3412 | /*#define HAS_STRTOLL / **/ | |
3413 | ||
3414 | /* HAS_STRTOQ: | |
3415 | * This symbol, if defined, indicates that the strtoq routine is | |
3416 | * available to convert strings to long longs (quads). | |
3417 | */ | |
3418 | /*#define HAS_STRTOQ / **/ | |
3419 | ||
3420 | /* HAS_STRTOULL: | |
3421 | * This symbol, if defined, indicates that the strtoull routine is | |
3422 | * available to convert strings to unsigned long longs. | |
3423 | */ | |
3424 | /*#define HAS_STRTOULL / **/ | |
3425 | ||
3426 | /* HAS_STRTOUQ: | |
3427 | * This symbol, if defined, indicates that the strtouq routine is | |
3428 | * available to convert strings to unsigned long longs (quads). | |
3429 | */ | |
3430 | /*#define HAS_STRTOUQ / **/ | |
3431 | ||
3432 | /* HAS_SYSCALL_PROTO: | |
3433 | * This symbol, if defined, indicates that the system provides | |
3434 | * a prototype for the syscall() function. Otherwise, it is up | |
3435 | * to the program to supply one. Good guesses are | |
3436 | * extern int syscall(int, ...); | |
3437 | * extern int syscall(long, ...); | |
3438 | */ | |
3439 | /*#define HAS_SYSCALL_PROTO / **/ | |
3440 | ||
3441 | /* HAS_TELLDIR_PROTO: | |
3442 | * This symbol, if defined, indicates that the system provides | |
3443 | * a prototype for the telldir() function. Otherwise, it is up | |
3444 | * to the program to supply one. A good guess is | |
3445 | * extern long telldir(DIR*); | |
3446 | */ | |
3447 | /*#define HAS_TELLDIR_PROTO / **/ | |
3448 | ||
f40bbcbf MB |
3449 | /* HAS_TGAMMA: |
3450 | * This symbol, if defined, indicates that the tgamma routine is | |
3451 | * available to do the gamma function. See also HAS_LGAMMA. | |
3452 | */ | |
3453 | /*#define HAS_TGAMMA / **/ | |
3454 | ||
0639114f NC |
3455 | /* HAS_CTIME64: |
3456 | * This symbol, if defined, indicates that the ctime64 () routine is | |
3457 | * available to do the 64bit variant of ctime () | |
3458 | */ | |
3459 | /* HAS_LOCALTIME64: | |
3460 | * This symbol, if defined, indicates that the localtime64 () routine is | |
3461 | * available to do the 64bit variant of localtime () | |
3462 | */ | |
3463 | /* HAS_GMTIME64: | |
3464 | * This symbol, if defined, indicates that the gmtime64 () routine is | |
3465 | * available to do the 64bit variant of gmtime () | |
3466 | */ | |
3467 | /* HAS_MKTIME64: | |
3468 | * This symbol, if defined, indicates that the mktime64 () routine is | |
3469 | * available to do the 64bit variant of mktime () | |
3470 | */ | |
3471 | /* HAS_DIFFTIME64: | |
3472 | * This symbol, if defined, indicates that the difftime64 () routine is | |
3473 | * available to do the 64bit variant of difftime () | |
3474 | */ | |
3475 | /* HAS_ASCTIME64: | |
3476 | * This symbol, if defined, indicates that the asctime64 () routine is | |
3477 | * available to do the 64bit variant of asctime () | |
3478 | */ | |
3479 | /*#define HAS_CTIME64 / **/ | |
3480 | /*#define HAS_LOCALTIME64 / **/ | |
3481 | /*#define HAS_GMTIME64 / **/ | |
3482 | /*#define HAS_MKTIME64 / **/ | |
3483 | /*#define HAS_DIFFTIME64 / **/ | |
3484 | /*#define HAS_ASCTIME64 / **/ | |
3485 | ||
3486 | /* HAS_TIMEGM: | |
3487 | * This symbol, if defined, indicates that the timegm routine is | |
3488 | * available to do the opposite of gmtime () | |
3489 | */ | |
3490 | /*#define HAS_TIMEGM / **/ | |
3491 | ||
3adf3699 | 3492 | /* HAS_TRUNC: |
f40bbcbf MB |
3493 | * This symbol, if defined, indicates that the trunc routine is |
3494 | * available to round doubles towards zero. | |
3adf3699 JH |
3495 | */ |
3496 | /*#define HAS_TRUNC / **/ | |
3497 | ||
d6f85a58 MB |
3498 | /* HAS_TRUNCL: |
3499 | * This symbol, if defined, indicates that the truncl routine is | |
3500 | * available. If copysignl is also present we can emulate modfl. | |
3501 | */ | |
3502 | /*#define HAS_TRUNCL / **/ | |
3503 | ||
9244ff22 SP |
3504 | /* U32_ALIGNMENT_REQUIRED: |
3505 | * This symbol, if defined, indicates that you must access | |
3506 | * character data through U32-aligned pointers. | |
3507 | */ | |
3508 | #ifndef U32_ALIGNMENT_REQUIRED | |
3509 | #define U32_ALIGNMENT_REQUIRED /**/ | |
3510 | #endif | |
3511 | ||
3512 | /* HAS_UALARM: | |
3513 | * This symbol, if defined, indicates that the ualarm routine is | |
3514 | * available to do alarms with microsecond granularity. | |
3515 | */ | |
3516 | /*#define HAS_UALARM / **/ | |
3517 | ||
3518 | /* HAS_UNORDERED: | |
3519 | * This symbol, if defined, indicates that the unordered routine is | |
3520 | * available to check whether two doubles are unordered | |
3521 | * (effectively: whether either of them is NaN) | |
3522 | */ | |
3523 | /*#define HAS_UNORDERED / **/ | |
3524 | ||
3525 | /* HAS_UNSETENV: | |
3526 | * This symbol, if defined, indicates that the unsetenv () routine is | |
3527 | * available for use. | |
3528 | */ | |
3529 | /*#define HAS_UNSETENV / **/ | |
3530 | ||
3531 | /* HAS_USLEEP_PROTO: | |
3532 | * This symbol, if defined, indicates that the system provides | |
3533 | * a prototype for the usleep() function. Otherwise, it is up | |
3534 | * to the program to supply one. A good guess is | |
3535 | * extern int usleep(useconds_t); | |
3536 | */ | |
3537 | /*#define HAS_USLEEP_PROTO / **/ | |
3538 | ||
ea442100 JH |
3539 | /* HAS_USTAT: |
3540 | * This symbol, if defined, indicates that the ustat system call is | |
3541 | * available to query file system statistics by dev_t. | |
3542 | */ | |
3543 | /*#define HAS_USTAT / **/ | |
3544 | ||
9cdcdad1 MB |
3545 | /* HAS_WCSCMP: |
3546 | * This symbol, if defined, indicates that the wcscmp routine is | |
3547 | * available to compare two wide character strings. | |
3548 | */ | |
3549 | /*#define HAS_WCSCMP / **/ | |
3550 | ||
3551 | /* HAS_WCSXFRM: | |
3552 | * This symbol, if defined, indicates that the wcsxfrm routine is | |
3553 | * available to tranform a wide character string for wcscmp(). | |
3554 | */ | |
3555 | /*#define HAS_WCSXFRM / **/ | |
3556 | ||
9244ff22 SP |
3557 | /* HAS_WRITEV: |
3558 | * This symbol, if defined, indicates that the writev routine is | |
3559 | * available to do scatter writes. | |
3560 | */ | |
3561 | /*#define HAS_WRITEV / **/ | |
3562 | ||
32db2dd3 MB |
3563 | /* DEFAULT_INC_EXCLUDES_DOT: |
3564 | * This symbol, if defined, removes the legacy default behavior of | |
3565 | * including '.' at the end of @INC. | |
3566 | */ | |
29e06fb2 | 3567 | /*#define DEFAULT_INC_EXCLUDES_DOT / **/ |
32db2dd3 | 3568 | |
9244ff22 SP |
3569 | /* USE_DYNAMIC_LOADING: |
3570 | * This symbol, if defined, indicates that dynamic loading of | |
3571 | * some sort is available. | |
3572 | */ | |
3573 | /*#define USE_DYNAMIC_LOADING / **/ | |
3574 | ||
3575 | /* FFLUSH_NULL: | |
a05353bf MB |
3576 | * This symbol, if defined, tells that fflush(NULL) correctly |
3577 | * flushes all pending stdio output without side effects. In | |
3578 | * particular, on some platforms calling fflush(NULL) *still* | |
3579 | * corrupts STDIN if it is a pipe. | |
9244ff22 SP |
3580 | */ |
3581 | /* FFLUSH_ALL: | |
3582 | * This symbol, if defined, tells that to flush | |
3583 | * all pending stdio output one must loop through all | |
3584 | * the stdio file handles stored in an array and fflush them. | |
3585 | * Note that if fflushNULL is defined, fflushall will not | |
3586 | * even be probed for and will be left undefined. | |
3587 | */ | |
3588 | /*#define FFLUSH_NULL / **/ | |
3589 | /*#define FFLUSH_ALL / **/ | |
3590 | ||
3591 | /* I_ASSERT: | |
3592 | * This symbol, if defined, indicates that <assert.h> exists and | |
3593 | * could be included by the C program to get the assert() macro. | |
3594 | */ | |
3595 | #define I_ASSERT /**/ | |
3596 | ||
470dd224 JH |
3597 | /* I_BFD: |
3598 | * This symbol, if defined, indicates that <bfd.h> exists and | |
f6a82ade | 3599 | * can be included. |
470dd224 JH |
3600 | */ |
3601 | /*#define I_BFD / **/ | |
3602 | ||
9244ff22 SP |
3603 | /* I_CRYPT: |
3604 | * This symbol, if defined, indicates that <crypt.h> exists and | |
3605 | * should be included. | |
3606 | */ | |
3607 | /*#define I_CRYPT / **/ | |
3608 | ||
3609 | /* DB_Prefix_t: | |
3610 | * This symbol contains the type of the prefix structure element | |
3611 | * in the <db.h> header file. In older versions of DB, it was | |
3612 | * int, while in newer ones it is u_int32_t. | |
3613 | */ | |
3614 | /* DB_Hash_t: | |
3615 | * This symbol contains the type of the prefix structure element | |
3616 | * in the <db.h> header file. In older versions of DB, it was | |
3617 | * int, while in newer ones it is size_t. | |
3618 | */ | |
3619 | /* DB_VERSION_MAJOR_CFG: | |
3620 | * This symbol, if defined, defines the major version number of | |
3621 | * Berkeley DB found in the <db.h> header when Perl was configured. | |
3622 | */ | |
3623 | /* DB_VERSION_MINOR_CFG: | |
3624 | * This symbol, if defined, defines the minor version number of | |
3625 | * Berkeley DB found in the <db.h> header when Perl was configured. | |
3626 | * For DB version 1 this is always 0. | |
3627 | */ | |
3628 | /* DB_VERSION_PATCH_CFG: | |
3629 | * This symbol, if defined, defines the patch version number of | |
3630 | * Berkeley DB found in the <db.h> header when Perl was configured. | |
3631 | * For DB version 1 this is always 0. | |
3632 | */ | |
3633 | #define DB_Hash_t u_int32_t /**/ | |
3634 | #define DB_Prefix_t size_t /**/ | |
3635 | #define DB_VERSION_MAJOR_CFG 0 /**/ | |
3636 | #define DB_VERSION_MINOR_CFG 0 /**/ | |
3637 | #define DB_VERSION_PATCH_CFG 0 /**/ | |
3638 | ||
d0166596 MB |
3639 | /* I_FENV: |
3640 | * This symbol, if defined, indicates to the C program that it should | |
3641 | * include <fenv.h> to get the floating point environment definitions. | |
3642 | */ | |
3643 | /*#define I_FENV / **/ | |
3644 | ||
9244ff22 SP |
3645 | /* I_FP: |
3646 | * This symbol, if defined, indicates that <fp.h> exists and | |
3647 | * should be included. | |
3648 | */ | |
3649 | /*#define I_FP / **/ | |
3650 | ||
3651 | /* I_FP_CLASS: | |
3652 | * This symbol, if defined, indicates that <fp_class.h> exists and | |
3653 | * should be included. | |
3654 | */ | |
3655 | /*#define I_FP_CLASS / **/ | |
3656 | ||
3657 | /* I_IEEEFP: | |
3658 | * This symbol, if defined, indicates that <ieeefp.h> exists and | |
3659 | * should be included. | |
3660 | */ | |
3661 | /*#define I_IEEEFP / **/ | |
3662 | ||
3663 | /* I_INTTYPES: | |
3664 | * This symbol, if defined, indicates to the C program that it should | |
3665 | * include <inttypes.h>. | |
3666 | */ | |
3667 | /*#define I_INTTYPES / **/ | |
3668 | ||
3669 | /* I_LANGINFO: | |
3670 | * This symbol, if defined, indicates that <langinfo.h> exists and | |
3671 | * should be included. | |
3672 | */ | |
3673 | /*#define I_LANGINFO / **/ | |
3674 | ||
3675 | /* I_LIBUTIL: | |
3676 | * This symbol, if defined, indicates that <libutil.h> exists and | |
3677 | * should be included. | |
3678 | */ | |
3679 | /*#define I_LIBUTIL / **/ | |
3680 | ||
0639114f NC |
3681 | /* I_MALLOCMALLOC: |
3682 | * This symbol, if defined, indicates to the C program that it should | |
3683 | * include <malloc/malloc.h>. | |
3684 | */ | |
3685 | /*#define I_MALLOCMALLOC / **/ | |
3686 | ||
ea442100 JH |
3687 | /* I_MNTENT: |
3688 | * This symbol, if defined, indicates that <mntent.h> exists and | |
3689 | * should be included. | |
3690 | */ | |
3691 | /*#define I_MNTENT / **/ | |
3692 | ||
9244ff22 SP |
3693 | /* I_NETINET_TCP: |
3694 | * This symbol, if defined, indicates to the C program that it should | |
3695 | * include <netinet/tcp.h>. | |
3696 | */ | |
3697 | /*#define I_NETINET_TCP / **/ | |
3698 | ||
3699 | /* I_POLL: | |
3700 | * This symbol, if defined, indicates that <poll.h> exists and | |
3701 | * should be included. (see also HAS_POLL) | |
3702 | */ | |
3703 | /*#define I_POLL / **/ | |
3704 | ||
3705 | /* I_PROT: | |
3706 | * This symbol, if defined, indicates that <prot.h> exists and | |
3707 | * should be included. | |
3708 | */ | |
3709 | /*#define I_PROT / **/ | |
3710 | ||
f40bbcbf MB |
3711 | /* I_QUADMATH: |
3712 | * This symbol, if defined, indicates that <quadmath.h> exists and | |
3713 | * should be included. | |
3714 | */ | |
3715 | /*#define I_QUADMATH / **/ | |
3716 | ||
9244ff22 SP |
3717 | /* I_SHADOW: |
3718 | * This symbol, if defined, indicates that <shadow.h> exists and | |
3719 | * should be included. | |
3720 | */ | |
3721 | /*#define I_SHADOW / **/ | |
3722 | ||
3723 | /* I_SOCKS: | |
3724 | * This symbol, if defined, indicates that <socks.h> exists and | |
3725 | * should be included. | |
3726 | */ | |
3727 | /*#define I_SOCKS / **/ | |
3728 | ||
06501368 MB |
3729 | /* I_STDBOOL: |
3730 | * This symbol, if defined, indicates that <stdbool.h> exists and | |
3731 | * can be included. | |
3732 | */ | |
3733 | /*#define I_STDBOOL / **/ | |
3734 | ||
d0166596 MB |
3735 | /* I_STDINT: |
3736 | * This symbol, if defined, indicates that <stdint.h> exists and | |
3737 | * should be included. | |
3738 | */ | |
3739 | /*#define I_STDINT / **/ | |
3740 | ||
9244ff22 SP |
3741 | /* I_SUNMATH: |
3742 | * This symbol, if defined, indicates that <sunmath.h> exists and | |
3743 | * should be included. | |
3744 | */ | |
3745 | /*#define I_SUNMATH / **/ | |
3746 | ||
3747 | /* I_SYSLOG: | |
3748 | * This symbol, if defined, indicates that <syslog.h> exists and | |
3749 | * should be included. | |
3750 | */ | |
3751 | /*#define I_SYSLOG / **/ | |
3752 | ||
3753 | /* I_SYSMODE: | |
3754 | * This symbol, if defined, indicates that <sys/mode.h> exists and | |
3755 | * should be included. | |
3756 | */ | |
3757 | /*#define I_SYSMODE / **/ | |
3758 | ||
ea442100 JH |
3759 | /* I_SYS_MOUNT: |
3760 | * This symbol, if defined, indicates that <sys/mount.h> exists and | |
3761 | * should be included. | |
3762 | */ | |
3763 | /*#define I_SYS_MOUNT / **/ | |
3764 | ||
3765 | /* I_SYS_STATFS: | |
3766 | * This symbol, if defined, indicates that <sys/statfs.h> exists. | |
3767 | */ | |
3768 | /*#define I_SYS_STATFS / **/ | |
3769 | ||
3770 | /* I_SYS_STATVFS: | |
3771 | * This symbol, if defined, indicates that <sys/statvfs.h> exists and | |
3772 | * should be included. | |
3773 | */ | |
3774 | /*#define I_SYS_STATVFS / **/ | |
3775 | ||
9244ff22 SP |
3776 | /* I_SYSUTSNAME: |
3777 | * This symbol, if defined, indicates that <sys/utsname.h> exists and | |
3778 | * should be included. | |
3779 | */ | |
3780 | /*#define I_SYSUTSNAME / **/ | |
3781 | ||
ea442100 JH |
3782 | /* I_SYS_VFS: |
3783 | * This symbol, if defined, indicates that <sys/vfs.h> exists and | |
3784 | * should be included. | |
3785 | */ | |
3786 | /*#define I_SYS_VFS / **/ | |
3787 | ||
3788 | /* I_USTAT: | |
3789 | * This symbol, if defined, indicates that <ustat.h> exists and | |
3790 | * should be included. | |
3791 | */ | |
3792 | /*#define I_USTAT / **/ | |
3793 | ||
c94a4d04 MB |
3794 | /* I_WCHAR: |
3795 | * This symbol, if defined, indicates to the C program that <wchar.h> | |
3796 | * is available for inclusion | |
3797 | */ | |
3798 | /*#define I_WCHAR / **/ | |
3799 | ||
e6704a40 MB |
3800 | /* DOUBLEINFBYTES: |
3801 | * This symbol, if defined, is a comma-separated list of | |
3802 | * hexadecimal bytes for the double precision infinity. | |
3803 | */ | |
3804 | /* DOUBLENANBYTES: | |
3805 | * This symbol, if defined, is a comma-separated list of | |
3806 | * hexadecimal bytes (0xHH) for the double precision not-a-number. | |
3807 | */ | |
3808 | /* LONGDBLINFBYTES: | |
3809 | * This symbol, if defined, is a comma-separated list of | |
3810 | * hexadecimal bytes for the long double precision infinity. | |
3811 | */ | |
3812 | /* LONGDBLNANBYTES: | |
3813 | * This symbol, if defined, is a comma-separated list of | |
3814 | * hexadecimal bytes (0xHH) for the long double precision not-a-number. | |
3815 | */ | |
3816 | #define DOUBLEINFBYTES 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0x7f /**/ | |
3817 | #define DOUBLENANBYTES 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, 0x7f /**/ | |
3818 | #define LONGDBLINFBYTES 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x7f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 /**/ | |
3819 | #define LONGDBLNANBYTES 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xff, 0x7f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 /**/ | |
3820 | ||
9244ff22 SP |
3821 | /* PERL_PRIfldbl: |
3822 | * This symbol, if defined, contains the string used by stdio to | |
3823 | * format long doubles (format 'f') for output. | |
3824 | */ | |
3825 | /* PERL_PRIgldbl: | |
3826 | * This symbol, if defined, contains the string used by stdio to | |
3827 | * format long doubles (format 'g') for output. | |
3828 | */ | |
3829 | /* PERL_PRIeldbl: | |
3830 | * This symbol, if defined, contains the string used by stdio to | |
3831 | * format long doubles (format 'e') for output. | |
3832 | */ | |
3833 | /* PERL_SCNfldbl: | |
3834 | * This symbol, if defined, contains the string used by stdio to | |
3835 | * format long doubles (format 'f') for input. | |
3836 | */ | |
f40bbcbf MB |
3837 | /* DOUBLEKIND: |
3838 | * DOUBLEKIND will be one of | |
3839 | * DOUBLE_IS_IEEE_754_32_BIT_LITTLE_ENDIAN | |
3840 | * DOUBLE_IS_IEEE_754_32_BIT_BIG_ENDIAN | |
3841 | * DOUBLE_IS_IEEE_754_64_BIT_LITTLE_ENDIAN | |
3842 | * DOUBLE_IS_IEEE_754_64_BIT_BIG_ENDIAN | |
3843 | * DOUBLE_IS_IEEE_754_128_BIT_LITTLE_ENDIAN | |
3844 | * DOUBLE_IS_IEEE_754_128_BIT_BIG_ENDIAN | |
3845 | * DOUBLE_IS_IEEE_754_64_BIT_MIXED_ENDIAN_LE_BE | |
3846 | * DOUBLE_IS_IEEE_754_64_BIT_MIXED_ENDIAN_BE_LE | |
c183cd86 JH |
3847 | * DOUBLE_IS_VAX_F_FLOAT |
3848 | * DOUBLE_IS_VAX_D_FLOAT | |
3849 | * DOUBLE_IS_VAX_G_FLOAT | |
429a3a11 JH |
3850 | * DOUBLE_IS_IBM_SINGLE_32_BIT |
3851 | * DOUBLE_IS_IBM_DOUBLE_64_BIT | |
3852 | * DOUBLE_IS_CRAY_SINGLE_64_BIT | |
f40bbcbf MB |
3853 | * DOUBLE_IS_UNKNOWN_FORMAT |
3854 | */ | |
21196d16 | 3855 | /* DOUBLE_HAS_INF: |
4cb05021 JH |
3856 | * This symbol, if defined, indicates that the double has |
3857 | * the infinity. | |
3858 | */ | |
21196d16 | 3859 | /* DOUBLE_HAS_NAN: |
4cb05021 JH |
3860 | * This symbol, if defined, indicates that the double has |
3861 | * the not-a-number. | |
3862 | */ | |
21196d16 | 3863 | /* DOUBLE_HAS_NEGATIVE_ZERO: |
4cb05021 JH |
3864 | * This symbol, if defined, indicates that the double has |
3865 | * the negative_zero. | |
3866 | */ | |
21196d16 | 3867 | /* DOUBLE_HAS_SUBNORMALS: |
4cb05021 JH |
3868 | * This symbol, if defined, indicates that the double has |
3869 | * the subnormals (denormals). | |
3870 | */ | |
21196d16 | 3871 | /* DOUBLE_STYLE_CRAY: |
4cb05021 JH |
3872 | * This symbol, if defined, indicates that the double is |
3873 | * the 64-bit CRAY mainframe format. | |
3874 | */ | |
21196d16 | 3875 | /* DOUBLE_STYLE_IBM: |
4cb05021 JH |
3876 | * This symbol, if defined, indicates that the double is |
3877 | * the 64-bit IBM mainframe format. | |
3878 | */ | |
21196d16 | 3879 | /* DOUBLE_STYLE_IEEE: |
4cb05021 JH |
3880 | * This symbol, if defined, indicates that the double is |
3881 | * the 64-bit IEEE 754. | |
3882 | */ | |
21196d16 | 3883 | /* DOUBLE_STYLE_VAX: |
4cb05021 JH |
3884 | * This symbol, if defined, indicates that the double is |
3885 | * the 64-bit VAX format D or G. | |
3886 | */ | |
f40bbcbf MB |
3887 | #define DOUBLEKIND 3 /**/ |
3888 | #define DOUBLE_IS_IEEE_754_32_BIT_LITTLE_ENDIAN 1 | |
3889 | #define DOUBLE_IS_IEEE_754_32_BIT_BIG_ENDIAN 2 | |
3890 | #define DOUBLE_IS_IEEE_754_64_BIT_LITTLE_ENDIAN 3 | |
3891 | #define DOUBLE_IS_IEEE_754_64_BIT_BIG_ENDIAN 4 | |
3892 | #define DOUBLE_IS_IEEE_754_128_BIT_LITTLE_ENDIAN 5 | |
3893 | #define DOUBLE_IS_IEEE_754_128_BIT_BIG_ENDIAN 6 | |
3894 | #define DOUBLE_IS_IEEE_754_64_BIT_MIXED_ENDIAN_LE_BE 7 | |
3895 | #define DOUBLE_IS_IEEE_754_64_BIT_MIXED_ENDIAN_BE_LE 8 | |
c183cd86 JH |
3896 | #define DOUBLE_IS_VAX_F_FLOAT 9 |
3897 | #define DOUBLE_IS_VAX_D_FLOAT 10 | |
3898 | #define DOUBLE_IS_VAX_G_FLOAT 11 | |
429a3a11 JH |
3899 | #define DOUBLE_IS_IBM_SINGLE_32_BIT 12 |
3900 | #define DOUBLE_IS_IBM_DOUBLE_64_BIT 13 | |
3901 | #define DOUBLE_IS_CRAY_SINGLE_64_BIT 14 | |
f40bbcbf | 3902 | #define DOUBLE_IS_UNKNOWN_FORMAT -1 |
9244ff22 SP |
3903 | /*#define PERL_PRIfldbl "llf" / **/ |
3904 | /*#define PERL_PRIgldbl "llg" / **/ | |
3905 | /*#define PERL_PRIeldbl "lle" / **/ | |
3906 | /*#define PERL_SCNfldbl "llf" / **/ | |
4cb05021 | 3907 | #define DOUBLE_HAS_INF |
21196d16 | 3908 | #define DOUBLE_HAS_NAN |
4cb05021 JH |
3909 | #define DOUBLE_HAS_NEGATIVE_ZERO |
3910 | #define DOUBLE_HAS_SUBNORMALS | |
3911 | #undef DOUBLE_STYLE_CRAY | |
3912 | #undef DOUBLE_STYLE_IBM | |
3913 | #define DOUBLE_STYLE_IEEE | |
3914 | #undef DOUBLE_STYLE_VAX | |
9244ff22 | 3915 | |
44521f3a JH |
3916 | /* DOUBLEMANTBITS: |
3917 | * This symbol, if defined, tells how many mantissa bits | |
3918 | * there are in double precision floating point format. | |
e6704a40 MB |
3919 | * Note that this is usually DBL_MANT_DIG minus one, since |
3920 | * with the standard IEEE 754 formats DBL_MANT_DIG includes | |
44521f3a JH |
3921 | * the implicit bit, which doesn't really exist. |
3922 | */ | |
44521f3a JH |
3923 | /* LONGDBLMANTBITS: |
3924 | * This symbol, if defined, tells how many mantissa bits | |
3925 | * there are in long double precision floating point format. | |
e6704a40 MB |
3926 | * Note that this can be LDBL_MANT_DIG minus one, |
3927 | * since LDBL_MANT_DIG can include the IEEE 754 implicit bit. | |
3928 | * The common x86-style 80-bit long double does not have | |
44521f3a JH |
3929 | * an implicit bit. |
3930 | */ | |
44521f3a JH |
3931 | /* NVMANTBITS: |
3932 | * This symbol, if defined, tells how many mantissa bits | |
3933 | * (not including implicit bit) there are in a Perl NV. | |
3934 | * This depends on which floating point type was chosen. | |
3935 | */ | |
e6704a40 MB |
3936 | #define DOUBLEMANTBITS 52 |
3937 | #define LONGDBLMANTBITS 64 | |
3938 | #define NVMANTBITS 52 | |
44521f3a | 3939 | |
9244ff22 SP |
3940 | /* NEED_VA_COPY: |
3941 | * This symbol, if defined, indicates that the system stores | |
3942 | * the variable argument list datatype, va_list, in a format | |
3943 | * that cannot be copied by simple assignment, so that some | |
3944 | * other means must be used when copying is required. | |
3945 | * As such systems vary in their provision (or non-provision) | |
3946 | * of copying mechanisms, handy.h defines a platform- | |
3947 | * independent macro, Perl_va_copy(src, dst), to do the job. | |
3948 | */ | |
6644ede8 | 3949 | #define NEED_VA_COPY /**/ |
9244ff22 SP |
3950 | |
3951 | /* IVTYPE: | |
3952 | * This symbol defines the C type used for Perl's IV. | |
3953 | */ | |
3954 | /* UVTYPE: | |
3955 | * This symbol defines the C type used for Perl's UV. | |
3956 | */ | |
3957 | /* I8TYPE: | |
3958 | * This symbol defines the C type used for Perl's I8. | |
3959 | */ | |
3960 | /* U8TYPE: | |
3961 | * This symbol defines the C type used for Perl's U8. | |
3962 | */ | |
3963 | /* I16TYPE: | |
3964 | * This symbol defines the C type used for Perl's I16. | |
3965 | */ | |
3966 | /* U16TYPE: | |
3967 | * This symbol defines the C type used for Perl's U16. | |
3968 | */ | |
3969 | /* I32TYPE: | |
3970 | * This symbol defines the C type used for Perl's I32. | |
3971 | */ | |
3972 | /* U32TYPE: | |
3973 | * This symbol defines the C type used for Perl's U32. | |
3974 | */ | |
3975 | /* I64TYPE: | |
3976 | * This symbol defines the C type used for Perl's I64. | |
3977 | */ | |
3978 | /* U64TYPE: | |
3979 | * This symbol defines the C type used for Perl's U64. | |
3980 | */ | |
3981 | /* NVTYPE: | |
3982 | * This symbol defines the C type used for Perl's NV. | |
3983 | */ | |
3984 | /* IVSIZE: | |
3985 | * This symbol contains the sizeof(IV). | |
3986 | */ | |
3987 | /* UVSIZE: | |
3988 | * This symbol contains the sizeof(UV). | |
3989 | */ | |
3990 | /* I8SIZE: | |
3991 | * This symbol contains the sizeof(I8). | |
3992 | */ | |
3993 | /* U8SIZE: | |
3994 | * This symbol contains the sizeof(U8). | |
3995 | */ | |
3996 | /* I16SIZE: | |
3997 | * This symbol contains the sizeof(I16). | |
3998 | */ | |
3999 | /* U16SIZE: | |
4000 | * This symbol contains the sizeof(U16). | |
4001 | */ | |
4002 | /* I32SIZE: | |
4003 | * This symbol contains the sizeof(I32). | |
4004 | */ | |
4005 | /* U32SIZE: | |
4006 | * This symbol contains the sizeof(U32). | |
4007 | */ | |
4008 | /* I64SIZE: | |
4009 | * This symbol contains the sizeof(I64). | |
4010 | */ | |
4011 | /* U64SIZE: | |
4012 | * This symbol contains the sizeof(U64). | |
4013 | */ | |
4014 | /* NVSIZE: | |
4015 | * This symbol contains the sizeof(NV). | |
8593d8e7 DM |
4016 | * Note that some floating point formats have unused bytes. |
4017 | * The most notable example is the x86* 80-bit extended precision | |
4018 | * which comes in byte sizes of 12 and 16 (for 32 and 64 bit | |
4019 | * platforms, respectively), but which only uses 10 bytes. | |
4020 | * Perl compiled with -Duselongdouble on x86* is like this. | |
9244ff22 SP |
4021 | */ |
4022 | /* NV_PRESERVES_UV: | |
4023 | * This symbol, if defined, indicates that a variable of type NVTYPE | |
4024 | * can preserve all the bits of a variable of type UVTYPE. | |
4025 | */ | |
4026 | /* NV_PRESERVES_UV_BITS: | |
4027 | * This symbol contains the number of bits a variable of type NVTYPE | |
4028 | * can preserve of a variable of type UVTYPE. | |
4029 | */ | |
0639114f | 4030 | /* NV_OVERFLOWS_INTEGERS_AT: |
b10924eb SP |
4031 | * This symbol gives the largest integer value that NVs can hold. This |
4032 | * value + 1.0 cannot be stored accurately. It is expressed as constant | |
486ec47a | 4033 | * floating point expression to reduce the chance of decimal/binary |
b10924eb SP |
4034 | * conversion issues. If it can not be determined, the value 0 is given. |
4035 | */ | |
9244ff22 SP |
4036 | /* NV_ZERO_IS_ALLBITS_ZERO: |
4037 | * This symbol, if defined, indicates that a variable of type NVTYPE | |
4038 | * stores 0.0 in memory as all bits zero. | |
4039 | */ | |
4040 | #define IVTYPE long /**/ | |
4041 | #define UVTYPE unsigned long /**/ | |
ab3ee5ad | 4042 | #define I8TYPE signed char /**/ |
9244ff22 SP |
4043 | #define U8TYPE unsigned char /**/ |
4044 | #define I16TYPE short /**/ | |
4045 | #define U16TYPE unsigned short /**/ | |
4046 | #define I32TYPE long /**/ | |
4047 | #define U32TYPE unsigned long /**/ | |
4048 | #ifdef HAS_QUAD | |
4049 | #define I64TYPE int64_t /**/ | |
4050 | #define U64TYPE uint64_t /**/ | |
4051 | #endif | |
4052 | #define NVTYPE double /**/ | |
4053 | #define IVSIZE 4 /**/ | |
4054 | #define UVSIZE 4 /**/ | |
4055 | #define I8SIZE 1 /**/ | |
4056 | #define U8SIZE 1 /**/ | |
4057 | #define I16SIZE 2 /**/ | |
4058 | #define U16SIZE 2 /**/ | |
4059 | #define I32SIZE 4 /**/ | |
4060 | #define U32SIZE 4 /**/ | |
4061 | #ifdef HAS_QUAD | |
4062 | #define I64SIZE 8 /**/ | |
4063 | #define U64SIZE 8 /**/ | |
4064 | #endif | |
4065 | #define NVSIZE 8 /**/ | |
4066 | #undef NV_PRESERVES_UV | |
4067 | #define NV_PRESERVES_UV_BITS 0 | |
c94a4d04 | 4068 | #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 |
4069 | #undef NV_ZERO_IS_ALLBITS_ZERO |
4070 | #if UVSIZE == 8 | |
4071 | # ifdef BYTEORDER | |
4072 | # if BYTEORDER == 0x1234 | |
4073 | # undef BYTEORDER | |
4074 | # define BYTEORDER 0x12345678 | |
4075 | # else | |
4076 | # if BYTEORDER == 0x4321 | |
4077 | # undef BYTEORDER | |
4078 | # define BYTEORDER 0x87654321 | |
4079 | # endif | |