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