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