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