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