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