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