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