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