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