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