SYN SYN
[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
22d4bb9c 19 * Source directory : /m/fs/work/work/permanent/perl/pp4/perl
20 * Configuration time: Fri Oct 13 02:12:22 EET DST 2000
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
588/* HAS_STRTOUL:
589 * This symbol, if defined, indicates that the strtoul routine is
774d564b 590 * available to provide conversion of strings to unsigned long.
55497cff 591 */
592#define HAS_STRTOUL /**/
593
a0d0e21e 594/* HAS_STRXFRM:
595 * This symbol, if defined, indicates that the strxfrm() routine is
596 * available to transform strings.
597 */
598#define HAS_STRXFRM /**/
599
85e6fe83 600/* HAS_SYMLINK:
a687059c 601 * This symbol, if defined, indicates that the symlink routine is available
602 * to create symbolic links.
603 */
85e6fe83 604#define HAS_SYMLINK /**/
a687059c 605
85e6fe83 606/* HAS_SYSCALL:
607 * This symbol, if defined, indicates that the syscall routine is
608 * available to call arbitrary system calls. If undefined, that's tough.
a687059c 609 */
85e6fe83 610#define HAS_SYSCALL /**/
a687059c 611
ecfc5424 612/* HAS_SYSCONF:
613 * This symbol, if defined, indicates that sysconf() is available
614 * to determine system related limits and options.
615 */
616#define HAS_SYSCONF /**/
617
85e6fe83 618/* HAS_SYSTEM:
619 * This symbol, if defined, indicates that the system routine is
620 * available to issue a shell command.
68decaef 621 */
85e6fe83 622#define HAS_SYSTEM /**/
68decaef 623
a0d0e21e 624/* HAS_TCGETPGRP:
625 * This symbol, if defined, indicates that the tcgetpgrp routine is
626 * available to get foreground process group ID.
627 */
628#define HAS_TCGETPGRP /**/
629
630/* HAS_TCSETPGRP:
631 * This symbol, if defined, indicates that the tcsetpgrp routine is
632 * available to set foreground process group ID.
85e6fe83 633 */
a0d0e21e 634#define HAS_TCSETPGRP /**/
85e6fe83 635
85e6fe83 636/* HAS_TRUNCATE:
fe14fcc3 637 * This symbol, if defined, indicates that the truncate routine is
638 * available to truncate files.
a687059c 639 */
4633a7c4 640#define HAS_TRUNCATE /**/
a0d0e21e 641
642/* HAS_TZNAME:
643 * This symbol, if defined, indicates that the tzname[] array is
644 * available to access timezone names.
645 */
646#define HAS_TZNAME /**/
647
648/* HAS_UMASK:
649 * This symbol, if defined, indicates that the umask routine is
650 * available to set and get the value of the file creation mask.
651 */
652#define HAS_UMASK /**/
a687059c 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 */
85e6fe83 824#define I_SYS_IOCTL /**/
a687059c 825
85e6fe83 826/* I_SYS_NDIR:
827 * This symbol, if defined, indicates to the C program that it should
828 * include <sys/ndir.h>.
fe14fcc3 829 */
20e68413 830/*#define I_SYS_NDIR / **/
85e6fe83 831
a0d0e21e 832/* I_SYS_PARAM:
833 * This symbol, if defined, indicates to the C program that it should
834 * include <sys/param.h>.
835 */
836#define I_SYS_PARAM /**/
837
9003a523 838/* I_SYS_RESOURCE:
839 * This symbol, if defined, indicates to the C program that it should
840 * include <sys/resource.h>.
841 */
842#define I_SYS_RESOURCE /**/
843
85e6fe83 844/* I_SYS_SELECT:
845 * This symbol, if defined, indicates to the C program that it should
846 * include <sys/select.h> in order to get definition of struct timeval.
fe14fcc3 847 */
4633a7c4 848#define I_SYS_SELECT /**/
85e6fe83 849
dfe9444c 850/* I_SYS_STAT:
851 * This symbol, if defined, indicates to the C program that it should
852 * include <sys/stat.h>.
853 */
854#define I_SYS_STAT /**/
855
a0d0e21e 856/* I_SYS_TIMES:
85e6fe83 857 * This symbol, if defined, indicates to the C program that it should
a0d0e21e 858 * include <sys/times.h>.
fe14fcc3 859 */
a0d0e21e 860#define I_SYS_TIMES /**/
861
bd89102f 862/* I_SYS_TYPES:
863 * This symbol, if defined, indicates to the C program that it should
864 * include <sys/types.h>.
865 */
866#define I_SYS_TYPES /**/
867
fbfd4aab 868/* I_SYS_UN:
869 * This symbol, if defined, indicates to the C program that it should
870 * include <sys/un.h> to get UNIX domain socket definitions.
871 */
872#define I_SYS_UN /**/
873
9003a523 874/* I_SYS_WAIT:
875 * This symbol, if defined, indicates to the C program that it should
876 * include <sys/wait.h>.
877 */
878#define I_SYS_WAIT /**/
879
a0d0e21e 880/* I_TERMIO:
881 * This symbol, if defined, indicates that the program should include
882 * <termio.h> rather than <sgtty.h>. There are also differences in
883 * the ioctl() calls that depend on the value of this symbol.
884 */
885/* I_TERMIOS:
886 * This symbol, if defined, indicates that the program should include
887 * the POSIX termios.h rather than sgtty.h or termio.h.
888 * There are also differences in the ioctl() calls that depend on the
889 * value of this symbol.
890 */
891/* I_SGTTY:
892 * This symbol, if defined, indicates that the program should include
893 * <sgtty.h> rather than <termio.h>. There are also differences in
894 * the ioctl() calls that depend on the value of this symbol.
895 */
20e68413 896/*#define I_TERMIO / **/
a0d0e21e 897#define I_TERMIOS /**/
20e68413 898/*#define I_SGTTY / **/
a0d0e21e 899
a0d0e21e 900/* I_UNISTD:
901 * This symbol, if defined, indicates to the C program that it should
902 * include <unistd.h>.
903 */
904#define I_UNISTD /**/
905
85e6fe83 906/* I_UTIME:
a687059c 907 * This symbol, if defined, indicates to the C program that it should
85e6fe83 908 * include <utime.h>.
a687059c 909 */
85e6fe83 910#define I_UTIME /**/
a687059c 911
dfe9444c 912/* I_VALUES:
913 * This symbol, if defined, indicates to the C program that it should
914 * include <values.h> to get definition of symbols like MINFLOAT or
915 * MAXLONG, i.e. machine dependant limitations. Probably, you
916 * should use <limits.h> instead, if it is available.
917 */
918#define I_VALUES /**/
919
9003a523 920/* I_STDARG:
921 * This symbol, if defined, indicates that <stdarg.h> exists and should
922 * be included.
923 */
924/* I_VARARGS:
925 * This symbol, if defined, indicates to the C program that it should
926 * include <varargs.h>.
927 */
928#define I_STDARG /**/
20e68413 929/*#define I_VARARGS / **/
9003a523 930
a0d0e21e 931/* I_VFORK:
932 * This symbol, if defined, indicates to the C program that it should
933 * include vfork.h.
934 */
20e68413 935/*#define I_VFORK / **/
fe14fcc3 936
a0d0e21e 937/* CAN_PROTOTYPE:
938 * If defined, this macro indicates that the C compiler can handle
939 * function prototypes.
940 */
941/* _:
942 * This macro is used to declare function parameters for folks who want
943 * to make declarations with prototypes using a different style than
944 * the above macros. Use double parentheses. For example:
945 *
946 * int main _((int argc, char *argv[]));
947 */
4633a7c4 948#define CAN_PROTOTYPE /**/
a0d0e21e 949#ifdef CAN_PROTOTYPE
950#define _(args) args
951#else
952#define _(args) ()
953#endif
85e6fe83 954
dfe9444c 955/* SH_PATH:
956 * This symbol contains the full pathname to the shell used on this
957 * on this system to execute Bourne shell scripts. Usually, this will be
958 * /bin/sh, though it's possible that some systems will have /bin/ksh,
959 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
960 * D:/bin/sh.exe.
a0d0e21e 961 */
dfe9444c 962#define SH_PATH "/bin/sh" /**/
a0d0e21e 963
85e6fe83 964/* STDCHAR:
965 * This symbol is defined to be the type of char used in stdio.h.
966 * It has the values "unsigned char" or "char".
fe14fcc3 967 */
ff935051 968#define STDCHAR unsigned char /**/
327c3667 969
aaacdc8b 970/* CROSSCOMPILE:
971 * This symbol, if defined, signifies that we our
972 * build process is a cross-compilation.
973 */
974/*#define CROSSCOMPILE / **/
975
976/* INTSIZE:
977 * This symbol contains the value of sizeof(int) so that the C
978 * preprocessor can make decisions based on it.
979 */
980/* LONGSIZE:
981 * This symbol contains the value of sizeof(long) so that the C
982 * preprocessor can make decisions based on it.
983 */
984/* SHORTSIZE:
985 * This symbol contains the value of sizeof(short) so that the C
986 * preprocessor can make decisions based on it.
de1c2614 987 */
aaacdc8b 988#define INTSIZE 4 /**/
ff935051 989#define LONGSIZE 8 /**/
aaacdc8b 990#define SHORTSIZE 2 /**/
991
992/* MULTIARCH:
993 * This symbol, if defined, signifies that the build
994 * process will produce some binary files that are going to be
995 * used in a cross-platform environment. This is the case for
996 * example with the NeXT "fat" binaries that contain executables
997 * for several CPUs.
a22e52b9 998 */
aaacdc8b 999/*#define MULTIARCH / **/
1000
1001/* HAS_QUAD:
1002 * This symbol, if defined, tells that there's a 64-bit integer type,
1003 * Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one
1004 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T.
a22e52b9 1005 */
de1c2614 1006#define HAS_QUAD /**/
e0a10278 1007#ifdef HAS_QUAD
ff935051 1008# define Quad_t long /**/
1009# define Uquad_t unsigned long /**/
1010# define QUADKIND 2 /**/
e0a10278 1011# define QUAD_IS_INT 1
1012# define QUAD_IS_LONG 2
1013# define QUAD_IS_LONG_LONG 3
1014# define QUAD_IS_INT64_T 4
1015#endif
a22e52b9 1016
327c3667 1017/* HAS_ACCESSX:
1018 * This symbol, if defined, indicates that the accessx routine is
1019 * available to do extended access checks.
1020 */
11dc3f68 1021/*#define HAS_ACCESSX / **/
327c3667 1022
1023/* HAS_EACCESS:
1024 * This symbol, if defined, indicates that the eaccess routine is
1025 * available to do extended access checks.
1026 */
11dc3f68 1027/*#define HAS_EACCESS / **/
327c3667 1028
1029/* I_SYS_ACCESS:
1030 * This symbol, if defined, indicates to the C program that it should
921b2963 1031 * include <sys/access.h>.
327c3667 1032 */
ff935051 1033#define I_SYS_ACCESS /**/
327c3667 1034
1035/* I_SYS_SECURITY:
1036 * This symbol, if defined, indicates to the C program that it should
1037 * include <sys/security.h>.
1038 */
ff935051 1039#define I_SYS_SECURITY /**/
1040
1041/* OSNAME:
1042 * This symbol contains the name of the operating system, as determined
1043 * by Configure. You shouldn't rely on it too much; the specific
1044 * feature tests from Configure are generally more reliable.
1045 */
1046#define OSNAME "dec_osf" /**/
af4c28eb 1047
dfe9444c 1048/* MEM_ALIGNBYTES:
af4c28eb 1049 * This symbol contains the number of bytes required to align a
87b71857 1050 * double, or a long double when applicable. Usual values are 2,
1051 * 4 and 8. The default is eight, for safety.
5f05dabc 1052 */
af4c28eb 1053#if defined(CROSSCOMPILE) || defined(MULTIARCH)
1054# define MEM_ALIGNBYTES 8
1055#else
ff935051 1056#define MEM_ALIGNBYTES 8
af4c28eb 1057#endif
5f05dabc 1058
ff935051 1059/* ARCHLIB:
1060 * This variable, if defined, holds the name of the directory in
1061 * which the user wants to put architecture-dependent public
1062 * library files for perl5. It is most often a local directory
1063 * such as /usr/local/lib. Programs using this variable must be
1064 * prepared to deal with filename expansion. If ARCHLIB is the
1065 * same as PRIVLIB, it is not defined, since presumably the
1066 * program already searches PRIVLIB.
1067 */
1068/* ARCHLIB_EXP:
1069 * This symbol contains the ~name expanded version of ARCHLIB, to be used
1070 * in programs that are not prepared to deal with ~ expansion at run-time.
1071 */
22d4bb9c 1072#define ARCHLIB "/opt/perl/lib/5.7.0/alpha-dec_osf-thread" /**/
1073#define ARCHLIB_EXP "/opt/perl/lib/5.7.0/alpha-dec_osf-thread" /**/
ff935051 1074
1075/* ARCHNAME:
1076 * This symbol holds a string representing the architecture name.
1077 * It may be used to construct an architecture-dependant pathname
1078 * where library files may be held under a private library, for
1079 * instance.
1080 */
22d4bb9c 1081#define ARCHNAME "alpha-dec_osf-thread" /**/
ff935051 1082
1083/* HAS_ATOLF:
1084 * This symbol, if defined, indicates that the atolf routine is
1085 * available to convert strings into long doubles.
1086 */
1087/*#define HAS_ATOLF / **/
1088
1089/* HAS_ATOLL:
1090 * This symbol, if defined, indicates that the atoll routine is
1091 * available to convert strings into long longs.
1092 */
1093/*#define HAS_ATOLL / **/
1094
1095/* BIN:
1096 * This symbol holds the path of the bin directory where the package will
1097 * be installed. Program must be prepared to deal with ~name substitution.
1098 */
1099/* BIN_EXP:
1100 * This symbol is the filename expanded version of the BIN symbol, for
1101 * programs that do not want to deal with that at run-time.
1102 */
1103#define BIN "/opt/perl/bin" /**/
1104#define BIN_EXP "/opt/perl/bin" /**/
1105
1106/* PERL_BINCOMPAT_5005:
ee8c7f54 1107 * This symbol, if defined, indicates that this version of Perl should be
ff935051 1108 * binary-compatible with Perl 5.005. This is impossible for builds
1109 * that use features like threads and multiplicity it is always
1110 * for those versions.
1111 */
1112/*#define PERL_BINCOMPAT_5005 / **/
1113
4633a7c4 1114/* BYTEORDER:
9003a523 1115 * This symbol holds the hexadecimal constant defined in byteorder,
4633a7c4 1116 * i.e. 0x1234 or 0x4321, etc...
af4c28eb 1117 * If the compiler supports cross-compiling or multiple-architecture
1118 * binaries (eg. on NeXT systems), use compiler-defined macros to
1119 * determine the byte order.
dfe9444c 1120 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
9003a523 1121 * Binaries (MAB) on either big endian or little endian machines.
1122 * The endian-ness is available at compile-time. This only matters
1123 * for perl, where the config.h can be generated and installed on
1124 * one system, and used by a different architecture to build an
1125 * extension. Older versions of NeXT that might not have
1126 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1127 * so the default case (for NeXT) is big endian to catch them.
1128 * This might matter for NeXT 3.0.
1129 */
af4c28eb 1130#if defined(CROSSCOMPILE) || defined(MULTIARCH)
1131# ifdef __LITTLE_ENDIAN__
1132# if LONGSIZE == 4
1133# define BYTEORDER 0x1234
1134# else
1135# if LONGSIZE == 8
1136# define BYTEORDER 0x12345678
1137# endif
1138# endif
1139# else
1140# ifdef __BIG_ENDIAN__
1141# if LONGSIZE == 4
1142# define BYTEORDER 0x4321
1143# else
1144# if LONGSIZE == 8
1145# define BYTEORDER 0x87654321
1146# endif
1147# endif
1148# endif
1149# endif
1150# if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
1151# define BYTEORDER 0x4321
1152# endif
1153#else
ff935051 1154#define BYTEORDER 0x12345678 /* large digits for MSB */
9003a523 1155#endif /* NeXT */
4633a7c4 1156
ff935051 1157/* CAT2:
1158 * This macro catenates 2 tokens together.
1159 */
1160/* STRINGIFY:
1161 * This macro surrounds its token with double quotes.
1162 */
1163#if 42 == 1
22d4bb9c 1164#define CAT2(a,b) a/**/b
1165#define STRINGIFY(a) "a"
ff935051 1166 /* If you can get stringification with catify, tell me how! */
1167#endif
1168#if 42 == 42
22d4bb9c 1169#define PeRl_CaTiFy(a, b) a ## b
1170#define PeRl_StGiFy(a) #a
65f19062 1171/* the additional level of indirection enables these macros to be
1172 * used as arguments to other macros. See K&R 2nd ed., page 231. */
22d4bb9c 1173#define CAT2(a,b) PeRl_CaTiFy(a,b)
1174#define StGiFy(a) PeRl_StGiFy(a)
1175#define STRINGIFY(a) PeRl_StGiFy(a)
ff935051 1176#endif
1177#if 42 != 1 && 42 != 42
ee8c7f54 1178# include "Bletch: How does this C preprocessor catenate tokens?"
ff935051 1179#endif
1180
1181/* CPPSTDIN:
1182 * This symbol contains the first part of the string which will invoke
1183 * the C preprocessor on the standard input and produce to standard
1184 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
1185 * call a wrapper. See CPPRUN.
1186 */
1187/* CPPMINUS:
1188 * This symbol contains the second part of the string which will invoke
1189 * the C preprocessor on the standard input and produce to standard
1190 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
1191 * to specify standard input, otherwise the value is "".
1192 */
1193/* CPPRUN:
1194 * This symbol contains the string which will invoke a C preprocessor on
1195 * the standard input and produce to standard output. It needs to end
1196 * with CPPLAST, after all other preprocessor flags have been specified.
1197 * The main difference with CPPSTDIN is that this program will never be a
1198 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1199 * available directly to the user. Note that it may well be different from
1200 * the preprocessor used to compile the C program.
1201 */
78691af5 1202/* CPPLAST:
1203 * This symbol is intended to be used along with CPPRUN in the same manner
1204 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1205 */
ff935051 1206#define CPPSTDIN "cppstdin"
1207#define CPPMINUS ""
1208#define CPPRUN "/usr/bin/cpp"
78691af5 1209#define CPPLAST ""
ff935051 1210
1211/* HAS_ACCESS:
1212 * This manifest constant lets the C program know that the access()
1213 * system call is available to check for accessibility using real UID/GID.
1214 * (always present on UNIX.)
1215 */
1216#define HAS_ACCESS /**/
1217
dfe9444c 1218/* CASTI32:
1219 * This symbol is defined if the C compiler can cast negative
1220 * or large floating point numbers to 32-bit ints.
1aef975c 1221 */
11dc3f68 1222/*#define CASTI32 / **/
1aef975c 1223
dfe9444c 1224/* CASTNEGFLOAT:
1225 * This symbol is defined if the C compiler can cast negative
1226 * numbers to unsigned longs, ints and shorts.
85e6fe83 1227 */
dfe9444c 1228/* CASTFLAGS:
1229 * This symbol contains flags that say what difficulties the compiler
1230 * has casting odd floating values to unsigned long:
1231 * 0 = ok
1232 * 1 = couldn't cast < 0
1233 * 2 = couldn't cast >= 0x80000000
1234 * 4 = couldn't cast in argument expression list
fbfd4aab 1235 */
e5c9fcd0 1236#define CASTNEGFLOAT /**/
1237#define CASTFLAGS 0 /**/
dfe9444c 1238
1239/* VOID_CLOSEDIR:
1240 * This symbol, if defined, indicates that the closedir() routine
1241 * does not return a value.
fbfd4aab 1242 */
dfe9444c 1243/*#define VOID_CLOSEDIR / **/
fbfd4aab 1244
ff935051 1245/* HAS_CSH:
1246 * This symbol, if defined, indicates that the C-shell exists.
1247 */
1248/* CSH:
1249 * This symbol, if defined, contains the full pathname of csh.
1250 */
1251#define HAS_CSH /**/
1252#ifdef HAS_CSH
1253#define CSH "/usr/bin/csh" /**/
1254#endif
1255
1256/* DLSYM_NEEDS_UNDERSCORE:
1257 * This symbol, if defined, indicates that we need to prepend an
1258 * underscore to the symbol name before calling dlsym(). This only
1259 * makes sense if you *have* dlsym, which we will presume is the
1260 * case if you're using dl_dlopen.xs.
1261 */
1262/*#define DLSYM_NEEDS_UNDERSCORE / **/
1263
1264/* HAS_DRAND48_PROTO:
1265 * This symbol, if defined, indicates that the system provides
1266 * a prototype for the drand48() function. Otherwise, it is up
1267 * to the program to supply one. A good guess is
1268 * extern double drand48 _((void));
1269 */
1270#define HAS_DRAND48_PROTO /**/
1271
1272/* HAS_ENDGRENT:
1273 * This symbol, if defined, indicates that the getgrent routine is
1274 * available for finalizing sequential access of the group database.
1275 */
1276#define HAS_ENDGRENT /**/
1277
1278/* HAS_ENDHOSTENT:
1279 * This symbol, if defined, indicates that the endhostent() routine is
1280 * available to close whatever was being used for host queries.
1281 */
1282#define HAS_ENDHOSTENT /**/
1283
1284/* HAS_ENDNETENT:
1285 * This symbol, if defined, indicates that the endnetent() routine is
1286 * available to close whatever was being used for network queries.
1287 */
1288#define HAS_ENDNETENT /**/
1289
1290/* HAS_ENDPROTOENT:
1291 * This symbol, if defined, indicates that the endprotoent() routine is
1292 * available to close whatever was being used for protocol queries.
1293 */
1294#define HAS_ENDPROTOENT /**/
1295
1296/* HAS_ENDPWENT:
1297 * This symbol, if defined, indicates that the getgrent routine is
1298 * available for finalizing sequential access of the passwd database.
1299 */
1300#define HAS_ENDPWENT /**/
1301
1302/* HAS_ENDSERVENT:
1303 * This symbol, if defined, indicates that the endservent() routine is
1304 * available to close whatever was being used for service queries.
1305 */
1306#define HAS_ENDSERVENT /**/
1307
921b2963 1308/* HAS_FD_SET:
1309 * This symbol, when defined, indicates presence of the fd_set typedef
1310 * in <sys/types.h>
1311 */
1312#define HAS_FD_SET /**/
1313
ee8c7f54 1314/* FLEXFILENAMES:
1315 * This symbol, if defined, indicates that the system supports filenames
1316 * longer than 14 characters.
1317 */
1318#define FLEXFILENAMES /**/
1319
c890dc6c 1320/* HAS_FPOS64_T:
1321 * This symbol will be defined if the C compiler supports fpos64_t.
1322 */
1323/*#define HAS_FPOS64_T / **/
1324
ee8c7f54 1325/* HAS_FREXPL:
1326 * This symbol, if defined, indicates that the frexpl routine is
1327 * available to break a long double floating-point number into
1328 * a normalized fraction and an integral power of 2.
1329 */
1330#define HAS_FREXPL /**/
1331
ff935051 1332/* HAS_STRUCT_FS_DATA:
1333 * This symbol, if defined, indicates that the struct fs_data
1334 * to do statfs() is supported.
1335 */
1336/*#define HAS_STRUCT_FS_DATA / **/
1337
1338/* HAS_FSEEKO:
1339 * This symbol, if defined, indicates that the fseeko routine is
1340 * available to fseek beyond 32 bits (useful for ILP32 hosts).
1341 */
1342/*#define HAS_FSEEKO / **/
1343
1344/* HAS_FSTATFS:
1345 * This symbol, if defined, indicates that the fstatfs routine is
1346 * available to stat filesystems by file descriptors.
1347 */
1348#define HAS_FSTATFS /**/
c890dc6c 1349
ff935051 1350/* HAS_FTELLO:
1351 * This symbol, if defined, indicates that the ftello routine is
1352 * available to ftell beyond 32 bits (useful for ILP32 hosts).
1353 */
1354/*#define HAS_FTELLO / **/
1355
4633a7c4 1356/* Gconvert:
1357 * This preprocessor macro is defined to convert a floating point
1358 * number to a string without a trailing decimal point. This
1359 * emulates the behavior of sprintf("%g"), but is sometimes much more
1360 * efficient. If gconvert() is not available, but gcvt() drops the
1361 * trailing decimal point, then gcvt() is used. If all else fails,
1362 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1363 * macro are: value, number of digits, whether trailing zeros should
1364 * be retained, and the output buffer.
1365 * Possible values are:
1366 * d_Gconvert='gconvert((x),(n),(t),(b))'
1367 * d_Gconvert='gcvt((x),(n),(b))'
1368 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1369 * The last two assume trailing zeros should not be kept.
1370 */
921b2963 1371#define Gconvert(x,n,t,b) gcvt((x),(n),(b))
4633a7c4 1372
49dabb45 1373/* HAS_GETCWD:
1374 * This symbol, if defined, indicates that the getcwd routine is
1375 * available to get the current working directory.
1376 */
1377#define HAS_GETCWD /**/
1378
4b19af01 1379/* HAS_GETESPWNAM:
1380 * This symbol, if defined, indicates that the getespwnam system call is
1381 * available to retrieve enchanced (shadow) password entries by name.
1382 */
1383/*#define HAS_GETESPWNAM / **/
1384
ee8c7f54 1385/* HAS_GETFSSTAT:
1386 * This symbol, if defined, indicates that the getfsstat routine is
1387 * available to stat filesystems in bulk.
1388 */
1389#define HAS_GETFSSTAT /**/
1390
ff935051 1391/* HAS_GETGRENT:
1392 * This symbol, if defined, indicates that the getgrent routine is
1393 * available for sequential access of the group database.
d103522a 1394 */
ff935051 1395#define HAS_GETGRENT /**/
d103522a 1396
ff935051 1397/* HAS_GETHOSTBYADDR:
1398 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1399 * available to look up hosts by their IP addresses.
dd64f1c3 1400 */
ff935051 1401#define HAS_GETHOSTBYADDR /**/
dd64f1c3 1402
ff935051 1403/* HAS_GETHOSTBYNAME:
1404 * This symbol, if defined, indicates that the gethostbyname() routine is
1405 * available to look up host names in some data base or other.
774d564b 1406 */
ff935051 1407#define HAS_GETHOSTBYNAME /**/
774d564b 1408
ff935051 1409/* HAS_GETHOSTENT:
1410 * This symbol, if defined, indicates that the gethostent() routine is
1411 * available to look up host names in some data base or another.
d103522a 1412 */
ff935051 1413#define HAS_GETHOSTENT /**/
d103522a 1414
ff935051 1415/* HAS_GETHOSTNAME:
1416 * This symbol, if defined, indicates that the C program may use the
1417 * gethostname() routine to derive the host name. See also HAS_UNAME
1418 * and PHOSTNAME.
d103522a 1419 */
ff935051 1420/* HAS_UNAME:
1421 * This symbol, if defined, indicates that the C program may use the
1422 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1423 * and PHOSTNAME.
af4c28eb 1424 */
1425/* PHOSTNAME:
1426 * This symbol, if defined, indicates the command to feed to the
1427 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1428 * and HAS_UNAME. Note that the command uses a fully qualified path,
1429 * so that it is safe even if used by a process with super-user
1430 * privileges.
1431 */
78691af5 1432/* HAS_PHOSTNAME:
1433 * This symbol, if defined, indicates that the C program may use the
1434 * contents of PHOSTNAME as a command to feed to the popen() routine
1435 * to derive the host name.
1436 */
11dc3f68 1437#define HAS_GETHOSTNAME /**/
af4c28eb 1438#define HAS_UNAME /**/
fe749a9f 1439/*#define HAS_PHOSTNAME / **/
af4c28eb 1440#ifdef HAS_PHOSTNAME
0617aed7 1441#define PHOSTNAME "" /* How to get the host name */
af4c28eb 1442#endif
1443
ff935051 1444/* HAS_GETHOST_PROTOS:
1445 * This symbol, if defined, indicates that <netdb.h> includes
1446 * prototypes for gethostent(), gethostbyname(), and
1447 * gethostbyaddr(). Otherwise, it is up to the program to guess
1448 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1449 */
1450#define HAS_GETHOST_PROTOS /**/
1451
1452/* HAS_GETMNT:
1453 * This symbol, if defined, indicates that the getmnt routine is
1454 * available to get filesystem mount info by filename.
1455 */
1456/*#define HAS_GETMNT / **/
1457
1458/* HAS_GETMNTENT:
1459 * This symbol, if defined, indicates that the getmntent routine is
1460 * available to iterate through mounted file systems to get their info.
1461 */
1462/*#define HAS_GETMNTENT / **/
1463
693762b4 1464/* HAS_GETNETBYADDR:
1465 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1466 * available to look up networks by their IP addresses.
1467 */
11dc3f68 1468#define HAS_GETNETBYADDR /**/
693762b4 1469
1470/* HAS_GETNETBYNAME:
1471 * This symbol, if defined, indicates that the getnetbyname() routine is
1472 * available to look up networks by their names.
1473 */
11dc3f68 1474#define HAS_GETNETBYNAME /**/
693762b4 1475
e5c9fcd0 1476/* HAS_GETNETENT:
1477 * This symbol, if defined, indicates that the getnetent() routine is
1478 * available to look up network names in some data base or another.
1479 */
11dc3f68 1480#define HAS_GETNETENT /**/
e5c9fcd0 1481
ff935051 1482/* HAS_GETNET_PROTOS:
1483 * This symbol, if defined, indicates that <netdb.h> includes
1484 * prototypes for getnetent(), getnetbyname(), and
1485 * getnetbyaddr(). Otherwise, it is up to the program to guess
1486 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1487 */
1488#define HAS_GETNET_PROTOS /**/
1489
e5c9fcd0 1490/* HAS_GETPROTOENT:
1491 * This symbol, if defined, indicates that the getprotoent() routine is
1492 * available to look up protocols in some data base or another.
1493 */
11dc3f68 1494#define HAS_GETPROTOENT /**/
e5c9fcd0 1495
693762b4 1496/* HAS_GETPROTOBYNAME:
1497 * This symbol, if defined, indicates that the getprotobyname()
1498 * routine is available to look up protocols by their name.
1499 */
1500/* HAS_GETPROTOBYNUMBER:
1501 * This symbol, if defined, indicates that the getprotobynumber()
1502 * routine is available to look up protocols by their number.
1503 */
11dc3f68 1504#define HAS_GETPROTOBYNAME /**/
1505#define HAS_GETPROTOBYNUMBER /**/
693762b4 1506
ff935051 1507/* HAS_GETPROTO_PROTOS:
1508 * This symbol, if defined, indicates that <netdb.h> includes
1509 * prototypes for getprotoent(), getprotobyname(), and
1510 * getprotobyaddr(). Otherwise, it is up to the program to guess
1511 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1512 */
1513#define HAS_GETPROTO_PROTOS /**/
1514
4b19af01 1515/* HAS_GETPRPWNAM:
1516 * This symbol, if defined, indicates that the getprpwnam system call is
1517 * available to retrieve protected (shadow) password entries by name.
1518 */
1519/*#define HAS_GETPRPWNAM / **/
1520
327c3667 1521/* HAS_GETPWENT:
1522 * This symbol, if defined, indicates that the getpwent routine is
1523 * available for sequential access of the passwd database.
1524 * If this is not available, the older getpw() function may be available.
1525 */
11dc3f68 1526#define HAS_GETPWENT /**/
327c3667 1527
e5c9fcd0 1528/* HAS_GETSERVENT:
1529 * This symbol, if defined, indicates that the getservent() routine is
1530 * available to look up network services in some data base or another.
1531 */
11dc3f68 1532#define HAS_GETSERVENT /**/
e5c9fcd0 1533
ff935051 1534/* HAS_GETSERV_PROTOS:
1535 * This symbol, if defined, indicates that <netdb.h> includes
1536 * prototypes for getservent(), getservbyname(), and
1537 * getservbyaddr(). Otherwise, it is up to the program to guess
1538 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1539 */
1540#define HAS_GETSERV_PROTOS /**/
1541
ff935051 1542/* HAS_GETSPNAM:
1543 * This symbol, if defined, indicates that the getspnam system call is
1544 * available to retrieve SysV shadow password entries by name.
1545 */
1546/*#define HAS_GETSPNAM / **/
1547
693762b4 1548/* HAS_GETSERVBYNAME:
1549 * This symbol, if defined, indicates that the getservbyname()
1550 * routine is available to look up services by their name.
1551 */
1552/* HAS_GETSERVBYPORT:
1553 * This symbol, if defined, indicates that the getservbyport()
1554 * routine is available to look up services by their port.
1555 */
11dc3f68 1556#define HAS_GETSERVBYNAME /**/
1557#define HAS_GETSERVBYPORT /**/
693762b4 1558
ff935051 1559/* HAS_GNULIBC:
1560 * This symbol, if defined, indicates to the C program that
1561 * the GNU C library is being used.
1562 */
1563/*#define HAS_GNULIBC / **/
cce08f5b 1564#if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
1565# define _GNU_SOURCE
1566#endif
ff935051 1567/* HAS_HASMNTOPT:
1568 * This symbol, if defined, indicates that the hasmntopt routine is
1569 * available to query the mount options of file systems.
1570 */
1571/*#define HAS_HASMNTOPT / **/
1572
327c3667 1573/* HAS_HTONL:
1574 * This symbol, if defined, indicates that the htonl() routine (and
1575 * friends htons() ntohl() ntohs()) are available to do network
1576 * order byte swapping.
1577 */
1578/* HAS_HTONS:
1579 * This symbol, if defined, indicates that the htons() routine (and
1580 * friends htonl() ntohl() ntohs()) are available to do network
1581 * order byte swapping.
1582 */
1583/* HAS_NTOHL:
1584 * This symbol, if defined, indicates that the ntohl() routine (and
1585 * friends htonl() htons() ntohs()) are available to do network
1586 * order byte swapping.
1587 */
1588/* HAS_NTOHS:
1589 * This symbol, if defined, indicates that the ntohs() routine (and
1590 * friends htonl() htons() ntohl()) are available to do network
1591 * order byte swapping.
1592 */
1593#define HAS_HTONL /**/
1594#define HAS_HTONS /**/
1595#define HAS_NTOHL /**/
1596#define HAS_NTOHS /**/
1597
fe749a9f 1598/* HAS_ICONV:
1599 * This symbol, if defined, indicates that the iconv routine is
1600 * available to do character set conversions.
1601 */
792d8dab 1602#define HAS_ICONV /**/
fe749a9f 1603
1604/* HAS_INT64_T:
1605 * This symbol will defined if the C compiler supports int64_t.
1606 * Usually the <inttypes.h> needs to be included, but sometimes
1607 * <sys/types.h> is enough.
1608 */
1609/*#define HAS_INT64_T / **/
1610
ff935051 1611/* HAS_ISASCII:
1612 * This manifest constant lets the C program know that isascii
1613 * is available.
1614 */
1615#define HAS_ISASCII /**/
1616
ee8c7f54 1617/* HAS_ISNAN:
1618 * This symbol, if defined, indicates that the isnan routine is
1619 * available to check whether a double is a NaN.
1620 */
1621#define HAS_ISNAN /**/
1622
1623/* HAS_ISNANL:
1624 * This symbol, if defined, indicates that the isnanl routine is
1625 * available to check whether a long double is a NaN.
1626 */
1627#define HAS_ISNANL /**/
1628
ff935051 1629/* HAS_LCHOWN:
1630 * This symbol, if defined, indicates that the lchown routine is
1631 * available to operate on a symbolic link (instead of following the
1632 * link).
1633 */
1634#define HAS_LCHOWN /**/
1635
1636/* HAS_LDBL_DIG:
1637 * This symbol, if defined, indicates that this system's <float.h>
1638 * or <limits.h> defines the symbol LDBL_DIG, which is the number
1639 * of significant digits in a long double precision number. Unlike
1640 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
1641 */
1642#define HAS_LDBL_DIG /* */
1643
e5c9fcd0 1644/* HAS_LONG_DOUBLE:
1645 * This symbol will be defined if the C compiler supports long
1646 * doubles.
1647 */
ff935051 1648/* LONG_DOUBLESIZE:
1649 * This symbol contains the size of a long double, so that the
1650 * C preprocessor can make decisions based on it. It is only
1651 * defined if the system supports long doubles.
1652 */
1653#define HAS_LONG_DOUBLE /**/
1654#ifdef HAS_LONG_DOUBLE
1655#define LONG_DOUBLESIZE 8 /**/
1656#endif
1657
1658/* HAS_LONG_LONG:
1659 * This symbol will be defined if the C compiler supports long long.
1660 */
1661/* LONGLONGSIZE:
1662 * This symbol contains the size of a long long, so that the
1663 * C preprocessor can make decisions based on it. It is only
1664 * defined if the system supports long long.
1665 */
1666#define HAS_LONG_LONG /**/
1667#ifdef HAS_LONG_LONG
1668#define LONGLONGSIZE 8 /**/
1669#endif
1670
ee8c7f54 1671/* HAS_LSEEK_PROTO:
1672 * This symbol, if defined, indicates that the system provides
1673 * a prototype for the lseek() function. Otherwise, it is up
1674 * to the program to supply one. A good guess is
1675 * extern off_t lseek(int, off_t, int);
1676 */
1677#define HAS_LSEEK_PROTO /**/
1678
792d8dab 1679/* HAS_MADVISE:
1680 * This symbol, if defined, indicates that the madvise system call is
1681 * available to map a file into memory.
1682 */
1683#define HAS_MADVISE /**/
1684
ff935051 1685/* HAS_MEMCHR:
1686 * This symbol, if defined, indicates that the memchr routine is available
1687 * to locate characters within a C string.
1688 */
1689#define HAS_MEMCHR /**/
1690
fe749a9f 1691/* HAS_MKDTEMP:
1692 * This symbol, if defined, indicates that the mkdtemp routine is
1693 * available to exclusively create a uniquely named temporary directory.
1694 */
1695/*#define HAS_MKDTEMP / **/
1696
1697/* HAS_MKSTEMP:
1698 * This symbol, if defined, indicates that the mkstemp routine is
1699 * available to exclusively create and open a uniquely named
1700 * temporary file.
1701 */
1702#define HAS_MKSTEMP /**/
1703
1704/* HAS_MKSTEMPS:
1705 * This symbol, if defined, indicates that the mkstemps routine is
1706 * available to excluslvely create and open a uniquely named
1707 * (with a suffix) temporary file.
1708 */
1709/*#define HAS_MKSTEMPS / **/
1710
87b71857 1711/* HAS_MMAP:
1712 * This symbol, if defined, indicates that the mmap system call is
1713 * available to map a file into memory.
1714 */
fe749a9f 1715/* Mmap_t:
1716 * This symbol holds the return type of the mmap() system call
1717 * (and simultaneously the type of the first argument).
1718 * Usually set to 'void *' or 'cadd_t'.
1719 */
87b71857 1720#define HAS_MMAP /**/
fe749a9f 1721#define Mmap_t void * /**/
1722
4b19af01 1723/* HAS_MODFL:
1724 * This symbol, if defined, indicates that the modfl routine is
1725 * available to split a long double x into a fractional part f and
1726 * an integer part i such that |f| < 1.0 and (f + i) = x.
1727 */
1728#define HAS_MODFL /**/
1729
fe749a9f 1730/* HAS_MPROTECT:
1731 * This symbol, if defined, indicates that the mprotect system call is
1732 * available to modify the access protection of a memory mapped file.
1733 */
1734#define HAS_MPROTECT /**/
1735
ff935051 1736/* HAS_MSG:
1737 * This symbol, if defined, indicates that the entire msg*(2) library is
1738 * supported (IPC mechanism based on message queues).
1739 */
1740#define HAS_MSG /**/
1741
c890dc6c 1742/* HAS_OFF64_T:
1743 * This symbol will be defined if the C compiler supports off64_t.
1744 */
1745/*#define HAS_OFF64_T / **/
1746
ff935051 1747/* HAS_OPEN3:
1748 * This manifest constant lets the C program know that the three
1749 * argument form of open(2) is available.
1750 */
1751#define HAS_OPEN3 /**/
1752
1753/* OLD_PTHREAD_CREATE_JOINABLE:
1754 * This symbol, if defined, indicates how to create pthread
1755 * in joinable (aka undetached) state. NOTE: not defined
1756 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
1757 * (the new version of the constant).
1758 * If defined, known values are PTHREAD_CREATE_UNDETACHED
1759 * and __UNDETACHED.
1760 */
1761/*#define OLD_PTHREAD_CREATE_JOINABLE / **/
1762
1763/* HAS_PTHREAD_YIELD:
1764 * This symbol, if defined, indicates that the pthread_yield
1765 * routine is available to yield the execution of the current
1766 * thread. sched_yield is preferable to pthread_yield.
1767 */
1768/* SCHED_YIELD:
1769 * This symbol defines the way to yield the execution of
1770 * the current thread. Known ways are sched_yield,
1771 * pthread_yield, and pthread_yield with NULL.
1772 */
1773/* HAS_SCHED_YIELD:
1774 * This symbol, if defined, indicates that the sched_yield
1775 * routine is available to yield the execution of the current
1776 * thread. sched_yield is preferable to pthread_yield.
e5c9fcd0 1777 */
ff935051 1778/*#define HAS_PTHREAD_YIELD / **/
1779#define SCHED_YIELD sched_yield() /**/
1780#define HAS_SCHED_YIELD /**/
e5c9fcd0 1781
ff935051 1782/* HAS_SAFE_BCOPY:
1783 * This symbol, if defined, indicates that the bcopy routine is available
1784 * to copy potentially overlapping memory blocks. Otherwise you should
1785 * probably use memmove() or memcpy(). If neither is defined, roll your
1786 * own version.
dc45a647 1787 */
ff935051 1788#define HAS_SAFE_BCOPY /**/
dc45a647 1789
ff935051 1790/* HAS_SAFE_MEMCPY:
1791 * This symbol, if defined, indicates that the memcpy routine is available
1792 * to copy potentially overlapping memory blocks. Otherwise you should
1793 * probably use memmove() or memcpy(). If neither is defined, roll your
1794 * own version.
a71cd7cd 1795 */
ff935051 1796/*#define HAS_SAFE_MEMCPY / **/
a71cd7cd 1797
ff935051 1798/* HAS_SANE_MEMCMP:
1799 * This symbol, if defined, indicates that the memcmp routine is available
1800 * and can be used to compare relative magnitudes of chars with their high
1801 * bits set. If it is not defined, roll your own version.
327c3667 1802 */
ff935051 1803#define HAS_SANE_MEMCMP /**/
327c3667 1804
1805/* HAS_SEM:
1806 * This symbol, if defined, indicates that the entire sem*(2) library is
1807 * supported.
1808 */
1809#define HAS_SEM /**/
1810
1811/* HAS_SETGRENT:
1812 * This symbol, if defined, indicates that the setgrent routine is
1813 * available for initializing sequential access of the group database.
1814 */
11dc3f68 1815#define HAS_SETGRENT /**/
327c3667 1816
dfe9444c 1817/* HAS_SETGROUPS:
1818 * This symbol, if defined, indicates that the setgroups() routine is
1819 * available to set the list of process groups. If unavailable, multiple
1820 * groups are probably not supported.
4633a7c4 1821 */
dfe9444c 1822#define HAS_SETGROUPS /**/
1823
693762b4 1824/* HAS_SETHOSTENT:
1825 * This symbol, if defined, indicates that the sethostent() routine is
1826 * available.
1827 */
11dc3f68 1828#define HAS_SETHOSTENT /**/
693762b4 1829
e5c9fcd0 1830/* HAS_SETNETENT:
1831 * This symbol, if defined, indicates that the setnetent() routine is
1832 * available.
1833 */
11dc3f68 1834#define HAS_SETNETENT /**/
e5c9fcd0 1835
1836/* HAS_SETPROTOENT:
1837 * This symbol, if defined, indicates that the setprotoent() routine is
1838 * available.
1839 */
11dc3f68 1840#define HAS_SETPROTOENT /**/
e5c9fcd0 1841
22d4bb9c 1842/* HAS_SETPROCTITLE:
1843 * This symbol, if defined, indicates that the setproctitle routine is
1844 * available to set process title.
1845 */
1846/*#define HAS_SETPROCTITLE / **/
1847
327c3667 1848/* HAS_SETPWENT:
1849 * This symbol, if defined, indicates that the setpwent routine is
1850 * available for initializing sequential access of the passwd database.
1851 */
11dc3f68 1852#define HAS_SETPWENT /**/
327c3667 1853
e5c9fcd0 1854/* HAS_SETSERVENT:
1855 * This symbol, if defined, indicates that the setservent() routine is
ff935051 1856 * available.
de4597cb 1857 */
ff935051 1858#define HAS_SETSERVENT /**/
de4597cb 1859
ff935051 1860/* HAS_SETVBUF:
1861 * This symbol, if defined, indicates that the setvbuf routine is
1862 * available to change buffering on an open stdio stream.
1863 * to a line-buffered mode.
16d20bd9 1864 */
ff935051 1865#define HAS_SETVBUF /**/
bfb7748a 1866
ff935051 1867/* USE_SFIO:
1868 * This symbol, if defined, indicates that sfio should
1869 * be used.
bfb7748a 1870 */
ff935051 1871/*#define USE_SFIO / **/
9003a523 1872
ff935051 1873/* HAS_SHM:
1874 * This symbol, if defined, indicates that the entire shm*(2) library is
1875 * supported.
c4f23d77 1876 */
ff935051 1877#define HAS_SHM /**/
1878
1879/* HAS_SIGACTION:
1880 * This symbol, if defined, indicates that Vr4's sigaction() routine
1881 * is available.
c4f23d77 1882 */
ff935051 1883#define HAS_SIGACTION /**/
c4f23d77 1884
ff935051 1885/* HAS_SIGSETJMP:
1886 * This variable indicates to the C program that the sigsetjmp()
1887 * routine is available to save the calling process's registers
1888 * and stack environment for later use by siglongjmp(), and
1889 * to optionally save the process's signal mask. See
1890 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
4633a7c4 1891 */
ff935051 1892/* Sigjmp_buf:
1893 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1894 */
1895/* Sigsetjmp:
1896 * This macro is used in the same way as sigsetjmp(), but will invoke
1897 * traditional setjmp() if sigsetjmp isn't available.
1898 * See HAS_SIGSETJMP.
1899 */
1900/* Siglongjmp:
1901 * This macro is used in the same way as siglongjmp(), but will invoke
1902 * traditional longjmp() if siglongjmp isn't available.
1903 * See HAS_SIGSETJMP.
1904 */
1905#define HAS_SIGSETJMP /**/
1906#ifdef HAS_SIGSETJMP
1907#define Sigjmp_buf sigjmp_buf
1908#define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1909#define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
1910#else
1911#define Sigjmp_buf jmp_buf
1912#define Sigsetjmp(buf,save_mask) setjmp((buf))
1913#define Siglongjmp(buf,retval) longjmp((buf),(retval))
bfb7748a 1914#endif
fbfd4aab 1915
ff935051 1916/* HAS_SOCKET:
1917 * This symbol, if defined, indicates that the BSD socket interface is
1918 * supported.
8c09e4ca 1919 */
ff935051 1920/* HAS_SOCKETPAIR:
1921 * This symbol, if defined, indicates that the BSD socketpair() call is
1922 * supported.
8c09e4ca 1923 */
ff935051 1924/* HAS_MSG_CTRUNC:
1925 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
1926 * Checking just with #ifdef might not be enough because this symbol
1927 * has been known to be an enum.
d71b2b6b 1928 */
ff935051 1929/* HAS_MSG_DONTROUTE:
1930 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
1931 * Checking just with #ifdef might not be enough because this symbol
1932 * has been known to be an enum.
1933 */
1934/* HAS_MSG_OOB:
1935 * This symbol, if defined, indicates that the MSG_OOB is supported.
1936 * Checking just with #ifdef might not be enough because this symbol
1937 * has been known to be an enum.
1938 */
1939/* HAS_MSG_PEEK:
1940 * This symbol, if defined, indicates that the MSG_PEEK is supported.
1941 * Checking just with #ifdef might not be enough because this symbol
1942 * has been known to be an enum.
1943 */
1944/* HAS_MSG_PROXY:
1945 * This symbol, if defined, indicates that the MSG_PROXY is supported.
1946 * Checking just with #ifdef might not be enough because this symbol
1947 * has been known to be an enum.
1948 */
1949/* HAS_SCM_RIGHTS:
1950 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
1951 * Checking just with #ifdef might not be enough because this symbol
1952 * has been known to be an enum.
1953 */
1954#define HAS_SOCKET /**/
1955#define HAS_SOCKETPAIR /**/
1956#define HAS_MSG_CTRUNC /**/
1957#define HAS_MSG_DONTROUTE /**/
1958#define HAS_MSG_OOB /**/
1959#define HAS_MSG_PEEK /**/
1960/*#define HAS_MSG_PROXY / **/
1961#define HAS_SCM_RIGHTS /**/
d71b2b6b 1962
22d4bb9c 1963/* HAS_SOCKS5_INIT:
1964 * This symbol, if defined, indicates that the socks5_init routine is
1965 * available to initialize SOCKS 5.
1966 */
1967/*#define HAS_SOCKS5_INIT / **/
1968
ff935051 1969/* HAS_SQRTL:
1970 * This symbol, if defined, indicates that the sqrtl routine is
1971 * available to do long double square roots.
dfe9444c 1972 */
ff935051 1973#define HAS_SQRTL /**/
dfe9444c 1974
ff935051 1975/* USE_STAT_BLOCKS:
1976 * This symbol is defined if this system has a stat structure declaring
1977 * st_blksize and st_blocks.
86959918 1978 */
ff935051 1979#ifndef USE_STAT_BLOCKS
1980#define USE_STAT_BLOCKS /**/
1981#endif
86959918 1982
ff935051 1983/* HAS_STRUCT_STATFS_F_FLAGS:
1984 * This symbol, if defined, indicates that the struct statfs
1985 * does have the f_flags member containing the mount flags of
1986 * the filesystem containing the file.
1987 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
1988 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
1989 * have statfs() and struct statfs, they have ustat() and getmnt()
1990 * with struct ustat and struct fs_data.
ad27e871 1991 */
ff935051 1992#define HAS_STRUCT_STATFS_F_FLAGS /**/
ad27e871 1993
ff935051 1994/* HAS_STRUCT_STATFS:
1995 * This symbol, if defined, indicates that the struct statfs
1996 * to do statfs() is supported.
327c3667 1997 */
ff935051 1998#define HAS_STRUCT_STATFS /**/
327c3667 1999
ff935051 2000/* HAS_FSTATVFS:
2001 * This symbol, if defined, indicates that the fstatvfs routine is
0545a864 2002 * available to stat filesystems by file descriptors.
2003 */
ff935051 2004#define HAS_FSTATVFS /**/
327c3667 2005
ff935051 2006/* USE_STDIO_PTR:
2007 * This symbol is defined if the _ptr and _cnt fields (or similar)
2008 * of the stdio FILE structure can be used to access the stdio buffer
2009 * for a file handle. If this is defined, then the FILE_ptr(fp)
2010 * and FILE_cnt(fp) macros will also be defined and should be used
2011 * to access these fields.
ad27e871 2012 */
ff935051 2013/* FILE_ptr:
2014 * This macro is used to access the _ptr field (or equivalent) of the
2015 * FILE structure pointed to by its argument. This macro will always be
2016 * defined if USE_STDIO_PTR is defined.
ccc7f9b3 2017 */
ff935051 2018/* STDIO_PTR_LVALUE:
2019 * This symbol is defined if the FILE_ptr macro can be used as an
2020 * lvalue.
86959918 2021 */
ff935051 2022/* FILE_cnt:
2023 * This macro is used to access the _cnt field (or equivalent) of the
2024 * FILE structure pointed to by its argument. This macro will always be
2025 * defined if USE_STDIO_PTR is defined.
86959918 2026 */
ff935051 2027/* STDIO_CNT_LVALUE:
2028 * This symbol is defined if the FILE_cnt macro can be used as an
2029 * lvalue.
ccc7f9b3 2030 */
ff935051 2031#define USE_STDIO_PTR /**/
2032#ifdef USE_STDIO_PTR
2033#define FILE_ptr(fp) ((fp)->_ptr)
2034#define STDIO_PTR_LVALUE /**/
2035#define FILE_cnt(fp) ((fp)->_cnt)
2036#define STDIO_CNT_LVALUE /**/
2037#endif
ccc7f9b3 2038
ff935051 2039/* USE_STDIO_BASE:
2040 * This symbol is defined if the _base field (or similar) of the
2041 * stdio FILE structure can be used to access the stdio buffer for
2042 * a file handle. If this is defined, then the FILE_base(fp) macro
2043 * will also be defined and should be used to access this field.
2044 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
2045 * to determine the number of bytes in the buffer. USE_STDIO_BASE
2046 * will never be defined unless USE_STDIO_PTR is.
e0a10278 2047 */
ff935051 2048/* FILE_base:
2049 * This macro is used to access the _base field (or equivalent) of the
2050 * FILE structure pointed to by its argument. This macro will always be
2051 * defined if USE_STDIO_BASE is defined.
ca24dfc6 2052 */
ff935051 2053/* FILE_bufsiz:
2054 * This macro is used to determine the number of bytes in the I/O
2055 * buffer pointed to by _base field (or equivalent) of the FILE
2056 * structure pointed to its argument. This macro will always be defined
2057 * if USE_STDIO_BASE is defined.
86959918 2058 */
ff935051 2059#define USE_STDIO_BASE /**/
2060#ifdef USE_STDIO_BASE
2061#define FILE_base(fp) ((fp)->_base)
2062#define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base)
2063#endif
86959918 2064
ff935051 2065/* HAS_STRERROR:
2066 * This symbol, if defined, indicates that the strerror routine is
2067 * available to translate error numbers to strings. See the writeup
2068 * of Strerror() in this file before you try to define your own.
dfe9444c 2069 */
ff935051 2070/* HAS_SYS_ERRLIST:
2071 * This symbol, if defined, indicates that the sys_errlist array is
2072 * available to translate error numbers to strings. The extern int
2073 * sys_nerr gives the size of that table.
68d4903c 2074 */
ff935051 2075/* Strerror:
2076 * This preprocessor symbol is defined as a macro if strerror() is
2077 * not available to translate error numbers to strings but sys_errlist[]
2078 * array is there.
2079 */
2080#define HAS_STRERROR /**/
2081#define HAS_SYS_ERRLIST /**/
2082#define Strerror(e) strerror(e)
68d4903c 2083
ff935051 2084/* HAS_STRTOLD:
2085 * This symbol, if defined, indicates that the strtold routine is
2086 * available to convert strings to long doubles.
ff49bff8 2087 */
ff935051 2088/*#define HAS_STRTOLD / **/
ff49bff8 2089
76d49b1c 2090/* HAS_STRTOLL:
2091 * This symbol, if defined, indicates that the strtoll routine is
2092 * available to convert strings to long longs.
2093 */
2094/*#define HAS_STRTOLL / **/
2095
ff935051 2096/* HAS_STRTOULL:
2097 * This symbol, if defined, indicates that the strtoull routine is
2098 * available to convert strings to unsigned long longs.
ad27e871 2099 */
ff935051 2100/*#define HAS_STRTOULL / **/
ad27e871 2101
ff935051 2102/* HAS_STRTOUQ:
2103 * This symbol, if defined, indicates that the strtouq routine is
2104 * available to convert strings to unsigned long longs (quads).
ff49bff8 2105 */
ff935051 2106/*#define HAS_STRTOUQ / **/
ff49bff8 2107
2108/* HAS_TELLDIR_PROTO:
2109 * This symbol, if defined, indicates that the system provides
2110 * a prototype for the telldir() function. Otherwise, it is up
2111 * to the program to supply one. A good guess is
86959918 2112 * extern long telldir _((DIR*));
ff49bff8 2113 */
11dc3f68 2114#define HAS_TELLDIR_PROTO /**/
ff49bff8 2115
ff935051 2116/* Time_t:
2117 * This symbol holds the type returned by time(). It can be long,
2118 * or time_t on BSD sites (in which case <sys/types.h> should be
2119 * included).
2120 */
2121#define Time_t time_t /* Time type */
2122
2123/* HAS_TIMES:
2124 * This symbol, if defined, indicates that the times() routine exists.
2125 * Note that this became obsolete on some systems (SUNOS), which now
2126 * use getrusage(). It may be necessary to include <sys/times.h>.
2127 */
2128#define HAS_TIMES /**/
2129
2130/* HAS_UNION_SEMUN:
2131 * This symbol, if defined, indicates that the union semun is
2132 * defined by including <sys/sem.h>. If not, the user code
2133 * probably needs to define it as:
2134 * union semun {
2135 * int val;
2136 * struct semid_ds *buf;
2137 * unsigned short *array;
2138 * }
2139 */
2140/* USE_SEMCTL_SEMUN:
2141 * This symbol, if defined, indicates that union semun is
2142 * used for semctl IPC_STAT.
2143 */
2144/* USE_SEMCTL_SEMID_DS:
2145 * This symbol, if defined, indicates that struct semid_ds * is
2146 * used for semctl IPC_STAT.
2147 */
2148/*#define HAS_UNION_SEMUN / **/
2149#define USE_SEMCTL_SEMUN /**/
2150#define USE_SEMCTL_SEMID_DS /**/
2151
0545a864 2152/* HAS_USTAT:
2153 * This symbol, if defined, indicates that the ustat system call is
2154 * available to query file system statistics by dev_t.
2155 */
2156#define HAS_USTAT /**/
2157
ff935051 2158/* HAS_VFORK:
2159 * This symbol, if defined, indicates that vfork() exists.
2160 */
2161/*#define HAS_VFORK / **/
2162
2163/* Signal_t:
2164 * This symbol's value is either "void" or "int", corresponding to the
2165 * appropriate return type of a signal handler. Thus, you can declare
2166 * a signal handler using "Signal_t (*handler)()", and define the
2167 * handler using "Signal_t handler(sig)".
2168 */
2169#define Signal_t void /* Signal handler's return type */
2170
2171/* HAS_VPRINTF:
2172 * This symbol, if defined, indicates that the vprintf routine is available
2173 * to printf with a pointer to an argument list. If unavailable, you
2174 * may need to write your own, probably in terms of _doprnt().
2175 */
2176/* USE_CHAR_VSPRINTF:
2177 * This symbol is defined if this system has vsprintf() returning type
2178 * (char*). The trend seems to be to declare it as "int vsprintf()". It
2179 * is up to the package author to declare vsprintf correctly based on the
2180 * symbol.
2181 */
2182#define HAS_VPRINTF /**/
2183/*#define USE_CHAR_VSPRINTF / **/
2184
dfe9444c 2185/* USE_DYNAMIC_LOADING:
2186 * This symbol, if defined, indicates that dynamic loading of
2187 * some sort is available.
2188 */
2189#define USE_DYNAMIC_LOADING /**/
2190
ff935051 2191/* DOUBLESIZE:
2192 * This symbol contains the size of a double, so that the C preprocessor
2193 * can make decisions based on it.
2194 */
2195#define DOUBLESIZE 8 /**/
2196
2197/* EBCDIC:
2198 * This symbol, if defined, indicates that this system uses
2199 * EBCDIC encoding.
2200 */
2201/*#define EBCDIC / **/
2202
a71cd7cd 2203/* FFLUSH_NULL:
2204 * This symbol, if defined, tells that fflush(NULL) does flush
2205 * all pending stdio output.
2206 */
2207/* FFLUSH_ALL:
2208 * This symbol, if defined, tells that to flush
2209 * all pending stdio output one must loop through all
2210 * the stdio file handles stored in an array and fflush them.
a32a45b6 2211 * Note that if fflushNULL is defined, fflushall will not
2212 * even be probed for and will be left undefined.
a71cd7cd 2213 */
11dc3f68 2214#define FFLUSH_NULL /**/
2215/*#define FFLUSH_ALL / **/
a71cd7cd 2216
ff935051 2217/* Fpos_t:
2218 * This symbol holds the type used to declare file positions in libc.
2219 * It can be fpos_t, long, uint, etc... It may be necessary to include
2220 * <sys/types.h> to get any typedef'ed information.
2221 */
2222#define Fpos_t fpos_t /* File position type */
2223
2224/* Gid_t_f:
2225 * This symbol defines the format string used for printing a Gid_t.
2226 */
2227#define Gid_t_f "u" /**/
2228
ee8c7f54 2229/* Gid_t_sign:
2230 * This symbol holds the signedess of a Gid_t.
2231 * 1 for unsigned, -1 for signed.
2232 */
2233#define Gid_t_sign 1 /* GID sign */
2234
ff935051 2235/* Gid_t_size:
2236 * This symbol holds the size of a Gid_t in bytes.
2237 */
2238#define Gid_t_size 4 /* GID size */
2239
2240/* Gid_t:
2241 * This symbol holds the return type of getgid() and the type of
2242 * argument to setrgid() and related functions. Typically,
2243 * it is the type of group ids in the kernel. It can be int, ushort,
ee8c7f54 2244 * gid_t, etc... It may be necessary to include <sys/types.h> to get
ff935051 2245 * any typedef'ed information.
2246 */
2247#define Gid_t gid_t /* Type for getgid(), etc... */
2248
2249/* Groups_t:
2250 * This symbol holds the type used for the second argument to
ee8c7f54 2251 * getgroups() and setgroups(). Usually, this is the same as
ff935051 2252 * gidtype (gid_t) , but sometimes it isn't.
ee8c7f54 2253 * It can be int, ushort, gid_t, etc...
ff935051 2254 * It may be necessary to include <sys/types.h> to get any
2255 * typedef'ed information. This is only required if you have
ee8c7f54 2256 * getgroups() or setgroups()..
ff935051 2257 */
2258#if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
2259#define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
2260#endif
2261
dfe9444c 2262/* DB_Prefix_t:
2263 * This symbol contains the type of the prefix structure element
2264 * in the <db.h> header file. In older versions of DB, it was
2265 * int, while in newer ones it is u_int32_t.
2266 */
2267/* DB_Hash_t:
2268 * This symbol contains the type of the prefix structure element
2269 * in the <db.h> header file. In older versions of DB, it was
2270 * int, while in newer ones it is size_t.
2271 */
0617aed7 2272#define DB_Hash_t u_int32_t /**/
2273#define DB_Prefix_t size_t /**/
dfe9444c 2274
ff935051 2275/* I_GRP:
2276 * This symbol, if defined, indicates to the C program that it should
2277 * include <grp.h>.
2278 */
2279/* GRPASSWD:
2280 * This symbol, if defined, indicates to the C program that struct group
2281 * in <grp.h> contains gr_passwd.
2282 */
2283#define I_GRP /**/
2284#define GRPASSWD /**/
2285
fe749a9f 2286/* I_ICONV:
2287 * This symbol, if defined, indicates that <iconv.h> exists and
2288 * should be included.
2289 */
2290#define I_ICONV /**/
2291
ee8c7f54 2292/* I_IEEEFP:
2293 * This symbol, if defined, indicates that <ieeefp.h> exists and
2294 * should be included.
2295 */
2296/*#define I_IEEEFP / **/
2297
327c3667 2298/* I_INTTYPES:
2299 * This symbol, if defined, indicates to the C program that it should
2300 * include <inttypes.h>.
2301 */
ff935051 2302/*#define I_INTTYPES / **/
2303
22d4bb9c 2304/* I_LIBUTIL:
2305 * This symbol, if defined, indicates that <libutil.h> exists and
2306 * should be included.
2307 */
2308/*#define I_LIBUTIL / **/
2309
ff935051 2310/* I_MACH_CTHREADS:
2311 * This symbol, if defined, indicates to the C program that it should
2312 * include <mach/cthreads.h>.
2313 */
2314/*#define I_MACH_CTHREADS / **/
327c3667 2315
ff49bff8 2316/* I_MNTENT:
2317 * This symbol, if defined, indicates that <mntent.h> exists and
2318 * should be included.
2319 */
ff935051 2320/*#define I_MNTENT / **/
2321
2322/* I_NETDB:
2323 * This symbol, if defined, indicates that <netdb.h> exists and
2324 * should be included.
2325 */
2326#define I_NETDB /**/
ff49bff8 2327
a71cd7cd 2328/* I_NETINET_TCP:
2329 * This symbol, if defined, indicates to the C program that it should
2330 * include <netinet/tcp.h>.
2331 */
ff935051 2332#define I_NETINET_TCP /**/
2333
2334/* I_POLL:
2335 * This symbol, if defined, indicates that <poll.h> exists and
2336 * should be included.
2337 */
2338#define I_POLL /**/
2339
4b19af01 2340/* I_PROT:
2341 * This symbol, if defined, indicates that <prot.h> exists and
2342 * should be included.
2343 */
2344#define I_PROT /**/
2345
ff935051 2346/* I_PTHREAD:
2347 * This symbol, if defined, indicates to the C program that it should
2348 * include <pthread.h>.
2349 */
2350#define I_PTHREAD /**/
2351
2352/* I_PWD:
2353 * This symbol, if defined, indicates to the C program that it should
2354 * include <pwd.h>.
2355 */
2356/* PWQUOTA:
2357 * This symbol, if defined, indicates to the C program that struct passwd
2358 * contains pw_quota.
2359 */
2360/* PWAGE:
2361 * This symbol, if defined, indicates to the C program that struct passwd
2362 * contains pw_age.
2363 */
2364/* PWCHANGE:
2365 * This symbol, if defined, indicates to the C program that struct passwd
2366 * contains pw_change.
2367 */
2368/* PWCLASS:
2369 * This symbol, if defined, indicates to the C program that struct passwd
2370 * contains pw_class.
2371 */
2372/* PWEXPIRE:
2373 * This symbol, if defined, indicates to the C program that struct passwd
2374 * contains pw_expire.
2375 */
2376/* PWCOMMENT:
2377 * This symbol, if defined, indicates to the C program that struct passwd
2378 * contains pw_comment.
2379 */
2380/* PWGECOS:
2381 * This symbol, if defined, indicates to the C program that struct passwd
2382 * contains pw_gecos.
5b34fd99 2383 */
ff935051 2384/* PWPASSWD:
2385 * This symbol, if defined, indicates to the C program that struct passwd
2386 * contains pw_passwd.
2387 */
2388#define I_PWD /**/
2389#define PWQUOTA /**/
2390/*#define PWAGE / **/
2391/*#define PWCHANGE / **/
2392/*#define PWCLASS / **/
2393/*#define PWEXPIRE / **/
2394#define PWCOMMENT /**/
2395#define PWGECOS /**/
2396#define PWPASSWD /**/
5b34fd99 2397
86959918 2398/* I_SHADOW:
2399 * This symbol, if defined, indicates that <shadow.h> exists and
2400 * should be included.
2401 */
ff935051 2402/*#define I_SHADOW / **/
86959918 2403
2404/* I_SOCKS:
2405 * This symbol, if defined, indicates that <socks.h> exists and
2406 * should be included.
2407 */
11dc3f68 2408/*#define I_SOCKS / **/
86959918 2409
792d8dab 2410/* I_SUNMATH:
2411 * This symbol, if defined, indicates that <sunmath.h> exists and
2412 * should be included.
2413 */
2414/*#define I_SUNMATH / **/
2415
ca52efda 2416/* I_SYSLOG:
2417 * This symbol, if defined, indicates that <syslog.h> exists and
2418 * should be included.
2419 */
2420#define I_SYSLOG /**/
2421
13b3f787 2422/* I_SYSMODE:
2423 * This symbol, if defined, indicates that <sys/mode.h> exists and
2424 * should be included.
2425 */
2426#define I_SYSMODE /**/
2427
ff49bff8 2428/* I_SYS_MOUNT:
2429 * This symbol, if defined, indicates that <sys/mount.h> exists and
2430 * should be included.
2431 */
11dc3f68 2432#define I_SYS_MOUNT /**/
ff49bff8 2433
0545a864 2434/* I_SYS_STATFS:
2435 * This symbol, if defined, indicates that <sys/statfs.h> exists.
2436 */
ff935051 2437/*#define I_SYS_STATFS / **/
0545a864 2438
ff49bff8 2439/* I_SYS_STATVFS:
2440 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
2441 * should be included.
2442 */
11dc3f68 2443#define I_SYS_STATVFS /**/
0545a864 2444
ff935051 2445/* I_SYSUIO:
2446 * This symbol, if defined, indicates that <sys/uio.h> exists and
2447 * should be included.
2448 */
2449#define I_SYSUIO /**/
2450
13b3f787 2451/* I_SYSUTSNAME:
2452 * This symbol, if defined, indicates that <sys/utsname.h> exists and
2453 * should be included.
2454 */
2455#define I_SYSUTSNAME /**/
2456
0545a864 2457/* I_SYS_VFS:
2458 * This symbol, if defined, indicates that <sys/vfs.h> exists and
2459 * should be included.
2460 */
ff935051 2461/*#define I_SYS_VFS / **/
2462
2463/* I_TIME:
2464 * This symbol, if defined, indicates to the C program that it should
2465 * include <time.h>.
2466 */
2467/* I_SYS_TIME:
2468 * This symbol, if defined, indicates to the C program that it should
2469 * include <sys/time.h>.
2470 */
2471/* I_SYS_TIME_KERNEL:
2472 * This symbol, if defined, indicates to the C program that it should
2473 * include <sys/time.h> with KERNEL defined.
2474 */
2475/*#define I_TIME / **/
2476#define I_SYS_TIME /**/
2477/*#define I_SYS_TIME_KERNEL / **/
0545a864 2478
2479/* I_USTAT:
2480 * This symbol, if defined, indicates that <ustat.h> exists and
2481 * should be included.
2482 */
2483#define I_USTAT /**/
ff49bff8 2484
ff935051 2485/* PERL_INC_VERSION_LIST:
2486 * This variable specifies the list of subdirectories in over
2487 * which perl.c:incpush() and lib/lib.pm will automatically
2488 * search when adding directories to @INC, in a format suitable
2489 * for a C initialization string. See the inc_version_list entry
2490 * in Porting/Glossary for more details.
2491 */
49dabb45 2492#define PERL_INC_VERSION_LIST 0 /**/
ff935051 2493
fe749a9f 2494/* INSTALL_USR_BIN_PERL:
2495 * This symbol, if defined, indicates that Perl is to be installed
2496 * also as /usr/bin/perl.
2497 */
2498#define INSTALL_USR_BIN_PERL /**/
2499
8c09e4ca 2500/* PERL_PRIfldbl:
2501 * This symbol, if defined, contains the string used by stdio to
2502 * format long doubles (format 'f') for output.
2503 */
2504/* PERL_PRIgldbl:
2505 * This symbol, if defined, contains the string used by stdio to
2506 * format long doubles (format 'g') for output.
2507 */
22d4bb9c 2508/* PERL_PRIeldbl:
2509 * This symbol, if defined, contains the string used by stdio to
2510 * format long doubles (format 'e') for output.
2511 */
2512/* PERL_SCNfldbl:
2513 * This symbol, if defined, contains the string used by stdio to
2514 * format long doubles (format 'f') for input.
2515 */
ff935051 2516#define PERL_PRIfldbl "f" /**/
2517#define PERL_PRIgldbl "g" /**/
22d4bb9c 2518#define PERL_PRIeldbl "e" /**/
2519#define PERL_SCNfldbl "f" /**/
ff935051 2520
2521/* Off_t:
2522 * This symbol holds the type used to declare offsets in the kernel.
2523 * It can be int, long, off_t, etc... It may be necessary to include
2524 * <sys/types.h> to get any typedef'ed information.
2525 */
2526/* LSEEKSIZE:
2527 * This symbol holds the number of bytes used by the Off_t.
2528 */
2529/* Off_t_size:
2530 * This symbol holds the number of bytes used by the Off_t.
2531 */
2532#define Off_t off_t /* <offset> type */
2533#define LSEEKSIZE 8 /* <offset> size */
2534#define Off_t_size 8 /* <offset> size */
2535
2536/* Free_t:
2537 * This variable contains the return type of free(). It is usually
2538 * void, but occasionally int.
2539 */
2540/* Malloc_t:
2541 * This symbol is the type of pointer returned by malloc and realloc.
2542 */
2543#define Malloc_t void * /**/
2544#define Free_t void /**/
2545
2546/* MYMALLOC:
2547 * This symbol, if defined, indicates that we're using our own malloc.
2548 */
2549/*#define MYMALLOC / **/
2550
2551/* Mode_t:
2552 * This symbol holds the type used to declare file modes
2553 * for systems calls. It is usually mode_t, but may be
2554 * int or unsigned short. It may be necessary to include <sys/types.h>
2555 * to get any typedef'ed information.
2556 */
2557#define Mode_t mode_t /* file mode parameter for system calls */
2558
2559/* VAL_O_NONBLOCK:
2560 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
2561 * non-blocking I/O for the file descriptor. Note that there is no way
2562 * back, i.e. you cannot turn it blocking again this way. If you wish to
2563 * alternatively switch between blocking and non-blocking, use the
2564 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
2565 */
2566/* VAL_EAGAIN:
2567 * This symbol holds the errno error code set by read() when no data was
2568 * present on the non-blocking file descriptor.
2569 */
2570/* RD_NODATA:
2571 * This symbol holds the return code from read() when no data is present
2572 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
2573 * not defined, then you can't distinguish between no data and EOF by
2574 * issuing a read(). You'll have to find another way to tell for sure!
2575 */
2576/* EOF_NONBLOCK:
2577 * This symbol, if defined, indicates to the C program that a read() on
2578 * a non-blocking file descriptor will return 0 on EOF, and not the value
2579 * held in RD_NODATA (-1 usually, in that case!).
2580 */
2581#define VAL_O_NONBLOCK O_NONBLOCK
2582#define VAL_EAGAIN EAGAIN
2583#define RD_NODATA -1
2584#define EOF_NONBLOCK
2585
2586/* Netdb_host_t:
2587 * This symbol holds the type used for the 1st argument
2588 * to gethostbyaddr().
2589 */
2590/* Netdb_hlen_t:
2591 * This symbol holds the type used for the 2nd argument
2592 * to gethostbyaddr().
2593 */
2594/* Netdb_name_t:
2595 * This symbol holds the type used for the argument to
2596 * gethostbyname().
2597 */
2598/* Netdb_net_t:
2599 * This symbol holds the type used for the 1st argument to
2600 * getnetbyaddr().
2601 */
2602#define Netdb_host_t const char * /**/
2603#define Netdb_hlen_t int /**/
2604#define Netdb_name_t const char * /**/
2605#define Netdb_net_t int /**/
8c09e4ca 2606
ee8c7f54 2607/* PERL_OTHERLIBDIRS:
2608 * This variable contains a colon-separated set of paths for the perl
2609 * binary to search for additional library files or modules.
2610 * These directories will be tacked to the end of @INC.
2611 * Perl will automatically search below each path for version-
2612 * and architecture-specific directories. See PERL_INC_VERSION_LIST
2613 * for more details.
2614 */
2615/*#define PERL_OTHERLIBDIRS " " / **/
2616
a22e52b9 2617/* IVTYPE:
2618 * This symbol defines the C type used for Perl's IV.
8c09e4ca 2619 */
a22e52b9 2620/* UVTYPE:
2621 * This symbol defines the C type used for Perl's UV.
8c09e4ca 2622 */
a22e52b9 2623/* I8TYPE:
2624 * This symbol defines the C type used for Perl's I8.
ca24dfc6 2625 */
a22e52b9 2626/* U8TYPE:
2627 * This symbol defines the C type used for Perl's U8.
2628 */
2629/* I16TYPE:
2630 * This symbol defines the C type used for Perl's I16.
2631 */
2632/* U16TYPE:
2633 * This symbol defines the C type used for Perl's U16.
2634 */
2635/* I32TYPE:
2636 * This symbol defines the C type used for Perl's I32.
2637 */
2638/* U32TYPE:
2639 * This symbol defines the C type used for Perl's U32.
2640 */
2641/* I64TYPE:
2642 * This symbol defines the C type used for Perl's I64.
2643 */
2644/* U64TYPE:
2645 * This symbol defines the C type used for Perl's U64.
2646 */
2647/* NVTYPE:
2648 * This symbol defines the C type used for Perl's NV.
2649 */
2650/* IVSIZE:
2651 * This symbol contains the sizeof(IV).
2652 */
2653/* UVSIZE:
2654 * This symbol contains the sizeof(UV).
2655 */
2656/* I8SIZE:
2657 * This symbol contains the sizeof(I8).
2658 */
2659/* U8SIZE:
2660 * This symbol contains the sizeof(U8).
2661 */
2662/* I16SIZE:
2663 * This symbol contains the sizeof(I16).
2664 */
2665/* U16SIZE:
2666 * This symbol contains the sizeof(U16).
8c09e4ca 2667 */
a22e52b9 2668/* I32SIZE:
2669 * This symbol contains the sizeof(I32).
2670 */
2671/* U32SIZE:
2672 * This symbol contains the sizeof(U32).
2673 */
2674/* I64SIZE:
2675 * This symbol contains the sizeof(I64).
2676 */
2677/* U64SIZE:
2678 * This symbol contains the sizeof(U64).
2679 */
ee8c7f54 2680/* NVSIZE:
2681 * This symbol contains the sizeof(NV).
2682 */
cce08f5b 2683/* NV_PRESERVES_UV:
2684 * This symbol, if defined, indicates that a variable of type NVTYPE
4b19af01 2685 * can preserve all the bits of a variable of type UVTYPE.
2686 */
2687/* NV_PRESERVES_UV_BITS:
2688 * This symbol contains the number of bits a variable of type NVTYPE
2689 * can preserve of a variable of type UVTYPE.
cce08f5b 2690 */
ff935051 2691#define IVTYPE long /**/
2692#define UVTYPE unsigned long /**/
a22e52b9 2693#define I8TYPE char /**/
2694#define U8TYPE unsigned char /**/
2695#define I16TYPE short /**/
2696#define U16TYPE unsigned short /**/
ff935051 2697#define I32TYPE int /**/
2698#define U32TYPE unsigned int /**/
de1c2614 2699#ifdef HAS_QUAD
ff935051 2700#define I64TYPE long /**/
2701#define U64TYPE unsigned long /**/
a22e52b9 2702#endif
2703#define NVTYPE double /**/
2704#define IVSIZE 8 /**/
2705#define UVSIZE 8 /**/
2706#define I8SIZE 1 /**/
2707#define U8SIZE 1 /**/
2708#define I16SIZE 2 /**/
2709#define U16SIZE 2 /**/
2710#define I32SIZE 4 /**/
2711#define U32SIZE 4 /**/
de1c2614 2712#ifdef HAS_QUAD
a22e52b9 2713#define I64SIZE 8 /**/
2714#define U64SIZE 8 /**/
2715#endif
ee8c7f54 2716#define NVSIZE 8 /**/
cce08f5b 2717#undef NV_PRESERVES_UV
4b19af01 2718#define NV_PRESERVES_UV_BITS 53
a22e52b9 2719
2720/* IVdf:
2721 * This symbol defines the format string used for printing a Perl IV
2722 * as a signed decimal integer.
2723 */
2724/* UVuf:
2725 * This symbol defines the format string used for printing a Perl UV
2726 * as an unsigned decimal integer.
2727 */
2728/* UVof:
2729 * This symbol defines the format string used for printing a Perl UV
2730 * as an unsigned octal integer.
2731 */
2732/* UVxf:
2733 * This symbol defines the format string used for printing a Perl UV
22d4bb9c 2734 * as an unsigned hexadecimal integer in lowercase abcdef.
2735 */
2736/* NVef:
2737 * This symbol defines the format string used for printing a Perl NV
2738 * using %e-ish floating point format.
2739 */
2740/* NVff:
2741 * This symbol defines the format string used for printing a Perl NV
2742 * using %f-ish floating point format.
2743 */
2744/* NVgf:
2745 * This symbol defines the format string used for printing a Perl NV
2746 * using %g-ish floating point format.
a22e52b9 2747 */
ff935051 2748#define IVdf "ld" /**/
2749#define UVuf "lu" /**/
2750#define UVof "lo" /**/
2751#define UVxf "lx" /**/
22d4bb9c 2752#define NVef "e" /**/
2753#define NVff "f" /**/
2754#define NVgf "g" /**/
ff935051 2755
2756/* Pid_t:
2757 * This symbol holds the type used to declare process ids in the kernel.
2758 * It can be int, uint, pid_t, etc... It may be necessary to include
2759 * <sys/types.h> to get any typedef'ed information.
2760 */
2761#define Pid_t pid_t /* PID type */
2762
2763/* PRIVLIB:
2764 * This symbol contains the name of the private library for this package.
2765 * The library is private in the sense that it needn't be in anyone's
2766 * execution path, but it should be accessible by the world. The program
2767 * should be prepared to do ~ expansion.
2768 */
2769/* PRIVLIB_EXP:
2770 * This symbol contains the ~name expanded version of PRIVLIB, to be used
2771 * in programs that are not prepared to deal with ~ expansion at run-time.
2772 */
22d4bb9c 2773#define PRIVLIB "/opt/perl/lib/5.7.0" /**/
2774#define PRIVLIB_EXP "/opt/perl/lib/5.7.0" /**/
ff935051 2775
2776/* PTRSIZE:
2777 * This symbol contains the size of a pointer, so that the C preprocessor
2778 * can make decisions based on it. It will be sizeof(void *) if
2779 * the compiler supports (void *); otherwise it will be
2780 * sizeof(char *).
2781 */
2782#define PTRSIZE 8 /**/
2783
2784/* Drand01:
2785 * This macro is to be used to generate uniformly distributed
2786 * random numbers over the range [0., 1.[. You may have to supply
2787 * an 'extern double drand48();' in your program since SunOS 4.1.3
2788 * doesn't provide you with anything relevant in it's headers.
2789 * See HAS_DRAND48_PROTO.
2790 */
2791/* Rand_seed_t:
2792 * This symbol defines the type of the argument of the
2793 * random seed function.
2794 */
2795/* seedDrand01:
2796 * This symbol defines the macro to be used in seeding the
2797 * random number generator (see Drand01).
2798 */
2799/* RANDBITS:
2800 * This symbol indicates how many bits are produced by the
2801 * function used to generate normalized random numbers.
2802 * Values include 15, 16, 31, and 48.
2803 */
2804#define Drand01() drand48() /**/
2805#define Rand_seed_t long /**/
2806#define seedDrand01(x) srand48((Rand_seed_t)x) /**/
2807#define RANDBITS 48 /**/
327c3667 2808
327c3667 2809/* SELECT_MIN_BITS:
2810 * This symbol holds the minimum number of bits operated by select.
2811 * That is, if you do select(n, ...), how many bits at least will be
2812 * cleared in the masks if some activity is detected. Usually this
2813 * is either n or 32*ceil(n/32), especially many little-endians do
2814 * the latter. This is only useful if you have select(), naturally.
2815 */
ff935051 2816#define SELECT_MIN_BITS 32 /**/
2817
2818/* Select_fd_set_t:
2819 * This symbol holds the type used for the 2nd, 3rd, and 4th
2820 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
2821 * is defined, and 'int *' otherwise. This is only useful if you
2822 * have select(), of course.
2823 */
2824#define Select_fd_set_t fd_set * /**/
2825
2826/* SIG_NAME:
2827 * This symbol contains a list of signal names in order of
2828 * signal number. This is intended
2829 * to be used as a static array initialization, like this:
2830 * char *sig_name[] = { SIG_NAME };
2831 * The signals in the list are separated with commas, and each signal
2832 * is surrounded by double quotes. There is no leading SIG in the signal
2833 * name, i.e. SIGQUIT is known as "QUIT".
2834 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
2835 * etc., where nn is the actual signal number (e.g. NUM37).
2836 * The signal number for sig_name[i] is stored in sig_num[i].
2837 * The last element is 0 to terminate the list with a NULL. This
2838 * corresponds to the 0 at the end of the sig_num list.
2839 */
2840/* SIG_NUM:
2841 * This symbol contains a list of signal numbers, in the same order as the
2842 * SIG_NAME list. It is suitable for static array initialization, as in:
2843 * int sig_num[] = { SIG_NUM };
2844 * The signals in the list are separated with commas, and the indices
2845 * within that list and the SIG_NAME list match, so it's easy to compute
2846 * the signal name from a number or vice versa at the price of a small
2847 * dynamic linear lookup.
2848 * Duplicates are allowed, but are moved to the end of the list.
2849 * The signal number corresponding to sig_name[i] is sig_number[i].
2850 * if (i < NSIG) then sig_number[i] == i.
2851 * The last element is 0, corresponding to the 0 at the end of
2852 * the sig_name list.
2853 */
2854#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 /**/
2855#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 /**/
2856
2857/* SITEARCH:
2858 * This symbol contains the name of the private library for this package.
2859 * The library is private in the sense that it needn't be in anyone's
2860 * execution path, but it should be accessible by the world. The program
2861 * should be prepared to do ~ expansion.
2862 * The standard distribution will put nothing in this directory.
2863 * After perl has been installed, users may install their own local
2864 * architecture-dependent modules in this directory with
2865 * MakeMaker Makefile.PL
2866 * or equivalent. See INSTALL for details.
2867 */
2868/* SITEARCH_EXP:
2869 * This symbol contains the ~name expanded version of SITEARCH, to be used
2870 * in programs that are not prepared to deal with ~ expansion at run-time.
2871 */
22d4bb9c 2872#define SITEARCH "/opt/perl/lib/site_perl/5.7.0/alpha-dec_osf-thread" /**/
2873#define SITEARCH_EXP "/opt/perl/lib/site_perl/5.7.0/alpha-dec_osf-thread" /**/
ff935051 2874
2875/* SITELIB:
2876 * This symbol contains the name of the private library for this package.
2877 * The library is private in the sense that it needn't be in anyone's
2878 * execution path, but it should be accessible by the world. The program
2879 * should be prepared to do ~ expansion.
2880 * The standard distribution will put nothing in this directory.
2881 * After perl has been installed, users may install their own local
2882 * architecture-independent modules in this directory with
2883 * MakeMaker Makefile.PL
2884 * or equivalent. See INSTALL for details.
2885 */
2886/* SITELIB_EXP:
2887 * This symbol contains the ~name expanded version of SITELIB, to be used
2888 * in programs that are not prepared to deal with ~ expansion at run-time.
2889 */
65f19062 2890/* SITELIB_STEM:
2891 * This define is SITELIB_EXP with any trailing version-specific component
2892 * removed. The elements in inc_version_list (inc_version_list.U) can
2893 * be tacked onto this variable to generate a list of directories to search.
2894 */
22d4bb9c 2895#define SITELIB "/opt/perl/lib/site_perl/5.7.0" /**/
2896#define SITELIB_EXP "/opt/perl/lib/site_perl/5.7.0" /**/
65f19062 2897#define SITELIB_STEM "/opt/perl/lib/site_perl" /**/
ff935051 2898
ee8c7f54 2899/* Size_t_size:
2900 * This symbol holds the size of a Size_t in bytes.
2901 */
2902#define Size_t_size 8 /* */
2903
ff935051 2904/* Size_t:
2905 * This symbol holds the type used to declare length parameters
2906 * for string functions. It is usually size_t, but may be
2907 * unsigned long, int, etc. It may be necessary to include
2908 * <sys/types.h> to get any typedef'ed information.
2909 */
2910#define Size_t size_t /* length paramater for string functions */
2911
ee8c7f54 2912/* Sock_size_t:
2913 * This symbol holds the type used for the size argument of
2914 * various socket calls (just the base type, not the pointer-to).
2915 */
2916#define Sock_size_t int /**/
2917
ff935051 2918/* SSize_t:
2919 * This symbol holds the type used by functions that return
2920 * a count of bytes or an error condition. It must be a signed type.
2921 * It is usually ssize_t, but may be long or int, etc.
2922 * It may be necessary to include <sys/types.h> or <unistd.h>
2923 * to get any typedef'ed information.
2924 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
2925 */
2926#define SSize_t ssize_t /* signed count of bytes */
bfb7748a 2927
fbfd4aab 2928/* STARTPERL:
2929 * This variable contains the string to put in front of a perl
2930 * script to make sure (one hopes) that it runs with perl and not
2931 * some shell.
2932 */
0617aed7 2933#define STARTPERL "#!/opt/perl/bin/perl" /**/
327c3667 2934
a71cd7cd 2935/* HAS_STDIO_STREAM_ARRAY:
2936 * This symbol, if defined, tells that there is an array
2937 * holding the stdio streams.
2938 */
2939/* STDIO_STREAM_ARRAY:
2940 * This symbol tells the name of the array holding the stdio streams.
2941 * Usual values include _iob, __iob, and __sF.
2942 */
ff935051 2943#define HAS_STDIO_STREAM_ARRAY /**/
2944#define STDIO_STREAM_ARRAY _iob
8c09e4ca 2945
ff935051 2946/* Uid_t_f:
2947 * This symbol defines the format string used for printing a Uid_t.
2948 */
2949#define Uid_t_f "u" /**/
2950
ee8c7f54 2951/* Uid_t_sign:
2952 * This symbol holds the signedess of a Uid_t.
2953 * 1 for unsigned, -1 for signed.
2954 */
2955#define Uid_t_sign 1 /* UID sign */
2956
ff935051 2957/* Uid_t_size:
2958 * This symbol holds the size of a Uid_t in bytes.
2959 */
2960#define Uid_t_size 4 /* UID size */
2961
2962/* Uid_t:
2963 * This symbol holds the type used to declare user ids in the kernel.
2964 * It can be int, ushort, uid_t, etc... It may be necessary to include
2965 * <sys/types.h> to get any typedef'ed information.
8c09e4ca 2966 */
ff935051 2967#define Uid_t uid_t /* UID type */
a71cd7cd 2968
10cc9d2a 2969/* USE_64_BIT_INT:
aaacdc8b 2970 * This symbol, if defined, indicates that 64-bit integers should
2971 * be used when available. If not defined, the native integers
c890dc6c 2972 * will be employed (be they 32 or 64 bits). The minimal possible
2973 * 64-bitness is used, just enough to get 64-bit integers into Perl.
2974 * This may mean using for example "long longs", while your memory
2975 * may still be limited to 2 gigabytes.
327c3667 2976 */
10cc9d2a 2977/* USE_64_BIT_ALL:
2978 * This symbol, if defined, indicates that 64-bit integers should
2979 * be used when available. If not defined, the native integers
2980 * will be used (be they 32 or 64 bits). The maximal possible
2981 * 64-bitness is employed: LP64 or ILP64, meaning that you will
2982 * be able to use more than 2 gigabytes of memory. This mode is
2983 * even more binary incompatible than USE_64_BIT_INT. You may not
2984 * be able to run the resulting executable in a 32-bit CPU at all or
2985 * you may need at least to reboot your OS to 64-bit mode.
2986 */
2987#ifndef USE_64_BIT_INT
2988#define USE_64_BIT_INT /**/
0befd8de 2989#endif
4633a7c4 2990
10cc9d2a 2991#ifndef USE_64_BIT_ALL
2992#define USE_64_BIT_ALL /**/
c890dc6c 2993#endif
2994
1baac590 2995/* USE_LARGE_FILES:
2996 * This symbol, if defined, indicates that large file support
c890dc6c 2997 * should be used when available.
1baac590 2998 */
0befd8de 2999#ifndef USE_LARGE_FILES
aaacdc8b 3000#define USE_LARGE_FILES /**/
0befd8de 3001#endif
1baac590 3002
ca24dfc6 3003/* USE_LONG_DOUBLE:
3004 * This symbol, if defined, indicates that long doubles should
3005 * be used when available.
3006 */
0befd8de 3007#ifndef USE_LONG_DOUBLE
ca24dfc6 3008/*#define USE_LONG_DOUBLE / **/
0befd8de 3009#endif
3010
78691af5 3011/* USE_MORE_BITS:
3012 * This symbol, if defined, indicates that 64-bit interfaces and
3013 * long doubles should be used when available.
3014 */
0befd8de 3015#ifndef USE_MORE_BITS
3016/*#define USE_MORE_BITS / **/
3017#endif
ca24dfc6 3018
ff49bff8 3019/* MULTIPLICITY:
3020 * This symbol, if defined, indicates that Perl should
3021 * be built to use multiplicity.
3022 */
fe749a9f 3023#ifndef MULTIPLICITY
22d4bb9c 3024/*#define MULTIPLICITY / **/
0befd8de 3025#endif
ff49bff8 3026
9003a523 3027/* USE_PERLIO:
3028 * This symbol, if defined, indicates that the PerlIO abstraction should
3029 * be used throughout. If not defined, stdio should be
3030 * used in a fully backward compatible manner.
ce4a058e 3031 */
0befd8de 3032#ifndef USE_PERLIO
20e68413 3033/*#define USE_PERLIO / **/
0befd8de 3034#endif
ce4a058e 3035
29209bc5 3036/* USE_SOCKS:
3037 * This symbol, if defined, indicates that Perl should
3038 * be built to use socks.
3039 */
0befd8de 3040#ifndef USE_SOCKS
11dc3f68 3041/*#define USE_SOCKS / **/
0befd8de 3042#endif
29209bc5 3043
aaacdc8b 3044/* USE_ITHREADS:
3045 * This symbol, if defined, indicates that Perl should be built to
3046 * use the interpreter-based threading implementation.
3047 */
3048/* USE_5005THREADS:
3049 * This symbol, if defined, indicates that Perl should be built to
3050 * use the 5.005-based threading implementation.
dfe9444c 3051 */
693762b4 3052/* OLD_PTHREADS_API:
3053 * This symbol, if defined, indicates that Perl should
3054 * be built to use the old draft POSIX threads API.
3055 */
22d4bb9c 3056#define USE_5005THREADS /**/
3057/*#define USE_ITHREADS / **/
aaacdc8b 3058#if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
3059#define USE_THREADS /* until src is revised*/
0befd8de 3060#endif
11dc3f68 3061/*#define OLD_PTHREADS_API / **/
16d20bd9 3062
ee8c7f54 3063/* PERL_VENDORARCH:
3064 * If defined, this symbol contains the name of a private library.
3065 * The library is private in the sense that it needn't be in anyone's
3066 * execution path, but it should be accessible by the world.
3067 * It may have a ~ on the front.
3068 * The standard distribution will put nothing in this directory.
3069 * Vendors who distribute perl may wish to place their own
3070 * architecture-dependent modules and extensions in this directory with
3071 * MakeMaker Makefile.PL INSTALLDIRS=vendor
3072 * or equivalent. See INSTALL for details.
3073 */
65f19062 3074/* PERL_VENDORARCH_EXP:
3075 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
3076 * in programs that are not prepared to deal with ~ expansion at run-time.
3077 */
ee8c7f54 3078/*#define PERL_VENDORARCH "" / **/
65f19062 3079/*#define PERL_VENDORARCH_EXP "" / **/
3080
ff935051 3081/* PERL_VENDORLIB_EXP:
3082 * This symbol contains the ~name expanded version of VENDORLIB, to be used
3083 * in programs that are not prepared to deal with ~ expansion at run-time.
887d2938 3084 */
65f19062 3085/* PERL_VENDORLIB_STEM:
3086 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component
3087 * removed. The elements in inc_version_list (inc_version_list.U) can
3088 * be tacked onto this variable to generate a list of directories to search.
3089 */
ff935051 3090/*#define PERL_VENDORLIB_EXP "" / **/
65f19062 3091/*#define PERL_VENDORLIB_STEM "" / **/
887d2938 3092
ff935051 3093/* VOIDFLAGS:
3094 * This symbol indicates how much support of the void type is given by this
3095 * compiler. What various bits mean:
3096 *
3097 * 1 = supports declaration of void
3098 * 2 = supports arrays of pointers to functions returning void
3099 * 4 = supports comparisons between pointers to void functions and
3100 * addresses of void functions
3101 * 8 = suports declaration of generic void pointers
3102 *
3103 * The package designer should define VOIDUSED to indicate the requirements
3104 * of the package. This can be done either by #defining VOIDUSED before
3105 * including config.h, or by defining defvoidused in Myinit.U. If the
3106 * latter approach is taken, only those flags will be tested. If the
3107 * level of void support necessary is not present, defines void to int.
dc45a647 3108 */
ff935051 3109#ifndef VOIDUSED
3110#define VOIDUSED 15
3111#endif
3112#define VOIDFLAGS 15
3113#if (VOIDFLAGS & VOIDUSED) != VOIDUSED
3114#define void int /* is void to be avoided? */
3115#define M_VOID /* Xenix strikes again */
3116#endif
dc45a647 3117
fe749a9f 3118/* PERL_XS_APIVERSION:
3119 * This variable contains the version of the oldest perl binary
3120 * compatible with the present perl. perl.c:incpush() and
22d4bb9c 3121 * lib/lib.pm will automatically search in /opt/perl/lib/site_perl/5.7.0/alpha-dec_osf-thread for older
fe749a9f 3122 * directories across major versions back to xs_apiversion.
3123 * This is only useful if you have a perl library directory tree
3124 * structured like the default one.
3125 * See INSTALL for how this works.
3126 * The versioned site_perl directory was introduced in 5.005,
3127 * so that is the lowest possible value.
3128 * Since this can depend on compile time options (such as
3129 * bincompat) it is set by Configure. Other non-default sources
3130 * of potential incompatibility, such as multiplicity, threads,
3131 * debugging, 64bits, sfio, etc., are not checked for currently,
3132 * though in principle we could go snooping around in old
3133 * Config.pm files.
3134 */
3135/* PERL_PM_APIVERSION:
3136 * This variable contains the version of the oldest perl
3137 * compatible with the present perl. (That is, pure perl modules
3138 * written for pm_apiversion will still work for the current
3139 * version). perl.c:incpush() and lib/lib.pm will automatically
22d4bb9c 3140 * search in /opt/perl/lib/site_perl/5.7.0 for older directories across major versions
fe749a9f 3141 * back to pm_apiversion. This is only useful if you have a perl
3142 * library directory tree structured like the default one. The
3143 * versioned site_perl library was introduced in 5.005, so that's
3144 * the default setting for this variable. It's hard to imagine
3145 * it changing before Perl6. It is included here for symmetry
3146 * with xs_apiveprsion -- the searching algorithms will
3147 * (presumably) be similar.
3148 * See the INSTALL file for how this works.
3149 */
22d4bb9c 3150#define PERL_XS_APIVERSION "5.7.0"
fe749a9f 3151#define PERL_PM_APIVERSION "5.005"
3152
22d4bb9c 3153/* HAS_GETPGRP:
3154 * This symbol, if defined, indicates that the getpgrp routine is
3155 * available to get the current process group.
3156 */
3157/* USE_BSD_GETPGRP:
3158 * This symbol, if defined, indicates that getpgrp needs one
3159 * arguments whereas USG one needs none.
3160 */
3161#define HAS_GETPGRP /**/
3162/*#define USE_BSD_GETPGRP / **/
3163
3164/* HAS_SETPGRP:
3165 * This symbol, if defined, indicates that the setpgrp routine is
3166 * available to set the current process group.
3167 */
3168/* USE_BSD_SETPGRP:
3169 * This symbol, if defined, indicates that setpgrp needs two
3170 * arguments whereas USG one needs none. See also HAS_SETPGID
3171 * for a POSIX interface.
3172 */
3173#define HAS_SETPGRP /**/
3174#define USE_BSD_SETPGRP /**/
3175
fe14fcc3 3176#endif