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