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