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