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