This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Couple more _r possibilities (found in a RH 8.0 box), and
[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 : .
2d736872 20 * Configuration time: Mon Sep 30 10:33:19 METDST 2002
44b94491
MB
21 * Configured by : merijn
22 * Target system : hp-ux l1 b.11.00 u 9000800 527706567 unlimited-user license
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 */
44b94491 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 */
44b94491 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 */
44b94491 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 */
44b94491 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 */
44b94491 434/*#define HAS_SETEUID / **/
85e6fe83 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 */
44b94491 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 */
44b94491 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 /**/
44b94491 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 /**/
44b94491 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 */
44b94491 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 */
44b94491 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 */
44b94491 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 */
44b94491 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 /**/
44b94491 898#define LONGSIZE 4 /**/
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
44b94491
MB
917# define Quad_t long long /**/
918# define Uquad_t unsigned long long /**/
919# define QUADKIND 3 /**/
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 */
44b94491 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 */
44b94491 948/*#define I_SYS_SECURITY / **/
ff935051
JH
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 */
44b94491
MB
960#define OSNAME "hpux" /**/
961#define OSVERS "11.00" /**/
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 */
44b94491
MB
987#define ARCHLIB "/opt/perl/lib/5.9.0/PA-RISC2.0" /**/
988#define ARCHLIB_EXP "/opt/perl/lib/5.9.0/PA-RISC2.0" /**/
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 */
44b94491 996#define ARCHNAME "PA-RISC2.0" /**/
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
44b94491 1061#define BYTEORDER 0x4321 /* 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 */
44b94491
MB
1113#define CPPSTDIN "cc -E -Aa -D__STDC_EXT__"
1114#define CPPMINUS "-"
1115#define CPPRUN "cc -E -Aa -D__STDC_EXT__"
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 */
44b94491 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 */
44b94491 1193/*#define HAS_STRUCT_CMSGHDR / **/
4e0554ec 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 */
44b94491 1346/*#define HAS_FINITE / **/
758a5d79
JH
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 */
44b94491 1353/*#define HAS_FINITEL / **/
758a5d79 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 */
44b94491 1377/*#define HAS_FP_CLASS / **/
758a5d79
JH
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 */
44b94491 1409#define HAS_FPCLASSIFY /**/
758a5d79 1410
c890dc6c
JH
1411/* HAS_FPOS64_T:
1412 * This symbol will be defined if the C compiler supports fpos64_t.
1413 */
44b94491 1414#define HAS_FPOS64_T /**/
c890dc6c 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 */
44b94491 1421/*#define HAS_FREXPL / **/
a3540c92 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 */
44b94491 1433#define HAS_FSEEKO /**/
ff935051
JH
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 */
44b94491 1452#define HAS_FTELLO /**/
ff935051 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 */
44b94491 1469#define Gconvert(x,n,t,b) gcvt((x),(n),(b))
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 */
44b94491 1487/*#define HAS_GETFSSTAT / **/
52c7d5b6 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 */
44b94491 1618#define HAS_GETMNTENT /**/
ff935051 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 */
44b94491 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 */
44b94491 1759#define HAS_GETSPNAM /**/
ff935051 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
00fac743
JH
1800 * the GNU C library is being used. A better check is to use
1801 * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc.
ff935051
JH
1802 */
1803/*#define HAS_GNULIBC / **/
cce08f5b
JH
1804#if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
1805# define _GNU_SOURCE
1806#endif
ff935051
JH
1807/* HAS_HASMNTOPT:
1808 * This symbol, if defined, indicates that the hasmntopt routine is
1809 * available to query the mount options of file systems.
1810 */
44b94491 1811#define HAS_HASMNTOPT /**/
ff935051 1812
327c3667
GS
1813/* HAS_HTONL:
1814 * This symbol, if defined, indicates that the htonl() routine (and
1815 * friends htons() ntohl() ntohs()) are available to do network
1816 * order byte swapping.
1817 */
1818/* HAS_HTONS:
1819 * This symbol, if defined, indicates that the htons() routine (and
1820 * friends htonl() ntohl() ntohs()) are available to do network
1821 * order byte swapping.
1822 */
1823/* HAS_NTOHL:
1824 * This symbol, if defined, indicates that the ntohl() routine (and
1825 * friends htonl() htons() ntohs()) are available to do network
1826 * order byte swapping.
1827 */
1828/* HAS_NTOHS:
1829 * This symbol, if defined, indicates that the ntohs() routine (and
1830 * friends htonl() htons() ntohl()) are available to do network
1831 * order byte swapping.
1832 */
1833#define HAS_HTONL /**/
1834#define HAS_HTONS /**/
1835#define HAS_NTOHL /**/
1836#define HAS_NTOHS /**/
1837
fe749a9f
JH
1838/* HAS_INT64_T:
1839 * This symbol will defined if the C compiler supports int64_t.
1840 * Usually the <inttypes.h> needs to be included, but sometimes
1841 * <sys/types.h> is enough.
1842 */
44b94491 1843#define HAS_INT64_T /**/
fe749a9f 1844
ff935051
JH
1845/* HAS_ISASCII:
1846 * This manifest constant lets the C program know that isascii
1847 * is available.
1848 */
1849#define HAS_ISASCII /**/
1850
758a5d79
JH
1851/* HAS_ISFINITE:
1852 * This symbol, if defined, indicates that the isfinite routine is
1853 * available to check whether a double is finite (non-infinity non-NaN).
1854 */
44b94491 1855#define HAS_ISFINITE /**/
758a5d79
JH
1856
1857/* HAS_ISINF:
1858 * This symbol, if defined, indicates that the isinf routine is
1859 * available to check whether a double is an infinity.
1860 */
44b94491 1861#define HAS_ISINF /**/
758a5d79 1862
a3540c92
JH
1863/* HAS_ISNAN:
1864 * This symbol, if defined, indicates that the isnan routine is
1865 * available to check whether a double is a NaN.
1866 */
1867#define HAS_ISNAN /**/
1868
1869/* HAS_ISNANL:
1870 * This symbol, if defined, indicates that the isnanl routine is
1871 * available to check whether a long double is a NaN.
1872 */
44b94491 1873/*#define HAS_ISNANL / **/
a3540c92 1874
b6592ff0
JH
1875/* HAS_LCHOWN:
1876 * This symbol, if defined, indicates that the lchown routine is
1877 * available to operate on a symbolic link (instead of following the
1878 * link).
1879 */
1880#define HAS_LCHOWN /**/
1881
ff935051
JH
1882/* HAS_LDBL_DIG:
1883 * This symbol, if defined, indicates that this system's <float.h>
1884 * or <limits.h> defines the symbol LDBL_DIG, which is the number
1885 * of significant digits in a long double precision number. Unlike
1886 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
1887 */
1888#define HAS_LDBL_DIG /* */
1889
10bc17b6
JH
1890/* HAS_LOCALTIME_R:
1891 * This symbol, if defined, indicates that the localtime_r routine
1892 * is available to localtime re-entrantly.
1893 */
1894/* LOCALTIME_R_PROTO:
1895 * This symbol encodes the prototype of localtime_r.
39183afa
JH
1896 * It is zero if d_localtime_r is undef, and one of the
1897 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r
1898 * is defined.
10bc17b6 1899 */
2f12987e
JH
1900/*#define HAS_LOCALTIME_R / **/
1901#define LOCALTIME_R_PROTO 0 /**/
10bc17b6 1902
e5c9fcd0
AD
1903/* HAS_LONG_DOUBLE:
1904 * This symbol will be defined if the C compiler supports long
1905 * doubles.
1906 */
ff935051
JH
1907/* LONG_DOUBLESIZE:
1908 * This symbol contains the size of a long double, so that the
1909 * C preprocessor can make decisions based on it. It is only
1910 * defined if the system supports long doubles.
1911 */
1912#define HAS_LONG_DOUBLE /**/
1913#ifdef HAS_LONG_DOUBLE
44b94491 1914#define LONG_DOUBLESIZE 16 /**/
ff935051
JH
1915#endif
1916
1917/* HAS_LONG_LONG:
1918 * This symbol will be defined if the C compiler supports long long.
1919 */
1920/* LONGLONGSIZE:
1921 * This symbol contains the size of a long long, so that the
1922 * C preprocessor can make decisions based on it. It is only
1923 * defined if the system supports long long.
1924 */
1925#define HAS_LONG_LONG /**/
1926#ifdef HAS_LONG_LONG
1927#define LONGLONGSIZE 8 /**/
1928#endif
1929
52c7d5b6
JH
1930/* HAS_LSEEK_PROTO:
1931 * This symbol, if defined, indicates that the system provides
1932 * a prototype for the lseek() function. Otherwise, it is up
1933 * to the program to supply one. A good guess is
1934 * extern off_t lseek(int, off_t, int);
1935 */
e61ecf27 1936#define HAS_LSEEK_PROTO /**/
52c7d5b6 1937
792d8dab
JH
1938/* HAS_MADVISE:
1939 * This symbol, if defined, indicates that the madvise system call is
1940 * available to map a file into memory.
1941 */
1942#define HAS_MADVISE /**/
1943
ff935051
JH
1944/* HAS_MEMCHR:
1945 * This symbol, if defined, indicates that the memchr routine is available
1946 * to locate characters within a C string.
1947 */
1948#define HAS_MEMCHR /**/
1949
fe749a9f
JH
1950/* HAS_MKDTEMP:
1951 * This symbol, if defined, indicates that the mkdtemp routine is
1952 * available to exclusively create a uniquely named temporary directory.
1953 */
1954/*#define HAS_MKDTEMP / **/
1955
1956/* HAS_MKSTEMP:
1957 * This symbol, if defined, indicates that the mkstemp routine is
1958 * available to exclusively create and open a uniquely named
1959 * temporary file.
1960 */
1961#define HAS_MKSTEMP /**/
1962
1963/* HAS_MKSTEMPS:
1964 * This symbol, if defined, indicates that the mkstemps routine is
1965 * available to excluslvely create and open a uniquely named
1966 * (with a suffix) temporary file.
1967 */
1968/*#define HAS_MKSTEMPS / **/
1969
87b71857
JH
1970/* HAS_MMAP:
1971 * This symbol, if defined, indicates that the mmap system call is
1972 * available to map a file into memory.
1973 */
fe749a9f
JH
1974/* Mmap_t:
1975 * This symbol holds the return type of the mmap() system call
1976 * (and simultaneously the type of the first argument).
1977 * Usually set to 'void *' or 'cadd_t'.
1978 */
87b71857 1979#define HAS_MMAP /**/
fe749a9f
JH
1980#define Mmap_t void * /**/
1981
3813c136
JH
1982/* HAS_MODFL:
1983 * This symbol, if defined, indicates that the modfl routine is
1984 * available to split a long double x into a fractional part f and
1985 * an integer part i such that |f| < 1.0 and (f + i) = x.
1986 */
44b94491
MB
1987/* HAS_MODFL_PROTO:
1988 * This symbol, if defined, indicates that the system provides
1989 * a prototype for the modfl() function. Otherwise, it is up
1990 * to the program to supply one.
1991 */
e67aeab1
JH
1992/* HAS_MODFL_POW32_BUG:
1993 * This symbol, if defined, indicates that the modfl routine is
1994 * broken for long doubles >= pow(2, 32).
1995 * For example from 4294967303.150000 one would get 4294967302.000000
1996 * and 1.150000. The bug has been seen in certain versions of glibc,
1997 * release 2.2.2 is known to be okay.
1998 */
5af95cda 1999/*#define HAS_MODFL / **/
44b94491 2000/*#define HAS_MODFL_PROTO / **/
e67aeab1 2001/*#define HAS_MODFL_POW32_BUG / **/
3813c136 2002
fe749a9f
JH
2003/* HAS_MPROTECT:
2004 * This symbol, if defined, indicates that the mprotect system call is
2005 * available to modify the access protection of a memory mapped file.
2006 */
2007#define HAS_MPROTECT /**/
2008
ff935051
JH
2009/* HAS_MSG:
2010 * This symbol, if defined, indicates that the entire msg*(2) library is
2011 * supported (IPC mechanism based on message queues).
2012 */
2013#define HAS_MSG /**/
2014
4e0554ec
JH
2015/* HAS_STRUCT_MSGHDR:
2016 * This symbol, if defined, indicates that the struct msghdr
2017 * is supported.
2018 */
2019#define HAS_STRUCT_MSGHDR /**/
2020
2d736872
MB
2021/* HAS_NANOSLEEP:
2022 * This symbol, if defined, indicates that the nanosleep
2023 * system call is available to sleep with 1E-9 sec accuracy.
2024 */
2025#define HAS_NANOSLEEP /**/
2026
c890dc6c
JH
2027/* HAS_OFF64_T:
2028 * This symbol will be defined if the C compiler supports off64_t.
2029 */
44b94491 2030#define HAS_OFF64_T /**/
c890dc6c 2031
ff935051
JH
2032/* HAS_OPEN3:
2033 * This manifest constant lets the C program know that the three
2034 * argument form of open(2) is available.
2035 */
2036#define HAS_OPEN3 /**/
2037
2038/* OLD_PTHREAD_CREATE_JOINABLE:
2039 * This symbol, if defined, indicates how to create pthread
2040 * in joinable (aka undetached) state. NOTE: not defined
2041 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
2042 * (the new version of the constant).
2043 * If defined, known values are PTHREAD_CREATE_UNDETACHED
2044 * and __UNDETACHED.
2045 */
2046/*#define OLD_PTHREAD_CREATE_JOINABLE / **/
2047
2048/* HAS_PTHREAD_YIELD:
2049 * This symbol, if defined, indicates that the pthread_yield
2050 * routine is available to yield the execution of the current
2051 * thread. sched_yield is preferable to pthread_yield.
2052 */
2053/* SCHED_YIELD:
2054 * This symbol defines the way to yield the execution of
2055 * the current thread. Known ways are sched_yield,
2056 * pthread_yield, and pthread_yield with NULL.
2057 */
2058/* HAS_SCHED_YIELD:
2059 * This symbol, if defined, indicates that the sched_yield
2060 * routine is available to yield the execution of the current
2061 * thread. sched_yield is preferable to pthread_yield.
e5c9fcd0 2062 */
ff935051
JH
2063/*#define HAS_PTHREAD_YIELD / **/
2064#define SCHED_YIELD sched_yield() /**/
2065#define HAS_SCHED_YIELD /**/
e5c9fcd0 2066
10bc17b6
JH
2067/* HAS_RANDOM_R:
2068 * This symbol, if defined, indicates that the random_r routine
2069 * is available to random re-entrantly.
2070 */
2071/* RANDOM_R_PROTO:
2072 * This symbol encodes the prototype of random_r.
39183afa
JH
2073 * It is zero if d_random_r is undef, and one of the
2074 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r
2075 * is defined.
10bc17b6 2076 */
2f12987e
JH
2077/*#define HAS_RANDOM_R / **/
2078#define RANDOM_R_PROTO 0 /**/
10bc17b6
JH
2079
2080/* HAS_READDIR_R:
2081 * This symbol, if defined, indicates that the readdir_r routine
2082 * is available to readdir re-entrantly.
2083 */
2084/* READDIR_R_PROTO:
2085 * This symbol encodes the prototype of readdir_r.
39183afa
JH
2086 * It is zero if d_readdir_r is undef, and one of the
2087 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r
2088 * is defined.
10bc17b6 2089 */
2f12987e
JH
2090/*#define HAS_READDIR_R / **/
2091#define READDIR_R_PROTO 0 /**/
10bc17b6 2092
4e0554ec
JH
2093/* HAS_READV:
2094 * This symbol, if defined, indicates that the readv routine is
2095 * available to do gather reads. You will also need <sys/uio.h>
2096 * and there I_SYSUIO.
2097 */
2098#define HAS_READV /**/
2099
2100/* HAS_RECVMSG:
2101 * This symbol, if defined, indicates that the recvmsg routine is
2102 * available to send structured socket messages.
2103 */
2104#define HAS_RECVMSG /**/
2105
ff935051
JH
2106/* HAS_SAFE_BCOPY:
2107 * This symbol, if defined, indicates that the bcopy routine is available
b6cc3bc4 2108 * to copy potentially overlapping memory blocks. Normally, you should
ff935051
JH
2109 * probably use memmove() or memcpy(). If neither is defined, roll your
2110 * own version.
dc45a647 2111 */
b6cc3bc4 2112/*#define HAS_SAFE_BCOPY / **/
dc45a647 2113
ff935051
JH
2114/* HAS_SAFE_MEMCPY:
2115 * This symbol, if defined, indicates that the memcpy routine is available
b6cc3bc4
AD
2116 * to copy potentially overlapping memory blocks. If you need to
2117 * copy overlapping memory blocks, you should check HAS_MEMMOVE and
2118 * use memmove() instead, if available.
a71cd7cd 2119 */
ff935051 2120/*#define HAS_SAFE_MEMCPY / **/
a71cd7cd 2121
ff935051
JH
2122/* HAS_SANE_MEMCMP:
2123 * This symbol, if defined, indicates that the memcmp routine is available
2124 * and can be used to compare relative magnitudes of chars with their high
2125 * bits set. If it is not defined, roll your own version.
327c3667 2126 */
ff935051 2127#define HAS_SANE_MEMCMP /**/
327c3667 2128
a7fea17f
JH
2129/* HAS_SBRK_PROTO:
2130 * This symbol, if defined, indicates that the system provides
2131 * a prototype for the sbrk() function. Otherwise, it is up
2132 * to the program to supply one. Good guesses are
c68a00c0
JH
2133 * extern void* sbrk(int);
2134 * extern void* sbrk(size_t);
a7fea17f
JH
2135 */
2136#define HAS_SBRK_PROTO /**/
2137
327c3667
GS
2138/* HAS_SEM:
2139 * This symbol, if defined, indicates that the entire sem*(2) library is
2140 * supported.
2141 */
2142#define HAS_SEM /**/
2143
4e0554ec
JH
2144/* HAS_SENDMSG:
2145 * This symbol, if defined, indicates that the sendmsg routine is
2146 * available to send structured socket messages.
2147 */
2148#define HAS_SENDMSG /**/
2149
327c3667
GS
2150/* HAS_SETGRENT:
2151 * This symbol, if defined, indicates that the setgrent routine is
2152 * available for initializing sequential access of the group database.
2153 */
11dc3f68 2154#define HAS_SETGRENT /**/
327c3667 2155
10bc17b6
JH
2156/* HAS_SETGRENT_R:
2157 * This symbol, if defined, indicates that the setgrent_r routine
2158 * is available to setgrent re-entrantly.
2159 */
2160/* SETGRENT_R_PROTO:
2161 * This symbol encodes the prototype of setgrent_r.
39183afa
JH
2162 * It is zero if d_setgrent_r is undef, and one of the
2163 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r
2164 * is defined.
10bc17b6 2165 */
2f12987e
JH
2166/*#define HAS_SETGRENT_R / **/
2167#define SETGRENT_R_PROTO 0 /**/
10bc17b6 2168
dfe9444c
AD
2169/* HAS_SETGROUPS:
2170 * This symbol, if defined, indicates that the setgroups() routine is
2171 * available to set the list of process groups. If unavailable, multiple
2172 * groups are probably not supported.
4633a7c4 2173 */
dfe9444c
AD
2174#define HAS_SETGROUPS /**/
2175
693762b4
AD
2176/* HAS_SETHOSTENT:
2177 * This symbol, if defined, indicates that the sethostent() routine is
2178 * available.
2179 */
11dc3f68 2180#define HAS_SETHOSTENT /**/
693762b4 2181
4e0554ec
JH
2182/* HAS_SETITIMER:
2183 * This symbol, if defined, indicates that the setitimer routine is
2184 * available to set interval timers.
2185 */
2186#define HAS_SETITIMER /**/
2187
e5c9fcd0
AD
2188/* HAS_SETNETENT:
2189 * This symbol, if defined, indicates that the setnetent() routine is
2190 * available.
2191 */
11dc3f68 2192#define HAS_SETNETENT /**/
e5c9fcd0
AD
2193
2194/* HAS_SETPROTOENT:
2195 * This symbol, if defined, indicates that the setprotoent() routine is
2196 * available.
2197 */
11dc3f68 2198#define HAS_SETPROTOENT /**/
e5c9fcd0 2199
a7fea17f
JH
2200/* HAS_SETPGRP:
2201 * This symbol, if defined, indicates that the setpgrp routine is
2202 * available to set the current process group.
2203 */
2204/* USE_BSD_SETPGRP:
2205 * This symbol, if defined, indicates that setpgrp needs two
2206 * arguments whereas USG one needs none. See also HAS_SETPGID
2207 * for a POSIX interface.
2208 */
2209#define HAS_SETPGRP /**/
44b94491 2210/*#define USE_BSD_SETPGRP / **/
a7fea17f 2211
af960fef
JH
2212/* HAS_SETPROCTITLE:
2213 * This symbol, if defined, indicates that the setproctitle routine is
2214 * available to set process title.
2215 */
2216/*#define HAS_SETPROCTITLE / **/
2217
327c3667
GS
2218/* HAS_SETPWENT:
2219 * This symbol, if defined, indicates that the setpwent routine is
2220 * available for initializing sequential access of the passwd database.
2221 */
11dc3f68 2222#define HAS_SETPWENT /**/
327c3667 2223
10bc17b6
JH
2224/* HAS_SETPWENT_R:
2225 * This symbol, if defined, indicates that the setpwent_r routine
2226 * is available to setpwent re-entrantly.
2227 */
2228/* SETPWENT_R_PROTO:
2229 * This symbol encodes the prototype of setpwent_r.
39183afa
JH
2230 * It is zero if d_setpwent_r is undef, and one of the
2231 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r
2232 * is defined.
10bc17b6 2233 */
2f12987e
JH
2234/*#define HAS_SETPWENT_R / **/
2235#define SETPWENT_R_PROTO 0 /**/
10bc17b6 2236
e5c9fcd0
AD
2237/* HAS_SETSERVENT:
2238 * This symbol, if defined, indicates that the setservent() routine is
ff935051 2239 * available.
de4597cb 2240 */
ff935051 2241#define HAS_SETSERVENT /**/
de4597cb 2242
ff935051
JH
2243/* HAS_SETVBUF:
2244 * This symbol, if defined, indicates that the setvbuf routine is
2245 * available to change buffering on an open stdio stream.
2246 * to a line-buffered mode.
16d20bd9 2247 */
ff935051 2248#define HAS_SETVBUF /**/
bfb7748a 2249
ff935051
JH
2250/* USE_SFIO:
2251 * This symbol, if defined, indicates that sfio should
2252 * be used.
bfb7748a 2253 */
ff935051 2254/*#define USE_SFIO / **/
9003a523 2255
ff935051
JH
2256/* HAS_SHM:
2257 * This symbol, if defined, indicates that the entire shm*(2) library is
2258 * supported.
c4f23d77 2259 */
ff935051
JH
2260#define HAS_SHM /**/
2261
2262/* HAS_SIGACTION:
2263 * This symbol, if defined, indicates that Vr4's sigaction() routine
2264 * is available.
c4f23d77 2265 */
ff935051 2266#define HAS_SIGACTION /**/
c4f23d77 2267
ff935051
JH
2268/* HAS_SIGSETJMP:
2269 * This variable indicates to the C program that the sigsetjmp()
2270 * routine is available to save the calling process's registers
2271 * and stack environment for later use by siglongjmp(), and
2272 * to optionally save the process's signal mask. See
2273 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
4633a7c4 2274 */
ff935051
JH
2275/* Sigjmp_buf:
2276 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
2277 */
2278/* Sigsetjmp:
2279 * This macro is used in the same way as sigsetjmp(), but will invoke
2280 * traditional setjmp() if sigsetjmp isn't available.
2281 * See HAS_SIGSETJMP.
2282 */
2283/* Siglongjmp:
2284 * This macro is used in the same way as siglongjmp(), but will invoke
2285 * traditional longjmp() if siglongjmp isn't available.
2286 * See HAS_SIGSETJMP.
2287 */
2288#define HAS_SIGSETJMP /**/
2289#ifdef HAS_SIGSETJMP
2290#define Sigjmp_buf sigjmp_buf
2291#define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
2292#define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
2293#else
2294#define Sigjmp_buf jmp_buf
2295#define Sigsetjmp(buf,save_mask) setjmp((buf))
2296#define Siglongjmp(buf,retval) longjmp((buf),(retval))
bfb7748a 2297#endif
fbfd4aab 2298
ff935051
JH
2299/* HAS_SOCKET:
2300 * This symbol, if defined, indicates that the BSD socket interface is
2301 * supported.
8c09e4ca 2302 */
ff935051
JH
2303/* HAS_SOCKETPAIR:
2304 * This symbol, if defined, indicates that the BSD socketpair() call is
2305 * supported.
8c09e4ca 2306 */
ff935051
JH
2307/* HAS_MSG_CTRUNC:
2308 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
2309 * Checking just with #ifdef might not be enough because this symbol
2310 * has been known to be an enum.
d71b2b6b 2311 */
ff935051
JH
2312/* HAS_MSG_DONTROUTE:
2313 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
2314 * Checking just with #ifdef might not be enough because this symbol
2315 * has been known to be an enum.
2316 */
2317/* HAS_MSG_OOB:
2318 * This symbol, if defined, indicates that the MSG_OOB is supported.
2319 * Checking just with #ifdef might not be enough because this symbol
2320 * has been known to be an enum.
2321 */
2322/* HAS_MSG_PEEK:
2323 * This symbol, if defined, indicates that the MSG_PEEK is supported.
2324 * Checking just with #ifdef might not be enough because this symbol
2325 * has been known to be an enum.
2326 */
2327/* HAS_MSG_PROXY:
2328 * This symbol, if defined, indicates that the MSG_PROXY is supported.
2329 * Checking just with #ifdef might not be enough because this symbol
2330 * has been known to be an enum.
2331 */
2332/* HAS_SCM_RIGHTS:
2333 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
2334 * Checking just with #ifdef might not be enough because this symbol
2335 * has been known to be an enum.
2336 */
2337#define HAS_SOCKET /**/
2338#define HAS_SOCKETPAIR /**/
44b94491 2339/*#define HAS_MSG_CTRUNC / **/
ff935051
JH
2340#define HAS_MSG_DONTROUTE /**/
2341#define HAS_MSG_OOB /**/
2342#define HAS_MSG_PEEK /**/
2343/*#define HAS_MSG_PROXY / **/
44b94491 2344/*#define HAS_SCM_RIGHTS / **/
d71b2b6b 2345
6b356c8e
JH
2346/* HAS_SOCKS5_INIT:
2347 * This symbol, if defined, indicates that the socks5_init routine is
2348 * available to initialize SOCKS 5.
2349 */
2350/*#define HAS_SOCKS5_INIT / **/
2351
ff935051
JH
2352/* HAS_SQRTL:
2353 * This symbol, if defined, indicates that the sqrtl routine is
2354 * available to do long double square roots.
dfe9444c 2355 */
44b94491 2356/*#define HAS_SQRTL / **/
dfe9444c 2357
10bc17b6
JH
2358/* HAS_SRAND48_R:
2359 * This symbol, if defined, indicates that the srand48_r routine
2360 * is available to srand48 re-entrantly.
2361 */
2362/* SRAND48_R_PROTO:
2363 * This symbol encodes the prototype of srand48_r.
39183afa
JH
2364 * It is zero if d_srand48_r is undef, and one of the
2365 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r
2366 * is defined.
10bc17b6 2367 */
2f12987e
JH
2368/*#define HAS_SRAND48_R / **/
2369#define SRAND48_R_PROTO 0 /**/
10bc17b6
JH
2370
2371/* HAS_SRANDOM_R:
2372 * This symbol, if defined, indicates that the srandom_r routine
2373 * is available to srandom re-entrantly.
2374 */
2375/* SRANDOM_R_PROTO:
2376 * This symbol encodes the prototype of srandom_r.
39183afa
JH
2377 * It is zero if d_srandom_r is undef, and one of the
2378 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srandom_r
2379 * is defined.
10bc17b6 2380 */
2f12987e
JH
2381/*#define HAS_SRANDOM_R / **/
2382#define SRANDOM_R_PROTO 0 /**/
10bc17b6 2383
ff935051
JH
2384/* USE_STAT_BLOCKS:
2385 * This symbol is defined if this system has a stat structure declaring
2386 * st_blksize and st_blocks.
86959918 2387 */
ff935051
JH
2388#ifndef USE_STAT_BLOCKS
2389#define USE_STAT_BLOCKS /**/
2390#endif
86959918 2391
ff935051
JH
2392/* HAS_STRUCT_STATFS_F_FLAGS:
2393 * This symbol, if defined, indicates that the struct statfs
2394 * does have the f_flags member containing the mount flags of
2395 * the filesystem containing the file.
2396 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
2397 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
2398 * have statfs() and struct statfs, they have ustat() and getmnt()
2399 * with struct ustat and struct fs_data.
ad27e871 2400 */
44b94491 2401/*#define HAS_STRUCT_STATFS_F_FLAGS / **/
ad27e871 2402
ff935051
JH
2403/* HAS_STRUCT_STATFS:
2404 * This symbol, if defined, indicates that the struct statfs
2405 * to do statfs() is supported.
327c3667 2406 */
ff935051 2407#define HAS_STRUCT_STATFS /**/
327c3667 2408
ff935051
JH
2409/* HAS_FSTATVFS:
2410 * This symbol, if defined, indicates that the fstatvfs routine is
0545a864
JH
2411 * available to stat filesystems by file descriptors.
2412 */
ff935051 2413#define HAS_FSTATVFS /**/
327c3667 2414
ff935051
JH
2415/* USE_STDIO_PTR:
2416 * This symbol is defined if the _ptr and _cnt fields (or similar)
2417 * of the stdio FILE structure can be used to access the stdio buffer
2418 * for a file handle. If this is defined, then the FILE_ptr(fp)
2419 * and FILE_cnt(fp) macros will also be defined and should be used
2420 * to access these fields.
ad27e871 2421 */
ff935051
JH
2422/* FILE_ptr:
2423 * This macro is used to access the _ptr field (or equivalent) of the
2424 * FILE structure pointed to by its argument. This macro will always be
2425 * defined if USE_STDIO_PTR is defined.
ccc7f9b3 2426 */
ff935051
JH
2427/* STDIO_PTR_LVALUE:
2428 * This symbol is defined if the FILE_ptr macro can be used as an
2429 * lvalue.
86959918 2430 */
ff935051
JH
2431/* FILE_cnt:
2432 * This macro is used to access the _cnt field (or equivalent) of the
2433 * FILE structure pointed to by its argument. This macro will always be
2434 * defined if USE_STDIO_PTR is defined.
86959918 2435 */
ff935051
JH
2436/* STDIO_CNT_LVALUE:
2437 * This symbol is defined if the FILE_cnt macro can be used as an
2438 * lvalue.
ccc7f9b3 2439 */
a7ffa9b9
NC
2440/* STDIO_PTR_LVAL_SETS_CNT:
2441 * This symbol is defined if using the FILE_ptr macro as an lvalue
2442 * to increase the pointer by n has the side effect of decreasing the
2443 * value of File_cnt(fp) by n.
2444 */
2445/* STDIO_PTR_LVAL_NOCHANGE_CNT:
2446 * This symbol is defined if using the FILE_ptr macro as an lvalue
2447 * to increase the pointer by n leaves File_cnt(fp) unchanged.
2448 */
ff935051
JH
2449#define USE_STDIO_PTR /**/
2450#ifdef USE_STDIO_PTR
2451#define FILE_ptr(fp) ((fp)->_ptr)
2452#define STDIO_PTR_LVALUE /**/
2453#define FILE_cnt(fp) ((fp)->_cnt)
2454#define STDIO_CNT_LVALUE /**/
a7ffa9b9 2455/*#define STDIO_PTR_LVAL_SETS_CNT / **/
0c0643d0 2456#define STDIO_PTR_LVAL_NOCHANGE_CNT /**/
ff935051 2457#endif
ccc7f9b3 2458
ff935051
JH
2459/* USE_STDIO_BASE:
2460 * This symbol is defined if the _base field (or similar) of the
2461 * stdio FILE structure can be used to access the stdio buffer for
2462 * a file handle. If this is defined, then the FILE_base(fp) macro
2463 * will also be defined and should be used to access this field.
2464 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
2465 * to determine the number of bytes in the buffer. USE_STDIO_BASE
2466 * will never be defined unless USE_STDIO_PTR is.
e0a10278 2467 */
ff935051
JH
2468/* FILE_base:
2469 * This macro is used to access the _base field (or equivalent) of the
2470 * FILE structure pointed to by its argument. This macro will always be
2471 * defined if USE_STDIO_BASE is defined.
ca24dfc6 2472 */
ff935051
JH
2473/* FILE_bufsiz:
2474 * This macro is used to determine the number of bytes in the I/O
2475 * buffer pointed to by _base field (or equivalent) of the FILE
2476 * structure pointed to its argument. This macro will always be defined
2477 * if USE_STDIO_BASE is defined.
86959918 2478 */
ff935051
JH
2479#define USE_STDIO_BASE /**/
2480#ifdef USE_STDIO_BASE
2481#define FILE_base(fp) ((fp)->_base)
2482#define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base)
2483#endif
86959918 2484
ff935051
JH
2485/* HAS_STRERROR:
2486 * This symbol, if defined, indicates that the strerror routine is
2487 * available to translate error numbers to strings. See the writeup
2488 * of Strerror() in this file before you try to define your own.
dfe9444c 2489 */
ff935051
JH
2490/* HAS_SYS_ERRLIST:
2491 * This symbol, if defined, indicates that the sys_errlist array is
2492 * available to translate error numbers to strings. The extern int
2493 * sys_nerr gives the size of that table.
68d4903c 2494 */
ff935051
JH
2495/* Strerror:
2496 * This preprocessor symbol is defined as a macro if strerror() is
2497 * not available to translate error numbers to strings but sys_errlist[]
2498 * array is there.
2499 */
2500#define HAS_STRERROR /**/
2501#define HAS_SYS_ERRLIST /**/
2502#define Strerror(e) strerror(e)
68d4903c 2503
10bc17b6
JH
2504/* HAS_STRERROR_R:
2505 * This symbol, if defined, indicates that the strerror_r routine
2506 * is available to strerror re-entrantly.
2507 */
2508/* STRERROR_R_PROTO:
2509 * This symbol encodes the prototype of strerror_r.
39183afa
JH
2510 * It is zero if d_strerror_r is undef, and one of the
2511 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r
2512 * is defined.
10bc17b6 2513 */
2f12987e
JH
2514/*#define HAS_STRERROR_R / **/
2515#define STRERROR_R_PROTO 0 /**/
10bc17b6 2516
ff935051
JH
2517/* HAS_STRTOLD:
2518 * This symbol, if defined, indicates that the strtold routine is
2519 * available to convert strings to long doubles.
ff49bff8 2520 */
44b94491 2521#define HAS_STRTOLD /**/
ff49bff8 2522
76d49b1c
JH
2523/* HAS_STRTOLL:
2524 * This symbol, if defined, indicates that the strtoll routine is
2525 * available to convert strings to long longs.
2526 */
44b94491 2527#define HAS_STRTOLL /**/
76d49b1c 2528
d0e6d399
NC
2529/* HAS_STRTOQ:
2530 * This symbol, if defined, indicates that the strtoq routine is
2531 * available to convert strings to long longs (quads).
2532 */
2533/*#define HAS_STRTOQ / **/
2534
a7fea17f
JH
2535/* HAS_STRTOUL:
2536 * This symbol, if defined, indicates that the strtoul routine is
2537 * available to provide conversion of strings to unsigned long.
2538 */
2539#define HAS_STRTOUL /**/
2540
ff935051
JH
2541/* HAS_STRTOULL:
2542 * This symbol, if defined, indicates that the strtoull routine is
2543 * available to convert strings to unsigned long longs.
ad27e871 2544 */
44b94491 2545#define HAS_STRTOULL /**/
ad27e871 2546
ff935051
JH
2547/* HAS_STRTOUQ:
2548 * This symbol, if defined, indicates that the strtouq routine is
2549 * available to convert strings to unsigned long longs (quads).
ff49bff8 2550 */
ff935051 2551/*#define HAS_STRTOUQ / **/
ff49bff8
JH
2552
2553/* HAS_TELLDIR_PROTO:
2554 * This symbol, if defined, indicates that the system provides
2555 * a prototype for the telldir() function. Otherwise, it is up
2556 * to the program to supply one. A good guess is
c68a00c0 2557 * extern long telldir(DIR*);
ff49bff8 2558 */
11dc3f68 2559#define HAS_TELLDIR_PROTO /**/
ff49bff8 2560
2f12987e
JH
2561/* HAS_TIME:
2562 * This symbol, if defined, indicates that the time() routine exists.
2563 */
ff935051
JH
2564/* Time_t:
2565 * This symbol holds the type returned by time(). It can be long,
2566 * or time_t on BSD sites (in which case <sys/types.h> should be
2567 * included).
2568 */
2f12987e 2569#define HAS_TIME /**/
ff935051
JH
2570#define Time_t time_t /* Time type */
2571
2572/* HAS_TIMES:
2573 * This symbol, if defined, indicates that the times() routine exists.
2574 * Note that this became obsolete on some systems (SUNOS), which now
2575 * use getrusage(). It may be necessary to include <sys/times.h>.
2576 */
2577#define HAS_TIMES /**/
2578
10bc17b6
JH
2579/* HAS_TMPNAM_R:
2580 * This symbol, if defined, indicates that the tmpnam_r routine
2581 * is available to tmpnam re-entrantly.
2582 */
2583/* TMPNAM_R_PROTO:
2584 * This symbol encodes the prototype of tmpnam_r.
39183afa
JH
2585 * It is zero if d_tmpnam_r is undef, and one of the
2586 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_tmpnam_r
2587 * is defined.
10bc17b6
JH
2588 */
2589/*#define HAS_TMPNAM_R / **/
2590#define TMPNAM_R_PROTO 0 /**/
2591
4e0554ec
JH
2592/* HAS_UALARM:
2593 * This symbol, if defined, indicates that the ualarm routine is
2594 * available to do alarms with microsecond granularity.
2595 */
2596#define HAS_UALARM /**/
2597
ff935051
JH
2598/* HAS_UNION_SEMUN:
2599 * This symbol, if defined, indicates that the union semun is
2600 * defined by including <sys/sem.h>. If not, the user code
2601 * probably needs to define it as:
2602 * union semun {
2603 * int val;
2604 * struct semid_ds *buf;
2605 * unsigned short *array;
2606 * }
2607 */
2608/* USE_SEMCTL_SEMUN:
2609 * This symbol, if defined, indicates that union semun is
2610 * used for semctl IPC_STAT.
2611 */
2612/* USE_SEMCTL_SEMID_DS:
2613 * This symbol, if defined, indicates that struct semid_ds * is
2614 * used for semctl IPC_STAT.
2615 */
2616/*#define HAS_UNION_SEMUN / **/
2617#define USE_SEMCTL_SEMUN /**/
2618#define USE_SEMCTL_SEMID_DS /**/
2619
758a5d79
JH
2620/* HAS_UNORDERED:
2621 * This symbol, if defined, indicates that the unordered routine is
2622 * available to check whether two doubles are unordered
2623 * (effectively: whether either of them is NaN)
2624 */
2625#define HAS_UNORDERED /**/
2626
0545a864
JH
2627/* HAS_USTAT:
2628 * This symbol, if defined, indicates that the ustat system call is
2629 * available to query file system statistics by dev_t.
2630 */
2631#define HAS_USTAT /**/
2632
ff935051
JH
2633/* HAS_VFORK:
2634 * This symbol, if defined, indicates that vfork() exists.
2635 */
2636/*#define HAS_VFORK / **/
2637
2638/* Signal_t:
2639 * This symbol's value is either "void" or "int", corresponding to the
2640 * appropriate return type of a signal handler. Thus, you can declare
2641 * a signal handler using "Signal_t (*handler)()", and define the
2642 * handler using "Signal_t handler(sig)".
2643 */
2644#define Signal_t void /* Signal handler's return type */
2645
2646/* HAS_VPRINTF:
2647 * This symbol, if defined, indicates that the vprintf routine is available
2648 * to printf with a pointer to an argument list. If unavailable, you
2649 * may need to write your own, probably in terms of _doprnt().
2650 */
2651/* USE_CHAR_VSPRINTF:
2652 * This symbol is defined if this system has vsprintf() returning type
2653 * (char*). The trend seems to be to declare it as "int vsprintf()". It
2654 * is up to the package author to declare vsprintf correctly based on the
2655 * symbol.
2656 */
2657#define HAS_VPRINTF /**/
2658/*#define USE_CHAR_VSPRINTF / **/
2659
4e0554ec
JH
2660/* HAS_WRITEV:
2661 * This symbol, if defined, indicates that the writev routine is
2662 * available to do scatter writes.
2663 */
2664#define HAS_WRITEV /**/
2665
dfe9444c
AD
2666/* USE_DYNAMIC_LOADING:
2667 * This symbol, if defined, indicates that dynamic loading of
2668 * some sort is available.
2669 */
2670#define USE_DYNAMIC_LOADING /**/
2671
ff935051
JH
2672/* DOUBLESIZE:
2673 * This symbol contains the size of a double, so that the C preprocessor
2674 * can make decisions based on it.
2675 */
2676#define DOUBLESIZE 8 /**/
2677
2678/* EBCDIC:
2679 * This symbol, if defined, indicates that this system uses
2680 * EBCDIC encoding.
2681 */
2682/*#define EBCDIC / **/
2683
a71cd7cd
JH
2684/* FFLUSH_NULL:
2685 * This symbol, if defined, tells that fflush(NULL) does flush
2686 * all pending stdio output.
2687 */
2688/* FFLUSH_ALL:
2689 * This symbol, if defined, tells that to flush
2690 * all pending stdio output one must loop through all
2691 * the stdio file handles stored in an array and fflush them.
a32a45b6
JH
2692 * Note that if fflushNULL is defined, fflushall will not
2693 * even be probed for and will be left undefined.
a71cd7cd 2694 */
cb5953d6 2695#define FFLUSH_NULL /**/
11dc3f68 2696/*#define FFLUSH_ALL / **/
a71cd7cd 2697
ff935051
JH
2698/* Fpos_t:
2699 * This symbol holds the type used to declare file positions in libc.
2700 * It can be fpos_t, long, uint, etc... It may be necessary to include
2701 * <sys/types.h> to get any typedef'ed information.
2702 */
2703#define Fpos_t fpos_t /* File position type */
2704
2705/* Gid_t_f:
2706 * This symbol defines the format string used for printing a Gid_t.
2707 */
44b94491 2708#define Gid_t_f "ld" /**/
ff935051 2709
23dcd6c8
JH
2710/* Gid_t_sign:
2711 * This symbol holds the signedess of a Gid_t.
2712 * 1 for unsigned, -1 for signed.
2713 */
44b94491 2714#define Gid_t_sign -1 /* GID sign */
23dcd6c8 2715
ff935051
JH
2716/* Gid_t_size:
2717 * This symbol holds the size of a Gid_t in bytes.
2718 */
2719#define Gid_t_size 4 /* GID size */
2720
2721/* Gid_t:
2722 * This symbol holds the return type of getgid() and the type of
2723 * argument to setrgid() and related functions. Typically,
2724 * it is the type of group ids in the kernel. It can be int, ushort,
23dcd6c8 2725 * gid_t, etc... It may be necessary to include <sys/types.h> to get
ff935051
JH
2726 * any typedef'ed information.
2727 */
2728#define Gid_t gid_t /* Type for getgid(), etc... */
2729
2730/* Groups_t:
2731 * This symbol holds the type used for the second argument to
23dcd6c8 2732 * getgroups() and setgroups(). Usually, this is the same as
ff935051 2733 * gidtype (gid_t) , but sometimes it isn't.
23dcd6c8 2734 * It can be int, ushort, gid_t, etc...
ff935051
JH
2735 * It may be necessary to include <sys/types.h> to get any
2736 * typedef'ed information. This is only required if you have
6e78e524 2737 * getgroups() or setgroups()..
ff935051
JH
2738 */
2739#if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
2740#define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
2741#endif
2742
dfe9444c
AD
2743/* DB_Prefix_t:
2744 * This symbol contains the type of the prefix structure element
2745 * in the <db.h> header file. In older versions of DB, it was
2746 * int, while in newer ones it is u_int32_t.
2747 */
2748/* DB_Hash_t:
2749 * This symbol contains the type of the prefix structure element
2750 * in the <db.h> header file. In older versions of DB, it was
2751 * int, while in newer ones it is size_t.
2752 */
eef837ea
JH
2753/* DB_VERSION_MAJOR_CFG:
2754 * This symbol, if defined, defines the major version number of
2755 * Berkeley DB found in the <db.h> header when Perl was configured.
2756 */
2757/* DB_VERSION_MINOR_CFG:
2758 * This symbol, if defined, defines the minor version number of
2759 * Berkeley DB found in the <db.h> header when Perl was configured.
2760 * For DB version 1 this is always 0.
2761 */
2762/* DB_VERSION_PATCH_CFG:
2763 * This symbol, if defined, defines the patch version number of
2764 * Berkeley DB found in the <db.h> header when Perl was configured.
2765 * For DB version 1 this is always 0.
2766 */
0617aed7
JH
2767#define DB_Hash_t u_int32_t /**/
2768#define DB_Prefix_t size_t /**/
44b94491
MB
2769#define DB_VERSION_MAJOR_CFG /**/
2770#define DB_VERSION_MINOR_CFG /**/
2771#define DB_VERSION_PATCH_CFG /**/
dfe9444c 2772
758a5d79
JH
2773/* I_FP_CLASS:
2774 * This symbol, if defined, indicates that <fp_class.h> exists and
2775 * should be included.
2776 */
44b94491 2777/*#define I_FP_CLASS / **/
758a5d79 2778
ff935051
JH
2779/* I_GRP:
2780 * This symbol, if defined, indicates to the C program that it should
2781 * include <grp.h>.
2782 */
2783/* GRPASSWD:
2784 * This symbol, if defined, indicates to the C program that struct group
2785 * in <grp.h> contains gr_passwd.
2786 */
2787#define I_GRP /**/
2788#define GRPASSWD /**/
2789
52c7d5b6
JH
2790/* I_IEEEFP:
2791 * This symbol, if defined, indicates that <ieeefp.h> exists and
2792 * should be included.
2793 */
2794/*#define I_IEEEFP / **/
2795
327c3667
GS
2796/* I_INTTYPES:
2797 * This symbol, if defined, indicates to the C program that it should
2798 * include <inttypes.h>.
2799 */
44b94491 2800#define I_INTTYPES /**/
ff935051 2801
6b356c8e
JH
2802/* I_LIBUTIL:
2803 * This symbol, if defined, indicates that <libutil.h> exists and
2804 * should be included.
2805 */
2806/*#define I_LIBUTIL / **/
2807
ff935051
JH
2808/* I_MACH_CTHREADS:
2809 * This symbol, if defined, indicates to the C program that it should
2810 * include <mach/cthreads.h>.
2811 */
2812/*#define I_MACH_CTHREADS / **/
327c3667 2813
ff49bff8
JH
2814/* I_MNTENT:
2815 * This symbol, if defined, indicates that <mntent.h> exists and
2816 * should be included.
2817 */
44b94491 2818#define I_MNTENT /**/
ff935051
JH
2819
2820/* I_NETDB:
2821 * This symbol, if defined, indicates that <netdb.h> exists and
2822 * should be included.
2823 */
2824#define I_NETDB /**/
ff49bff8 2825
a71cd7cd
JH
2826/* I_NETINET_TCP:
2827 * This symbol, if defined, indicates to the C program that it should
2828 * include <netinet/tcp.h>.
2829 */
ff935051
JH
2830#define I_NETINET_TCP /**/
2831
2832/* I_POLL:
2833 * This symbol, if defined, indicates that <poll.h> exists and
2834 * should be included.
2835 */
2836#define I_POLL /**/
2837
3813c136
JH
2838/* I_PROT:
2839 * This symbol, if defined, indicates that <prot.h> exists and
2840 * should be included.
2841 */
2842#define I_PROT /**/
2843
ff935051
JH
2844/* I_PTHREAD:
2845 * This symbol, if defined, indicates to the C program that it should
2846 * include <pthread.h>.
2847 */
2848#define I_PTHREAD /**/
2849
2850/* I_PWD:
2851 * This symbol, if defined, indicates to the C program that it should
2852 * include <pwd.h>.
2853 */
2854/* PWQUOTA:
2855 * This symbol, if defined, indicates to the C program that struct passwd
2856 * contains pw_quota.
2857 */
2858/* PWAGE:
2859 * This symbol, if defined, indicates to the C program that struct passwd
2860 * contains pw_age.
2861 */
2862/* PWCHANGE:
2863 * This symbol, if defined, indicates to the C program that struct passwd
2864 * contains pw_change.
2865 */
2866/* PWCLASS:
2867 * This symbol, if defined, indicates to the C program that struct passwd
2868 * contains pw_class.
2869 */
2870/* PWEXPIRE:
2871 * This symbol, if defined, indicates to the C program that struct passwd
2872 * contains pw_expire.
2873 */
2874/* PWCOMMENT:
2875 * This symbol, if defined, indicates to the C program that struct passwd
2876 * contains pw_comment.
2877 */
2878/* PWGECOS:
2879 * This symbol, if defined, indicates to the C program that struct passwd
2880 * contains pw_gecos.
5b34fd99 2881 */
ff935051
JH
2882/* PWPASSWD:
2883 * This symbol, if defined, indicates to the C program that struct passwd
2884 * contains pw_passwd.
2885 */
2886#define I_PWD /**/
44b94491
MB
2887/*#define PWQUOTA / **/
2888#define PWAGE /**/
ff935051
JH
2889/*#define PWCHANGE / **/
2890/*#define PWCLASS / **/
2891/*#define PWEXPIRE / **/
2892#define PWCOMMENT /**/
2893#define PWGECOS /**/
2894#define PWPASSWD /**/
5b34fd99 2895
86959918
JH
2896/* I_SHADOW:
2897 * This symbol, if defined, indicates that <shadow.h> exists and
2898 * should be included.
2899 */
44b94491 2900#define I_SHADOW /**/
86959918
JH
2901
2902/* I_SOCKS:
2903 * This symbol, if defined, indicates that <socks.h> exists and
2904 * should be included.
2905 */
11dc3f68 2906/*#define I_SOCKS / **/
86959918 2907
792d8dab
JH
2908/* I_SUNMATH:
2909 * This symbol, if defined, indicates that <sunmath.h> exists and
2910 * should be included.
2911 */
2912/*#define I_SUNMATH / **/
2913
ca52efda
JH
2914/* I_SYSLOG:
2915 * This symbol, if defined, indicates that <syslog.h> exists and
2916 * should be included.
2917 */
2918#define I_SYSLOG /**/
2919
13b3f787
JH
2920/* I_SYSMODE:
2921 * This symbol, if defined, indicates that <sys/mode.h> exists and
2922 * should be included.
2923 */
44b94491 2924/*#define I_SYSMODE / **/
13b3f787 2925
ff49bff8
JH
2926/* I_SYS_MOUNT:
2927 * This symbol, if defined, indicates that <sys/mount.h> exists and
2928 * should be included.
2929 */
11dc3f68 2930#define I_SYS_MOUNT /**/
ff49bff8 2931
0545a864
JH
2932/* I_SYS_STATFS:
2933 * This symbol, if defined, indicates that <sys/statfs.h> exists.
2934 */
ff935051 2935/*#define I_SYS_STATFS / **/
0545a864 2936
ff49bff8
JH
2937/* I_SYS_STATVFS:
2938 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
2939 * should be included.
2940 */
11dc3f68 2941#define I_SYS_STATVFS /**/
0545a864 2942
ff935051
JH
2943/* I_SYSUIO:
2944 * This symbol, if defined, indicates that <sys/uio.h> exists and
2945 * should be included.
2946 */
2947#define I_SYSUIO /**/
2948
13b3f787
JH
2949/* I_SYSUTSNAME:
2950 * This symbol, if defined, indicates that <sys/utsname.h> exists and
2951 * should be included.
2952 */
2953#define I_SYSUTSNAME /**/
2954
0545a864
JH
2955/* I_SYS_VFS:
2956 * This symbol, if defined, indicates that <sys/vfs.h> exists and
2957 * should be included.
2958 */
44b94491 2959#define I_SYS_VFS /**/
ff935051
JH
2960
2961/* I_TIME:
2962 * This symbol, if defined, indicates to the C program that it should
2963 * include <time.h>.
2964 */
2965/* I_SYS_TIME:
2966 * This symbol, if defined, indicates to the C program that it should
2967 * include <sys/time.h>.
2968 */
2969/* I_SYS_TIME_KERNEL:
2970 * This symbol, if defined, indicates to the C program that it should
2971 * include <sys/time.h> with KERNEL defined.
2972 */
511116db
JH
2973/* HAS_TM_TM_ZONE:
2974 * This symbol, if defined, indicates to the C program that
2975 * the struct tm has a tm_zone field.
2976 */
ff935051
JH
2977/*#define I_TIME / **/
2978#define I_SYS_TIME /**/
2979/*#define I_SYS_TIME_KERNEL / **/
44b94491 2980/*#define HAS_TM_TM_ZONE / **/
0545a864
JH
2981
2982/* I_USTAT:
2983 * This symbol, if defined, indicates that <ustat.h> exists and
2984 * should be included.
2985 */
2986#define I_USTAT /**/
ff49bff8 2987
ff935051
JH
2988/* PERL_INC_VERSION_LIST:
2989 * This variable specifies the list of subdirectories in over
2990 * which perl.c:incpush() and lib/lib.pm will automatically
2991 * search when adding directories to @INC, in a format suitable
2992 * for a C initialization string. See the inc_version_list entry
2993 * in Porting/Glossary for more details.
2994 */
49dabb45 2995#define PERL_INC_VERSION_LIST 0 /**/
ff935051 2996
fe749a9f
JH
2997/* INSTALL_USR_BIN_PERL:
2998 * This symbol, if defined, indicates that Perl is to be installed
2999 * also as /usr/bin/perl.
3000 */
44b94491 3001/*#define INSTALL_USR_BIN_PERL / **/
fe749a9f 3002
8c09e4ca
JH
3003/* PERL_PRIfldbl:
3004 * This symbol, if defined, contains the string used by stdio to
3005 * format long doubles (format 'f') for output.
3006 */
3007/* PERL_PRIgldbl:
3008 * This symbol, if defined, contains the string used by stdio to
3009 * format long doubles (format 'g') for output.
3010 */
6b356c8e
JH
3011/* PERL_PRIeldbl:
3012 * This symbol, if defined, contains the string used by stdio to
3013 * format long doubles (format 'e') for output.
3014 */
3015/* PERL_SCNfldbl:
3016 * This symbol, if defined, contains the string used by stdio to
3017 * format long doubles (format 'f') for input.
3018 */
44b94491
MB
3019#define PERL_PRIfldbl "Lf" /**/
3020#define PERL_PRIgldbl "Lg" /**/
3021#define PERL_PRIeldbl "Le" /**/
3022#define PERL_SCNfldbl "Lf" /**/
ff935051
JH
3023
3024/* Off_t:
3025 * This symbol holds the type used to declare offsets in the kernel.
3026 * It can be int, long, off_t, etc... It may be necessary to include
3027 * <sys/types.h> to get any typedef'ed information.
3028 */
3029/* LSEEKSIZE:
3030 * This symbol holds the number of bytes used by the Off_t.
3031 */
3032/* Off_t_size:
3033 * This symbol holds the number of bytes used by the Off_t.
3034 */
3035#define Off_t off_t /* <offset> type */
3036#define LSEEKSIZE 8 /* <offset> size */
3037#define Off_t_size 8 /* <offset> size */
3038
3039/* Free_t:
3040 * This variable contains the return type of free(). It is usually
3041 * void, but occasionally int.
3042 */
3043/* Malloc_t:
3044 * This symbol is the type of pointer returned by malloc and realloc.
3045 */
3046#define Malloc_t void * /**/
3047#define Free_t void /**/
3048
3049/* MYMALLOC:
3050 * This symbol, if defined, indicates that we're using our own malloc.
3051 */
3052/*#define MYMALLOC / **/
3053
3054/* Mode_t:
3055 * This symbol holds the type used to declare file modes
3056 * for systems calls. It is usually mode_t, but may be
3057 * int or unsigned short. It may be necessary to include <sys/types.h>
3058 * to get any typedef'ed information.
3059 */
3060#define Mode_t mode_t /* file mode parameter for system calls */
3061
3062/* VAL_O_NONBLOCK:
3063 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
3064 * non-blocking I/O for the file descriptor. Note that there is no way
3065 * back, i.e. you cannot turn it blocking again this way. If you wish to
3066 * alternatively switch between blocking and non-blocking, use the
3067 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
3068 */
3069/* VAL_EAGAIN:
3070 * This symbol holds the errno error code set by read() when no data was
3071 * present on the non-blocking file descriptor.
3072 */
3073/* RD_NODATA:
3074 * This symbol holds the return code from read() when no data is present
3075 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
3076 * not defined, then you can't distinguish between no data and EOF by
3077 * issuing a read(). You'll have to find another way to tell for sure!
3078 */
3079/* EOF_NONBLOCK:
3080 * This symbol, if defined, indicates to the C program that a read() on
3081 * a non-blocking file descriptor will return 0 on EOF, and not the value
3082 * held in RD_NODATA (-1 usually, in that case!).
3083 */
3084#define VAL_O_NONBLOCK O_NONBLOCK
3085#define VAL_EAGAIN EAGAIN
3086#define RD_NODATA -1
3087#define EOF_NONBLOCK
3088
a7fea17f
JH
3089/* NEED_VA_COPY:
3090 * This symbol, if defined, indicates that the system stores
3091 * the variable argument list datatype, va_list, in a format
3092 * that cannot be copied by simple assignment, so that some
3093 * other means must be used when copying is required.
3094 * As such systems vary in their provision (or non-provision)
3095 * of copying mechanisms, handy.h defines a platform-
3096 * independent macro, Perl_va_copy(src, dst), to do the job.
3097 */
3098/*#define NEED_VA_COPY / **/
3099
ff935051
JH
3100/* Netdb_host_t:
3101 * This symbol holds the type used for the 1st argument
3102 * to gethostbyaddr().
3103 */
3104/* Netdb_hlen_t:
3105 * This symbol holds the type used for the 2nd argument
3106 * to gethostbyaddr().
3107 */
3108/* Netdb_name_t:
3109 * This symbol holds the type used for the argument to
3110 * gethostbyname().
3111 */
3112/* Netdb_net_t:
3113 * This symbol holds the type used for the 1st argument to
3114 * getnetbyaddr().
3115 */
3116#define Netdb_host_t const char * /**/
3117#define Netdb_hlen_t int /**/
3118#define Netdb_name_t const char * /**/
3119#define Netdb_net_t int /**/
8c09e4ca 3120
7cedd6f8
JH
3121/* PERL_OTHERLIBDIRS:
3122 * This variable contains a colon-separated set of paths for the perl
3123 * binary to search for additional library files or modules.
3124 * These directories will be tacked to the end of @INC.
3125 * Perl will automatically search below each path for version-
3126 * and architecture-specific directories. See PERL_INC_VERSION_LIST
3127 * for more details.
3128 */
3129/*#define PERL_OTHERLIBDIRS " " / **/
3130
a22e52b9
JH
3131/* IVTYPE:
3132 * This symbol defines the C type used for Perl's IV.
8c09e4ca 3133 */
a22e52b9
JH
3134/* UVTYPE:
3135 * This symbol defines the C type used for Perl's UV.
8c09e4ca 3136 */
a22e52b9
JH
3137/* I8TYPE:
3138 * This symbol defines the C type used for Perl's I8.
ca24dfc6 3139 */
a22e52b9
JH
3140/* U8TYPE:
3141 * This symbol defines the C type used for Perl's U8.
3142 */
3143/* I16TYPE:
3144 * This symbol defines the C type used for Perl's I16.
3145 */
3146/* U16TYPE:
3147 * This symbol defines the C type used for Perl's U16.
3148 */
3149/* I32TYPE:
3150 * This symbol defines the C type used for Perl's I32.
3151 */
3152/* U32TYPE:
3153 * This symbol defines the C type used for Perl's U32.
3154 */
3155/* I64TYPE:
3156 * This symbol defines the C type used for Perl's I64.
3157 */
3158/* U64TYPE:
3159 * This symbol defines the C type used for Perl's U64.
3160 */
3161/* NVTYPE:
3162 * This symbol defines the C type used for Perl's NV.
3163 */
3164/* IVSIZE:
3165 * This symbol contains the sizeof(IV).
3166 */
3167/* UVSIZE:
3168 * This symbol contains the sizeof(UV).
3169 */
3170/* I8SIZE:
3171 * This symbol contains the sizeof(I8).
3172 */
3173/* U8SIZE:
3174 * This symbol contains the sizeof(U8).
3175 */
3176/* I16SIZE:
3177 * This symbol contains the sizeof(I16).
3178 */
3179/* U16SIZE:
3180 * This symbol contains the sizeof(U16).
8c09e4ca 3181 */
a22e52b9
JH
3182/* I32SIZE:
3183 * This symbol contains the sizeof(I32).
3184 */
3185/* U32SIZE:
3186 * This symbol contains the sizeof(U32).
3187 */
3188/* I64SIZE:
3189 * This symbol contains the sizeof(I64).
3190 */
3191/* U64SIZE:
3192 * This symbol contains the sizeof(U64).
3193 */
b6592ff0
JH
3194/* NVSIZE:
3195 * This symbol contains the sizeof(NV).
3196 */
cce08f5b
JH
3197/* NV_PRESERVES_UV:
3198 * This symbol, if defined, indicates that a variable of type NVTYPE
bd026c32 3199 * can preserve all the bits of a variable of type UVTYPE.
cce08f5b 3200 */
d6c14000
JH
3201/* NV_PRESERVES_UV_BITS:
3202 * This symbol contains the number of bits a variable of type NVTYPE
3203 * can preserve of a variable of type UVTYPE.
3204 */
ff935051
JH
3205#define IVTYPE long /**/
3206#define UVTYPE unsigned long /**/
a22e52b9
JH
3207#define I8TYPE char /**/
3208#define U8TYPE unsigned char /**/
3209#define I16TYPE short /**/
3210#define U16TYPE unsigned short /**/
44b94491
MB
3211#define I32TYPE long /**/
3212#define U32TYPE unsigned long /**/
de1c2614 3213#ifdef HAS_QUAD
44b94491
MB
3214#define I64TYPE long long /**/
3215#define U64TYPE unsigned long long /**/
a22e52b9
JH
3216#endif
3217#define NVTYPE double /**/
44b94491
MB
3218#define IVSIZE 4 /**/
3219#define UVSIZE 4 /**/
a22e52b9
JH
3220#define I8SIZE 1 /**/
3221#define U8SIZE 1 /**/
3222#define I16SIZE 2 /**/
3223#define U16SIZE 2 /**/
3224#define I32SIZE 4 /**/
3225#define U32SIZE 4 /**/
de1c2614 3226#ifdef HAS_QUAD
a22e52b9
JH
3227#define I64SIZE 8 /**/
3228#define U64SIZE 8 /**/
3229#endif
b6592ff0 3230#define NVSIZE 8 /**/
44b94491
MB
3231#define NV_PRESERVES_UV
3232#define NV_PRESERVES_UV_BITS 32
a22e52b9
JH
3233
3234/* IVdf:
3235 * This symbol defines the format string used for printing a Perl IV
3236 * as a signed decimal integer.
3237 */
3238/* UVuf:
3239 * This symbol defines the format string used for printing a Perl UV
3240 * as an unsigned decimal integer.
3241 */
3242/* UVof:
3243 * This symbol defines the format string used for printing a Perl UV
3244 * as an unsigned octal integer.
3245 */
3246/* UVxf:
3247 * This symbol defines the format string used for printing a Perl UV
6b4667fc
A
3248 * as an unsigned hexadecimal integer in lowercase abcdef.
3249 */
159fae86
JH
3250/* UVXf:
3251 * This symbol defines the format string used for printing a Perl UV
3252 * as an unsigned hexadecimal integer in uppercase ABCDEF.
3253 */
6b4667fc
A
3254/* NVef:
3255 * This symbol defines the format string used for printing a Perl NV
3256 * using %e-ish floating point format.
3257 */
3258/* NVff:
3259 * This symbol defines the format string used for printing a Perl NV
3260 * using %f-ish floating point format.
3261 */
3262/* NVgf:
3263 * This symbol defines the format string used for printing a Perl NV
3264 * using %g-ish floating point format.
a22e52b9 3265 */
ff935051
JH
3266#define IVdf "ld" /**/
3267#define UVuf "lu" /**/
3268#define UVof "lo" /**/
3269#define UVxf "lx" /**/
159fae86 3270#define UVXf "lX" /**/
6b4667fc
A
3271#define NVef "e" /**/
3272#define NVff "f" /**/
3273#define NVgf "g" /**/
ff935051
JH
3274
3275/* Pid_t:
3276 * This symbol holds the type used to declare process ids in the kernel.
3277 * It can be int, uint, pid_t, etc... It may be necessary to include
3278 * <sys/types.h> to get any typedef'ed information.
3279 */
3280#define Pid_t pid_t /* PID type */
3281
3282/* PRIVLIB:
3283 * This symbol contains the name of the private library for this package.
3284 * The library is private in the sense that it needn't be in anyone's
3285 * execution path, but it should be accessible by the world. The program
3286 * should be prepared to do ~ expansion.
3287 */
3288/* PRIVLIB_EXP:
3289 * This symbol contains the ~name expanded version of PRIVLIB, to be used
3290 * in programs that are not prepared to deal with ~ expansion at run-time.
3291 */
44b94491
MB
3292#define PRIVLIB "/opt/perl/lib/5.9.0" /**/
3293#define PRIVLIB_EXP "/opt/perl/lib/5.9.0" /**/
ff935051
JH
3294
3295/* PTRSIZE:
3296 * This symbol contains the size of a pointer, so that the C preprocessor
3297 * can make decisions based on it. It will be sizeof(void *) if
3298 * the compiler supports (void *); otherwise it will be
3299 * sizeof(char *).
3300 */
44b94491 3301#define PTRSIZE 4 /**/
ff935051
JH
3302
3303/* Drand01:
3304 * This macro is to be used to generate uniformly distributed
3305 * random numbers over the range [0., 1.[. You may have to supply
3306 * an 'extern double drand48();' in your program since SunOS 4.1.3
27713a04 3307 * doesn't provide you with anything relevant in its headers.
ff935051
JH
3308 * See HAS_DRAND48_PROTO.
3309 */
3310/* Rand_seed_t:
3311 * This symbol defines the type of the argument of the
3312 * random seed function.
3313 */
3314/* seedDrand01:
3315 * This symbol defines the macro to be used in seeding the
3316 * random number generator (see Drand01).
3317 */
3318/* RANDBITS:
3319 * This symbol indicates how many bits are produced by the
3320 * function used to generate normalized random numbers.
3321 * Values include 15, 16, 31, and 48.
3322 */
3323#define Drand01() drand48() /**/
3324#define Rand_seed_t long /**/
3325#define seedDrand01(x) srand48((Rand_seed_t)x) /**/
3326#define RANDBITS 48 /**/
327c3667 3327
327c3667
GS
3328/* SELECT_MIN_BITS:
3329 * This symbol holds the minimum number of bits operated by select.
3330 * That is, if you do select(n, ...), how many bits at least will be
3331 * cleared in the masks if some activity is detected. Usually this
3332 * is either n or 32*ceil(n/32), especially many little-endians do
3333 * the latter. This is only useful if you have select(), naturally.
3334 */
ff935051
JH
3335#define SELECT_MIN_BITS 32 /**/
3336
3337/* Select_fd_set_t:
3338 * This symbol holds the type used for the 2nd, 3rd, and 4th
3339 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
3340 * is defined, and 'int *' otherwise. This is only useful if you
3341 * have select(), of course.
3342 */
3343#define Select_fd_set_t fd_set * /**/
3344
3345/* SIG_NAME:
3346 * This symbol contains a list of signal names in order of
3347 * signal number. This is intended
3348 * to be used as a static array initialization, like this:
3349 * char *sig_name[] = { SIG_NAME };
3350 * The signals in the list are separated with commas, and each signal
3351 * is surrounded by double quotes. There is no leading SIG in the signal
3352 * name, i.e. SIGQUIT is known as "QUIT".
3353 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
3354 * etc., where nn is the actual signal number (e.g. NUM37).
3355 * The signal number for sig_name[i] is stored in sig_num[i].
3356 * The last element is 0 to terminate the list with a NULL. This
3357 * corresponds to the 0 at the end of the sig_num list.
3358 */
3359/* SIG_NUM:
3360 * This symbol contains a list of signal numbers, in the same order as the
3361 * SIG_NAME list. It is suitable for static array initialization, as in:
3362 * int sig_num[] = { SIG_NUM };
3363 * The signals in the list are separated with commas, and the indices
3364 * within that list and the SIG_NAME list match, so it's easy to compute
3365 * the signal name from a number or vice versa at the price of a small
3366 * dynamic linear lookup.
3367 * Duplicates are allowed, but are moved to the end of the list.
3368 * The signal number corresponding to sig_name[i] is sig_number[i].
3369 * if (i < NSIG) then sig_number[i] == i.
3370 * The last element is 0, corresponding to the 0 at the end of
3371 * the sig_name list.
3372 */
76d3c696
JH
3373/* SIG_SIZE:
3374 * This variable contains the number of elements of the sig_name
8966e0c4 3375 * and sig_num arrays, excluding the final NULL entry.
76d3c696 3376 */
44b94491
MB
3377#define SIG_NAME "ZERO", "HUP", "INT", "QUIT", "ILL", "TRAP", "ABRT", "EMT", "FPE", "KILL", "BUS", "SEGV", "SYS", "PIPE", "ALRM", "TERM", "USR1", "USR2", "CHLD", "PWR", "VTALRM", "PROF", "IO", "WINCH", "STOP", "TSTP", "CONT", "TTIN", "TTOU", "URG", "LOST", "NUM31", "DIL", "XCPU", "XFSZ", "CANCEL", "GFAULT", "RTMIN", "NUM38", "NUM39", "NUM40", "NUM41", "NUM42", "NUM43", "RTMAX", "IOT", "CLD", "POLL", "WINDOW", 0 /**/
3378#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, 6, 18, 22, 23, 0 /**/
3379#define SIG_SIZE 49 /**/
ff935051
JH
3380
3381/* SITEARCH:
3382 * This symbol contains the name of the private library for this package.
3383 * The library is private in the sense that it needn't be in anyone's
3384 * execution path, but it should be accessible by the world. The program
3385 * should be prepared to do ~ expansion.
3386 * The standard distribution will put nothing in this directory.
3387 * After perl has been installed, users may install their own local
3388 * architecture-dependent modules in this directory with
3389 * MakeMaker Makefile.PL
3390 * or equivalent. See INSTALL for details.
3391 */
3392/* SITEARCH_EXP:
3393 * This symbol contains the ~name expanded version of SITEARCH, to be used
3394 * in programs that are not prepared to deal with ~ expansion at run-time.
3395 */
44b94491
MB
3396#define SITEARCH "/opt/perl/lib/site_perl/5.9.0/PA-RISC2.0" /**/
3397#define SITEARCH_EXP "/opt/perl/lib/site_perl/5.9.0/PA-RISC2.0" /**/
ff935051
JH
3398
3399/* SITELIB:
3400 * This symbol contains the name of the private library for this package.
3401 * The library is private in the sense that it needn't be in anyone's
3402 * execution path, but it should be accessible by the world. The program
3403 * should be prepared to do ~ expansion.
3404 * The standard distribution will put nothing in this directory.
3405 * After perl has been installed, users may install their own local
3406 * architecture-independent modules in this directory with
3407 * MakeMaker Makefile.PL
3408 * or equivalent. See INSTALL for details.
3409 */
3410/* SITELIB_EXP:
3411 * This symbol contains the ~name expanded version of SITELIB, to be used
3412 * in programs that are not prepared to deal with ~ expansion at run-time.
3413 */
526fdc24
MS
3414/* SITELIB_STEM:
3415 * This define is SITELIB_EXP with any trailing version-specific component
3416 * removed. The elements in inc_version_list (inc_version_list.U) can
3417 * be tacked onto this variable to generate a list of directories to search.
3418 */
44b94491
MB
3419#define SITELIB "/opt/perl/lib/site_perl/5.9.0" /**/
3420#define SITELIB_EXP "/opt/perl/lib/site_perl/5.9.0" /**/
526fdc24 3421#define SITELIB_STEM "/opt/perl/lib/site_perl" /**/
ff935051 3422
a13ea748
JH
3423/* Size_t_size:
3424 * This symbol holds the size of a Size_t in bytes.
3425 */
44b94491 3426#define Size_t_size 4 /* */
a13ea748 3427
ff935051
JH
3428/* Size_t:
3429 * This symbol holds the type used to declare length parameters
3430 * for string functions. It is usually size_t, but may be
3431 * unsigned long, int, etc. It may be necessary to include
3432 * <sys/types.h> to get any typedef'ed information.
3433 */
3434#define Size_t size_t /* length paramater for string functions */
3435
52c7d5b6
JH
3436/* Sock_size_t:
3437 * This symbol holds the type used for the size argument of
3438 * various socket calls (just the base type, not the pointer-to).
3439 */
3440#define Sock_size_t int /**/
3441
ff935051
JH
3442/* SSize_t:
3443 * This symbol holds the type used by functions that return
3444 * a count of bytes or an error condition. It must be a signed type.
3445 * It is usually ssize_t, but may be long or int, etc.
3446 * It may be necessary to include <sys/types.h> or <unistd.h>
3447 * to get any typedef'ed information.
3448 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
3449 */
3450#define SSize_t ssize_t /* signed count of bytes */
bfb7748a 3451
fbfd4aab
PP
3452/* STARTPERL:
3453 * This variable contains the string to put in front of a perl
3454 * script to make sure (one hopes) that it runs with perl and not
3455 * some shell.
3456 */
44b94491 3457#define STARTPERL "#!/opt/perl/bin/perl5.9.0" /**/
327c3667 3458
a7fea17f
JH
3459/* STDCHAR:
3460 * This symbol is defined to be the type of char used in stdio.h.
3461 * It has the values "unsigned char" or "char".
3462 */
3463#define STDCHAR unsigned char /**/
3464
a71cd7cd
JH
3465/* HAS_STDIO_STREAM_ARRAY:
3466 * This symbol, if defined, tells that there is an array
3467 * holding the stdio streams.
3468 */
3469/* STDIO_STREAM_ARRAY:
3470 * This symbol tells the name of the array holding the stdio streams.
3471 * Usual values include _iob, __iob, and __sF.
3472 */
ff935051
JH
3473#define HAS_STDIO_STREAM_ARRAY /**/
3474#define STDIO_STREAM_ARRAY _iob
8c09e4ca 3475
ff935051
JH
3476/* Uid_t_f:
3477 * This symbol defines the format string used for printing a Uid_t.
3478 */
44b94491 3479#define Uid_t_f "ld" /**/
ff935051 3480
23dcd6c8
JH
3481/* Uid_t_sign:
3482 * This symbol holds the signedess of a Uid_t.
3483 * 1 for unsigned, -1 for signed.
3484 */
44b94491 3485#define Uid_t_sign -1 /* UID sign */
23dcd6c8 3486
ff935051
JH
3487/* Uid_t_size:
3488 * This symbol holds the size of a Uid_t in bytes.
3489 */
3490#define Uid_t_size 4 /* UID size */
3491
3492/* Uid_t:
3493 * This symbol holds the type used to declare user ids in the kernel.
3494 * It can be int, ushort, uid_t, etc... It may be necessary to include
3495 * <sys/types.h> to get any typedef'ed information.
8c09e4ca 3496 */
ff935051 3497#define Uid_t uid_t /* UID type */
a71cd7cd 3498
10cc9d2a 3499/* USE_64_BIT_INT:
aaacdc8b
GS
3500 * This symbol, if defined, indicates that 64-bit integers should
3501 * be used when available. If not defined, the native integers
c890dc6c
JH
3502 * will be employed (be they 32 or 64 bits). The minimal possible
3503 * 64-bitness is used, just enough to get 64-bit integers into Perl.
3504 * This may mean using for example "long longs", while your memory
3505 * may still be limited to 2 gigabytes.
327c3667 3506 */
10cc9d2a
JH
3507/* USE_64_BIT_ALL:
3508 * This symbol, if defined, indicates that 64-bit integers should
3509 * be used when available. If not defined, the native integers
3510 * will be used (be they 32 or 64 bits). The maximal possible
3511 * 64-bitness is employed: LP64 or ILP64, meaning that you will
3512 * be able to use more than 2 gigabytes of memory. This mode is
3513 * even more binary incompatible than USE_64_BIT_INT. You may not
3514 * be able to run the resulting executable in a 32-bit CPU at all or
3515 * you may need at least to reboot your OS to 64-bit mode.
3516 */
3517#ifndef USE_64_BIT_INT
44b94491 3518/*#define USE_64_BIT_INT / **/
0befd8de 3519#endif
4633a7c4 3520
10cc9d2a 3521#ifndef USE_64_BIT_ALL
44b94491 3522/*#define USE_64_BIT_ALL / **/
c890dc6c
JH
3523#endif
3524
1baac590
JH
3525/* USE_LARGE_FILES:
3526 * This symbol, if defined, indicates that large file support
c890dc6c 3527 * should be used when available.
1baac590 3528 */
0befd8de 3529#ifndef USE_LARGE_FILES
aaacdc8b 3530#define USE_LARGE_FILES /**/
0befd8de 3531#endif
1baac590 3532
ca24dfc6
LV
3533/* USE_LONG_DOUBLE:
3534 * This symbol, if defined, indicates that long doubles should
3535 * be used when available.
3536 */
0befd8de 3537#ifndef USE_LONG_DOUBLE
ca24dfc6 3538/*#define USE_LONG_DOUBLE / **/
0befd8de
JH
3539#endif
3540
78691af5
JH
3541/* USE_MORE_BITS:
3542 * This symbol, if defined, indicates that 64-bit interfaces and
3543 * long doubles should be used when available.
3544 */
0befd8de
JH
3545#ifndef USE_MORE_BITS
3546/*#define USE_MORE_BITS / **/
3547#endif
ca24dfc6 3548
ff49bff8
JH
3549/* MULTIPLICITY:
3550 * This symbol, if defined, indicates that Perl should
3551 * be built to use multiplicity.
3552 */
fe749a9f 3553#ifndef MULTIPLICITY
af960fef 3554/*#define MULTIPLICITY / **/
0befd8de 3555#endif
ff49bff8 3556
9003a523
PP
3557/* USE_PERLIO:
3558 * This symbol, if defined, indicates that the PerlIO abstraction should
3559 * be used throughout. If not defined, stdio should be
3560 * used in a fully backward compatible manner.
ce4a058e 3561 */
0befd8de 3562#ifndef USE_PERLIO
2d967e39 3563#define USE_PERLIO /**/
0befd8de 3564#endif
ce4a058e 3565
29209bc5
JH
3566/* USE_SOCKS:
3567 * This symbol, if defined, indicates that Perl should
3568 * be built to use socks.
3569 */
0befd8de 3570#ifndef USE_SOCKS
11dc3f68 3571/*#define USE_SOCKS / **/
0befd8de 3572#endif
29209bc5 3573
aaacdc8b
GS
3574/* USE_ITHREADS:
3575 * This symbol, if defined, indicates that Perl should be built to
3576 * use the interpreter-based threading implementation.
3577 */
693762b4
AD
3578/* OLD_PTHREADS_API:
3579 * This symbol, if defined, indicates that Perl should
3580 * be built to use the old draft POSIX threads API.
3581 */
5440bc8e
JH
3582/* USE_REENTRANT_API:
3583 * This symbol, if defined, indicates that Perl should
3584 * try to use the various _r versions of library functions.
3585 * This is extremely experimental.
3586 */
af960fef 3587/*#define USE_ITHREADS / **/
11dc3f68 3588/*#define OLD_PTHREADS_API / **/
5440bc8e 3589/*#define USE_REENTRANT_API / **/
16d20bd9 3590
52c7d5b6
JH
3591/* PERL_VENDORARCH:
3592 * If defined, this symbol contains the name of a private library.
3593 * The library is private in the sense that it needn't be in anyone's
3594 * execution path, but it should be accessible by the world.
3595 * It may have a ~ on the front.
3596 * The standard distribution will put nothing in this directory.
3597 * Vendors who distribute perl may wish to place their own
3598 * architecture-dependent modules and extensions in this directory with
3599 * MakeMaker Makefile.PL INSTALLDIRS=vendor
3600 * or equivalent. See INSTALL for details.
3601 */
526fdc24
MS
3602/* PERL_VENDORARCH_EXP:
3603 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
3604 * in programs that are not prepared to deal with ~ expansion at run-time.
3605 */
52c7d5b6 3606/*#define PERL_VENDORARCH "" / **/
526fdc24
MS
3607/*#define PERL_VENDORARCH_EXP "" / **/
3608
ff935051
JH
3609/* PERL_VENDORLIB_EXP:
3610 * This symbol contains the ~name expanded version of VENDORLIB, to be used
3611 * in programs that are not prepared to deal with ~ expansion at run-time.
887d2938 3612 */
526fdc24
MS
3613/* PERL_VENDORLIB_STEM:
3614 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component
3615 * removed. The elements in inc_version_list (inc_version_list.U) can
3616 * be tacked onto this variable to generate a list of directories to search.
3617 */
ff935051 3618/*#define PERL_VENDORLIB_EXP "" / **/
526fdc24 3619/*#define PERL_VENDORLIB_STEM "" / **/
887d2938 3620
ff935051
JH
3621/* VOIDFLAGS:
3622 * This symbol indicates how much support of the void type is given by this
3623 * compiler. What various bits mean:
3624 *
3625 * 1 = supports declaration of void
3626 * 2 = supports arrays of pointers to functions returning void
3627 * 4 = supports comparisons between pointers to void functions and
3628 * addresses of void functions
3629 * 8 = suports declaration of generic void pointers
3630 *
3631 * The package designer should define VOIDUSED to indicate the requirements
3632 * of the package. This can be done either by #defining VOIDUSED before
3633 * including config.h, or by defining defvoidused in Myinit.U. If the
3634 * latter approach is taken, only those flags will be tested. If the
3635 * level of void support necessary is not present, defines void to int.
dc45a647 3636 */
ff935051
JH
3637#ifndef VOIDUSED
3638#define VOIDUSED 15
3639#endif
3640#define VOIDFLAGS 15
3641#if (VOIDFLAGS & VOIDUSED) != VOIDUSED
3642#define void int /* is void to be avoided? */
3643#define M_VOID /* Xenix strikes again */
3644#endif
dc45a647 3645
fe749a9f
JH
3646/* PERL_XS_APIVERSION:
3647 * This variable contains the version of the oldest perl binary
3648 * compatible with the present perl. perl.c:incpush() and
44b94491 3649 * lib/lib.pm will automatically search in /opt/perl/lib/site_perl/5.9.0/PA-RISC2.0 for older
fe749a9f
JH
3650 * directories across major versions back to xs_apiversion.
3651 * This is only useful if you have a perl library directory tree
3652 * structured like the default one.
3653 * See INSTALL for how this works.
3654 * The versioned site_perl directory was introduced in 5.005,
3655 * so that is the lowest possible value.
08e5223a
JH
3656 * Since this can depend on compile time options
3657 * it is set by Configure. Other non-default sources
fe749a9f
JH
3658 * of potential incompatibility, such as multiplicity, threads,
3659 * debugging, 64bits, sfio, etc., are not checked for currently,
3660 * though in principle we could go snooping around in old
3661 * Config.pm files.
3662 */
3663/* PERL_PM_APIVERSION:
3664 * This variable contains the version of the oldest perl
3665 * compatible with the present perl. (That is, pure perl modules
3666 * written for pm_apiversion will still work for the current
3667 * version). perl.c:incpush() and lib/lib.pm will automatically
44b94491 3668 * search in /opt/perl/lib/site_perl/5.9.0 for older directories across major versions
fe749a9f
JH
3669 * back to pm_apiversion. This is only useful if you have a perl
3670 * library directory tree structured like the default one. The
3671 * versioned site_perl library was introduced in 5.005, so that's
3672 * the default setting for this variable. It's hard to imagine
3673 * it changing before Perl6. It is included here for symmetry
3674 * with xs_apiveprsion -- the searching algorithms will
3675 * (presumably) be similar.
3676 * See the INSTALL file for how this works.
3677 */
44b94491 3678#define PERL_XS_APIVERSION "5.9.0"
fe749a9f
JH
3679#define PERL_PM_APIVERSION "5.005"
3680
c68a00c0
JH
3681/* HAS_CRYPT:
3682 * This symbol, if defined, indicates that the crypt routine is available
3683 * to encrypt passwords and the like.
3684 */
3685#define HAS_CRYPT /**/
3686
5440bc8e
JH
3687/* SETUID_SCRIPTS_ARE_SECURE_NOW:
3688 * This symbol, if defined, indicates that the bug that prevents
3689 * setuid scripts from being secure is not present in this kernel.
3690 */
3691/* DOSUID:
3692 * This symbol, if defined, indicates that the C program should
3693 * check the script that it is executing for setuid/setgid bits, and
3694 * attempt to emulate setuid/setgid on systems that have disabled
3695 * setuid #! scripts because the kernel can't do it securely.
3696 * It is up to the package designer to make sure that this emulation
3697 * is done securely. Among other things, it should do an fstat on
3698 * the script it just opened to make sure it really is a setuid/setgid
3699 * script, it should make sure the arguments passed correspond exactly
3700 * to the argument on the #! line, and it should not trust any
3701 * subprocesses to which it must pass the filename rather than the
3702 * file descriptor of the script to be executed.
3703 */
3704/*#define SETUID_SCRIPTS_ARE_SECURE_NOW / **/
3705/*#define DOSUID / **/
3706
c68a00c0
JH
3707/* Shmat_t:
3708 * This symbol holds the return type of the shmat() system call.
3709 * Usually set to 'void *' or 'char *'.
3710 */
3711/* HAS_SHMAT_PROTOTYPE: