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