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