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