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