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