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