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