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