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