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