Re: [PATCH B::Deparse] fix string uninterpretation
[p5sagit/p5-mst-13.2.git] / vos / config.alpha.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-23 18:48 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 */
1761cee5 66/*#define HAS_CHOWN /**/
495c5fdc 67
68/* HAS_CHROOT:
69 * This symbol, if defined, indicates that the chroot routine is
70 * available.
71 */
1761cee5 72/*#define HAS_CHROOT /**/
495c5fdc 73
74/* HAS_CHSIZE:
75 * This symbol, if defined, indicates that the chsize routine is available
76 * to truncate files. You might need a -lx to get this routine.
77 */
1761cee5 78/*#define HAS_CHSIZE /**/
495c5fdc 79
80/* HASCONST:
81 * This symbol, if defined, indicates that this C compiler knows about
82 * the const type. There is no need to actually test for that symbol
83 * within your programs. The mere use of the "const" keyword will
84 * trigger the necessary tests.
85 */
86#define HASCONST /**/
87#ifndef HASCONST
1761cee5 88#define const
495c5fdc 89#endif
90
91/* HAS_CRYPT:
92 * This symbol, if defined, indicates that the crypt routine is available
93 * to encrypt passwords and the like.
94 */
1761cee5 95/*#define HAS_CRYPT /**/
495c5fdc 96
97/* HAS_CUSERID:
98 * This symbol, if defined, indicates that the cuserid routine is
99 * available to get character login names.
100 */
1761cee5 101/*#define HAS_CUSERID /**/
495c5fdc 102
103/* HAS_DBL_DIG:
104 * This symbol, if defined, indicates that this system's <float.h>
105 * or <limits.h> defines the symbol DBL_DIG, which is the number
106 * of significant digits in a double precision number. If this
107 * symbol is not defined, a guess of 15 is usually pretty good.
108 */
1761cee5 109#define HAS_DBL_DIG /* */
495c5fdc 110
111/* HAS_DIFFTIME:
112 * This symbol, if defined, indicates that the difftime routine is
113 * available.
114 */
1761cee5 115#define HAS_DIFFTIME /**/
495c5fdc 116
117/* HAS_DLERROR:
118 * This symbol, if defined, indicates that the dlerror routine is
119 * available to return a string describing the last error that
120 * occurred from a call to dlopen(), dlclose() or dlsym().
121 */
122/*#define HAS_DLERROR /**/
123
124/* SETUID_SCRIPTS_ARE_SECURE_NOW:
125 * This symbol, if defined, indicates that the bug that prevents
126 * setuid scripts from being secure is not present in this kernel.
127 */
128/* DOSUID:
129 * This symbol, if defined, indicates that the C program should
130 * check the script that it is executing for setuid/setgid bits, and
131 * attempt to emulate setuid/setgid on systems that have disabled
132 * setuid #! scripts because the kernel can't do it securely.
133 * It is up to the package designer to make sure that this emulation
134 * is done securely. Among other things, it should do an fstat on
135 * the script it just opened to make sure it really is a setuid/setgid
136 * script, it should make sure the arguments passed correspond exactly
137 * to the argument on the #! line, and it should not trust any
138 * subprocesses to which it must pass the filename rather than the
139 * file descriptor of the script to be executed.
140 */
c287c78d 141#define SETUID_SCRIPTS_ARE_SECURE_NOW /**/
1761cee5 142/*#define DOSUID /**/
495c5fdc 143
144/* HAS_DUP2:
145 * This symbol, if defined, indicates that the dup2 routine is
146 * available to duplicate file descriptors.
147 */
148/*#define HAS_DUP2 /**/
149
150/* HAS_FCHMOD:
151 * This symbol, if defined, indicates that the fchmod routine is available
152 * to change mode of opened files. If unavailable, use chmod().
153 */
1761cee5 154#define HAS_FCHMOD /**/
495c5fdc 155
156/* HAS_FCHOWN:
157 * This symbol, if defined, indicates that the fchown routine is available
158 * to change ownership of opened files. If unavailable, use chown().
159 */
1761cee5 160/*#define HAS_FCHOWN /**/
495c5fdc 161
162/* HAS_FCNTL:
163 * This symbol, if defined, indicates to the C program that
164 * the fcntl() function exists.
165 */
1761cee5 166#define HAS_FCNTL /**/
495c5fdc 167
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 */
1761cee5 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 */
374/*#define HAS_MUNMAP /**/
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 */
1761cee5 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 */
1761cee5 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 */
1761cee5 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 */
c287c78d 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 */
564/*#define HAS_SETSID /**/
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
617/* HAS_STRTOUL:
618 * This symbol, if defined, indicates that the strtoul routine is
619 * available to provide conversion of strings to unsigned long.
620 */
621#define HAS_STRTOUL /**/
622
623/* HAS_STRXFRM:
624 * This symbol, if defined, indicates that the strxfrm() routine is
625 * available to transform strings.
626 */
627#define HAS_STRXFRM /**/
628
629/* HAS_SYMLINK:
630 * This symbol, if defined, indicates that the symlink routine is available
631 * to create symbolic links.
632 */
633#define HAS_SYMLINK /**/
634
635/* HAS_SYSCALL:
636 * This symbol, if defined, indicates that the syscall routine is
637 * available to call arbitrary system calls. If undefined, that's tough.
638 */
639/*#define HAS_SYSCALL /**/
640
641/* HAS_SYSCONF:
642 * This symbol, if defined, indicates that sysconf() is available
643 * to determine system related limits and options.
644 */
645#define HAS_SYSCONF /**/
646
647/* HAS_SYSTEM:
648 * This symbol, if defined, indicates that the system routine is
649 * available to issue a shell command.
650 */
651#define HAS_SYSTEM /**/
652
653/* HAS_TCGETPGRP:
654 * This symbol, if defined, indicates that the tcgetpgrp routine is
655 * available to get foreground process group ID.
656 */
1761cee5 657/*#define HAS_TCGETPGRP /**/
495c5fdc 658
659/* HAS_TCSETPGRP:
660 * This symbol, if defined, indicates that the tcsetpgrp routine is
661 * available to set foreground process group ID.
662 */
1761cee5 663/*#define HAS_TCSETPGRP /**/
495c5fdc 664
665/* HAS_TRUNCATE:
666 * This symbol, if defined, indicates that the truncate routine is
667 * available to truncate files.
668 */
669/*#define HAS_TRUNCATE /**/
670
671/* HAS_TZNAME:
672 * This symbol, if defined, indicates that the tzname[] array is
673 * available to access timezone names.
674 */
1761cee5 675#define HAS_TZNAME /**/
495c5fdc 676
677/* HAS_UMASK:
678 * This symbol, if defined, indicates that the umask routine is
679 * available to set and get the value of the file creation mask.
680 */
1761cee5 681#define HAS_UMASK /**/
495c5fdc 682
4e0554ec 683/* HAS_USLEEP:
684 * This symbol, if defined, indicates that the usleep routine is
685 * available to let the process sleep on a sub-second accuracy.
686 */
687/*#define HAS_USLEEP /**/
688
495c5fdc 689/* HASVOLATILE:
690 * This symbol, if defined, indicates that this C compiler knows about
691 * the volatile declaration.
692 */
1761cee5 693#define HASVOLATILE /**/
495c5fdc 694#ifndef HASVOLATILE
1761cee5 695#define volatile
495c5fdc 696#endif
697
698/* HAS_WAIT4:
699 * This symbol, if defined, indicates that wait4() exists.
700 */
701/*#define HAS_WAIT4 /**/
702
703/* HAS_WAITPID:
704 * This symbol, if defined, indicates that the waitpid routine is
705 * available to wait for child process.
706 */
707#define HAS_WAITPID /**/
708
709/* HAS_WCSTOMBS:
710 * This symbol, if defined, indicates that the wcstombs routine is
711 * available to convert wide character strings to multibyte strings.
712 */
713#define HAS_WCSTOMBS /**/
714
715/* HAS_WCTOMB:
716 * This symbol, if defined, indicates that the wctomb routine is available
717 * to covert a wide character to a multibyte.
718 */
1761cee5 719#define HAS_WCTOMB /**/
495c5fdc 720
721/* I_ARPA_INET:
c287c78d 722 * This symbol, if defined, indicates to the C program that it should
723 * include <arpa/inet.h> to get inet_addr and friends declarations.
495c5fdc 724 */
1761cee5 725#define I_ARPA_INET /**/
495c5fdc 726
727/* I_DBM:
728 * This symbol, if defined, indicates that <dbm.h> exists and should
729 * be included.
730 */
731/* I_RPCSVC_DBM:
732 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
733 * should be included.
734 */
735/*#define I_DBM /**/
736/*#define I_RPCSVC_DBM /**/
737
738/* I_DIRENT:
739 * This symbol, if defined, indicates to the C program that it should
740 * include <dirent.h>. Using this symbol also triggers the definition
741 * of the Direntry_t define which ends up being 'struct dirent' or
742 * 'struct direct' depending on the availability of <dirent.h>.
743 */
744/* DIRNAMLEN:
745 * This symbol, if defined, indicates to the C program that the length
746 * of directory entry names is provided by a d_namlen field. Otherwise
747 * you need to do strlen() on the d_name field.
748 */
749/* Direntry_t:
750 * This symbol is set to 'struct direct' or 'struct dirent' depending on
751 * whether dirent is available or not. You should use this pseudo type to
752 * portably declare your directory entries.
753 */
1761cee5 754#define I_DIRENT /**/
c287c78d 755/*#define DIRNAMLEN /**/
495c5fdc 756#define Direntry_t struct dirent
757
758/* I_DLFCN:
759 * This symbol, if defined, indicates that <dlfcn.h> exists and should
760 * be included.
761 */
1761cee5 762/*#define I_DLFCN /**/
495c5fdc 763
764/* I_FCNTL:
765 * This manifest constant tells the C program to include <fcntl.h>.
766 */
767#define I_FCNTL /**/
768
769/* I_FLOAT:
770 * This symbol, if defined, indicates to the C program that it should
771 * include <float.h> to get definition of symbols like DBL_MAX or
772 * DBL_MIN, i.e. machine dependent floating point values.
773 */
1761cee5 774#define I_FLOAT /**/
495c5fdc 775
776/* I_LIMITS:
777 * This symbol, if defined, indicates to the C program that it should
778 * include <limits.h> to get definition of symbols like WORD_BIT or
779 * LONG_MAX, i.e. machine dependant limitations.
780 */
1761cee5 781#define I_LIMITS /**/
495c5fdc 782
783/* I_LOCALE:
784 * This symbol, if defined, indicates to the C program that it should
785 * include <locale.h>.
786 */
1761cee5 787#define I_LOCALE /**/
495c5fdc 788
789/* I_MATH:
790 * This symbol, if defined, indicates to the C program that it should
791 * include <math.h>.
792 */
1761cee5 793#define I_MATH /**/
495c5fdc 794
795/* I_MEMORY:
796 * This symbol, if defined, indicates to the C program that it should
797 * include <memory.h>.
798 */
1761cee5 799/*#define I_MEMORY /**/
495c5fdc 800
801/* I_NDBM:
802 * This symbol, if defined, indicates that <ndbm.h> exists and should
803 * be included.
804 */
805/*#define I_NDBM /**/
806
807/* I_NET_ERRNO:
808 * This symbol, if defined, indicates that <net/errno.h> exists and
809 * should be included.
810 */
1761cee5 811/*#define I_NET_ERRNO /**/
495c5fdc 812
813/* I_NETINET_IN:
814 * This symbol, if defined, indicates to the C program that it should
815 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
816 */
1761cee5 817#define I_NETINET_IN /**/
495c5fdc 818
819/* I_SFIO:
820 * This symbol, if defined, indicates to the C program that it should
821 * include <sfio.h>.
822 */
1761cee5 823/*#define I_SFIO /**/
495c5fdc 824
825/* I_STDDEF:
826 * This symbol, if defined, indicates that <stddef.h> exists and should
827 * be included.
828 */
829#define I_STDDEF /**/
830
831/* I_STDLIB:
832 * This symbol, if defined, indicates that <stdlib.h> exists and should
833 * be included.
834 */
1761cee5 835#define I_STDLIB /**/
495c5fdc 836
837/* I_STRING:
838 * This symbol, if defined, indicates to the C program that it should
839 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
840 */
1761cee5 841#define I_STRING /**/
495c5fdc 842
843/* I_SYS_DIR:
844 * This symbol, if defined, indicates to the C program that it should
845 * include <sys/dir.h>.
846 */
1761cee5 847/*#define I_SYS_DIR /**/
495c5fdc 848
849/* I_SYS_FILE:
850 * This symbol, if defined, indicates to the C program that it should
851 * include <sys/file.h> to get definition of R_OK and friends.
852 */
1761cee5 853/*#define I_SYS_FILE /**/
495c5fdc 854
855/* I_SYS_IOCTL:
856 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
857 * be included. Otherwise, include <sgtty.h> or <termio.h>.
858 */
1761cee5 859#define I_SYS_IOCTL /**/
495c5fdc 860
861/* I_SYS_NDIR:
862 * This symbol, if defined, indicates to the C program that it should
863 * include <sys/ndir.h>.
864 */
c287c78d 865/*#define I_SYS_NDIR /**/
495c5fdc 866
867/* I_SYS_PARAM:
868 * This symbol, if defined, indicates to the C program that it should
869 * include <sys/param.h>.
870 */
1761cee5 871/*#define I_SYS_PARAM /**/
495c5fdc 872
873/* I_SYS_RESOURCE:
874 * This symbol, if defined, indicates to the C program that it should
875 * include <sys/resource.h>.
876 */
1761cee5 877/*#define I_SYS_RESOURCE /**/
495c5fdc 878
879/* I_SYS_SELECT:
880 * This symbol, if defined, indicates to the C program that it should
881 * include <sys/select.h> in order to get definition of struct timeval.
882 */
1761cee5 883#define I_SYS_SELECT /**/
495c5fdc 884
885/* I_SYS_STAT:
886 * This symbol, if defined, indicates to the C program that it should
887 * include <sys/stat.h>.
888 */
1761cee5 889#define I_SYS_STAT /**/
495c5fdc 890
891/* I_SYS_TIMES:
892 * This symbol, if defined, indicates to the C program that it should
893 * include <sys/times.h>.
894 */
1761cee5 895#define I_SYS_TIMES /**/
495c5fdc 896
897/* I_SYS_TYPES:
898 * This symbol, if defined, indicates to the C program that it should
899 * include <sys/types.h>.
900 */
1761cee5 901#define I_SYS_TYPES /**/
495c5fdc 902
903/* I_SYS_UN:
904 * This symbol, if defined, indicates to the C program that it should
905 * include <sys/un.h> to get UNIX domain socket definitions.
906 */
1761cee5 907/*#define I_SYS_UN /**/
495c5fdc 908
909/* I_SYS_WAIT:
910 * This symbol, if defined, indicates to the C program that it should
911 * include <sys/wait.h>.
912 */
913#define I_SYS_WAIT /**/
914
915/* I_TERMIO:
916 * This symbol, if defined, indicates that the program should include
917 * <termio.h> rather than <sgtty.h>. There are also differences in
918 * the ioctl() calls that depend on the value of this symbol.
919 */
920/* I_TERMIOS:
921 * This symbol, if defined, indicates that the program should include
922 * the POSIX termios.h rather than sgtty.h or termio.h.
923 * There are also differences in the ioctl() calls that depend on the
924 * value of this symbol.
925 */
926/* I_SGTTY:
927 * This symbol, if defined, indicates that the program should include
928 * <sgtty.h> rather than <termio.h>. There are also differences in
929 * the ioctl() calls that depend on the value of this symbol.
930 */
1761cee5 931/*#define I_TERMIO /**/
932#define I_TERMIOS /**/
933/*#define I_SGTTY /**/
495c5fdc 934
935/* I_UNISTD:
936 * This symbol, if defined, indicates to the C program that it should
937 * include <unistd.h>.
938 */
1761cee5 939#define I_UNISTD /**/
495c5fdc 940
941/* I_UTIME:
942 * This symbol, if defined, indicates to the C program that it should
943 * include <utime.h>.
944 */
1761cee5 945#define I_UTIME /**/
495c5fdc 946
947/* I_VALUES:
948 * This symbol, if defined, indicates to the C program that it should
949 * include <values.h> to get definition of symbols like MINFLOAT or
950 * MAXLONG, i.e. machine dependant limitations. Probably, you
951 * should use <limits.h> instead, if it is available.
952 */
1761cee5 953#define I_VALUES /**/
495c5fdc 954
955/* I_STDARG:
956 * This symbol, if defined, indicates that <stdarg.h> exists and should
957 * be included.
958 */
959/* I_VARARGS:
960 * This symbol, if defined, indicates to the C program that it should
961 * include <varargs.h>.
962 */
1761cee5 963#define I_STDARG /**/
c287c78d 964/*#define I_VARARGS /**/
495c5fdc 965
966/* I_VFORK:
967 * This symbol, if defined, indicates to the C program that it should
968 * include vfork.h.
969 */
c287c78d 970/*#define I_VFORK /**/
495c5fdc 971
972/* CAN_PROTOTYPE:
973 * If defined, this macro indicates that the C compiler can handle
974 * function prototypes.
975 */
976/* _:
977 * This macro is used to declare function parameters for folks who want
978 * to make declarations with prototypes using a different style than
979 * the above macros. Use double parentheses. For example:
980 *
981 * int main _((int argc, char *argv[]));
982 */
1761cee5 983#define CAN_PROTOTYPE /**/
495c5fdc 984#ifdef CAN_PROTOTYPE
1761cee5 985#define _(args) args
495c5fdc 986#else
1761cee5 987#define _(args) ()
495c5fdc 988#endif
989
990/* SH_PATH:
991 * This symbol contains the full pathname to the shell used on this
992 * on this system to execute Bourne shell scripts. Usually, this will be
993 * /bin/sh, though it's possible that some systems will have /bin/ksh,
994 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
995 * D:/bin/sh.exe.
996 */
1761cee5 997#define SH_PATH "/bin/sh" /**/
495c5fdc 998
999/* STDCHAR:
1000 * This symbol is defined to be the type of char used in stdio.h.
1001 * It has the values "unsigned char" or "char".
1002 */
1761cee5 1003#define STDCHAR unsigned char /**/
c287c78d 1004
10cc9d2a 1005/* CROSSCOMPILE:
1006 * This symbol, if defined, signifies that we our
1007 * build process is a cross-compilation.
1008 */
1009/*#define CROSSCOMPILE /**/
1010
1011/* INTSIZE:
1012 * This symbol contains the value of sizeof(int) so that the C
1013 * preprocessor can make decisions based on it.
1014 */
1015/* LONGSIZE:
1016 * This symbol contains the value of sizeof(long) so that the C
1017 * preprocessor can make decisions based on it.
1018 */
1019/* SHORTSIZE:
1020 * This symbol contains the value of sizeof(short) so that the C
1021 * preprocessor can make decisions based on it.
1022 */
1023#define INTSIZE 4 /**/
1024#define LONGSIZE 4 /**/
1025#define SHORTSIZE 2 /**/
1026
1027/* MULTIARCH:
1028 * This symbol, if defined, signifies that the build
1029 * process will produce some binary files that are going to be
1030 * used in a cross-platform environment. This is the case for
1031 * example with the NeXT "fat" binaries that contain executables
1032 * for several CPUs.
1033 */
1034/*#define MULTIARCH /**/
1035
c287c78d 1036/* HAS_QUAD:
1037 * This symbol, if defined, tells that there's a 64-bit integer type,
1038 * Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one
1039 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T.
1040 */
1041/*#define HAS_QUAD /**/
1042#ifdef HAS_QUAD
1761cee5 1043# define Quad_t _error_ /**/
1044# define Uquad_t _error_ /**/
1045# define QUADKIND _error_ /**/
c287c78d 1046# define QUAD_IS_INT 1
1047# define QUAD_IS_LONG 2
1048# define QUAD_IS_LONG_LONG 3
1049# define QUAD_IS_INT64_T 4
1050#endif
1051
1052/* HAS_ACCESSX:
1053 * This symbol, if defined, indicates that the accessx routine is
1054 * available to do extended access checks.
1055 */
1761cee5 1056/*#define HAS_ACCESSX /**/
c287c78d 1057
1058/* HAS_EACCESS:
1059 * This symbol, if defined, indicates that the eaccess routine is
1060 * available to do extended access checks.
1061 */
1761cee5 1062/*#define HAS_EACCESS /**/
c287c78d 1063
1064/* I_SYS_ACCESS:
1065 * This symbol, if defined, indicates to the C program that it should
1066 * include <sys/access.h>.
1067 */
1761cee5 1068/*#define I_SYS_ACCESS /**/
c287c78d 1069
1070/* I_SYS_SECURITY:
1071 * This symbol, if defined, indicates to the C program that it should
1072 * include <sys/security.h>.
1073 */
1761cee5 1074/*#define I_SYS_SECURITY /**/
c287c78d 1075
10cc9d2a 1076/* OSNAME:
1077 * This symbol contains the name of the operating system, as determined
1078 * by Configure. You shouldn't rely on it too much; the specific
1079 * feature tests from Configure are generally more reliable.
c287c78d 1080 */
10cc9d2a 1081#define OSNAME "VOS" /**/
495c5fdc 1082
1083/* MEM_ALIGNBYTES:
c287c78d 1084 * This symbol contains the number of bytes required to align a
10cc9d2a 1085 * double, or a long double when applicable. Usual values are 2,
1086 * 4 and 8. The default is eight, for safety.
c287c78d 1087 */
1088#if defined(CROSSCOMPILE) || defined(MULTIARCH)
1089# define MEM_ALIGNBYTES 8
1090#else
1091#define MEM_ALIGNBYTES 8
1092#endif
1093
10cc9d2a 1094/* ARCHLIB:
1095 * This variable, if defined, holds the name of the directory in
1096 * which the user wants to put architecture-dependent public
1097 * library files for perl5. It is most often a local directory
1098 * such as /usr/local/lib. Programs using this variable must be
1099 * prepared to deal with filename expansion. If ARCHLIB is the
1100 * same as PRIVLIB, it is not defined, since presumably the
1101 * program already searches PRIVLIB.
1102 */
1103/* ARCHLIB_EXP:
1104 * This symbol contains the ~name expanded version of ARCHLIB, to be used
1105 * in programs that are not prepared to deal with ~ expansion at run-time.
1106 */
1107/*#define ARCHLIB "" /**/
1108/*#define ARCHLIB_EXP "" /**/
1109
1110/* ARCHNAME:
1111 * This symbol holds a string representing the architecture name.
1112 * It may be used to construct an architecture-dependant pathname
1113 * where library files may be held under a private library, for
1114 * instance.
1115 */
1116#define ARCHNAME "vos" /**/
1117
1118/* HAS_ATOLF:
1119 * This symbol, if defined, indicates that the atolf routine is
1120 * available to convert strings into long doubles.
1121 */
1122/*#define HAS_ATOLF /**/
1123
1124/* HAS_ATOLL:
1125 * This symbol, if defined, indicates that the atoll routine is
1126 * available to convert strings into long longs.
1127 */
1128/*#define HAS_ATOLL /**/
1129
1130/* BIN:
1131 * This symbol holds the path of the bin directory where the package will
1132 * be installed. Program must be prepared to deal with ~name substitution.
1133 */
1134/* BIN_EXP:
1135 * This symbol is the filename expanded version of the BIN symbol, for
1136 * programs that do not want to deal with that at run-time.
1137 */
1138#define BIN "/system/ported/command_library" /**/
1139#define BIN_EXP "/system/ported/command_library" /**/
1140
1141/* PERL_BINCOMPAT_5005:
f78bfc9c 1142 * This symbol, if defined, indicates that this version of Perl should be
10cc9d2a 1143 * binary-compatible with Perl 5.005. This is impossible for builds
1144 * that use features like threads and multiplicity it is always $undef
1145 * for those versions.
1146 */
1147/*#define PERL_BINCOMPAT_5005 /**/
1148
495c5fdc 1149/* BYTEORDER:
1150 * This symbol holds the hexadecimal constant defined in byteorder,
1151 * i.e. 0x1234 or 0x4321, etc...
c287c78d 1152 * If the compiler supports cross-compiling or multiple-architecture
1153 * binaries (eg. on NeXT systems), use compiler-defined macros to
1154 * determine the byte order.
495c5fdc 1155 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
1156 * Binaries (MAB) on either big endian or little endian machines.
1157 * The endian-ness is available at compile-time. This only matters
1158 * for perl, where the config.h can be generated and installed on
1159 * one system, and used by a different architecture to build an
1160 * extension. Older versions of NeXT that might not have
1161 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1162 * so the default case (for NeXT) is big endian to catch them.
1163 * This might matter for NeXT 3.0.
1164 */
c287c78d 1165#if defined(CROSSCOMPILE) || defined(MULTIARCH)
1166# ifdef __LITTLE_ENDIAN__
1167# if LONGSIZE == 4
1168# define BYTEORDER 0x1234
1169# else
1170# if LONGSIZE == 8
1171# define BYTEORDER 0x12345678
1172# endif
1173# endif
1174# else
1175# ifdef __BIG_ENDIAN__
1176# if LONGSIZE == 4
1177# define BYTEORDER 0x4321
1178# else
1179# if LONGSIZE == 8
1180# define BYTEORDER 0x87654321
1181# endif
1182# endif
1183# endif
1184# endif
1185# if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
1186# define BYTEORDER 0x4321
1187# endif
1188#else
1761cee5 1189#define BYTEORDER 0x4321 /* large digits for MSB */
495c5fdc 1190#endif /* NeXT */
1191
10cc9d2a 1192/* CAT2:
1193 * This macro catenates 2 tokens together.
1194 */
1195/* STRINGIFY:
1196 * This macro surrounds its token with double quotes.
1197 */
1198#if 42 == 1
fd47df60 1199#define CAT2(a,b) a/**/b
1200#define STRINGIFY(a) "a"
10cc9d2a 1201 /* If you can get stringification with catify, tell me how! */
1202#endif
1203#if 42 == 42
fd47df60 1204#define PeRl_CaTiFy(a, b) a ## b
1205#define PeRl_StGiFy(a) #a
526fdc24 1206/* the additional level of indirection enables these macros to be
1207 * used as arguments to other macros. See K&R 2nd ed., page 231. */
fd47df60 1208#define CAT2(a,b) PeRl_CaTiFy(a,b)
1209#define StGiFy(a) PeRl_StGiFy(a)
1210#define STRINGIFY(a) PeRl_StGiFy(a)
10cc9d2a 1211#endif
1212#if 42 != 1 && 42 != 42
a3540c92 1213# include "Bletch: How does this C preprocessor catenate tokens?"
10cc9d2a 1214#endif
1215
1216/* CPPSTDIN:
1217 * This symbol contains the first part of the string which will invoke
1218 * the C preprocessor on the standard input and produce to standard
1219 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
1220 * call a wrapper. See CPPRUN.
1221 */
1222/* CPPMINUS:
1223 * This symbol contains the second part of the string which will invoke
1224 * the C preprocessor on the standard input and produce to standard
1225 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
1226 * to specify standard input, otherwise the value is "".
1227 */
1228/* CPPRUN:
1229 * This symbol contains the string which will invoke a C preprocessor on
1230 * the standard input and produce to standard output. It needs to end
1231 * with CPPLAST, after all other preprocessor flags have been specified.
1232 * The main difference with CPPSTDIN is that this program will never be a
1233 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1234 * available directly to the user. Note that it may well be different from
1235 * the preprocessor used to compile the C program.
1236 */
1237/* CPPLAST:
1238 * This symbol is intended to be used along with CPPRUN in the same manner
1239 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1240 */
1241#define CPPSTDIN "cc -E"
1242#define CPPMINUS "-"
1243#define CPPRUN "cc -E -"
1244#define CPPLAST "-"
1245
1246/* HAS_ACCESS:
1247 * This manifest constant lets the C program know that the access()
1248 * system call is available to check for accessibility using real UID/GID.
1249 * (always present on UNIX.)
1250 */
1251/*#define HAS_ACCESS /**/
1252
495c5fdc 1253/* CASTI32:
1254 * This symbol is defined if the C compiler can cast negative
1255 * or large floating point numbers to 32-bit ints.
1256 */
1761cee5 1257/*#define CASTI32 /**/
495c5fdc 1258
1259/* CASTNEGFLOAT:
1260 * This symbol is defined if the C compiler can cast negative
1261 * numbers to unsigned longs, ints and shorts.
1262 */
1263/* CASTFLAGS:
1264 * This symbol contains flags that say what difficulties the compiler
1265 * has casting odd floating values to unsigned long:
1266 * 0 = ok
1267 * 1 = couldn't cast < 0
1268 * 2 = couldn't cast >= 0x80000000
1269 * 4 = couldn't cast in argument expression list
1270 */
1761cee5 1271#define CASTNEGFLOAT /**/
1272#define CASTFLAGS 0 /**/
495c5fdc 1273
1274/* VOID_CLOSEDIR:
1275 * This symbol, if defined, indicates that the closedir() routine
1276 * does not return a value.
1277 */
1761cee5 1278/*#define VOID_CLOSEDIR /**/
c287c78d 1279
4e0554ec 1280/* HAS_STRUCT_CMSGHDR:
1281 * This symbol, if defined, indicates that the struct cmsghdr
1282 * is supported.
1283 */
1284/*#define HAS_STRUCT_CMSGHDR / **/
1285
10cc9d2a 1286/* HAS_CSH:
1287 * This symbol, if defined, indicates that the C-shell exists.
c287c78d 1288 */
10cc9d2a 1289/* CSH:
1290 * This symbol, if defined, contains the full pathname of csh.
c287c78d 1291 */
10cc9d2a 1292/*#define HAS_CSH /**/
1293#ifdef HAS_CSH
1294#define CSH "" /**/
1295#endif
c287c78d 1296
10cc9d2a 1297/* DLSYM_NEEDS_UNDERSCORE:
1298 * This symbol, if defined, indicates that we need to prepend an
1299 * underscore to the symbol name before calling dlsym(). This only
1300 * makes sense if you *have* dlsym, which we will presume is the
1301 * case if you're using dl_dlopen.xs.
c287c78d 1302 */
10cc9d2a 1303/*#define DLSYM_NEEDS_UNDERSCORE /**/
c287c78d 1304
10cc9d2a 1305/* HAS_DRAND48_PROTO:
1306 * This symbol, if defined, indicates that the system provides
1307 * a prototype for the drand48() function. Otherwise, it is up
1308 * to the program to supply one. A good guess is
1309 * extern double drand48 _((void));
c287c78d 1310 */
10cc9d2a 1311/*#define HAS_DRAND48_PROTO /**/
c287c78d 1312
10cc9d2a 1313/* HAS_ENDGRENT:
1314 * This symbol, if defined, indicates that the getgrent routine is
1315 * available for finalizing sequential access of the group database.
c287c78d 1316 */
10cc9d2a 1317/*#define HAS_ENDGRENT /**/
c287c78d 1318
10cc9d2a 1319/* HAS_ENDHOSTENT:
1320 * This symbol, if defined, indicates that the endhostent() routine is
1321 * available to close whatever was being used for host queries.
c287c78d 1322 */
10cc9d2a 1323#define HAS_ENDHOSTENT /**/
c287c78d 1324
10cc9d2a 1325/* HAS_ENDNETENT:
1326 * This symbol, if defined, indicates that the endnetent() routine is
1327 * available to close whatever was being used for network queries.
1761cee5 1328 */
10cc9d2a 1329#define HAS_ENDNETENT /**/
1761cee5 1330
10cc9d2a 1331/* HAS_ENDPROTOENT:
1332 * This symbol, if defined, indicates that the endprotoent() routine is
1333 * available to close whatever was being used for protocol queries.
1761cee5 1334 */
10cc9d2a 1335#define HAS_ENDPROTOENT /**/
1761cee5 1336
10cc9d2a 1337/* HAS_ENDPWENT:
1338 * This symbol, if defined, indicates that the getgrent routine is
1339 * available for finalizing sequential access of the passwd database.
1761cee5 1340 */
10cc9d2a 1341/*#define HAS_ENDPWENT /**/
1761cee5 1342
10cc9d2a 1343/* HAS_ENDSERVENT:
1344 * This symbol, if defined, indicates that the endservent() routine is
1345 * available to close whatever was being used for service queries.
1761cee5 1346 */
10cc9d2a 1347#define HAS_ENDSERVENT /**/
1761cee5 1348
10cc9d2a 1349/* HAS_FD_SET:
1350 * This symbol, when defined, indicates presence of the fd_set typedef
1351 * in <sys/types.h>
1761cee5 1352 */
10cc9d2a 1353/*#define HAS_FD_SET /**/
1354
a3540c92 1355/* FLEXFILENAMES:
1356 * This symbol, if defined, indicates that the system supports filenames
1357 * longer than 14 characters.
1358 */
1359#define FLEXFILENAMES /**/
1360
10cc9d2a 1361/* HAS_FPOS64_T:
1362 * This symbol will be defined if the C compiler supports fpos64_t.
1761cee5 1363 */
10cc9d2a 1364/*#define HAS_FPOS64_T /**/
1365
a3540c92 1366/* HAS_FREXPL:
1367 * This symbol, if defined, indicates that the frexpl routine is
1368 * available to break a long double floating-point number into
1369 * a normalized fraction and an integral power of 2.
1370 */
1371/*#define HAS_FREXPL /**/
1372
10cc9d2a 1373/* HAS_STRUCT_FS_DATA:
1374 * This symbol, if defined, indicates that the struct fs_data
1375 * to do statfs() is supported.
1761cee5 1376 */
10cc9d2a 1377/*#define HAS_STRUCT_FS_DATA /**/
1761cee5 1378
10cc9d2a 1379/* HAS_FSEEKO:
1380 * This symbol, if defined, indicates that the fseeko routine is
1381 * available to fseek beyond 32 bits (useful for ILP32 hosts).
1761cee5 1382 */
10cc9d2a 1383/*#define HAS_FSEEKO /**/
1384
1385/* HAS_FSTATFS:
1386 * This symbol, if defined, indicates that the fstatfs routine is
1387 * available to stat filesystems by file descriptors.
1761cee5 1388 */
10cc9d2a 1389/*#define HAS_FSTATFS /**/
1390
411ab01c 1391/* HAS_FSYNC:
1392 * This symbol, if defined, indicates that the fsync routine is
1393 * available to write a file's modified data and attributes to
1394 * permanent storage.
1395 */
1396/*#define HAS_FSYNC /**/
1397
10cc9d2a 1398/* HAS_FTELLO:
1399 * This symbol, if defined, indicates that the ftello routine is
1400 * available to ftell beyond 32 bits (useful for ILP32 hosts).
1761cee5 1401 */
10cc9d2a 1402/*#define HAS_FTELLO /**/
1761cee5 1403
10cc9d2a 1404/* Gconvert:
1405 * This preprocessor macro is defined to convert a floating point
1406 * number to a string without a trailing decimal point. This
1407 * emulates the behavior of sprintf("%g"), but is sometimes much more
1408 * efficient. If gconvert() is not available, but gcvt() drops the
1409 * trailing decimal point, then gcvt() is used. If all else fails,
1410 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1411 * macro are: value, number of digits, whether trailing zeros should
1412 * be retained, and the output buffer.
1413 * Possible values are:
1414 * d_Gconvert='gconvert((x),(n),(t),(b))'
1415 * d_Gconvert='gcvt((x),(n),(b))'
1416 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1417 * The last two assume trailing zeros should not be kept.
1761cee5 1418 */
10cc9d2a 1419#define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))
1420
1421/* HAS_GETCWD:
1422 * This symbol, if defined, indicates that the getcwd routine is
1423 * available to get the current working directory.
1761cee5 1424 */
10cc9d2a 1425#define HAS_GETCWD /**/
1761cee5 1426
d6c14000 1427/* HAS_GETESPWNAM:
1428 * This symbol, if defined, indicates that the getespwnam system call is
1429 * available to retrieve enchanced (shadow) password entries by name.
1430 */
1431/*#define HAS_GETESPWNAM /**/
1432
a3540c92 1433/* HAS_GETFSSTAT:
1434 * This symbol, if defined, indicates that the getfsstat routine is
1435 * available to stat filesystems in bulk.
1436 */
1437/*#define HAS_GETFSSTAT /**/
1438
10cc9d2a 1439/* HAS_GETGRENT:
1440 * This symbol, if defined, indicates that the getgrent routine is
1441 * available for sequential access of the group database.
1761cee5 1442 */
10cc9d2a 1443/*#define HAS_GETGRENT /**/
1761cee5 1444
10cc9d2a 1445/* HAS_GETHOSTBYADDR:
1446 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1447 * available to look up hosts by their IP addresses.
1761cee5 1448 */
10cc9d2a 1449#define HAS_GETHOSTBYADDR /**/
1450
1451/* HAS_GETHOSTBYNAME:
1452 * This symbol, if defined, indicates that the gethostbyname() routine is
1453 * available to look up host names in some data base or other.
1761cee5 1454 */
10cc9d2a 1455#define HAS_GETHOSTBYNAME /**/
1456
1457/* HAS_GETHOSTENT:
1458 * This symbol, if defined, indicates that the gethostent() routine is
1459 * available to look up host names in some data base or another.
1761cee5 1460 */
10cc9d2a 1461#define HAS_GETHOSTENT /**/
1761cee5 1462
10cc9d2a 1463/* HAS_GETHOSTNAME:
1464 * This symbol, if defined, indicates that the C program may use the
1465 * gethostname() routine to derive the host name. See also HAS_UNAME
1466 * and PHOSTNAME.
1761cee5 1467 */
10cc9d2a 1468/* HAS_UNAME:
1469 * This symbol, if defined, indicates that the C program may use the
1470 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1471 * and PHOSTNAME.
1761cee5 1472 */
10cc9d2a 1473/* PHOSTNAME:
1474 * This symbol, if defined, indicates the command to feed to the
1475 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1476 * and HAS_UNAME. Note that the command uses a fully qualified path,
1477 * so that it is safe even if used by a process with super-user
1478 * privileges.
1761cee5 1479 */
10cc9d2a 1480/* HAS_PHOSTNAME:
1481 * This symbol, if defined, indicates that the C program may use the
1482 * contents of PHOSTNAME as a command to feed to the popen() routine
1483 * to derive the host name.
1761cee5 1484 */
10cc9d2a 1485#define HAS_GETHOSTNAME /**/
1486#define HAS_UNAME /**/
1487/*#define HAS_PHOSTNAME /**/
1488#ifdef HAS_PHOSTNAME
1489#define PHOSTNAME "" /* How to get the host name */
1490#endif
1761cee5 1491
10cc9d2a 1492/* HAS_GETHOST_PROTOS:
1493 * This symbol, if defined, indicates that <netdb.h> includes
1494 * prototypes for gethostent(), gethostbyname(), and
1495 * gethostbyaddr(). Otherwise, it is up to the program to guess
1496 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1761cee5 1497 */
10cc9d2a 1498#define HAS_GETHOST_PROTOS /**/
1761cee5 1499
4e0554ec 1500/* HAS_GETITIMER:
1501 * This symbol, if defined, indicates that the getitimer routine is
1502 * available to return interval timers.
1503 */
1504/*#define HAS_GETITIMER /**/
1505
10cc9d2a 1506/* HAS_GETMNT:
1507 * This symbol, if defined, indicates that the getmnt routine is
1508 * available to get filesystem mount info by filename.
1761cee5 1509 */
10cc9d2a 1510/*#define HAS_GETMNT /**/
1761cee5 1511
10cc9d2a 1512/* HAS_GETMNTENT:
1513 * This symbol, if defined, indicates that the getmntent routine is
1514 * available to iterate through mounted file systems to get their info.
1761cee5 1515 */
10cc9d2a 1516/*#define HAS_GETMNTENT /**/
1761cee5 1517
10cc9d2a 1518/* HAS_GETNETBYADDR:
1519 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1520 * available to look up networks by their IP addresses.
1761cee5 1521 */
10cc9d2a 1522#define HAS_GETNETBYADDR /**/
1761cee5 1523
10cc9d2a 1524/* HAS_GETNETBYNAME:
1525 * This symbol, if defined, indicates that the getnetbyname() routine is
1526 * available to look up networks by their names.
1761cee5 1527 */
10cc9d2a 1528#define HAS_GETNETBYNAME /**/
1761cee5 1529
10cc9d2a 1530/* HAS_GETNETENT:
1531 * This symbol, if defined, indicates that the getnetent() routine is
1532 * available to look up network names in some data base or another.
1761cee5 1533 */
10cc9d2a 1534#define HAS_GETNETENT /**/
1761cee5 1535
10cc9d2a 1536/* HAS_GETNET_PROTOS:
1537 * This symbol, if defined, indicates that <netdb.h> includes
1538 * prototypes for getnetent(), getnetbyname(), and
1539 * getnetbyaddr(). Otherwise, it is up to the program to guess
1540 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1761cee5 1541 */
10cc9d2a 1542#define HAS_GETNET_PROTOS /**/
1761cee5 1543
10cc9d2a 1544/* HAS_GETPROTOENT:
1545 * This symbol, if defined, indicates that the getprotoent() routine is
1546 * available to look up protocols in some data base or another.
1761cee5 1547 */
10cc9d2a 1548#define HAS_GETPROTOENT /**/
1761cee5 1549
10cc9d2a 1550/* HAS_GETPROTOBYNAME:
1551 * This symbol, if defined, indicates that the getprotobyname()
1552 * routine is available to look up protocols by their name.
1761cee5 1553 */
10cc9d2a 1554/* HAS_GETPROTOBYNUMBER:
1555 * This symbol, if defined, indicates that the getprotobynumber()
1556 * routine is available to look up protocols by their number.
1761cee5 1557 */
10cc9d2a 1558#define HAS_GETPROTOBYNAME /**/
1559#define HAS_GETPROTOBYNUMBER /**/
1761cee5 1560
10cc9d2a 1561/* HAS_GETPROTO_PROTOS:
1562 * This symbol, if defined, indicates that <netdb.h> includes
1563 * prototypes for getprotoent(), getprotobyname(), and
1564 * getprotobyaddr(). Otherwise, it is up to the program to guess
1565 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1761cee5 1566 */
10cc9d2a 1567#define HAS_GETPROTO_PROTOS /**/
1568
d6c14000 1569/* HAS_GETPRPWNAM:
1570 * This symbol, if defined, indicates that the getprpwnam system call is
1571 * available to retrieve protected (shadow) password entries by name.
1572 */
1573/*#define HAS_GETPRPWNAM /**/
1574
10cc9d2a 1575/* HAS_GETPWENT:
1576 * This symbol, if defined, indicates that the getpwent routine is
1577 * available for sequential access of the passwd database.
1578 * If this is not available, the older getpw() function may be available.
1761cee5 1579 */
10cc9d2a 1580/*#define HAS_GETPWENT /**/
1761cee5 1581
10cc9d2a 1582/* HAS_GETSERVENT:
1583 * This symbol, if defined, indicates that the getservent() routine is
1584 * available to look up network services in some data base or another.
1761cee5 1585 */
10cc9d2a 1586#define HAS_GETSERVENT /**/
1761cee5 1587
10cc9d2a 1588/* HAS_GETSERV_PROTOS:
1589 * This symbol, if defined, indicates that <netdb.h> includes
1590 * prototypes for getservent(), getservbyname(), and
1591 * getservbyaddr(). Otherwise, it is up to the program to guess
1592 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1761cee5 1593 */
10cc9d2a 1594#define HAS_GETSERV_PROTOS /**/
1761cee5 1595
10cc9d2a 1596/* HAS_GETSPNAM:
1597 * This symbol, if defined, indicates that the getspnam system call is
1598 * available to retrieve SysV shadow password entries by name.
1761cee5 1599 */
10cc9d2a 1600/*#define HAS_GETSPNAM /**/
1761cee5 1601
10cc9d2a 1602/* HAS_GETSERVBYNAME:
1603 * This symbol, if defined, indicates that the getservbyname()
1604 * routine is available to look up services by their name.
1761cee5 1605 */
10cc9d2a 1606/* HAS_GETSERVBYPORT:
1607 * This symbol, if defined, indicates that the getservbyport()
1608 * routine is available to look up services by their port.
1761cee5 1609 */
10cc9d2a 1610#define HAS_GETSERVBYNAME /**/
1611#define HAS_GETSERVBYPORT /**/
1612
1613/* HAS_GNULIBC:
1614 * This symbol, if defined, indicates to the C program that
1615 * the GNU C library is being used.
1761cee5 1616 */
10cc9d2a 1617/*#define HAS_GNULIBC /**/
1618#if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
1619# define _GNU_SOURCE
1620#endif
1621/* HAS_HASMNTOPT:
1622 * This symbol, if defined, indicates that the hasmntopt routine is
1623 * available to query the mount options of file systems.
1761cee5 1624 */
10cc9d2a 1625/*#define HAS_HASMNTOPT /**/
1761cee5 1626
10cc9d2a 1627/* HAS_HTONL:
1628 * This symbol, if defined, indicates that the htonl() routine (and
1629 * friends htons() ntohl() ntohs()) are available to do network
1630 * order byte swapping.
1761cee5 1631 */
10cc9d2a 1632/* HAS_HTONS:
1633 * This symbol, if defined, indicates that the htons() routine (and
1634 * friends htonl() ntohl() ntohs()) are available to do network
1635 * order byte swapping.
1761cee5 1636 */
1637/* HAS_NTOHL:
1638 * This symbol, if defined, indicates that the ntohl() routine (and
1639 * friends htonl() htons() ntohs()) are available to do network
1640 * order byte swapping.
1641 */
1642/* HAS_NTOHS:
1643 * This symbol, if defined, indicates that the ntohs() routine (and
1644 * friends htonl() htons() ntohl()) are available to do network
1645 * order byte swapping.
1646 */
1647#define HAS_HTONL /**/
1648#define HAS_HTONS /**/
1649#define HAS_NTOHL /**/
1650#define HAS_NTOHS /**/
1651
10cc9d2a 1652/* HAS_ICONV:
1653 * This symbol, if defined, indicates that the iconv routine is
1654 * available to do character set conversions.
1655 */
1656/*#define HAS_ICONV /**/
1657
1658/* HAS_INT64_T:
1659 * This symbol will defined if the C compiler supports int64_t.
1660 * Usually the <inttypes.h> needs to be included, but sometimes
1661 * <sys/types.h> is enough.
1662 */
09445a51 1663/*#define HAS_INT64_T /**/
10cc9d2a 1664
1665/* HAS_ISASCII:
1666 * This manifest constant lets the C program know that isascii
1667 * is available.
1668 */
1669#define HAS_ISASCII /**/
1670
a3540c92 1671/* HAS_ISNAN:
1672 * This symbol, if defined, indicates that the isnan routine is
1673 * available to check whether a double is a NaN.
1674 */
5b8c1387 1675/*#define HAS_ISNAN /**/
a3540c92 1676
1677/* HAS_ISNANL:
1678 * This symbol, if defined, indicates that the isnanl routine is
1679 * available to check whether a long double is a NaN.
1680 */
1681/*#define HAS_ISNANL /**/
1682
10cc9d2a 1683/* HAS_LCHOWN:
1684 * This symbol, if defined, indicates that the lchown routine is
1685 * available to operate on a symbolic link (instead of following the
1686 * link).
1687 */
1688/*#define HAS_LCHOWN /**/
1689
1690/* HAS_LDBL_DIG:
1691 * This symbol, if defined, indicates that this system's <float.h>
1692 * or <limits.h> defines the symbol LDBL_DIG, which is the number
1693 * of significant digits in a long double precision number. Unlike
1694 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
1695 */
1696#define HAS_LDBL_DIG /* */
1697
1761cee5 1698/* HAS_LONG_DOUBLE:
1699 * This symbol will be defined if the C compiler supports long
1700 * doubles.
1701 */
1702/* LONG_DOUBLESIZE:
1703 * This symbol contains the size of a long double, so that the
1704 * C preprocessor can make decisions based on it. It is only
1705 * defined if the system supports long doubles.
1706 */
1707#define HAS_LONG_DOUBLE /**/
1708#ifdef HAS_LONG_DOUBLE
1709#define LONG_DOUBLESIZE 8 /**/
1710#endif
1711
1712/* HAS_LONG_LONG:
1713 * This symbol will be defined if the C compiler supports long long.
1714 */
1715/* LONGLONGSIZE:
1716 * This symbol contains the size of a long long, so that the
1717 * C preprocessor can make decisions based on it. It is only
1718 * defined if the system supports long long.
1719 */
1720/*#define HAS_LONG_LONG /**/
1721#ifdef HAS_LONG_LONG
1722#define LONGLONGSIZE _error_ /**/
1723#endif
1724
a3540c92 1725/* HAS_LSEEK_PROTO:
1726 * This symbol, if defined, indicates that the system provides
1727 * a prototype for the lseek() function. Otherwise, it is up
1728 * to the program to supply one. A good guess is
1729 * extern off_t lseek(int, off_t, int);
1730 */
1731#define HAS_LSEEK_PROTO /**/
1732
792d8dab 1733/* HAS_MADVISE:
1734 * This symbol, if defined, indicates that the madvise system call is
1735 * available to map a file into memory.
1736 */
1737/*#define HAS_MADVISE /**/
1738
1761cee5 1739/* HAS_MEMCHR:
1740 * This symbol, if defined, indicates that the memchr routine is available
1741 * to locate characters within a C string.
1742 */
1743#define HAS_MEMCHR /**/
1744
10cc9d2a 1745/* HAS_MKDTEMP:
1746 * This symbol, if defined, indicates that the mkdtemp routine is
1747 * available to exclusively create a uniquely named temporary directory.
1761cee5 1748 */
09445a51 1749/*#define HAS_MKDTEMP /**/
1761cee5 1750
10cc9d2a 1751/* HAS_MKSTEMP:
1752 * This symbol, if defined, indicates that the mkstemp routine is
1753 * available to exclusively create and open a uniquely named
1754 * temporary file.
1761cee5 1755 */
09445a51 1756/*#define HAS_MKSTEMP /**/
1761cee5 1757
10cc9d2a 1758/* HAS_MKSTEMPS:
1759 * This symbol, if defined, indicates that the mkstemps routine is
1760 * available to excluslvely create and open a uniquely named
1761 * (with a suffix) temporary file.
1761cee5 1762 */
09445a51 1763/*#define HAS_MKSTEMPS /**/
1761cee5 1764
10cc9d2a 1765/* HAS_MMAP:
1766 * This symbol, if defined, indicates that the mmap system call is
1767 * available to map a file into memory.
1761cee5 1768 */
10cc9d2a 1769/* Mmap_t:
1770 * This symbol holds the return type of the mmap() system call
1771 * (and simultaneously the type of the first argument).
1772 * Usually set to 'void *' or 'cadd_t'.
1761cee5 1773 */
10cc9d2a 1774/*#define HAS_MMAP /**/
5b8c1387 1775#define Mmap_t void * /**/
1761cee5 1776
d6c14000 1777/* HAS_MODFL:
1778 * This symbol, if defined, indicates that the modfl routine is
1779 * available to split a long double x into a fractional part f and
1780 * an integer part i such that |f| < 1.0 and (f + i) = x.
1781 */
1782/*#define HAS_MODFL /**/
1783
10cc9d2a 1784/* HAS_MPROTECT:
1785 * This symbol, if defined, indicates that the mprotect system call is
1786 * available to modify the access protection of a memory mapped file.
1761cee5 1787 */
10cc9d2a 1788/*#define HAS_MPROTECT /**/
1761cee5 1789
10cc9d2a 1790/* HAS_MSG:
1791 * This symbol, if defined, indicates that the entire msg*(2) library is
1792 * supported (IPC mechanism based on message queues).
1761cee5 1793 */
10cc9d2a 1794/*#define HAS_MSG /**/
1761cee5 1795
4e0554ec 1796/* HAS_STRUCT_MSGHDR:
1797 * This symbol, if defined, indicates that the struct msghdr
1798 * is supported.
1799 */
1800/*#define HAS_STRUCT_MSGHDR / **/
1801
10cc9d2a 1802/* HAS_OFF64_T:
1803 * This symbol will be defined if the C compiler supports off64_t.
1761cee5 1804 */
10cc9d2a 1805/*#define HAS_OFF64_T /**/
1761cee5 1806
10cc9d2a 1807/* HAS_OPEN3:
1808 * This manifest constant lets the C program know that the three
1809 * argument form of open(2) is available.
1761cee5 1810 */
10cc9d2a 1811#define HAS_OPEN3 /**/
1761cee5 1812
10cc9d2a 1813/* OLD_PTHREAD_CREATE_JOINABLE:
1814 * This symbol, if defined, indicates how to create pthread
1815 * in joinable (aka undetached) state. NOTE: not defined
1816 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
1817 * (the new version of the constant).
1818 * If defined, known values are PTHREAD_CREATE_UNDETACHED
1819 * and __UNDETACHED.
1761cee5 1820 */
10cc9d2a 1821/*#define OLD_PTHREAD_CREATE_JOINABLE /**/
1822
1823/* HAS_PTHREAD_YIELD:
1824 * This symbol, if defined, indicates that the pthread_yield
1825 * routine is available to yield the execution of the current
1826 * thread. sched_yield is preferable to pthread_yield.
1827 */
1828/* SCHED_YIELD:
1829 * This symbol defines the way to yield the execution of
1830 * the current thread. Known ways are sched_yield,
1831 * pthread_yield, and pthread_yield with NULL.
1832 */
1833/* HAS_SCHED_YIELD:
1834 * This symbol, if defined, indicates that the sched_yield
1835 * routine is available to yield the execution of the current
1836 * thread. sched_yield is preferable to pthread_yield.
1837 */
1838/*#define HAS_PTHREAD_YIELD /**/
1839#define SCHED_YIELD /**/
1840/*#define HAS_SCHED_YIELD /**/
1841
1842/* HAS_SAFE_BCOPY:
1843 * This symbol, if defined, indicates that the bcopy routine is available
1844 * to copy potentially overlapping memory blocks. Otherwise you should
1845 * probably use memmove() or memcpy(). If neither is defined, roll your
1846 * own version.
1847 */
1848/*#define HAS_SAFE_BCOPY /**/
1849
1850/* HAS_SAFE_MEMCPY:
1851 * This symbol, if defined, indicates that the memcpy routine is available
1852 * to copy potentially overlapping memory blocks. Otherwise you should
1853 * probably use memmove() or memcpy(). If neither is defined, roll your
1854 * own version.
1855 */
1856/*#define HAS_SAFE_MEMCPY /**/
1857
1858/* HAS_SANE_MEMCMP:
1859 * This symbol, if defined, indicates that the memcmp routine is available
1860 * and can be used to compare relative magnitudes of chars with their high
1861 * bits set. If it is not defined, roll your own version.
1862 */
1863#define HAS_SANE_MEMCMP /**/
1864
ef9f17be 1865/* HAS_SBRK_PROTO:
1866 * This symbol, if defined, indicates that the system provides
1867 * a prototype for the sbrk() function. Otherwise, it is up
1868 * to the program to supply one. Good guesses are
1869 * extern void* sbrk _((int));
1870 * extern void* sbrk _((size_t));
1871 */
1872/*#define HAS_SBRK_PROTO / **/
1873
10cc9d2a 1874/* HAS_SEM:
1875 * This symbol, if defined, indicates that the entire sem*(2) library is
1876 * supported.
1877 */
1878/*#define HAS_SEM /**/
1879
4e0554ec 1880/* HAS_SENDMSG:
1881 * This symbol, if defined, indicates that the sendmsg routine is
1882 * available to send structured socket messages.
1883 */
1884/*#define HAS_SENDMSG /**/
1885
10cc9d2a 1886/* HAS_SETGRENT:
1887 * This symbol, if defined, indicates that the setgrent routine is
1888 * available for initializing sequential access of the group database.
1889 */
1890/*#define HAS_SETGRENT /**/
1891
1892/* HAS_SETGROUPS:
1893 * This symbol, if defined, indicates that the setgroups() routine is
1894 * available to set the list of process groups. If unavailable, multiple
1895 * groups are probably not supported.
1896 */
1897/*#define HAS_SETGROUPS /**/
1898
1899/* HAS_SETHOSTENT:
1900 * This symbol, if defined, indicates that the sethostent() routine is
1901 * available.
1902 */
1903#define HAS_SETHOSTENT /**/
1904
4e0554ec 1905/* HAS_SETITIMER:
1906 * This symbol, if defined, indicates that the setitimer routine is
1907 * available to set interval timers.
1908 */
1909/*#define HAS_SETITIMER /**/
1910
10cc9d2a 1911/* HAS_SETNETENT:
1912 * This symbol, if defined, indicates that the setnetent() routine is
1913 * available.
1914 */
1915#define HAS_SETNETENT /**/
1916
1917/* HAS_SETPROTOENT:
1918 * This symbol, if defined, indicates that the setprotoent() routine is
1919 * available.
1920 */
1921#define HAS_SETPROTOENT /**/
1922
fd47df60 1923/* HAS_SETPROCTITLE:
1924 * This symbol, if defined, indicates that the setproctitle routine is
1925 * available to set process title.
1926 */
1927/*#define HAS_SETPROCTITLE /**/
1928
10cc9d2a 1929/* HAS_SETPWENT:
1930 * This symbol, if defined, indicates that the setpwent routine is
1931 * available for initializing sequential access of the passwd database.
1932 */
1933/*#define HAS_SETPWENT /**/
1934
1935/* HAS_SETSERVENT:
1936 * This symbol, if defined, indicates that the setservent() routine is
1937 * available.
1938 */
1939#define HAS_SETSERVENT /**/
1940
10cc9d2a 1941/* HAS_SETVBUF:
1942 * This symbol, if defined, indicates that the setvbuf routine is
1943 * available to change buffering on an open stdio stream.
1944 * to a line-buffered mode.
1945 */
1946#define HAS_SETVBUF /**/
1947
1948/* USE_SFIO:
1949 * This symbol, if defined, indicates that sfio should
1950 * be used.
1951 */
1952/*#define USE_SFIO /**/
1761cee5 1953
1954/* HAS_SHM:
1955 * This symbol, if defined, indicates that the entire shm*(2) library is
1956 * supported.
1957 */
1958/*#define HAS_SHM /**/
1959
10cc9d2a 1960/* HAS_SIGACTION:
1961 * This symbol, if defined, indicates that Vr4's sigaction() routine
1962 * is available.
1963 */
1964/*#define HAS_SIGACTION /**/
1965
983dbef6 1966/* HAS_SIGPROCMASK:
1967 * This symbol, if defined, indicates that sigprocmask
1968 * system call is available to examine or change the signal mask
1969 * of the calling process.
1970 */
1971/*#define HAS_SIGPROCMASK /**/
1972
10cc9d2a 1973/* HAS_SIGSETJMP:
1974 * This variable indicates to the C program that the sigsetjmp()
1975 * routine is available to save the calling process's registers
1976 * and stack environment for later use by siglongjmp(), and
1977 * to optionally save the process's signal mask. See
1978 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
1979 */
1980/* Sigjmp_buf:
1981 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1982 */
1983/* Sigsetjmp:
1984 * This macro is used in the same way as sigsetjmp(), but will invoke
1985 * traditional setjmp() if sigsetjmp isn't available.
1986 * See HAS_SIGSETJMP.
1987 */
1988/* Siglongjmp:
1989 * This macro is used in the same way as siglongjmp(), but will invoke
1990 * traditional longjmp() if siglongjmp isn't available.
1991 * See HAS_SIGSETJMP.
1992 */
1993/*#define HAS_SIGSETJMP /**/
1994#ifdef HAS_SIGSETJMP
1995#define Sigjmp_buf sigjmp_buf
1996#define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1997#define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
1998#else
1999#define Sigjmp_buf jmp_buf
2000#define Sigsetjmp(buf,save_mask) setjmp((buf))
2001#define Siglongjmp(buf,retval) longjmp((buf),(retval))
2002#endif
2003
1761cee5 2004/* HAS_SOCKET:
2005 * This symbol, if defined, indicates that the BSD socket interface is
2006 * supported.
2007 */
2008/* HAS_SOCKETPAIR:
2009 * This symbol, if defined, indicates that the BSD socketpair() call is
2010 * supported.
2011 */
2012/* HAS_MSG_CTRUNC:
2013 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
2014 * Checking just with #ifdef might not be enough because this symbol
2015 * has been known to be an enum.
2016 */
2017/* HAS_MSG_DONTROUTE:
2018 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
2019 * Checking just with #ifdef might not be enough because this symbol
2020 * has been known to be an enum.
2021 */
2022/* HAS_MSG_OOB:
2023 * This symbol, if defined, indicates that the MSG_OOB is supported.
2024 * Checking just with #ifdef might not be enough because this symbol
2025 * has been known to be an enum.
2026 */
2027/* HAS_MSG_PEEK:
2028 * This symbol, if defined, indicates that the MSG_PEEK is supported.
2029 * Checking just with #ifdef might not be enough because this symbol
2030 * has been known to be an enum.
2031 */
2032/* HAS_MSG_PROXY:
2033 * This symbol, if defined, indicates that the MSG_PROXY is supported.
2034 * Checking just with #ifdef might not be enough because this symbol
2035 * has been known to be an enum.
2036 */
2037/* HAS_SCM_RIGHTS:
2038 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
2039 * Checking just with #ifdef might not be enough because this symbol
2040 * has been known to be an enum.
c287c78d 2041 */
1761cee5 2042#define HAS_SOCKET /**/
2043/*#define HAS_SOCKETPAIR /**/
2044/*#define HAS_MSG_CTRUNC /**/
2045/*#define HAS_MSG_DONTROUTE /**/
2046/*#define HAS_MSG_OOB /**/
2047/*#define HAS_MSG_PEEK /**/
2048/*#define HAS_MSG_PROXY /**/
2049/*#define HAS_SCM_RIGHTS /**/
c287c78d 2050
d6b278e9 2051/* HAS_SOCKS5_INIT:
2052 * This symbol, if defined, indicates that the socks5_init routine is
2053 * available to initialize SOCKS 5.
2054 */
2055/*#define HAS_SOCKS5_INIT /**/
2056
10cc9d2a 2057/* HAS_SQRTL:
2058 * This symbol, if defined, indicates that the sqrtl routine is
2059 * available to do long double square roots.
2060 */
2061/*#define HAS_SQRTL /**/
2062
1761cee5 2063/* USE_STAT_BLOCKS:
2064 * This symbol is defined if this system has a stat structure declaring
2065 * st_blksize and st_blocks.
c287c78d 2066 */
1761cee5 2067#ifndef USE_STAT_BLOCKS
2068/*#define USE_STAT_BLOCKS /**/
2069#endif
c287c78d 2070
10cc9d2a 2071/* HAS_STRUCT_STATFS_F_FLAGS:
2072 * This symbol, if defined, indicates that the struct statfs
2073 * does have the f_flags member containing the mount flags of
2074 * the filesystem containing the file.
2075 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
2076 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
2077 * have statfs() and struct statfs, they have ustat() and getmnt()
2078 * with struct ustat and struct fs_data.
2079 */
2080/*#define HAS_STRUCT_STATFS_F_FLAGS /**/
2081
2082/* HAS_STRUCT_STATFS:
2083 * This symbol, if defined, indicates that the struct statfs
2084 * to do statfs() is supported.
2085 */
2086/*#define HAS_STRUCT_STATFS /**/
2087
2088/* HAS_FSTATVFS:
2089 * This symbol, if defined, indicates that the fstatvfs routine is
2090 * available to stat filesystems by file descriptors.
2091 */
2092/*#define HAS_FSTATVFS /**/
2093
2094/* USE_STDIO_PTR:
2095 * This symbol is defined if the _ptr and _cnt fields (or similar)
2096 * of the stdio FILE structure can be used to access the stdio buffer
2097 * for a file handle. If this is defined, then the FILE_ptr(fp)
2098 * and FILE_cnt(fp) macros will also be defined and should be used
2099 * to access these fields.
2100 */
2101/* FILE_ptr:
2102 * This macro is used to access the _ptr field (or equivalent) of the
2103 * FILE structure pointed to by its argument. This macro will always be
2104 * defined if USE_STDIO_PTR is defined.
2105 */
2106/* STDIO_PTR_LVALUE:
2107 * This symbol is defined if the FILE_ptr macro can be used as an
2108 * lvalue.
2109 */
2110/* FILE_cnt:
2111 * This macro is used to access the _cnt field (or equivalent) of the
2112 * FILE structure pointed to by its argument. This macro will always be
2113 * defined if USE_STDIO_PTR is defined.
2114 */
2115/* STDIO_CNT_LVALUE:
2116 * This symbol is defined if the FILE_cnt macro can be used as an
2117 * lvalue.
2118 */
ee766305 2119/* STDIO_PTR_LVAL_SETS_CNT:
2120 * This symbol is defined if using the FILE_ptr macro as an lvalue
2121 * to increase the pointer by n has the side effect of decreasing the
2122 * value of File_cnt(fp) by n.
2123 */
2124/* STDIO_PTR_LVAL_NOCHANGE_CNT:
2125 * This symbol is defined if using the FILE_ptr macro as an lvalue
2126 * to increase the pointer by n leaves File_cnt(fp) unchanged.
2127 */
10cc9d2a 2128#define USE_STDIO_PTR /**/
2129#ifdef USE_STDIO_PTR
2130#define FILE_ptr(fp) ((fp)->_ptr)
2131#define STDIO_PTR_LVALUE /**/
2132#define FILE_cnt(fp) ((fp)->_cnt)
2133#define STDIO_CNT_LVALUE /**/
ee766305 2134/*#define STDIO_PTR_LVAL_SETS_CNT /**/
2135/*#define STDIO_PTR_LVAL_NOCHANGE_CNT /**/
10cc9d2a 2136#endif
2137
2138/* USE_STDIO_BASE:
2139 * This symbol is defined if the _base field (or similar) of the
2140 * stdio FILE structure can be used to access the stdio buffer for
2141 * a file handle. If this is defined, then the FILE_base(fp) macro
2142 * will also be defined and should be used to access this field.
2143 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
2144 * to determine the number of bytes in the buffer. USE_STDIO_BASE
2145 * will never be defined unless USE_STDIO_PTR is.
2146 */
2147/* FILE_base:
2148 * This macro is used to access the _base field (or equivalent) of the
2149 * FILE structure pointed to by its argument. This macro will always be
2150 * defined if USE_STDIO_BASE is defined.
2151 */
2152/* FILE_bufsiz:
2153 * This macro is used to determine the number of bytes in the I/O
2154 * buffer pointed to by _base field (or equivalent) of the FILE
2155 * structure pointed to its argument. This macro will always be defined
2156 * if USE_STDIO_BASE is defined.
2157 */
2158#define USE_STDIO_BASE /**/
2159#ifdef USE_STDIO_BASE
2160#define FILE_base(fp) ((fp)->_base)
2161#define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base)
2162#endif
2163
1761cee5 2164/* HAS_STRERROR:
2165 * This symbol, if defined, indicates that the strerror routine is
2166 * available to translate error numbers to strings. See the writeup
2167 * of Strerror() in this file before you try to define your own.
c287c78d 2168 */
1761cee5 2169/* HAS_SYS_ERRLIST:
2170 * This symbol, if defined, indicates that the sys_errlist array is
2171 * available to translate error numbers to strings. The extern int
2172 * sys_nerr gives the size of that table.
c287c78d 2173 */
1761cee5 2174/* Strerror:
2175 * This preprocessor symbol is defined as a macro if strerror() is
2176 * not available to translate error numbers to strings but sys_errlist[]
2177 * array is there.
c287c78d 2178 */
1761cee5 2179#define HAS_STRERROR /**/
2180#define HAS_SYS_ERRLIST /**/
2181#define Strerror(e) strerror(e)
c287c78d 2182
10cc9d2a 2183/* HAS_STRTOLD:
2184 * This symbol, if defined, indicates that the strtold routine is
2185 * available to convert strings to long doubles.
c287c78d 2186 */
10cc9d2a 2187/*#define HAS_STRTOLD /**/
2188
2189/* HAS_STRTOLL:
2190 * This symbol, if defined, indicates that the strtoll routine is
2191 * available to convert strings to long longs.
c287c78d 2192 */
10cc9d2a 2193/*#define HAS_STRTOLL /**/
c287c78d 2194
d0e6d399 2195/* HAS_STRTOQ:
2196 * This symbol, if defined, indicates that the strtouq routine is
2197 * available to convert strings to long longs (quads).
2198 */
2199/*#define HAS_STRTOQ /**/
2200
28e5dec8 2201/* HAS_STRTOQ:
2202 * This symbol, if defined, indicates that the strtouq routine is
2203 * available to convert strings to long longs (quads).
2204 */
2205/*#define HAS_STRTOQ /**/
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 */
2455/*#define I_NETINET_TCP /**/
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 */
10cc9d2a 2986#define SIG_NAME "ZERO","ABRT","FPE","ILL","INT","SEGV","TERM","USR1","USR2","IO","HUP","URG","ALRM","KILL","PIPE","QUIT","CHLD","CONT","STOP","TSTP","TTIN","TTOU","BUS","RT1","RT2","RT3","RT4","RT5","RT6","RT7","RT8",0 /**/
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,0 /**/
d9e635b6 2988#define SIG_SIZE 31 /**/
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