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