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