IO::Socket now sets $!, avoids eval/die (patch from Graham Barr
[p5sagit/p5-mst-13.2.git] / vos / config.h
CommitLineData
c287c78d 1/*
2 * This file was produced by running the config_h.SH script, which
3 * gets its values from config.sh, which is generally produced by
4 * running Configure.
5 *
6 * Feel free to modify any of this as the need arises. Note, however,
7 * that running config_h.SH again will wipe out any changes you've made.
8 * For a more permanent change edit config.sh and rerun config_h.SH.
9 *
1761cee5 10 * \$Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $
c287c78d 11 */
495c5fdc 12
c287c78d 13/*
14 * Package name : perl5
1761cee5 15 * Source directory : %es#lang/vos_ftp_site/pub/vos/alpha/perl
16 * Configuration time: 2000-02-03 19:13 UCT
17 * Configured by : Paul_Green@stratus.com
18 * Target system : VOS
495c5fdc 19 */
20
21#ifndef _config_h_
1761cee5 22#define _config_h_
495c5fdc 23
24/* LOC_SED:
25 * This symbol holds the complete pathname to the sed program.
26 */
1761cee5 27#define LOC_SED "/system/ported/command_library/sed.pm" /**/
495c5fdc 28
29/* HAS_ALARM:
30 * This symbol, if defined, indicates that the alarm routine is
31 * available.
32 */
1761cee5 33#define HAS_ALARM /**/
495c5fdc 34
35/* HASATTRIBUTE:
36 * This symbol indicates the C compiler can check for function attributes,
37 * such as printf formats. This is normally only supported by GNU cc.
38 */
1761cee5 39/*#define HASATTRIBUTE /**/
495c5fdc 40#ifndef HASATTRIBUTE
1761cee5 41#define __attribute__(_arg_)
495c5fdc 42#endif
43
44/* HAS_BCMP:
45 * This symbol is defined if the bcmp() routine is available to
46 * compare blocks of memory.
47 */
48/*#define HAS_BCMP /**/
49
50/* HAS_BCOPY:
51 * This symbol is defined if the bcopy() routine is available to
52 * copy blocks of memory.
53 */
54/*#define HAS_BCOPY /**/
55
56/* HAS_BZERO:
57 * This symbol is defined if the bzero() routine is available to
58 * set a memory block to 0.
59 */
60/*#define HAS_BZERO /**/
61
62/* HAS_CHOWN:
63 * This symbol, if defined, indicates that the chown routine is
64 * available.
65 */
1761cee5 66/*#define HAS_CHOWN /**/
495c5fdc 67
68/* HAS_CHROOT:
69 * This symbol, if defined, indicates that the chroot routine is
70 * available.
71 */
1761cee5 72/*#define HAS_CHROOT /**/
495c5fdc 73
74/* HAS_CHSIZE:
75 * This symbol, if defined, indicates that the chsize routine is available
76 * to truncate files. You might need a -lx to get this routine.
77 */
1761cee5 78/*#define HAS_CHSIZE /**/
495c5fdc 79
80/* HASCONST:
81 * This symbol, if defined, indicates that this C compiler knows about
82 * the const type. There is no need to actually test for that symbol
83 * within your programs. The mere use of the "const" keyword will
84 * trigger the necessary tests.
85 */
86#define HASCONST /**/
87#ifndef HASCONST
1761cee5 88#define const
495c5fdc 89#endif
90
91/* HAS_CRYPT:
92 * This symbol, if defined, indicates that the crypt routine is available
93 * to encrypt passwords and the like.
94 */
1761cee5 95/*#define HAS_CRYPT /**/
495c5fdc 96
97/* HAS_CUSERID:
98 * This symbol, if defined, indicates that the cuserid routine is
99 * available to get character login names.
100 */
1761cee5 101/*#define HAS_CUSERID /**/
495c5fdc 102
103/* HAS_DBL_DIG:
104 * This symbol, if defined, indicates that this system's <float.h>
105 * or <limits.h> defines the symbol DBL_DIG, which is the number
106 * of significant digits in a double precision number. If this
107 * symbol is not defined, a guess of 15 is usually pretty good.
108 */
1761cee5 109#define HAS_DBL_DIG /* */
495c5fdc 110
111/* HAS_DIFFTIME:
112 * This symbol, if defined, indicates that the difftime routine is
113 * available.
114 */
1761cee5 115#define HAS_DIFFTIME /**/
495c5fdc 116
117/* HAS_DLERROR:
118 * This symbol, if defined, indicates that the dlerror routine is
119 * available to return a string describing the last error that
120 * occurred from a call to dlopen(), dlclose() or dlsym().
121 */
122/*#define HAS_DLERROR /**/
123
124/* SETUID_SCRIPTS_ARE_SECURE_NOW:
125 * This symbol, if defined, indicates that the bug that prevents
126 * setuid scripts from being secure is not present in this kernel.
127 */
128/* DOSUID:
129 * This symbol, if defined, indicates that the C program should
130 * check the script that it is executing for setuid/setgid bits, and
131 * attempt to emulate setuid/setgid on systems that have disabled
132 * setuid #! scripts because the kernel can't do it securely.
133 * It is up to the package designer to make sure that this emulation
134 * is done securely. Among other things, it should do an fstat on
135 * the script it just opened to make sure it really is a setuid/setgid
136 * script, it should make sure the arguments passed correspond exactly
137 * to the argument on the #! line, and it should not trust any
138 * subprocesses to which it must pass the filename rather than the
139 * file descriptor of the script to be executed.
140 */
c287c78d 141#define SETUID_SCRIPTS_ARE_SECURE_NOW /**/
1761cee5 142/*#define DOSUID /**/
495c5fdc 143
144/* HAS_DUP2:
145 * This symbol, if defined, indicates that the dup2 routine is
146 * available to duplicate file descriptors.
147 */
148/*#define HAS_DUP2 /**/
149
150/* HAS_FCHMOD:
151 * This symbol, if defined, indicates that the fchmod routine is available
152 * to change mode of opened files. If unavailable, use chmod().
153 */
1761cee5 154#define HAS_FCHMOD /**/
495c5fdc 155
156/* HAS_FCHOWN:
157 * This symbol, if defined, indicates that the fchown routine is available
158 * to change ownership of opened files. If unavailable, use chown().
159 */
1761cee5 160/*#define HAS_FCHOWN /**/
495c5fdc 161
162/* HAS_FCNTL:
163 * This symbol, if defined, indicates to the C program that
164 * the fcntl() function exists.
165 */
1761cee5 166#define HAS_FCNTL /**/
495c5fdc 167
168/* HAS_FGETPOS:
169 * This symbol, if defined, indicates that the fgetpos routine is
170 * available to get the file position indicator, similar to ftell().
171 */
172#define HAS_FGETPOS /**/
173
174/* FLEXFILENAMES:
175 * This symbol, if defined, indicates that the system supports filenames
176 * longer than 14 characters.
177 */
1761cee5 178#define FLEXFILENAMES /**/
495c5fdc 179
180/* HAS_FLOCK:
181 * This symbol, if defined, indicates that the flock routine is
182 * available to do file locking.
183 */
1761cee5 184/*#define HAS_FLOCK /**/
495c5fdc 185
186/* HAS_FORK:
187 * This symbol, if defined, indicates that the fork routine is
188 * available.
189 */
1761cee5 190/*#define HAS_FORK /**/
495c5fdc 191
192/* HAS_FSETPOS:
193 * This symbol, if defined, indicates that the fsetpos routine is
194 * available to set the file position indicator, similar to fseek().
195 */
196#define HAS_FSETPOS /**/
197
198/* HAS_GETTIMEOFDAY:
199 * This symbol, if defined, indicates that the gettimeofday() system
200 * call is available for a sub-second accuracy clock. Usually, the file
201 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
202 * The type "Timeval" should be used to refer to "struct timeval".
203 */
c287c78d 204/*#define HAS_GETTIMEOFDAY /**/
495c5fdc 205#ifdef HAS_GETTIMEOFDAY
1761cee5 206#define Timeval struct timeval /* Structure used by gettimeofday() */
495c5fdc 207#endif
208
209/* HAS_GETGROUPS:
210 * This symbol, if defined, indicates that the getgroups() routine is
211 * available to get the list of process groups. If unavailable, multiple
212 * groups are probably not supported.
213 */
1761cee5 214/*#define HAS_GETGROUPS /**/
495c5fdc 215
216/* HAS_GETLOGIN:
217 * This symbol, if defined, indicates that the getlogin routine is
218 * available to get the login name.
219 */
1761cee5 220#define HAS_GETLOGIN /**/
495c5fdc 221
222/* HAS_GETPGID:
223 * This symbol, if defined, indicates to the C program that
224 * the getpgid(pid) function is available to get the
225 * process group id.
226 */
1761cee5 227/*#define HAS_GETPGID /**/
495c5fdc 228
229/* HAS_GETPGRP:
230 * This symbol, if defined, indicates that the getpgrp routine is
231 * available to get the current process group.
232 */
233/* USE_BSD_GETPGRP:
234 * This symbol, if defined, indicates that getpgrp needs one
235 * arguments whereas USG one needs none.
236 */
1761cee5 237#define HAS_GETPGRP /**/
c287c78d 238/*#define USE_BSD_GETPGRP /**/
495c5fdc 239
240/* HAS_GETPGRP2:
241 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
242 * routine is available to get the current process group.
243 */
1761cee5 244/*#define HAS_GETPGRP2 /**/
495c5fdc 245
246/* HAS_GETPPID:
247 * This symbol, if defined, indicates that the getppid routine is
248 * available to get the parent process ID.
249 */
1761cee5 250#define HAS_GETPPID /**/
495c5fdc 251
252/* HAS_GETPRIORITY:
253 * This symbol, if defined, indicates that the getpriority routine is
254 * available to get a process's priority.
255 */
1761cee5 256/*#define HAS_GETPRIORITY /**/
495c5fdc 257
258/* HAS_INET_ATON:
259 * This symbol, if defined, indicates to the C program that the
260 * inet_aton() function is available to parse IP address "dotted-quad"
261 * strings.
262 */
1761cee5 263/*#define HAS_INET_ATON /**/
495c5fdc 264
265/* HAS_KILLPG:
266 * This symbol, if defined, indicates that the killpg routine is available
267 * to kill process groups. If unavailable, you probably should use kill
268 * with a negative process number.
269 */
270/*#define HAS_KILLPG /**/
271
272/* HAS_LINK:
273 * This symbol, if defined, indicates that the link routine is
274 * available to create hard links.
275 */
276/*#define HAS_LINK /**/
277
278/* HAS_LOCALECONV:
279 * This symbol, if defined, indicates that the localeconv routine is
280 * available for numeric and monetary formatting conventions.
281 */
282#define HAS_LOCALECONV /**/
283
284/* HAS_LOCKF:
285 * This symbol, if defined, indicates that the lockf routine is
286 * available to do file locking.
287 */
1761cee5 288#define HAS_LOCKF /**/
495c5fdc 289
290/* HAS_LSTAT:
291 * This symbol, if defined, indicates that the lstat routine is
292 * available to do file stats on symbolic links.
293 */
1761cee5 294#define HAS_LSTAT /**/
495c5fdc 295
296/* HAS_MBLEN:
297 * This symbol, if defined, indicates that the mblen routine is available
298 * to find the number of bytes in a multibye character.
299 */
1761cee5 300#define HAS_MBLEN /**/
495c5fdc 301
302/* HAS_MBSTOWCS:
303 * This symbol, if defined, indicates that the mbstowcs routine is
304 * available to covert a multibyte string into a wide character string.
305 */
1761cee5 306#define HAS_MBSTOWCS /**/
495c5fdc 307
308/* HAS_MBTOWC:
309 * This symbol, if defined, indicates that the mbtowc routine is available
310 * to covert a multibyte to a wide character.
311 */
1761cee5 312#define HAS_MBTOWC /**/
495c5fdc 313
314/* HAS_MEMCMP:
315 * This symbol, if defined, indicates that the memcmp routine is available
316 * to compare blocks of memory.
317 */
318#define HAS_MEMCMP /**/
319
320/* HAS_MEMCPY:
321 * This symbol, if defined, indicates that the memcpy routine is available
322 * to copy blocks of memory.
323 */
324#define HAS_MEMCPY /**/
325
326/* HAS_MEMMOVE:
327 * This symbol, if defined, indicates that the memmove routine is available
328 * to copy potentially overlapping blocks of memory. This should be used
329 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
330 * own version.
331 */
332#define HAS_MEMMOVE /**/
333
334/* HAS_MEMSET:
335 * This symbol, if defined, indicates that the memset routine is available
336 * to set blocks of memory.
337 */
338#define HAS_MEMSET /**/
339
340/* HAS_MKDIR:
341 * This symbol, if defined, indicates that the mkdir routine is available
342 * to create directories. Otherwise you should fork off a new process to
343 * exec /bin/mkdir.
344 */
1761cee5 345#define HAS_MKDIR /**/
495c5fdc 346
347/* HAS_MKFIFO:
348 * This symbol, if defined, indicates that the mkfifo routine is
349 * available to create FIFOs. Otherwise, mknod should be able to
350 * do it for you. However, if mkfifo is there, mknod might require
351 * super-user privileges which mkfifo will not.
352 */
1761cee5 353#define HAS_MKFIFO /**/
495c5fdc 354
355/* HAS_MKTIME:
356 * This symbol, if defined, indicates that the mktime routine is
357 * available.
358 */
1761cee5 359#define HAS_MKTIME /**/
495c5fdc 360
361/* HAS_NICE:
362 * This symbol, if defined, indicates that the nice routine is
363 * available.
364 */
1761cee5 365/*#define HAS_NICE /**/
495c5fdc 366
367/* HAS_PATHCONF:
368 * This symbol, if defined, indicates that pathconf() is available
369 * to determine file-system related limits and options associated
370 * with a given filename.
371 */
372/* HAS_FPATHCONF:
373 * This symbol, if defined, indicates that pathconf() is available
374 * to determine file-system related limits and options associated
375 * with a given open file descriptor.
376 */
1761cee5 377#define HAS_PATHCONF /**/
378#define HAS_FPATHCONF /**/
495c5fdc 379
380/* HAS_PAUSE:
381 * This symbol, if defined, indicates that the pause routine is
382 * available to suspend a process until a signal is received.
383 */
1761cee5 384#define HAS_PAUSE /**/
495c5fdc 385
386/* HAS_PIPE:
387 * This symbol, if defined, indicates that the pipe routine is
388 * available to create an inter-process channel.
389 */
1761cee5 390#define HAS_PIPE /**/
495c5fdc 391
392/* HAS_POLL:
393 * This symbol, if defined, indicates that the poll routine is
394 * available to poll active file descriptors. You may safely
395 * include <poll.h> when this symbol is defined.
396 */
1761cee5 397#define HAS_POLL /**/
495c5fdc 398
399/* HAS_READDIR:
400 * This symbol, if defined, indicates that the readdir routine is
401 * available to read directory entries. You may have to include
402 * <dirent.h>. See I_DIRENT.
403 */
1761cee5 404#define HAS_READDIR /**/
495c5fdc 405
406/* HAS_SEEKDIR:
407 * This symbol, if defined, indicates that the seekdir routine is
408 * available. You may have to include <dirent.h>. See I_DIRENT.
409 */
1761cee5 410/*#define HAS_SEEKDIR /**/
495c5fdc 411
412/* HAS_TELLDIR:
413 * This symbol, if defined, indicates that the telldir routine is
414 * available. You may have to include <dirent.h>. See I_DIRENT.
415 */
1761cee5 416/*#define HAS_TELLDIR /**/
495c5fdc 417
418/* HAS_REWINDDIR:
419 * This symbol, if defined, indicates that the rewinddir routine is
420 * available. You may have to include <dirent.h>. See I_DIRENT.
421 */
1761cee5 422#define HAS_REWINDDIR /**/
495c5fdc 423
424/* HAS_READLINK:
425 * This symbol, if defined, indicates that the readlink routine is
426 * available to read the value of a symbolic link.
427 */
1761cee5 428#define HAS_READLINK /**/
495c5fdc 429
430/* HAS_RENAME:
431 * This symbol, if defined, indicates that the rename routine is available
432 * to rename files. Otherwise you should do the unlink(), link(), unlink()
433 * trick.
434 */
435#define HAS_RENAME /**/
436
437/* HAS_RMDIR:
438 * This symbol, if defined, indicates that the rmdir routine is
439 * available to remove directories. Otherwise you should fork off a
440 * new process to exec /bin/rmdir.
441 */
1761cee5 442#define HAS_RMDIR /**/
495c5fdc 443
444/* HAS_SELECT:
445 * This symbol, if defined, indicates that the select routine is
446 * available to select active file descriptors. If the timeout field
447 * is used, <sys/time.h> may need to be included.
448 */
449#define HAS_SELECT /**/
450
495c5fdc 451/* HAS_SETEGID:
452 * This symbol, if defined, indicates that the setegid routine is available
453 * to change the effective gid of the current program.
454 */
1761cee5 455/*#define HAS_SETEGID /**/
495c5fdc 456
457/* HAS_SETEUID:
458 * This symbol, if defined, indicates that the seteuid routine is available
459 * to change the effective uid of the current program.
460 */
1761cee5 461/*#define HAS_SETEUID /**/
495c5fdc 462
463/* HAS_SETLINEBUF:
464 * This symbol, if defined, indicates that the setlinebuf routine is
465 * available to change stderr or stdout from block-buffered or unbuffered
466 * to a line-buffered mode.
467 */
1761cee5 468/*#define HAS_SETLINEBUF /**/
495c5fdc 469
470/* HAS_SETLOCALE:
471 * This symbol, if defined, indicates that the setlocale routine is
472 * available to handle locale-specific ctype implementations.
473 */
474#define HAS_SETLOCALE /**/
475
476/* HAS_SETPGID:
477 * This symbol, if defined, indicates that the setpgid(pid, gpid)
478 * routine is available to set process group ID.
479 */
c287c78d 480/*#define HAS_SETPGID /**/
495c5fdc 481
482/* HAS_SETPGRP:
483 * This symbol, if defined, indicates that the setpgrp routine is
484 * available to set the current process group.
485 */
486/* USE_BSD_SETPGRP:
487 * This symbol, if defined, indicates that setpgrp needs two
488 * arguments whereas USG one needs none. See also HAS_SETPGID
489 * for a POSIX interface.
490 */
1761cee5 491/*#define HAS_SETPGRP /**/
c287c78d 492/*#define USE_BSD_SETPGRP /**/
495c5fdc 493
494/* HAS_SETPGRP2:
495 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
496 * routine is available to set the current process group.
497 */
1761cee5 498/*#define HAS_SETPGRP2 /**/
495c5fdc 499
500/* HAS_SETPRIORITY:
501 * This symbol, if defined, indicates that the setpriority routine is
502 * available to set a process's priority.
503 */
1761cee5 504/*#define HAS_SETPRIORITY /**/
495c5fdc 505
506/* HAS_SETREGID:
507 * This symbol, if defined, indicates that the setregid routine is
508 * available to change the real and effective gid of the current
509 * process.
510 */
511/* HAS_SETRESGID:
512 * This symbol, if defined, indicates that the setresgid routine is
513 * available to change the real, effective and saved gid of the current
514 * process.
515 */
1761cee5 516/*#define HAS_SETREGID /**/
517/*#define HAS_SETRESGID /**/
495c5fdc 518
519/* HAS_SETREUID:
520 * This symbol, if defined, indicates that the setreuid routine is
521 * available to change the real and effective uid of the current
522 * process.
523 */
524/* HAS_SETRESUID:
525 * This symbol, if defined, indicates that the setresuid routine is
526 * available to change the real, effective and saved uid of the current
527 * process.
528 */
1761cee5 529/*#define HAS_SETREUID /**/
530/*#define HAS_SETRESUID /**/
495c5fdc 531
532/* HAS_SETRGID:
533 * This symbol, if defined, indicates that the setrgid routine is available
534 * to change the real gid of the current program.
535 */
1761cee5 536/*#define HAS_SETRGID /**/
495c5fdc 537
538/* HAS_SETRUID:
539 * This symbol, if defined, indicates that the setruid routine is available
540 * to change the real uid of the current program.
541 */
1761cee5 542/*#define HAS_SETRUID /**/
495c5fdc 543
544/* HAS_SETSID:
545 * This symbol, if defined, indicates that the setsid routine is
546 * available to set the process group ID.
547 */
548/*#define HAS_SETSID /**/
549
495c5fdc 550/* Shmat_t:
551 * This symbol holds the return type of the shmat() system call.
552 * Usually set to 'void *' or 'char *'.
553 */
554/* HAS_SHMAT_PROTOTYPE:
555 * This symbol, if defined, indicates that the sys/shm.h includes
556 * a prototype for shmat(). Otherwise, it is up to the program to
c287c78d 557 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
495c5fdc 558 * but not always right so it should be emitted by the program only
559 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
560 */
1761cee5 561#define Shmat_t void * /**/
495c5fdc 562#define HAS_SHMAT_PROTOTYPE /**/
563
495c5fdc 564/* HAS_STRCHR:
565 * This symbol is defined to indicate that the strchr()/strrchr()
566 * functions are available for string searching. If not, try the
567 * index()/rindex() pair.
568 */
569/* HAS_INDEX:
570 * This symbol is defined to indicate that the index()/rindex()
571 * functions are available for string searching.
572 */
573#define HAS_STRCHR /**/
c287c78d 574/*#define HAS_INDEX /**/
495c5fdc 575
576/* HAS_STRCOLL:
577 * This symbol, if defined, indicates that the strcoll routine is
578 * available to compare strings using collating information.
579 */
580#define HAS_STRCOLL /**/
581
582/* USE_STRUCT_COPY:
583 * This symbol, if defined, indicates that this C compiler knows how
584 * to copy structures. If undefined, you'll need to use a block copy
585 * routine of some sort instead.
586 */
1761cee5 587#define USE_STRUCT_COPY /**/
495c5fdc 588
589/* HAS_STRTOD:
590 * This symbol, if defined, indicates that the strtod routine is
591 * available to provide better numeric string conversion than atof().
592 */
593#define HAS_STRTOD /**/
594
595/* HAS_STRTOL:
596 * This symbol, if defined, indicates that the strtol routine is available
597 * to provide better numeric string conversion than atoi() and friends.
598 */
599#define HAS_STRTOL /**/
600
601/* HAS_STRTOUL:
602 * This symbol, if defined, indicates that the strtoul routine is
603 * available to provide conversion of strings to unsigned long.
604 */
605#define HAS_STRTOUL /**/
606
607/* HAS_STRXFRM:
608 * This symbol, if defined, indicates that the strxfrm() routine is
609 * available to transform strings.
610 */
611#define HAS_STRXFRM /**/
612
613/* HAS_SYMLINK:
614 * This symbol, if defined, indicates that the symlink routine is available
615 * to create symbolic links.
616 */
617#define HAS_SYMLINK /**/
618
619/* HAS_SYSCALL:
620 * This symbol, if defined, indicates that the syscall routine is
621 * available to call arbitrary system calls. If undefined, that's tough.
622 */
623/*#define HAS_SYSCALL /**/
624
625/* HAS_SYSCONF:
626 * This symbol, if defined, indicates that sysconf() is available
627 * to determine system related limits and options.
628 */
629#define HAS_SYSCONF /**/
630
631/* HAS_SYSTEM:
632 * This symbol, if defined, indicates that the system routine is
633 * available to issue a shell command.
634 */
635#define HAS_SYSTEM /**/
636
637/* HAS_TCGETPGRP:
638 * This symbol, if defined, indicates that the tcgetpgrp routine is
639 * available to get foreground process group ID.
640 */
1761cee5 641/*#define HAS_TCGETPGRP /**/
495c5fdc 642
643/* HAS_TCSETPGRP:
644 * This symbol, if defined, indicates that the tcsetpgrp routine is
645 * available to set foreground process group ID.
646 */
1761cee5 647/*#define HAS_TCSETPGRP /**/
495c5fdc 648
649/* HAS_TRUNCATE:
650 * This symbol, if defined, indicates that the truncate routine is
651 * available to truncate files.
652 */
653/*#define HAS_TRUNCATE /**/
654
655/* HAS_TZNAME:
656 * This symbol, if defined, indicates that the tzname[] array is
657 * available to access timezone names.
658 */
1761cee5 659#define HAS_TZNAME /**/
495c5fdc 660
661/* HAS_UMASK:
662 * This symbol, if defined, indicates that the umask routine is
663 * available to set and get the value of the file creation mask.
664 */
1761cee5 665#define HAS_UMASK /**/
495c5fdc 666
667/* HASVOLATILE:
668 * This symbol, if defined, indicates that this C compiler knows about
669 * the volatile declaration.
670 */
1761cee5 671#define HASVOLATILE /**/
495c5fdc 672#ifndef HASVOLATILE
1761cee5 673#define volatile
495c5fdc 674#endif
675
676/* HAS_WAIT4:
677 * This symbol, if defined, indicates that wait4() exists.
678 */
679/*#define HAS_WAIT4 /**/
680
681/* HAS_WAITPID:
682 * This symbol, if defined, indicates that the waitpid routine is
683 * available to wait for child process.
684 */
685#define HAS_WAITPID /**/
686
687/* HAS_WCSTOMBS:
688 * This symbol, if defined, indicates that the wcstombs routine is
689 * available to convert wide character strings to multibyte strings.
690 */
691#define HAS_WCSTOMBS /**/
692
693/* HAS_WCTOMB:
694 * This symbol, if defined, indicates that the wctomb routine is available
695 * to covert a wide character to a multibyte.
696 */
1761cee5 697#define HAS_WCTOMB /**/
495c5fdc 698
699/* I_ARPA_INET:
c287c78d 700 * This symbol, if defined, indicates to the C program that it should
701 * include <arpa/inet.h> to get inet_addr and friends declarations.
495c5fdc 702 */
1761cee5 703#define I_ARPA_INET /**/
495c5fdc 704
705/* I_DBM:
706 * This symbol, if defined, indicates that <dbm.h> exists and should
707 * be included.
708 */
709/* I_RPCSVC_DBM:
710 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
711 * should be included.
712 */
713/*#define I_DBM /**/
714/*#define I_RPCSVC_DBM /**/
715
716/* I_DIRENT:
717 * This symbol, if defined, indicates to the C program that it should
718 * include <dirent.h>. Using this symbol also triggers the definition
719 * of the Direntry_t define which ends up being 'struct dirent' or
720 * 'struct direct' depending on the availability of <dirent.h>.
721 */
722/* DIRNAMLEN:
723 * This symbol, if defined, indicates to the C program that the length
724 * of directory entry names is provided by a d_namlen field. Otherwise
725 * you need to do strlen() on the d_name field.
726 */
727/* Direntry_t:
728 * This symbol is set to 'struct direct' or 'struct dirent' depending on
729 * whether dirent is available or not. You should use this pseudo type to
730 * portably declare your directory entries.
731 */
1761cee5 732#define I_DIRENT /**/
c287c78d 733/*#define DIRNAMLEN /**/
495c5fdc 734#define Direntry_t struct dirent
735
736/* I_DLFCN:
737 * This symbol, if defined, indicates that <dlfcn.h> exists and should
738 * be included.
739 */
1761cee5 740/*#define I_DLFCN /**/
495c5fdc 741
742/* I_FCNTL:
743 * This manifest constant tells the C program to include <fcntl.h>.
744 */
745#define I_FCNTL /**/
746
747/* I_FLOAT:
748 * This symbol, if defined, indicates to the C program that it should
749 * include <float.h> to get definition of symbols like DBL_MAX or
750 * DBL_MIN, i.e. machine dependent floating point values.
751 */
1761cee5 752#define I_FLOAT /**/
495c5fdc 753
754/* I_LIMITS:
755 * This symbol, if defined, indicates to the C program that it should
756 * include <limits.h> to get definition of symbols like WORD_BIT or
757 * LONG_MAX, i.e. machine dependant limitations.
758 */
1761cee5 759#define I_LIMITS /**/
495c5fdc 760
761/* I_LOCALE:
762 * This symbol, if defined, indicates to the C program that it should
763 * include <locale.h>.
764 */
1761cee5 765#define I_LOCALE /**/
495c5fdc 766
767/* I_MATH:
768 * This symbol, if defined, indicates to the C program that it should
769 * include <math.h>.
770 */
1761cee5 771#define I_MATH /**/
495c5fdc 772
773/* I_MEMORY:
774 * This symbol, if defined, indicates to the C program that it should
775 * include <memory.h>.
776 */
1761cee5 777/*#define I_MEMORY /**/
495c5fdc 778
779/* I_NDBM:
780 * This symbol, if defined, indicates that <ndbm.h> exists and should
781 * be included.
782 */
783/*#define I_NDBM /**/
784
785/* I_NET_ERRNO:
786 * This symbol, if defined, indicates that <net/errno.h> exists and
787 * should be included.
788 */
1761cee5 789/*#define I_NET_ERRNO /**/
495c5fdc 790
791/* I_NETINET_IN:
792 * This symbol, if defined, indicates to the C program that it should
793 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
794 */
1761cee5 795#define I_NETINET_IN /**/
495c5fdc 796
797/* I_SFIO:
798 * This symbol, if defined, indicates to the C program that it should
799 * include <sfio.h>.
800 */
1761cee5 801/*#define I_SFIO /**/
495c5fdc 802
803/* I_STDDEF:
804 * This symbol, if defined, indicates that <stddef.h> exists and should
805 * be included.
806 */
807#define I_STDDEF /**/
808
809/* I_STDLIB:
810 * This symbol, if defined, indicates that <stdlib.h> exists and should
811 * be included.
812 */
1761cee5 813#define I_STDLIB /**/
495c5fdc 814
815/* I_STRING:
816 * This symbol, if defined, indicates to the C program that it should
817 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
818 */
1761cee5 819#define I_STRING /**/
495c5fdc 820
821/* I_SYS_DIR:
822 * This symbol, if defined, indicates to the C program that it should
823 * include <sys/dir.h>.
824 */
1761cee5 825/*#define I_SYS_DIR /**/
495c5fdc 826
827/* I_SYS_FILE:
828 * This symbol, if defined, indicates to the C program that it should
829 * include <sys/file.h> to get definition of R_OK and friends.
830 */
1761cee5 831/*#define I_SYS_FILE /**/
495c5fdc 832
833/* I_SYS_IOCTL:
834 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
835 * be included. Otherwise, include <sgtty.h> or <termio.h>.
836 */
1761cee5 837#define I_SYS_IOCTL /**/
495c5fdc 838
839/* I_SYS_NDIR:
840 * This symbol, if defined, indicates to the C program that it should
841 * include <sys/ndir.h>.
842 */
c287c78d 843/*#define I_SYS_NDIR /**/
495c5fdc 844
845/* I_SYS_PARAM:
846 * This symbol, if defined, indicates to the C program that it should
847 * include <sys/param.h>.
848 */
1761cee5 849/*#define I_SYS_PARAM /**/
495c5fdc 850
851/* I_SYS_RESOURCE:
852 * This symbol, if defined, indicates to the C program that it should
853 * include <sys/resource.h>.
854 */
1761cee5 855/*#define I_SYS_RESOURCE /**/
495c5fdc 856
857/* I_SYS_SELECT:
858 * This symbol, if defined, indicates to the C program that it should
859 * include <sys/select.h> in order to get definition of struct timeval.
860 */
1761cee5 861#define I_SYS_SELECT /**/
495c5fdc 862
863/* I_SYS_STAT:
864 * This symbol, if defined, indicates to the C program that it should
865 * include <sys/stat.h>.
866 */
1761cee5 867#define I_SYS_STAT /**/
495c5fdc 868
869/* I_SYS_TIMES:
870 * This symbol, if defined, indicates to the C program that it should
871 * include <sys/times.h>.
872 */
1761cee5 873#define I_SYS_TIMES /**/
495c5fdc 874
875/* I_SYS_TYPES:
876 * This symbol, if defined, indicates to the C program that it should
877 * include <sys/types.h>.
878 */
1761cee5 879#define I_SYS_TYPES /**/
495c5fdc 880
881/* I_SYS_UN:
882 * This symbol, if defined, indicates to the C program that it should
883 * include <sys/un.h> to get UNIX domain socket definitions.
884 */
1761cee5 885/*#define I_SYS_UN /**/
495c5fdc 886
887/* I_SYS_WAIT:
888 * This symbol, if defined, indicates to the C program that it should
889 * include <sys/wait.h>.
890 */
891#define I_SYS_WAIT /**/
892
893/* I_TERMIO:
894 * This symbol, if defined, indicates that the program should include
895 * <termio.h> rather than <sgtty.h>. There are also differences in
896 * the ioctl() calls that depend on the value of this symbol.
897 */
898/* I_TERMIOS:
899 * This symbol, if defined, indicates that the program should include
900 * the POSIX termios.h rather than sgtty.h or termio.h.
901 * There are also differences in the ioctl() calls that depend on the
902 * value of this symbol.
903 */
904/* I_SGTTY:
905 * This symbol, if defined, indicates that the program should include
906 * <sgtty.h> rather than <termio.h>. There are also differences in
907 * the ioctl() calls that depend on the value of this symbol.
908 */
1761cee5 909/*#define I_TERMIO /**/
910#define I_TERMIOS /**/
911/*#define I_SGTTY /**/
495c5fdc 912
913/* I_UNISTD:
914 * This symbol, if defined, indicates to the C program that it should
915 * include <unistd.h>.
916 */
1761cee5 917#define I_UNISTD /**/
495c5fdc 918
919/* I_UTIME:
920 * This symbol, if defined, indicates to the C program that it should
921 * include <utime.h>.
922 */
1761cee5 923#define I_UTIME /**/
495c5fdc 924
925/* I_VALUES:
926 * This symbol, if defined, indicates to the C program that it should
927 * include <values.h> to get definition of symbols like MINFLOAT or
928 * MAXLONG, i.e. machine dependant limitations. Probably, you
929 * should use <limits.h> instead, if it is available.
930 */
1761cee5 931#define I_VALUES /**/
495c5fdc 932
933/* I_STDARG:
934 * This symbol, if defined, indicates that <stdarg.h> exists and should
935 * be included.
936 */
937/* I_VARARGS:
938 * This symbol, if defined, indicates to the C program that it should
939 * include <varargs.h>.
940 */
1761cee5 941#define I_STDARG /**/
c287c78d 942/*#define I_VARARGS /**/
495c5fdc 943
944/* I_VFORK:
945 * This symbol, if defined, indicates to the C program that it should
946 * include vfork.h.
947 */
c287c78d 948/*#define I_VFORK /**/
495c5fdc 949
950/* CAN_PROTOTYPE:
951 * If defined, this macro indicates that the C compiler can handle
952 * function prototypes.
953 */
954/* _:
955 * This macro is used to declare function parameters for folks who want
956 * to make declarations with prototypes using a different style than
957 * the above macros. Use double parentheses. For example:
958 *
959 * int main _((int argc, char *argv[]));
960 */
1761cee5 961#define CAN_PROTOTYPE /**/
495c5fdc 962#ifdef CAN_PROTOTYPE
1761cee5 963#define _(args) args
495c5fdc 964#else
1761cee5 965#define _(args) ()
495c5fdc 966#endif
967
968/* SH_PATH:
969 * This symbol contains the full pathname to the shell used on this
970 * on this system to execute Bourne shell scripts. Usually, this will be
971 * /bin/sh, though it's possible that some systems will have /bin/ksh,
972 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
973 * D:/bin/sh.exe.
974 */
1761cee5 975#define SH_PATH "/bin/sh" /**/
495c5fdc 976
977/* STDCHAR:
978 * This symbol is defined to be the type of char used in stdio.h.
979 * It has the values "unsigned char" or "char".
980 */
1761cee5 981#define STDCHAR unsigned char /**/
c287c78d 982
983/* HAS_QUAD:
984 * This symbol, if defined, tells that there's a 64-bit integer type,
985 * Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one
986 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T.
987 */
988/*#define HAS_QUAD /**/
989#ifdef HAS_QUAD
1761cee5 990# define Quad_t _error_ /**/
991# define Uquad_t _error_ /**/
992# define QUADKIND _error_ /**/
c287c78d 993# define QUAD_IS_INT 1
994# define QUAD_IS_LONG 2
995# define QUAD_IS_LONG_LONG 3
996# define QUAD_IS_INT64_T 4
997#endif
998
999/* HAS_ACCESSX:
1000 * This symbol, if defined, indicates that the accessx routine is
1001 * available to do extended access checks.
1002 */
1761cee5 1003/*#define HAS_ACCESSX /**/
c287c78d 1004
1005/* HAS_EACCESS:
1006 * This symbol, if defined, indicates that the eaccess routine is
1007 * available to do extended access checks.
1008 */
1761cee5 1009/*#define HAS_EACCESS /**/
c287c78d 1010
1011/* I_SYS_ACCESS:
1012 * This symbol, if defined, indicates to the C program that it should
1013 * include <sys/access.h>.
1014 */
1761cee5 1015/*#define I_SYS_ACCESS /**/
c287c78d 1016
1017/* I_SYS_SECURITY:
1018 * This symbol, if defined, indicates to the C program that it should
1019 * include <sys/security.h>.
1020 */
1761cee5 1021/*#define I_SYS_SECURITY /**/
c287c78d 1022
1761cee5 1023/* CROSSCOMPILE:
1024 * This symbol, if defined, signifies that we our
1025 * build process is a cross-compilation.
1026 */
1027/*#define CROSSCOMPILE /**/
1028
1029/* INTSIZE:
1030 * This symbol contains the value of sizeof(int) so that the C
1031 * preprocessor can make decisions based on it.
1032 */
1033/* LONGSIZE:
1034 * This symbol contains the value of sizeof(long) so that the C
1035 * preprocessor can make decisions based on it.
1036 */
1037/* SHORTSIZE:
1038 * This symbol contains the value of sizeof(short) so that the C
1039 * preprocessor can make decisions based on it.
1040 */
1041#define INTSIZE 4 /**/
1042#define LONGSIZE 4 /**/
1043#define SHORTSIZE 2 /**/
1044
1045/* MULTIARCH:
1046 * This symbol, if defined, signifies that the build
1047 * process will produce some binary files that are going to be
1048 * used in a cross-platform environment. This is the case for
1049 * example with the NeXT "fat" binaries that contain executables
1050 * for several CPUs.
c287c78d 1051 */
1761cee5 1052/*#define MULTIARCH /**/
495c5fdc 1053
1054/* MEM_ALIGNBYTES:
c287c78d 1055 * This symbol contains the number of bytes required to align a
1056 * double. Usual values are 2, 4 and 8. The default is eight,
1057 * for safety.
1058 */
1059#if defined(CROSSCOMPILE) || defined(MULTIARCH)
1060# define MEM_ALIGNBYTES 8
1061#else
1062#define MEM_ALIGNBYTES 8
1063#endif
1064
495c5fdc 1065/* BYTEORDER:
1066 * This symbol holds the hexadecimal constant defined in byteorder,
1067 * i.e. 0x1234 or 0x4321, etc...
c287c78d 1068 * If the compiler supports cross-compiling or multiple-architecture
1069 * binaries (eg. on NeXT systems), use compiler-defined macros to
1070 * determine the byte order.
495c5fdc 1071 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
1072 * Binaries (MAB) on either big endian or little endian machines.
1073 * The endian-ness is available at compile-time. This only matters
1074 * for perl, where the config.h can be generated and installed on
1075 * one system, and used by a different architecture to build an
1076 * extension. Older versions of NeXT that might not have
1077 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1078 * so the default case (for NeXT) is big endian to catch them.
1079 * This might matter for NeXT 3.0.
1080 */
c287c78d 1081#if defined(CROSSCOMPILE) || defined(MULTIARCH)
1082# ifdef __LITTLE_ENDIAN__
1083# if LONGSIZE == 4
1084# define BYTEORDER 0x1234
1085# else
1086# if LONGSIZE == 8
1087# define BYTEORDER 0x12345678
1088# endif
1089# endif
1090# else
1091# ifdef __BIG_ENDIAN__
1092# if LONGSIZE == 4
1093# define BYTEORDER 0x4321
1094# else
1095# if LONGSIZE == 8
1096# define BYTEORDER 0x87654321
1097# endif
1098# endif
1099# endif
1100# endif
1101# if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
1102# define BYTEORDER 0x4321
1103# endif
1104#else
1761cee5 1105#define BYTEORDER 0x4321 /* large digits for MSB */
495c5fdc 1106#endif /* NeXT */
1107
1108/* CASTI32:
1109 * This symbol is defined if the C compiler can cast negative
1110 * or large floating point numbers to 32-bit ints.
1111 */
1761cee5 1112/*#define CASTI32 /**/
495c5fdc 1113
1114/* CASTNEGFLOAT:
1115 * This symbol is defined if the C compiler can cast negative
1116 * numbers to unsigned longs, ints and shorts.
1117 */
1118/* CASTFLAGS:
1119 * This symbol contains flags that say what difficulties the compiler
1120 * has casting odd floating values to unsigned long:
1121 * 0 = ok
1122 * 1 = couldn't cast < 0
1123 * 2 = couldn't cast >= 0x80000000
1124 * 4 = couldn't cast in argument expression list
1125 */
1761cee5 1126#define CASTNEGFLOAT /**/
1127#define CASTFLAGS 0 /**/
495c5fdc 1128
1129/* VOID_CLOSEDIR:
1130 * This symbol, if defined, indicates that the closedir() routine
1131 * does not return a value.
1132 */
1761cee5 1133/*#define VOID_CLOSEDIR /**/
c287c78d 1134
1135/* HAS_FD_SET:
1136 * This symbol, when defined, indicates presence of the fd_set typedef
1137 * in <sys/types.h>
1138 */
1139/*#define HAS_FD_SET /**/
1140
c287c78d 1141/* Gconvert:
1142 * This preprocessor macro is defined to convert a floating point
1143 * number to a string without a trailing decimal point. This
1144 * emulates the behavior of sprintf("%g"), but is sometimes much more
1145 * efficient. If gconvert() is not available, but gcvt() drops the
1146 * trailing decimal point, then gcvt() is used. If all else fails,
1147 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1148 * macro are: value, number of digits, whether trailing zeros should
1149 * be retained, and the output buffer.
1150 * Possible values are:
1151 * d_Gconvert='gconvert((x),(n),(t),(b))'
1152 * d_Gconvert='gcvt((x),(n),(b))'
1153 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1154 * The last two assume trailing zeros should not be kept.
1155 */
1156#define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))
1157
1761cee5 1158/* HAS_GNULIBC:
1159 * This symbol, if defined, indicates to the C program that
1160 * the GNU C library is being used.
1161 */
1162/*#define HAS_GNULIBC /**/
1163/* HAS_ISASCII:
1164 * This manifest constant lets the C program know that isascii
1165 * is available.
c287c78d 1166 */
1761cee5 1167#define HAS_ISASCII /**/
c287c78d 1168
1761cee5 1169/* HAS_LCHOWN:
1170 * This symbol, if defined, indicates that the lchown routine is
1171 * available to operate on a symbolic link (instead of following the
1172 * link).
c287c78d 1173 */
1761cee5 1174/*#define HAS_LCHOWN /**/
c287c78d 1175
1761cee5 1176/* HAS_OPEN3:
1177 * This manifest constant lets the C program know that the three
1178 * argument form of open(2) is available.
c287c78d 1179 */
1761cee5 1180#define HAS_OPEN3 /**/
c287c78d 1181
1761cee5 1182/* HAS_SAFE_BCOPY:
1183 * This symbol, if defined, indicates that the bcopy routine is available
1184 * to copy potentially overlapping memory blocks. Otherwise you should
1185 * probably use memmove() or memcpy(). If neither is defined, roll your
1186 * own version.
c287c78d 1187 */
1761cee5 1188/*#define HAS_SAFE_BCOPY /**/
c287c78d 1189
1761cee5 1190/* HAS_SAFE_MEMCPY:
1191 * This symbol, if defined, indicates that the memcpy routine is available
1192 * to copy potentially overlapping memory blocks. Otherwise you should
1193 * probably use memmove() or memcpy(). If neither is defined, roll your
1194 * own version.
1195 */
1196/*#define HAS_SAFE_MEMCPY /**/
1197
1198/* HAS_SANE_MEMCMP:
1199 * This symbol, if defined, indicates that the memcmp routine is available
1200 * and can be used to compare relative magnitudes of chars with their high
1201 * bits set. If it is not defined, roll your own version.
1202 */
1203#define HAS_SANE_MEMCMP /**/
1204
1205/* HAS_SIGACTION:
1206 * This symbol, if defined, indicates that Vr4's sigaction() routine
1207 * is available.
1208 */
1209/*#define HAS_SIGACTION /**/
1210
1211/* HAS_SIGSETJMP:
1212 * This variable indicates to the C program that the sigsetjmp()
1213 * routine is available to save the calling process's registers
1214 * and stack environment for later use by siglongjmp(), and
1215 * to optionally save the process's signal mask. See
1216 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
1217 */
1218/* Sigjmp_buf:
1219 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1220 */
1221/* Sigsetjmp:
1222 * This macro is used in the same way as sigsetjmp(), but will invoke
1223 * traditional setjmp() if sigsetjmp isn't available.
1224 * See HAS_SIGSETJMP.
1225 */
1226/* Siglongjmp:
1227 * This macro is used in the same way as siglongjmp(), but will invoke
1228 * traditional longjmp() if siglongjmp isn't available.
1229 * See HAS_SIGSETJMP.
1230 */
1231/*#define HAS_SIGSETJMP /**/
1232#ifdef HAS_SIGSETJMP
1233#define Sigjmp_buf sigjmp_buf
1234#define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1235#define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
1236#else
1237#define Sigjmp_buf jmp_buf
1238#define Sigsetjmp(buf,save_mask) setjmp((buf))
1239#define Siglongjmp(buf,retval) longjmp((buf),(retval))
1240#endif
1241
1242/* USE_STDIO_PTR:
1243 * This symbol is defined if the _ptr and _cnt fields (or similar)
1244 * of the stdio FILE structure can be used to access the stdio buffer
1245 * for a file handle. If this is defined, then the FILE_ptr(fp)
1246 * and FILE_cnt(fp) macros will also be defined and should be used
1247 * to access these fields.
1248 */
1249/* FILE_ptr:
1250 * This macro is used to access the _ptr field (or equivalent) of the
1251 * FILE structure pointed to by its argument. This macro will always be
1252 * defined if USE_STDIO_PTR is defined.
1253 */
1254/* STDIO_PTR_LVALUE:
1255 * This symbol is defined if the FILE_ptr macro can be used as an
1256 * lvalue.
1257 */
1258/* FILE_cnt:
1259 * This macro is used to access the _cnt field (or equivalent) of the
1260 * FILE structure pointed to by its argument. This macro will always be
1261 * defined if USE_STDIO_PTR is defined.
1262 */
1263/* STDIO_CNT_LVALUE:
1264 * This symbol is defined if the FILE_cnt macro can be used as an
1265 * lvalue.
1266 */
1267#define USE_STDIO_PTR /**/
1268#ifdef USE_STDIO_PTR
1269#define FILE_ptr(fp) ((fp)->_ptr)
1270#define STDIO_PTR_LVALUE /**/
1271#define FILE_cnt(fp) ((fp)->_cnt)
1272#define STDIO_CNT_LVALUE /**/
1273#endif
1274
1275/* USE_STDIO_BASE:
1276 * This symbol is defined if the _base field (or similar) of the
1277 * stdio FILE structure can be used to access the stdio buffer for
1278 * a file handle. If this is defined, then the FILE_base(fp) macro
1279 * will also be defined and should be used to access this field.
1280 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
1281 * to determine the number of bytes in the buffer. USE_STDIO_BASE
1282 * will never be defined unless USE_STDIO_PTR is.
1283 */
1284/* FILE_base:
1285 * This macro is used to access the _base field (or equivalent) of the
1286 * FILE structure pointed to by its argument. This macro will always be
1287 * defined if USE_STDIO_BASE is defined.
1288 */
1289/* FILE_bufsiz:
1290 * This macro is used to determine the number of bytes in the I/O
1291 * buffer pointed to by _base field (or equivalent) of the FILE
1292 * structure pointed to its argument. This macro will always be defined
1293 * if USE_STDIO_BASE is defined.
1294 */
1295#define USE_STDIO_BASE /**/
1296#ifdef USE_STDIO_BASE
1297#define FILE_base(fp) ((fp)->_base)
1298#define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base)
1299#endif
1300
1301/* HAS_VPRINTF:
1302 * This symbol, if defined, indicates that the vprintf routine is available
1303 * to printf with a pointer to an argument list. If unavailable, you
1304 * may need to write your own, probably in terms of _doprnt().
1305 */
1306/* USE_CHAR_VSPRINTF:
1307 * This symbol is defined if this system has vsprintf() returning type
1308 * (char*). The trend seems to be to declare it as "int vsprintf()". It
1309 * is up to the package author to declare vsprintf correctly based on the
1310 * symbol.
1311 */
1312#define HAS_VPRINTF /**/
1313/*#define USE_CHAR_VSPRINTF /**/
1314
1315/* DOUBLESIZE:
1316 * This symbol contains the size of a double, so that the C preprocessor
1317 * can make decisions based on it.
1318 */
1319#define DOUBLESIZE 8 /**/
1320
1321/* I_TIME:
1322 * This symbol, if defined, indicates to the C program that it should
1323 * include <time.h>.
1324 */
1325/* I_SYS_TIME:
1326 * This symbol, if defined, indicates to the C program that it should
1327 * include <sys/time.h>.
1328 */
1329/* I_SYS_TIME_KERNEL:
1330 * This symbol, if defined, indicates to the C program that it should
1331 * include <sys/time.h> with KERNEL defined.
1332 */
1333/*#define I_TIME /**/
1334#define I_SYS_TIME /**/
1335/*#define I_SYS_TIME_KERNEL /**/
1336
1337/* VAL_O_NONBLOCK:
1338 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
1339 * non-blocking I/O for the file descriptor. Note that there is no way
1340 * back, i.e. you cannot turn it blocking again this way. If you wish to
1341 * alternatively switch between blocking and non-blocking, use the
1342 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
1343 */
1344/* VAL_EAGAIN:
1345 * This symbol holds the errno error code set by read() when no data was
1346 * present on the non-blocking file descriptor.
1347 */
1348/* RD_NODATA:
1349 * This symbol holds the return code from read() when no data is present
1350 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
1351 * not defined, then you can't distinguish between no data and EOF by
1352 * issuing a read(). You'll have to find another way to tell for sure!
1353 */
1354/* EOF_NONBLOCK:
1355 * This symbol, if defined, indicates to the C program that a read() on
1356 * a non-blocking file descriptor will return 0 on EOF, and not the value
1357 * held in RD_NODATA (-1 usually, in that case!).
1358 */
1359#define VAL_O_NONBLOCK O_NONBLOCK
1360#define VAL_EAGAIN EAGAIN
1361#define RD_NODATA -1
1362#define EOF_NONBLOCK
1363
1364/* PTRSIZE:
1365 * This symbol contains the size of a pointer, so that the C preprocessor
1366 * can make decisions based on it. It will be sizeof(void *) if
1367 * the compiler supports (void *); otherwise it will be
1368 * sizeof(char *).
1369 */
1370#define PTRSIZE 4 /**/
1371
1372/* Drand01:
1373 * This macro is to be used to generate uniformly distributed
1374 * random numbers over the range [0., 1.[. You may have to supply
1375 * an 'extern double drand48();' in your program since SunOS 4.1.3
1376 * doesn't provide you with anything relevant in it's headers.
1377 * See HAS_DRAND48_PROTO.
1378 */
1379/* Rand_seed_t:
1380 * This symbol defines the type of the argument of the
1381 * random seed function.
1382 */
1383/* seedDrand01:
1384 * This symbol defines the macro to be used in seeding the
1385 * random number generator (see Drand01).
1386 */
1387/* RANDBITS:
1388 * This symbol indicates how many bits are produced by the
1389 * function used to generate normalized random numbers.
1390 * Values include 15, 16, 31, and 48.
1391 */
1392#define Drand01() rand()/(RAND_MAX+1) /**/
1393#define Rand_seed_t unsigned int /**/
1394#define seedDrand01(x) srand((Rand_seed_t)x) /**/
1395#define RANDBITS 15 /**/
1396
1397/* SSize_t:
1398 * This symbol holds the type used by functions that return
1399 * a count of bytes or an error condition. It must be a signed type.
1400 * It is usually ssize_t, but may be long or int, etc.
1401 * It may be necessary to include <sys/types.h> or <unistd.h>
1402 * to get any typedef'ed information.
1403 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
1404 */
1405#define SSize_t ssize_t /* signed count of bytes */
1406
1407/* EBCDIC:
1408 * This symbol, if defined, indicates that this system uses
1409 * EBCDIC encoding.
1410 */
1411/*#define EBCDIC /**/
1412
1413/* ARCHLIB:
1414 * This variable, if defined, holds the name of the directory in
1415 * which the user wants to put architecture-dependent public
1416 * library files for perl5. It is most often a local directory
1417 * such as /usr/local/lib. Programs using this variable must be
1418 * prepared to deal with filename expansion. If ARCHLIB is the
1419 * same as PRIVLIB, it is not defined, since presumably the
1420 * program already searches PRIVLIB.
1421 */
1422/* ARCHLIB_EXP:
1423 * This symbol contains the ~name expanded version of ARCHLIB, to be used
1424 * in programs that are not prepared to deal with ~ expansion at run-time.
1425 */
1426/*#define ARCHLIB "" /**/
1427/*#define ARCHLIB_EXP "" /**/
1428
1429/* BIN:
1430 * This symbol holds the path of the bin directory where the package will
1431 * be installed. Program must be prepared to deal with ~name substitution.
1432 */
1433/* BIN_EXP:
1434 * This symbol is the filename expanded version of the BIN symbol, for
1435 * programs that do not want to deal with that at run-time.
1436 */
1437#define BIN "/system/ported/command_library" /**/
1438#define BIN_EXP "/system/ported/command_library" /**/
1439
1440/* INSTALL_USR_BIN_PERL:
1441 * This symbol, if defined, indicates that Perl is to be installed
1442 * also as /usr/bin/perl.
1443 */
1444/*#define INSTALL_USR_BIN_PERL /**/
1445
1446/* PRIVLIB:
1447 * This symbol contains the name of the private library for this package.
1448 * The library is private in the sense that it needn't be in anyone's
1449 * execution path, but it should be accessible by the world. The program
1450 * should be prepared to do ~ expansion.
1451 */
1452/* PRIVLIB_EXP:
1453 * This symbol contains the ~name expanded version of PRIVLIB, to be used
1454 * in programs that are not prepared to deal with ~ expansion at run-time.
1455 */
1456#define PRIVLIB "/system/ported/perl/lib/5.005" /**/
1457#define PRIVLIB_EXP "/system/ported/perl/lib/5.005" /**/
1458
1459/* SITEARCH:
1460 * This symbol contains the name of the private library for this package.
1461 * The library is private in the sense that it needn't be in anyone's
1462 * execution path, but it should be accessible by the world. The program
1463 * should be prepared to do ~ expansion.
1464 * The standard distribution will put nothing in this directory.
1465 * After perl has been installed, users may install their own local
1466 * architecture-dependent modules in this directory with
1467 * MakeMaker Makefile.PL
1468 * or equivalent. See INSTALL for details.
1469 */
1470/* SITEARCH_EXP:
1471 * This symbol contains the ~name expanded version of SITEARCH, to be used
1472 * in programs that are not prepared to deal with ~ expansion at run-time.
1473 */
1474/*#define SITEARCH "" /**/
1475/*#define SITEARCH_EXP "" /**/
1476
1477/* SITELIB:
1478 * This symbol contains the name of the private library for this package.
1479 * The library is private in the sense that it needn't be in anyone's
1480 * execution path, but it should be accessible by the world. The program
1481 * should be prepared to do ~ expansion.
1482 * The standard distribution will put nothing in this directory.
1483 * After perl has been installed, users may install their own local
1484 * architecture-independent modules in this directory with
1485 * MakeMaker Makefile.PL
1486 * or equivalent. See INSTALL for details.
1487 */
1488/* SITELIB_EXP:
1489 * This symbol contains the ~name expanded version of SITELIB, to be used
1490 * in programs that are not prepared to deal with ~ expansion at run-time.
1491 */
1492#define SITELIB "/system/ported/perl/lib/site/5.005" /**/
1493#define SITELIB_EXP "/system/ported/perl/lib/site/5.005" /**/
1494
1495/* PERL_VENDORLIB_EXP:
1496 * This symbol contains the ~name expanded version of VENDORLIB, to be used
1497 * in programs that are not prepared to deal with ~ expansion at run-time.
1498 */
1499#define PERL_VENDORLIB_EXP "" /**/
1500
1501/* OSNAME:
1502 * This symbol contains the name of the operating system, as determined
1503 * by Configure. You shouldn't rely on it too much; the specific
1504 * feature tests from Configure are generally more reliable.
1505 */
1506#define OSNAME "VOS" /**/
1507
1508/* CAT2:
1509 * This macro catenates 2 tokens together.
1510 */
1511/* STRINGIFY:
1512 * This macro surrounds its token with double quotes.
1513 */
1514#if 42 == 1
1515#define CAT2(a,b)a/**/b
1516#define STRINGIFY(a)"a"
1517 /* If you can get stringification with catify, tell me how! */
1518#endif
1519#if 42 == 42
1520#define CAT2(a,b)a ## b
1521#define StGiFy(a)# a
1522#define STRINGIFY(a)StGiFy(a)
1523#endif
1524#if 42 != 1 && 42 != 42
1525#include "Bletch: How does this C preprocessor catenate tokens?"
1526#endif
1527
1528/* CPPSTDIN:
1529 * This symbol contains the first part of the string which will invoke
1530 * the C preprocessor on the standard input and produce to standard
1531 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
1532 * call a wrapper. See CPPRUN.
1533 */
1534/* CPPMINUS:
1535 * This symbol contains the second part of the string which will invoke
1536 * the C preprocessor on the standard input and produce to standard
1537 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
1538 * to specify standard input, otherwise the value is "".
1539 */
1540/* CPPRUN:
1541 * This symbol contains the string which will invoke a C preprocessor on
1542 * the standard input and produce to standard output. It needs to end
1543 * with CPPLAST, after all other preprocessor flags have been specified.
1544 * The main difference with CPPSTDIN is that this program will never be a
1545 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1546 * available directly to the user. Note that it may well be different from
1547 * the preprocessor used to compile the C program.
1548 */
1549/* CPPLAST:
1550 * This symbol is intended to be used along with CPPRUN in the same manner
1551 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1552 */
1553#define CPPSTDIN "cc -E"
1554#define CPPMINUS "-"
1555#define CPPRUN "cc -E -"
1556#define CPPLAST "-"
1557
1558/* HAS_ACCESS:
1559 * This manifest constant lets the C program know that the access()
1560 * system call is available to check for accessibility using real UID/GID.
1561 * (always present on UNIX.)
1562 */
1563/*#define HAS_ACCESS /**/
1564
1565/* HAS_CSH:
1566 * This symbol, if defined, indicates that the C-shell exists.
1567 */
1568/* CSH:
1569 * This symbol, if defined, contains the full pathname of csh.
1570 */
1571/*#define HAS_CSH /**/
1572#ifdef HAS_CSH
1573#define CSH "" /**/
1574#endif
1575
1576/* HAS_ENDGRENT:
1577 * This symbol, if defined, indicates that the getgrent routine is
1578 * available for finalizing sequential access of the group database.
1579 */
1580/*#define HAS_ENDGRENT /**/
1581
1582/* HAS_ENDHOSTENT:
1583 * This symbol, if defined, indicates that the endhostent() routine is
1584 * available to close whatever was being used for host queries.
1585 */
1586#define HAS_ENDHOSTENT /**/
1587
1588/* HAS_ENDNETENT:
1589 * This symbol, if defined, indicates that the endnetent() routine is
1590 * available to close whatever was being used for network queries.
1591 */
1592#define HAS_ENDNETENT /**/
1593
1594/* HAS_ENDPROTOENT:
1595 * This symbol, if defined, indicates that the endprotoent() routine is
1596 * available to close whatever was being used for protocol queries.
1597 */
1598#define HAS_ENDPROTOENT /**/
1599
1600/* HAS_ENDPWENT:
1601 * This symbol, if defined, indicates that the getgrent routine is
1602 * available for finalizing sequential access of the passwd database.
1603 */
1604/*#define HAS_ENDPWENT /**/
1605
1606/* HAS_ENDSERVENT:
1607 * This symbol, if defined, indicates that the endservent() routine is
1608 * available to close whatever was being used for service queries.
1609 */
1610#define HAS_ENDSERVENT /**/
1611
1612/* HAS_GETGRENT:
1613 * This symbol, if defined, indicates that the getgrent routine is
1614 * available for sequential access of the group database.
1615 */
1616/*#define HAS_GETGRENT /**/
1617
1618/* HAS_GETHOSTBYADDR:
1619 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1620 * available to look up hosts by their IP addresses.
1621 */
1622#define HAS_GETHOSTBYADDR /**/
1623
1624/* HAS_GETHOSTBYNAME:
1625 * This symbol, if defined, indicates that the gethostbyname() routine is
1626 * available to look up host names in some data base or other.
1627 */
1628#define HAS_GETHOSTBYNAME /**/
1629
1630/* HAS_GETHOSTENT:
1631 * This symbol, if defined, indicates that the gethostent() routine is
1632 * available to look up host names in some data base or another.
1633 */
1634#define HAS_GETHOSTENT /**/
1635
1636/* HAS_GETHOSTNAME:
1637 * This symbol, if defined, indicates that the C program may use the
c287c78d 1638 * gethostname() routine to derive the host name. See also HAS_UNAME
1639 * and PHOSTNAME.
1640 */
1641/* HAS_UNAME:
1642 * This symbol, if defined, indicates that the C program may use the
1643 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1644 * and PHOSTNAME.
1645 */
1761cee5 1646/* PHOSTNAME:
1647 * This symbol, if defined, indicates the command to feed to the
1648 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1649 * and HAS_UNAME. Note that the command uses a fully qualified path,
1650 * so that it is safe even if used by a process with super-user
1651 * privileges.
1652 */
1653/* HAS_PHOSTNAME:
1654 * This symbol, if defined, indicates that the C program may use the
1655 * contents of PHOSTNAME as a command to feed to the popen() routine
1656 * to derive the host name.
1657 */
1658#define HAS_GETHOSTNAME /**/
1659#define HAS_UNAME /**/
1660/*#define HAS_PHOSTNAME /**/
1661#ifdef HAS_PHOSTNAME
1662#define PHOSTNAME "" /* How to get the host name */
1663#endif
1664
1665/* HAS_GETNETBYADDR:
1666 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1667 * available to look up networks by their IP addresses.
1668 */
1669#define HAS_GETNETBYADDR /**/
1670
1671/* HAS_GETNETBYNAME:
1672 * This symbol, if defined, indicates that the getnetbyname() routine is
1673 * available to look up networks by their names.
1674 */
1675#define HAS_GETNETBYNAME /**/
1676
1677/* HAS_GETNETENT:
1678 * This symbol, if defined, indicates that the getnetent() routine is
1679 * available to look up network names in some data base or another.
1680 */
1681#define HAS_GETNETENT /**/
1682
1683/* HAS_GETPROTOENT:
1684 * This symbol, if defined, indicates that the getprotoent() routine is
1685 * available to look up protocols in some data base or another.
1686 */
1687#define HAS_GETPROTOENT /**/
1688
1689/* HAS_GETPROTOBYNAME:
1690 * This symbol, if defined, indicates that the getprotobyname()
1691 * routine is available to look up protocols by their name.
1692 */
1693/* HAS_GETPROTOBYNUMBER:
1694 * This symbol, if defined, indicates that the getprotobynumber()
1695 * routine is available to look up protocols by their number.
1696 */
1697#define HAS_GETPROTOBYNAME /**/
1698#define HAS_GETPROTOBYNUMBER /**/
1699
1700/* HAS_GETPWENT:
1701 * This symbol, if defined, indicates that the getpwent routine is
1702 * available for sequential access of the passwd database.
1703 * If this is not available, the older getpw() function may be available.
1704 */
1705/*#define HAS_GETPWENT /**/
1706
1707/* HAS_GETSERVENT:
1708 * This symbol, if defined, indicates that the getservent() routine is
1709 * available to look up network services in some data base or another.
1710 */
1711#define HAS_GETSERVENT /**/
1712
1713/* HAS_GETSERVBYNAME:
1714 * This symbol, if defined, indicates that the getservbyname()
1715 * routine is available to look up services by their name.
1716 */
1717/* HAS_GETSERVBYPORT:
1718 * This symbol, if defined, indicates that the getservbyport()
1719 * routine is available to look up services by their port.
1720 */
1721#define HAS_GETSERVBYNAME /**/
1722#define HAS_GETSERVBYPORT /**/
1723
1724/* HAS_HTONL:
1725 * This symbol, if defined, indicates that the htonl() routine (and
1726 * friends htons() ntohl() ntohs()) are available to do network
1727 * order byte swapping.
1728 */
1729/* HAS_HTONS:
1730 * This symbol, if defined, indicates that the htons() routine (and
1731 * friends htonl() ntohl() ntohs()) are available to do network
1732 * order byte swapping.
1733 */
1734/* HAS_NTOHL:
1735 * This symbol, if defined, indicates that the ntohl() routine (and
1736 * friends htonl() htons() ntohs()) are available to do network
1737 * order byte swapping.
1738 */
1739/* HAS_NTOHS:
1740 * This symbol, if defined, indicates that the ntohs() routine (and
1741 * friends htonl() htons() ntohl()) are available to do network
1742 * order byte swapping.
1743 */
1744#define HAS_HTONL /**/
1745#define HAS_HTONS /**/
1746#define HAS_NTOHL /**/
1747#define HAS_NTOHS /**/
1748
1749/* HAS_LONG_DOUBLE:
1750 * This symbol will be defined if the C compiler supports long
1751 * doubles.
1752 */
1753/* LONG_DOUBLESIZE:
1754 * This symbol contains the size of a long double, so that the
1755 * C preprocessor can make decisions based on it. It is only
1756 * defined if the system supports long doubles.
1757 */
1758#define HAS_LONG_DOUBLE /**/
1759#ifdef HAS_LONG_DOUBLE
1760#define LONG_DOUBLESIZE 8 /**/
1761#endif
1762
1763/* HAS_LONG_LONG:
1764 * This symbol will be defined if the C compiler supports long long.
1765 */
1766/* LONGLONGSIZE:
1767 * This symbol contains the size of a long long, so that the
1768 * C preprocessor can make decisions based on it. It is only
1769 * defined if the system supports long long.
1770 */
1771/*#define HAS_LONG_LONG /**/
1772#ifdef HAS_LONG_LONG
1773#define LONGLONGSIZE _error_ /**/
1774#endif
1775
1776/* HAS_MEMCHR:
1777 * This symbol, if defined, indicates that the memchr routine is available
1778 * to locate characters within a C string.
1779 */
1780#define HAS_MEMCHR /**/
1781
1782/* HAS_MSG:
1783 * This symbol, if defined, indicates that the entire msg*(2) library is
1784 * supported (IPC mechanism based on message queues).
1785 */
1786/*#define HAS_MSG /**/
1787
1788/* HAS_SEM:
1789 * This symbol, if defined, indicates that the entire sem*(2) library is
1790 * supported.
1791 */
1792/*#define HAS_SEM /**/
1793
1794/* HAS_SETGRENT:
1795 * This symbol, if defined, indicates that the setgrent routine is
1796 * available for initializing sequential access of the group database.
1797 */
1798/*#define HAS_SETGRENT /**/
1799
1800/* HAS_SETGROUPS:
1801 * This symbol, if defined, indicates that the setgroups() routine is
1802 * available to set the list of process groups. If unavailable, multiple
1803 * groups are probably not supported.
1804 */
1805/*#define HAS_SETGROUPS /**/
1806
1807/* HAS_SETHOSTENT:
1808 * This symbol, if defined, indicates that the sethostent() routine is
1809 * available.
1810 */
1811#define HAS_SETHOSTENT /**/
1812
1813/* HAS_SETNETENT:
1814 * This symbol, if defined, indicates that the setnetent() routine is
1815 * available.
1816 */
1817#define HAS_SETNETENT /**/
1818
1819/* HAS_SETPROTOENT:
1820 * This symbol, if defined, indicates that the setprotoent() routine is
1821 * available.
1822 */
1823#define HAS_SETPROTOENT /**/
1824
1825/* HAS_SETPWENT:
1826 * This symbol, if defined, indicates that the setpwent routine is
1827 * available for initializing sequential access of the passwd database.
1828 */
1829/*#define HAS_SETPWENT /**/
1830
1831/* HAS_SETSERVENT:
1832 * This symbol, if defined, indicates that the setservent() routine is
1833 * available.
1834 */
1835#define HAS_SETSERVENT /**/
1836
1837/* HAS_SETVBUF:
1838 * This symbol, if defined, indicates that the setvbuf routine is
1839 * available to change buffering on an open stdio stream.
1840 * to a line-buffered mode.
1841 */
1842#define HAS_SETVBUF /**/
1843
1844/* HAS_SHM:
1845 * This symbol, if defined, indicates that the entire shm*(2) library is
1846 * supported.
1847 */
1848/*#define HAS_SHM /**/
1849
1850/* HAS_SOCKET:
1851 * This symbol, if defined, indicates that the BSD socket interface is
1852 * supported.
1853 */
1854/* HAS_SOCKETPAIR:
1855 * This symbol, if defined, indicates that the BSD socketpair() call is
1856 * supported.
1857 */
1858/* HAS_MSG_CTRUNC:
1859 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
1860 * Checking just with #ifdef might not be enough because this symbol
1861 * has been known to be an enum.
1862 */
1863/* HAS_MSG_DONTROUTE:
1864 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
1865 * Checking just with #ifdef might not be enough because this symbol
1866 * has been known to be an enum.
1867 */
1868/* HAS_MSG_OOB:
1869 * This symbol, if defined, indicates that the MSG_OOB is supported.
1870 * Checking just with #ifdef might not be enough because this symbol
1871 * has been known to be an enum.
1872 */
1873/* HAS_MSG_PEEK:
1874 * This symbol, if defined, indicates that the MSG_PEEK is supported.
1875 * Checking just with #ifdef might not be enough because this symbol
1876 * has been known to be an enum.
1877 */
1878/* HAS_MSG_PROXY:
1879 * This symbol, if defined, indicates that the MSG_PROXY is supported.
1880 * Checking just with #ifdef might not be enough because this symbol
1881 * has been known to be an enum.
1882 */
1883/* HAS_SCM_RIGHTS:
1884 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
1885 * Checking just with #ifdef might not be enough because this symbol
1886 * has been known to be an enum.
c287c78d 1887 */
1761cee5 1888#define HAS_SOCKET /**/
1889/*#define HAS_SOCKETPAIR /**/
1890/*#define HAS_MSG_CTRUNC /**/
1891/*#define HAS_MSG_DONTROUTE /**/
1892/*#define HAS_MSG_OOB /**/
1893/*#define HAS_MSG_PEEK /**/
1894/*#define HAS_MSG_PROXY /**/
1895/*#define HAS_SCM_RIGHTS /**/
c287c78d 1896
1761cee5 1897/* USE_STAT_BLOCKS:
1898 * This symbol is defined if this system has a stat structure declaring
1899 * st_blksize and st_blocks.
c287c78d 1900 */
1761cee5 1901#ifndef USE_STAT_BLOCKS
1902/*#define USE_STAT_BLOCKS /**/
1903#endif
c287c78d 1904
1761cee5 1905/* HAS_STRERROR:
1906 * This symbol, if defined, indicates that the strerror routine is
1907 * available to translate error numbers to strings. See the writeup
1908 * of Strerror() in this file before you try to define your own.
c287c78d 1909 */
1761cee5 1910/* HAS_SYS_ERRLIST:
1911 * This symbol, if defined, indicates that the sys_errlist array is
1912 * available to translate error numbers to strings. The extern int
1913 * sys_nerr gives the size of that table.
c287c78d 1914 */
1761cee5 1915/* Strerror:
1916 * This preprocessor symbol is defined as a macro if strerror() is
1917 * not available to translate error numbers to strings but sys_errlist[]
1918 * array is there.
c287c78d 1919 */
1761cee5 1920#define HAS_STRERROR /**/
1921#define HAS_SYS_ERRLIST /**/
1922#define Strerror(e) strerror(e)
c287c78d 1923
1761cee5 1924/* HAS_UNION_SEMUN:
1925 * This symbol, if defined, indicates that the union semun is
1926 * defined by including <sys/sem.h>. If not, the user code
1927 * probably needs to define it as:
1928 * union semun {
1929 * int val;
1930 * struct semid_ds *buf;
1931 * unsigned short *array;
1932 * }
c287c78d 1933 */
1761cee5 1934/* USE_SEMCTL_SEMUN:
1935 * This symbol, if defined, indicates that union semun is
1936 * used for semctl IPC_STAT.
c287c78d 1937 */
1761cee5 1938/* USE_SEMCTL_SEMID_DS:
1939 * This symbol, if defined, indicates that struct semid_ds * is
1940 * used for semctl IPC_STAT.
c287c78d 1941 */
1761cee5 1942/*#define HAS_UNION_SEMUN /**/
1943/*#define USE_SEMCTL_SEMUN /**/
1944/*#define USE_SEMCTL_SEMID_DS /**/
c287c78d 1945
1761cee5 1946/* HAS_VFORK:
1947 * This symbol, if defined, indicates that vfork() exists.
c287c78d 1948 */
1761cee5 1949/*#define HAS_VFORK /**/
c287c78d 1950
1761cee5 1951/* Signal_t:
1952 * This symbol's value is either "void" or "int", corresponding to the
1953 * appropriate return type of a signal handler. Thus, you can declare
1954 * a signal handler using "Signal_t (*handler)()", and define the
1955 * handler using "Signal_t handler(sig)".
c287c78d 1956 */
1761cee5 1957#define Signal_t void /* Signal handler's return type */
c287c78d 1958
1761cee5 1959/* Groups_t:
1960 * This symbol holds the type used for the second argument to
1961 * getgroups() and setgropus(). Usually, this is the same as
1962 * gidtype (gid_t) , but sometimes it isn't.
1963 * It can be int, ushort, uid_t, etc...
1964 * It may be necessary to include <sys/types.h> to get any
1965 * typedef'ed information. This is only required if you have
1966 * getgroups() or setgropus()..
c287c78d 1967 */
1761cee5 1968#if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
1969#define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
1970#endif
c287c78d 1971
1761cee5 1972/* I_GRP:
1973 * This symbol, if defined, indicates to the C program that it should
1974 * include <grp.h>.
c287c78d 1975 */
1761cee5 1976/* GRPASSWD:
1977 * This symbol, if defined, indicates to the C program that struct group
1978 * in <grp.h> contains gr_passwd.
c287c78d 1979 */
1761cee5 1980/*#define I_GRP /**/
1981/*#define GRPASSWD /**/
c287c78d 1982
1761cee5 1983/* I_NETDB:
1984 * This symbol, if defined, indicates that <netdb.h> exists and
1985 * should be included.
c287c78d 1986 */
1761cee5 1987#define I_NETDB /**/
c287c78d 1988
1761cee5 1989/* I_PWD:
1990 * This symbol, if defined, indicates to the C program that it should
1991 * include <pwd.h>.
c287c78d 1992 */
1761cee5 1993/* PWQUOTA:
1994 * This symbol, if defined, indicates to the C program that struct passwd
1995 * contains pw_quota.
c287c78d 1996 */
1761cee5 1997/* PWAGE:
1998 * This symbol, if defined, indicates to the C program that struct passwd
1999 * contains pw_age.
c287c78d 2000 */
1761cee5 2001/* PWCHANGE:
2002 * This symbol, if defined, indicates to the C program that struct passwd
2003 * contains pw_change.
c287c78d 2004 */
1761cee5 2005/* PWCLASS:
2006 * This symbol, if defined, indicates to the C program that struct passwd
2007 * contains pw_class.
c287c78d 2008 */
1761cee5 2009/* PWEXPIRE:
2010 * This symbol, if defined, indicates to the C program that struct passwd
2011 * contains pw_expire.
c287c78d 2012 */
1761cee5 2013/* PWCOMMENT:
2014 * This symbol, if defined, indicates to the C program that struct passwd
2015 * contains pw_comment.
c287c78d 2016 */
1761cee5 2017/* PWGECOS:
2018 * This symbol, if defined, indicates to the C program that struct passwd
2019 * contains pw_gecos.
c287c78d 2020 */
1761cee5 2021/* PWPASSWD:
2022 * This symbol, if defined, indicates to the C program that struct passwd
2023 * contains pw_passwd.
c287c78d 2024 */
1761cee5 2025/*#define I_PWD /**/
2026/*#define PWQUOTA /**/
2027/*#define PWAGE /**/
2028/*#define PWCHANGE /**/
2029/*#define PWCLASS /**/
2030/*#define PWEXPIRE /**/
2031/*#define PWCOMMENT /**/
2032/*#define PWGECOS /**/
2033/*#define PWPASSWD /**/
2034
2035/* I_SYSUIO:
2036 * This symbol, if defined, indicates that <sys/uio.h> exists and
2037 * should be included.
c287c78d 2038 */
1761cee5 2039/*#define I_SYSUIO /**/
c287c78d 2040
1761cee5 2041/* Free_t:
2042 * This variable contains the return type of free(). It is usually
2043 * void, but occasionally int.
c287c78d 2044 */
1761cee5 2045/* Malloc_t:
2046 * This symbol is the type of pointer returned by malloc and realloc.
2047 */
2048#define Malloc_t void * /**/
2049#define Free_t void /**/
c287c78d 2050
1761cee5 2051/* MYMALLOC:
2052 * This symbol, if defined, indicates that we're using our own malloc.
c287c78d 2053 */
1761cee5 2054/*#define MYMALLOC /**/
c287c78d 2055
1761cee5 2056/* SIG_NAME:
2057 * This symbol contains a list of signal names in order of
2058 * signal number. This is intended
2059 * to be used as a static array initialization, like this:
2060 * char *sig_name[] = { SIG_NAME };
2061 * The signals in the list are separated with commas, and each signal
2062 * is surrounded by double quotes. There is no leading SIG in the signal
2063 * name, i.e. SIGQUIT is known as "QUIT".
2064 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
2065 * etc., where nn is the actual signal number (e.g. NUM37).
2066 * The signal number for sig_name[i] is stored in sig_num[i].
2067 * The last element is 0 to terminate the list with a NULL. This
2068 * corresponds to the 0 at the end of the sig_num list.
2069 */
2070/* SIG_NUM:
2071 * This symbol contains a list of signal numbers, in the same order as the
2072 * SIG_NAME list. It is suitable for static array initialization, as in:
2073 * int sig_num[] = { SIG_NUM };
2074 * The signals in the list are separated with commas, and the indices
2075 * within that list and the SIG_NAME list match, so it's easy to compute
2076 * the signal name from a number or vice versa at the price of a small
2077 * dynamic linear lookup.
2078 * Duplicates are allowed, but are moved to the end of the list.
2079 * The signal number corresponding to sig_name[i] is sig_number[i].
2080 * if (i < NSIG) then sig_number[i] == i.
2081 * The last element is 0, corresponding to the 0 at the end of
2082 * the sig_name list.
c287c78d 2083 */
1761cee5 2084#define SIG_NAME "ZERO","ABRT","FPE","ILL","INT","SEGV","TERM","USR1","USR2","IO","HUP","URG","ALRM","KILL","PIPE","QUIT","CHLD","CONT","STOP","TSTP","TTIN","TTOU","BUS","RT1","RT2","RT3","RT4","RT5","RT6","RT7","RT8",0 /**/
2085#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,0 /**/
c287c78d 2086
1761cee5 2087/* VOIDFLAGS:
2088 * This symbol indicates how much support of the void type is given by this
2089 * compiler. What various bits mean:
2090 *
2091 * 1 = supports declaration of void
2092 * 2 = supports arrays of pointers to functions returning void
2093 * 4 = supports comparisons between pointers to void functions and
2094 * addresses of void functions
2095 * 8 = suports declaration of generic void pointers
2096 *
2097 * The package designer should define VOIDUSED to indicate the requirements
2098 * of the package. This can be done either by #defining VOIDUSED before
2099 * including config.h, or by defining defvoidused in Myinit.U. If the
2100 * latter approach is taken, only those flags will be tested. If the
2101 * level of void support necessary is not present, defines void to int.
c287c78d 2102 */
1761cee5 2103#ifndef VOIDUSED
2104#define VOIDUSED 15
c287c78d 2105#endif
1761cee5 2106#define VOIDFLAGS 15
2107#if (VOIDFLAGS & VOIDUSED) != VOIDUSED
2108#define void int /* is void to be avoided? */
2109#define M_VOID /* Xenix strikes again */
c287c78d 2110#endif
2111
1761cee5 2112/* HAS_ATOLF:
2113 * This symbol, if defined, indicates that the atolf routine is
2114 * available to convert strings into long doubles.
495c5fdc 2115 */
1761cee5 2116/*#define HAS_ATOLF /**/
c287c78d 2117
1761cee5 2118/* HAS_ATOLL:
2119 * This symbol, if defined, indicates that the atoll routine is
2120 * available to convert strings into long longs.
c287c78d 2121 */
1761cee5 2122/*#define HAS_ATOLL /**/
495c5fdc 2123
1761cee5 2124/* PERL_BINCOMPAT_5005:
2125 * This symbol, if defined, indicates that Perl 5.006 should be
2126 * binary-compatible with Perl 5.005. This is impossible for builds
2127 * that use features like threads and multiplicity it is always $undef
2128 * for those versions.
495c5fdc 2129 */
1761cee5 2130/*#define PERL_BINCOMPAT_5005 /**/
c287c78d 2131
1761cee5 2132/* DLSYM_NEEDS_UNDERSCORE:
2133 * This symbol, if defined, indicates that we need to prepend an
2134 * underscore to the symbol name before calling dlsym(). This only
2135 * makes sense if you *have* dlsym, which we will presume is the
2136 * case if you're using dl_dlopen.xs.
c287c78d 2137 */
1761cee5 2138/*#define DLSYM_NEEDS_UNDERSCORE /**/
c287c78d 2139
1761cee5 2140/* HAS_ENDSPENT:
2141 * This symbol, if defined, indicates that the endspent system call is
2142 * available to finalize the scan of SysV shadow password entries.
c287c78d 2143 */
1761cee5 2144/*#define HAS_ENDSPENT /**/
495c5fdc 2145
1761cee5 2146/* HAS_STRUCT_FS_DATA:
2147 * This symbol, if defined, indicates that the struct fs_data
2148 * to do statfs() is supported.
495c5fdc 2149 */
1761cee5 2150/*#define HAS_STRUCT_FS_DATA /**/
495c5fdc 2151
1761cee5 2152/* HAS_FSEEKO:
2153 * This symbol, if defined, indicates that the fseeko routine is
2154 * available to fseek beyond 32 bits (useful for ILP32 hosts).
495c5fdc 2155 */
1761cee5 2156/*#define HAS_FSEEKO /**/
495c5fdc 2157
1761cee5 2158/* HAS_FSTATFS:
2159 * This symbol, if defined, indicates that the fstatfs routine is
2160 * available to stat filesystems by file descriptors.
495c5fdc 2161 */
1761cee5 2162/*#define HAS_FSTATFS /**/
2163/* HAS_FTELLO:
2164 * This symbol, if defined, indicates that the ftello routine is
2165 * available to ftell beyond 32 bits (useful for ILP32 hosts).
495c5fdc 2166 */
1761cee5 2167/*#define HAS_FTELLO /**/
495c5fdc 2168
1761cee5 2169/* HAS_GETMNT:
2170 * This symbol, if defined, indicates that the getmnt routine is
2171 * available to get filesystem mount info by filename.
495c5fdc 2172 */
1761cee5 2173/*#define HAS_GETMNT /**/
495c5fdc 2174
1761cee5 2175/* HAS_GETMNTENT:
2176 * This symbol, if defined, indicates that the getmntent routine is
2177 * available to iterate through mounted file systems to get their info.
495c5fdc 2178 */
1761cee5 2179/*#define HAS_GETMNTENT /**/
495c5fdc 2180
1761cee5 2181/* HAS_GETSPENT:
2182 * This symbol, if defined, indicates that the getspent system call is
2183 * available to retrieve SysV shadow password entries sequentially.
495c5fdc 2184 */
1761cee5 2185/*#define HAS_GETSPENT /**/
c287c78d 2186
1761cee5 2187/* HAS_GETSPNAM:
2188 * This symbol, if defined, indicates that the getspnam system call is
2189 * available to retrieve SysV shadow password entries by name.
495c5fdc 2190 */
1761cee5 2191/*#define HAS_GETSPNAM /**/
c287c78d 2192
1761cee5 2193/* HAS_HASMNTOPT:
2194 * This symbol, if defined, indicates that the hasmntopt routine is
2195 * available to query the mount options of file systems.
495c5fdc 2196 */
1761cee5 2197/*#define HAS_HASMNTOPT /**/
495c5fdc 2198
1761cee5 2199/* HAS_INT64_T:
2200 * This symbol will defined if the C compiler supports int64_t.
2201 * Usually the <inttypes.h> needs to be included, but sometimes
2202 * <sys/types.h> is enough.
495c5fdc 2203 */
1761cee5 2204/*#define HAS_INT64_T /**/
c287c78d 2205
1761cee5 2206/* HAS_LDBL_DIG:
2207 * This symbol, if defined, indicates that this system's <float.h>
2208 * or <limits.h> defines the symbol LDBL_DIG, which is the number
2209 * of significant digits in a long double precision number. Unlike
2210 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
495c5fdc 2211 */
1761cee5 2212#define HAS_LDBL_DIG /* */
495c5fdc 2213
c287c78d 2214/* HAS_SETSPENT:
2215 * This symbol, if defined, indicates that the setspent system call is
2216 * available to initialize the scan of SysV shadow password entries.
495c5fdc 2217 */
1761cee5 2218/*#define HAS_SETSPENT /**/
c287c78d 2219
2220/* USE_SFIO:
2221 * This symbol, if defined, indicates that sfio should
2222 * be used.
495c5fdc 2223 */
1761cee5 2224/*#define USE_SFIO /**/
c287c78d 2225
2226/* HAS_SQRTL:
2227 * This symbol, if defined, indicates that the sqrtl routine is
2228 * available to do long double square roots.
2229 */
1761cee5 2230/*#define HAS_SQRTL /**/
495c5fdc 2231
c287c78d 2232/* HAS_STRUCT_STATFS_F_FLAGS:
2233 * This symbol, if defined, indicates that the struct statfs
2234 * does have the f_flags member containing the mount flags of
2235 * the filesystem containing the file.
2236 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
2237 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
2238 * have statfs() and struct statfs, they have ustat() and getmnt()
2239 * with struct ustat and struct fs_data.
495c5fdc 2240 */
1761cee5 2241/*#define HAS_STRUCT_STATFS_F_FLAGS /**/
495c5fdc 2242
c287c78d 2243/* HAS_STRUCT_STATFS:
2244 * This symbol, if defined, indicates that the struct statfs
2245 * to do statfs() is supported.
495c5fdc 2246 */
c287c78d 2247/*#define HAS_STRUCT_STATFS /**/
495c5fdc 2248
c287c78d 2249/* HAS_FSTATVFS:
2250 * This symbol, if defined, indicates that the fstatvfs routine is
2251 * available to stat filesystems by file descriptors.
495c5fdc 2252 */
1761cee5 2253/*#define HAS_FSTATVFS /**/
495c5fdc 2254
c287c78d 2255/* HAS_TELLDIR_PROTO:
2256 * This symbol, if defined, indicates that the system provides
2257 * a prototype for the telldir() function. Otherwise, it is up
2258 * to the program to supply one. A good guess is
2259 * extern long telldir _((DIR*));
495c5fdc 2260 */
1761cee5 2261/*#define HAS_TELLDIR_PROTO /**/
495c5fdc 2262
c287c78d 2263/* HAS_USTAT:
2264 * This symbol, if defined, indicates that the ustat system call is
2265 * available to query file system statistics by dev_t.
495c5fdc 2266 */
1761cee5 2267/*#define HAS_USTAT /**/
495c5fdc 2268
c287c78d 2269/* USE_DYNAMIC_LOADING:
2270 * This symbol, if defined, indicates that dynamic loading of
2271 * some sort is available.
495c5fdc 2272 */
1761cee5 2273/*#define USE_DYNAMIC_LOADING /**/
c287c78d 2274
2275/* FFLUSH_NULL:
2276 * This symbol, if defined, tells that fflush(NULL) does flush
2277 * all pending stdio output.
2278 */
2279/* FFLUSH_ALL:
2280 * This symbol, if defined, tells that to flush
2281 * all pending stdio output one must loop through all
2282 * the stdio file handles stored in an array and fflush them.
2283 * Note that if fflushNULL is defined, fflushall will not
2284 * even be probed for and will be left undefined.
495c5fdc 2285 */
1761cee5 2286#define FFLUSH_NULL /**/
2287/*#define FFLUSH_ALL /**/
495c5fdc 2288
c287c78d 2289/* DB_Prefix_t:
2290 * This symbol contains the type of the prefix structure element
2291 * in the <db.h> header file. In older versions of DB, it was
2292 * int, while in newer ones it is u_int32_t.
2293 */
2294/* DB_Hash_t:
2295 * This symbol contains the type of the prefix structure element
2296 * in the <db.h> header file. In older versions of DB, it was
2297 * int, while in newer ones it is size_t.
2298 */
1761cee5 2299#define DB_Hash_t int /**/
2300#define DB_Prefix_t int /**/
c287c78d 2301
2302/* I_INTTYPES:
2303 * This symbol, if defined, indicates to the C program that it should
2304 * include <inttypes.h>.
2305 */
1761cee5 2306/*#define I_INTTYPES /**/
c287c78d 2307
2308/* I_MNTENT:
2309 * This symbol, if defined, indicates that <mntent.h> exists and
2310 * should be included.
2311 */
1761cee5 2312/*#define I_MNTENT /**/
2313
2314/* I_NETINET_TCP:
2315 * This symbol, if defined, indicates to the C program that it should
2316 * include <netinet/tcp.h>.
495c5fdc 2317 */
1761cee5 2318/*#define I_NETINET_TCP /**/
2319
2320/* I_POLL:
2321 * This symbol, if defined, indicates that <poll.h> exists and
2322 * should be included.
495c5fdc 2323 */
1761cee5 2324/*#define I_POLL /**/
c287c78d 2325
2326/* I_SHADOW:
2327 * This symbol, if defined, indicates that <shadow.h> exists and
2328 * should be included.
2329 */
1761cee5 2330/*#define I_SHADOW /**/
c287c78d 2331
2332/* I_SOCKS:
2333 * This symbol, if defined, indicates that <socks.h> exists and
2334 * should be included.
2335 */
1761cee5 2336/*#define I_SOCKS /**/
c287c78d 2337
2338/* I_SYS_MOUNT:
2339 * This symbol, if defined, indicates that <sys/mount.h> exists and
2340 * should be included.
2341 */
1761cee5 2342/*#define I_SYS_MOUNT /**/
c287c78d 2343
2344/* I_SYS_STATFS:
2345 * This symbol, if defined, indicates that <sys/statfs.h> exists.
2346 */
1761cee5 2347/*#define I_SYS_STATFS /**/
c287c78d 2348
2349/* I_SYS_STATVFS:
2350 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
2351 * should be included.
2352 */
1761cee5 2353/*#define I_SYS_STATVFS /**/
c287c78d 2354
2355/* I_SYS_VFS:
2356 * This symbol, if defined, indicates that <sys/vfs.h> exists and
2357 * should be included.
2358 */
1761cee5 2359/*#define I_SYS_VFS /**/
c287c78d 2360
2361/* I_USTAT:
2362 * This symbol, if defined, indicates that <ustat.h> exists and
2363 * should be included.
2364 */
1761cee5 2365/*#define I_USTAT /**/
c287c78d 2366
2367/* HAS_OFF64_T:
2368 * This symbol will be defined if the C compiler supports off64_t.
2369 */
2370/* HAS_FPOS64_T:
2371 * This symbol will be defined if the C compiler supports fpos64_t.
2372 */
1761cee5 2373/*#define HAS_OFF64_T /**/
2374/*#define HAS_FPOS64_T /**/
c287c78d 2375
2376/* PERL_PRIfldbl:
2377 * This symbol, if defined, contains the string used by stdio to
2378 * format long doubles (format 'f') for output.
2379 */
2380/* PERL_PRIgldbl:
2381 * This symbol, if defined, contains the string used by stdio to
2382 * format long doubles (format 'g') for output.
2383 */
1761cee5 2384#define PERL_PRIfldbl "Lf" /**/
2385#define PERL_PRIgldbl "Lg" /**/
c287c78d 2386
2387/* IVTYPE:
2388 * This symbol defines the C type used for Perl's IV.
2389 */
2390/* UVTYPE:
2391 * This symbol defines the C type used for Perl's UV.
2392 */
2393/* I8TYPE:
2394 * This symbol defines the C type used for Perl's I8.
2395 */
2396/* U8TYPE:
2397 * This symbol defines the C type used for Perl's U8.
2398 */
2399/* I16TYPE:
2400 * This symbol defines the C type used for Perl's I16.
2401 */
2402/* U16TYPE:
2403 * This symbol defines the C type used for Perl's U16.
2404 */
2405/* I32TYPE:
2406 * This symbol defines the C type used for Perl's I32.
2407 */
2408/* U32TYPE:
2409 * This symbol defines the C type used for Perl's U32.
2410 */
2411/* I64TYPE:
2412 * This symbol defines the C type used for Perl's I64.
2413 */
2414/* U64TYPE:
2415 * This symbol defines the C type used for Perl's U64.
2416 */
2417/* NVTYPE:
2418 * This symbol defines the C type used for Perl's NV.
2419 */
2420/* IVSIZE:
2421 * This symbol contains the sizeof(IV).
2422 */
2423/* UVSIZE:
2424 * This symbol contains the sizeof(UV).
2425 */
2426/* I8SIZE:
2427 * This symbol contains the sizeof(I8).
2428 */
2429/* U8SIZE:
2430 * This symbol contains the sizeof(U8).
2431 */
2432/* I16SIZE:
2433 * This symbol contains the sizeof(I16).
2434 */
2435/* U16SIZE:
2436 * This symbol contains the sizeof(U16).
2437 */
2438/* I32SIZE:
2439 * This symbol contains the sizeof(I32).
2440 */
2441/* U32SIZE:
2442 * This symbol contains the sizeof(U32).
2443 */
2444/* I64SIZE:
2445 * This symbol contains the sizeof(I64).
2446 */
2447/* U64SIZE:
1761cee5 2448 * This symbol contains the sizeof(U64).
495c5fdc 2449 */
1761cee5 2450#define IVTYPE int /**/
2451#define UVTYPE unsigned int /**/
2452#define I8TYPE char /**/
2453#define U8TYPE unsigned char /**/
2454#define I16TYPE short /**/
2455#define U16TYPE unsigned short /**/
2456#define I32TYPE int /**/
2457#define U32TYPE unsigned int /**/
2458#ifdef HAS_QUAD
2459#define I64TYPE _error_ /**/
2460#define U64TYPE _error_ /**/
2461#endif
2462#define NVTYPE double /**/
2463#define IVSIZE 4 /**/
2464#define UVSIZE 4 /**/
2465#define I8SIZE 1 /**/
2466#define U8SIZE 1 /**/
2467#define I16SIZE 2 /**/
2468#define U16SIZE 2 /**/
2469#define I32SIZE 4 /**/
2470#define U32SIZE 4 /**/
2471#ifdef HAS_QUAD
2472#define I64SIZE _error_ /**/
2473#define U64SIZE _error_ /**/
2474#endif
c287c78d 2475
1761cee5 2476/* IVdf:
2477 * This symbol defines the format string used for printing a Perl IV
2478 * as a signed decimal integer.
2479 */
2480/* UVuf:
2481 * This symbol defines the format string used for printing a Perl UV
2482 * as an unsigned decimal integer.
2483 */
2484/* UVof:
2485 * This symbol defines the format string used for printing a Perl UV
2486 * as an unsigned octal integer.
2487 */
2488/* UVxf:
2489 * This symbol defines the format string used for printing a Perl UV
2490 * as an unsigned hexadecimal integer.
c287c78d 2491 */
1761cee5 2492#define IVdf "d" /**/
2493#define UVuf "u" /**/
2494#define UVof "o" /**/
2495#define UVxf "x" /**/
c287c78d 2496
1761cee5 2497/* SELECT_MIN_BITS:
2498 * This symbol holds the minimum number of bits operated by select.
2499 * That is, if you do select(n, ...), how many bits at least will be
2500 * cleared in the masks if some activity is detected. Usually this
2501 * is either n or 32*ceil(n/32), especially many little-endians do
2502 * the latter. This is only useful if you have select(), naturally.
c287c78d 2503 */
1761cee5 2504#define SELECT_MIN_BITS 1 /**/
495c5fdc 2505
2506/* STARTPERL:
2507 * This variable contains the string to put in front of a perl
2508 * script to make sure (one hopes) that it runs with perl and not
2509 * some shell.
2510 */
1761cee5 2511#define STARTPERL "!perl.pm" /**/
495c5fdc 2512
c287c78d 2513/* HAS_STDIO_STREAM_ARRAY:
2514 * This symbol, if defined, tells that there is an array
2515 * holding the stdio streams.
495c5fdc 2516 */
c287c78d 2517/* STDIO_STREAM_ARRAY:
2518 * This symbol tells the name of the array holding the stdio streams.
2519 * Usual values include _iob, __iob, and __sF.
495c5fdc 2520 */
1761cee5 2521#define HAS_STDIO_STREAM_ARRAY /**/
2522#define STDIO_STREAM_ARRAY _iob
495c5fdc 2523
1761cee5 2524/* HAS_STRTOULL:
2525 * This symbol, if defined, indicates that the strtoull routine is
2526 * available to convert strings into unsigned long longs.
495c5fdc 2527 */
1761cee5 2528/*#define HAS_STRTOULL /**/
495c5fdc 2529
c287c78d 2530/* USE_64_BITS:
2531 * This symbol, if defined, indicates that 64-bit integers should
2532 * be used when available. If not defined, the native integers
2533 * will be used (be they 32 or 64 bits).
495c5fdc 2534 */
c287c78d 2535#ifndef USE_64_BITS
1761cee5 2536/*#define USE_64_BITS /**/
c287c78d 2537#endif
495c5fdc 2538
c287c78d 2539/* USE_LARGE_FILES:
2540 * This symbol, if defined, indicates that large file support
2541 * should be used when available. The USE_64_BITS symbol will
2542 * also be turned on if necessary.
495c5fdc 2543 */
c287c78d 2544#ifndef USE_LARGE_FILES
1761cee5 2545/*#define USE_LARGE_FILES /**/
c287c78d 2546#endif
495c5fdc 2547
c287c78d 2548/* USE_LONG_DOUBLE:
2549 * This symbol, if defined, indicates that long doubles should
2550 * be used when available.
c2da85ba 2551 */
c287c78d 2552#ifndef USE_LONG_DOUBLE
1761cee5 2553#define USE_LONG_DOUBLE /**/
c287c78d 2554#endif
c2da85ba 2555
c287c78d 2556#ifndef USE_MORE_BITS
1761cee5 2557/*#define USE_MORE_BITS /**/
c287c78d 2558#endif
495c5fdc 2559
c287c78d 2560/* MULTIPLICITY:
495c5fdc 2561 * This symbol, if defined, indicates that Perl should
c287c78d 2562 * be built to use multiplicity.
495c5fdc 2563 */
1761cee5 2564#ifndef MULTIPLICITY
2565/*#define MULTIPLICITY /**/
c287c78d 2566#endif
495c5fdc 2567
c287c78d 2568/* USE_PERLIO:
2569 * This symbol, if defined, indicates that the PerlIO abstraction should
2570 * be used throughout. If not defined, stdio should be
2571 * used in a fully backward compatible manner.
495c5fdc 2572 */
c287c78d 2573#ifndef USE_PERLIO
1761cee5 2574/*#define USE_PERLIO /**/
c287c78d 2575#endif
495c5fdc 2576
c287c78d 2577/* USE_SOCKS:
2578 * This symbol, if defined, indicates that Perl should
2579 * be built to use socks.
495c5fdc 2580 */
c287c78d 2581#ifndef USE_SOCKS
1761cee5 2582/*#define USE_SOCKS /**/
c287c78d 2583#endif
495c5fdc 2584
1761cee5 2585/* PERL_XS_APIVERSION:
2586 * This variable contains the version of the oldest perl binary
2587 * compatible with the present perl. perl.c:incpush() and
2588 * lib/lib.pm will automatically search in for older
2589 * directories across major versions back to xs_apiversion.
2590 * This is only useful if you have a perl library directory tree
2591 * structured like the default one.
2592 * See INSTALL for how this works.
2593 * The versioned site_perl directory was introduced in 5.005,
2594 * so that is the lowest possible value.
2595 * Since this can depend on compile time options (such as
2596 * bincompat) it is set by Configure. Other non-default sources
2597 * of potential incompatibility, such as multiplicity, threads,
2598 * debugging, 64bits, sfio, etc., are not checked for currently,
2599 * though in principle we could go snooping around in old
2600 * Config.pm files.
2601 */
2602/* PERL_PM_APIVERSION:
2603 * This variable contains the version of the oldest perl
2604 * compatible with the present perl. (That is, pure perl modules
2605 * written for pm_apiversion will still work for the current
2606 * version). perl.c:incpush() and lib/lib.pm will automatically
2607 * search in /system/ported/perl/lib/site/5.005 for older directories across major versions
2608 * back to pm_apiversion. This is only useful if you have a perl
2609 * library directory tree structured like the default one. The
2610 * versioned site_perl library was introduced in 5.005, so that's
2611 * the default setting for this variable. It's hard to imagine
2612 * it changing before Perl6. It is included here for symmetry
2613 * with xs_apiveprsion -- the searching algorithms will
2614 * (presumably) be similar.
2615 * See the INSTALL file for how this works.
2616 */
2617#define PERL_XS_APIVERSION 5.00563 /* Change to string for tuples?*/
2618#define PERL_PM_APIVERSION 5.00563 /* Change to string for tuples?*/
2619
2620/* HAS_DRAND48_PROTO:
2621 * This symbol, if defined, indicates that the system provides
2622 * a prototype for the drand48() function. Otherwise, it is up
2623 * to the program to supply one. A good guess is
2624 * extern double drand48 _((void));
2625 */
2626/*#define HAS_DRAND48_PROTO /**/
2627
2628/* HAS_GETHOST_PROTOS:
2629 * This symbol, if defined, indicates that <netdb.h> includes
2630 * prototypes for gethostent(), gethostbyname(), and
2631 * gethostbyaddr(). Otherwise, it is up to the program to guess
2632 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2633 */
2634#define HAS_GETHOST_PROTOS /**/
2635
2636/* HAS_GETNET_PROTOS:
2637 * This symbol, if defined, indicates that <netdb.h> includes
2638 * prototypes for getnetent(), getnetbyname(), and
2639 * getnetbyaddr(). Otherwise, it is up to the program to guess
2640 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2641 */
2642#define HAS_GETNET_PROTOS /**/
2643
2644/* HAS_GETPROTO_PROTOS:
2645 * This symbol, if defined, indicates that <netdb.h> includes
2646 * prototypes for getprotoent(), getprotobyname(), and
2647 * getprotobyaddr(). Otherwise, it is up to the program to guess
2648 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2649 */
2650#define HAS_GETPROTO_PROTOS /**/
2651
2652/* HAS_GETSERV_PROTOS:
2653 * This symbol, if defined, indicates that <netdb.h> includes
2654 * prototypes for getservent(), getservbyname(), and
2655 * getservbyaddr(). Otherwise, it is up to the program to guess
2656 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2657 */
2658#define HAS_GETSERV_PROTOS /**/
2659
2660/* Netdb_host_t:
2661 * This symbol holds the type used for the 1st argument
2662 * to gethostbyaddr().
2663 */
2664/* Netdb_hlen_t:
2665 * This symbol holds the type used for the 2nd argument
2666 * to gethostbyaddr().
2667 */
2668/* Netdb_name_t:
2669 * This symbol holds the type used for the argument to
2670 * gethostbyname().
2671 */
2672/* Netdb_net_t:
2673 * This symbol holds the type used for the 1st argument to
2674 * getnetbyaddr().
2675 */
2676#define Netdb_host_t char * /**/
2677#define Netdb_hlen_t int /**/
2678#define Netdb_name_t char * /**/
2679#define Netdb_net_t long /**/
2680
2681/* Select_fd_set_t:
2682 * This symbol holds the type used for the 2nd, 3rd, and 4th
2683 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
2684 * is defined, and 'int *' otherwise. This is only useful if you
2685 * have select(), of course.
2686 */
2687#define Select_fd_set_t fd_set * /**/
2688
2689/* ARCHNAME:
2690 * This symbol holds a string representing the architecture name.
2691 * It may be used to construct an architecture-dependant pathname
2692 * where library files may be held under a private library, for
2693 * instance.
2694 */
2695#define ARCHNAME "vos" /**/
2696
2697/* OLD_PTHREAD_CREATE_JOINABLE:
2698 * This symbol, if defined, indicates how to create pthread
2699 * in joinable (aka undetached) state. NOTE: not defined
2700 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
2701 * (the new version of the constant).
2702 * If defined, known values are PTHREAD_CREATE_UNDETACHED
2703 * and __UNDETACHED.
2704 */
2705/*#define OLD_PTHREAD_CREATE_JOINABLE /**/
2706
2707/* HAS_PTHREAD_YIELD:
2708 * This symbol, if defined, indicates that the pthread_yield
2709 * routine is available to yield the execution of the current
2710 * thread. sched_yield is preferable to pthread_yield.
2711 */
2712/* SCHED_YIELD:
2713 * This symbol defines the way to yield the execution of
2714 * the current thread. Known ways are sched_yield,
2715 * pthread_yield, and pthread_yield with NULL.
2716 */
2717/* HAS_SCHED_YIELD:
2718 * This symbol, if defined, indicates that the sched_yield
2719 * routine is available to yield the execution of the current
2720 * thread. sched_yield is preferable to pthread_yield.
2721 */
2722/*#define HAS_PTHREAD_YIELD /**/
2723#define SCHED_YIELD /**/
2724/*#define HAS_SCHED_YIELD /**/
2725
2726/* I_MACH_CTHREADS:
2727 * This symbol, if defined, indicates to the C program that it should
2728 * include <mach/cthreads.h>.
2729 */
2730/*#define I_MACH_CTHREADS /**/
2731
2732/* I_PTHREAD:
2733 * This symbol, if defined, indicates to the C program that it should
2734 * include <pthread.h>.
495c5fdc 2735 */
1761cee5 2736/*#define I_PTHREAD /**/
2737
2738/* USE_THREADS:
2739 * This symbol, if defined, indicates that Perl should
2740 * be built to use threads.
495c5fdc 2741 */
c287c78d 2742/* OLD_PTHREADS_API:
2743 * This symbol, if defined, indicates that Perl should
2744 * be built to use the old draft POSIX threads API.
495c5fdc 2745 */
1761cee5 2746#ifndef USE_TTHREADS
2747/*#define USE_THREADS /**/
c287c78d 2748#endif
1761cee5 2749/*#define OLD_PTHREADS_API /**/
495c5fdc 2750
1761cee5 2751/* Time_t:
2752 * This symbol holds the type returned by time(). It can be long,
2753 * or time_t on BSD sites (in which case <sys/types.h> should be
2754 * included).
495c5fdc 2755 */
1761cee5 2756#define Time_t time_t /* Time type */
495c5fdc 2757
1761cee5 2758/* HAS_TIMES:
2759 * This symbol, if defined, indicates that the times() routine exists.
2760 * Note that this became obsolete on some systems (SUNOS), which now
2761 * use getrusage(). It may be necessary to include <sys/times.h>.
495c5fdc 2762 */
1761cee5 2763#define HAS_TIMES /**/
2764
2765/* Fpos_t:
2766 * This symbol holds the type used to declare file positions in libc.
2767 * It can be fpos_t, long, uint, etc... It may be necessary to include
2768 * <sys/types.h> to get any typedef'ed information.
2769 */
2770#define Fpos_t fpos_t /* File position type */
2771
2772/* Gid_t_f:
2773 * This symbol defines the format string used for printing a Gid_t.
2774 */
2775#define Gid_t_f "d" /**/
2776
2777/* Gid_t_size:
2778 * This symbol holds the size of a Gid_t in bytes.
2779 */
2780#define Gid_t_size 4 /* GID size */
2781
2782/* Gid_t:
2783 * This symbol holds the return type of getgid() and the type of
2784 * argument to setrgid() and related functions. Typically,
2785 * it is the type of group ids in the kernel. It can be int, ushort,
2786 * uid_t, etc... It may be necessary to include <sys/types.h> to get
2787 * any typedef'ed information.
2788 */
2789#define Gid_t gid_t /* Type for getgid(), etc... */
2790
2791/* Off_t:
2792 * This symbol holds the type used to declare offsets in the kernel.
2793 * It can be int, long, off_t, etc... It may be necessary to include
2794 * <sys/types.h> to get any typedef'ed information.
2795 */
2796/* LSEEKSIZE:
2797 * This symbol holds the number of bytes used by the Off_t.
2798 */
2799/* Off_t_size:
2800 * This symbol holds the number of bytes used by the Off_t.
2801 */
2802#define Off_t off_t /* <offset> type */
2803#define LSEEKSIZE 4 /* <offset> size */
2804#define Off_t_size 4 /* <offset> size */
2805
2806/* Mode_t:
2807 * This symbol holds the type used to declare file modes
2808 * for systems calls. It is usually mode_t, but may be
2809 * int or unsigned short. It may be necessary to include <sys/types.h>
2810 * to get any typedef'ed information.
2811 */
2812#define Mode_t mode_t /* file mode parameter for system calls */
2813
2814/* Pid_t:
2815 * This symbol holds the type used to declare process ids in the kernel.
2816 * It can be int, uint, pid_t, etc... It may be necessary to include
2817 * <sys/types.h> to get any typedef'ed information.
2818 */
2819#define Pid_t pid_t /* PID type */
2820
2821/* Size_t:
2822 * This symbol holds the type used to declare length parameters
2823 * for string functions. It is usually size_t, but may be
2824 * unsigned long, int, etc. It may be necessary to include
2825 * <sys/types.h> to get any typedef'ed information.
2826 */
2827#define Size_t size_t /* length paramater for string functions */
2828
2829/* Uid_t_f:
2830 * This symbol defines the format string used for printing a Uid_t.
2831 */
2832#define Uid_t_f "d" /**/
2833
2834/* Uid_t_size:
2835 * This symbol holds the size of a Uid_t in bytes.
2836 */
2837#define Uid_t_size 4 /* UID size */
2838
2839/* Uid_t:
2840 * This symbol holds the type used to declare user ids in the kernel.
2841 * It can be int, ushort, uid_t, etc... It may be necessary to include
2842 * <sys/types.h> to get any typedef'ed information.
2843 */
2844#define Uid_t uid_t /* UID type */
495c5fdc 2845
2846#endif