This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
checkcfgvar.pl should also check Porting/config.sh "just in case".
[perl5.git] / Porting / config_H
CommitLineData
3a021565
MB
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 : .
3a021565 20 * Configuration time: Mon Apr 10 18:30:53 CEST 2006
fd550ca5 21 * Configured by : yourname
3a021565 22 * Target system : linux pc09 2.6.13-15.8-default #1 tue feb 7 11:07:24 utc 2006 i686 i686 i386 gnulinux
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 */
3a021565 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
PP
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
PP
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 /**/
60a7d337 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 /**/
60a7d337 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 */
60a7d337 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 */
60a7d337 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
PP
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
PP
530 */
531#define HAS_STRTOD /**/
532
533/* HAS_STRTOL:
774d564b
PP
534 * This symbol, if defined, indicates that the strtol routine is available
535 * to provide better numeric string conversion than atoi() and friends.
55497cff
PP
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
2a0de2c5
NC
643/* I_ASSERT:
644 * This symbol, if defined, indicates to the C program that it could
645 * include <assert.h> to get the assert() macro.
646 */
647#define I_ASSERT /**/
648
dfe9444c
AD
649/* I_DBM:
650 * This symbol, if defined, indicates that <dbm.h> exists and should
651 * be included.
232e078e 652 */
dfe9444c
AD
653/* I_RPCSVC_DBM:
654 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
655 * should be included.
232e078e 656 */
60a7d337 657/*#define I_DBM / **/
921b2963 658/*#define I_RPCSVC_DBM / **/
232e078e 659
85e6fe83
LW
660/* I_DIRENT:
661 * This symbol, if defined, indicates to the C program that it should
662 * include <dirent.h>. Using this symbol also triggers the definition
663 * of the Direntry_t define which ends up being 'struct dirent' or
664 * 'struct direct' depending on the availability of <dirent.h>.
665 */
666/* DIRNAMLEN:
667 * This symbol, if defined, indicates to the C program that the length
668 * of directory entry names is provided by a d_namlen field. Otherwise
669 * you need to do strlen() on the d_name field.
2b317908 670 */
a0d0e21e
LW
671/* Direntry_t:
672 * This symbol is set to 'struct direct' or 'struct dirent' depending on
673 * whether dirent is available or not. You should use this pseudo type to
674 * portably declare your directory entries.
675 */
85e6fe83 676#define I_DIRENT /**/
60a7d337 677/*#define DIRNAMLEN / **/
85e6fe83 678#define Direntry_t struct dirent
a0d0e21e
LW
679
680/* I_DLFCN:
681 * This symbol, if defined, indicates that <dlfcn.h> exists and should
682 * be included.
683 */
4633a7c4 684#define I_DLFCN /**/
a687059c 685
85e6fe83 686/* I_FCNTL:
fe14fcc3 687 * This manifest constant tells the C program to include <fcntl.h>.
a687059c 688 */
921b2963 689/*#define I_FCNTL / **/
a687059c 690
a0d0e21e
LW
691/* I_FLOAT:
692 * This symbol, if defined, indicates to the C program that it should
693 * include <float.h> to get definition of symbols like DBL_MAX or
694 * DBL_MIN, i.e. machine dependent floating point values.
a687059c 695 */
a0d0e21e 696#define I_FLOAT /**/
a687059c 697
a0d0e21e
LW
698/* I_LIMITS:
699 * This symbol, if defined, indicates to the C program that it should
700 * include <limits.h> to get definition of symbols like WORD_BIT or
701 * LONG_MAX, i.e. machine dependant limitations.
702 */
703#define I_LIMITS /**/
704
dfe9444c
AD
705/* I_LOCALE:
706 * This symbol, if defined, indicates to the C program that it should
707 * include <locale.h>.
708 */
709#define I_LOCALE /**/
710
a0d0e21e
LW
711/* I_MATH:
712 * This symbol, if defined, indicates to the C program that it should
713 * include <math.h>.
714 */
715#define I_MATH /**/
716
717/* I_MEMORY:
718 * This symbol, if defined, indicates to the C program that it should
719 * include <memory.h>.
720 */
20e68413 721/*#define I_MEMORY / **/
a0d0e21e 722
ecfc5424
AD
723/* I_NET_ERRNO:
724 * This symbol, if defined, indicates that <net/errno.h> exists and
725 * should be included.
fe14fcc3 726 */
20e68413 727/*#define I_NET_ERRNO / **/
fe14fcc3 728
85e6fe83 729/* I_NETINET_IN:
a687059c 730 * This symbol, if defined, indicates to the C program that it should
85e6fe83 731 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
a687059c 732 */
85e6fe83 733#define I_NETINET_IN /**/
85e6fe83 734
dfe9444c
AD
735/* I_SFIO:
736 * This symbol, if defined, indicates to the C program that it should
737 * include <sfio.h>.
738 */
739/*#define I_SFIO / **/
85e6fe83
LW
740
741/* I_STDDEF:
742 * This symbol, if defined, indicates that <stddef.h> exists and should
743 * be included.
fe14fcc3 744 */
85e6fe83
LW
745#define I_STDDEF /**/
746
a0d0e21e
LW
747/* I_STDLIB:
748 * This symbol, if defined, indicates that <stdlib.h> exists and should
749 * be included.
750 */
751#define I_STDLIB /**/
752
85e6fe83
LW
753/* I_STRING:
754 * This symbol, if defined, indicates to the C program that it should
755 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
fe14fcc3 756 */
85e6fe83
LW
757#define I_STRING /**/
758
759/* I_SYS_DIR:
760 * This symbol, if defined, indicates to the C program that it should
761 * include <sys/dir.h>.
fe14fcc3 762 */
921b2963 763#define I_SYS_DIR /**/
a687059c 764
85e6fe83
LW
765/* I_SYS_FILE:
766 * This symbol, if defined, indicates to the C program that it should
767 * include <sys/file.h> to get definition of R_OK and friends.
a687059c 768 */
921b2963 769#define I_SYS_FILE /**/
a687059c 770
85e6fe83
LW
771/* I_SYS_IOCTL:
772 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
773 * be included. Otherwise, include <sgtty.h> or <termio.h>.
a687059c 774 */
49a78c82
JH
775/* I_SYS_SOCKIO:
776 * This symbol, if defined, indicates the <sys/sockio.h> should be included
777 * to get socket ioctl options, like SIOCATMARK.
778 */
85e6fe83 779#define I_SYS_IOCTL /**/
49a78c82 780/*#define I_SYS_SOCKIO / **/
a687059c 781
85e6fe83
LW
782/* I_SYS_NDIR:
783 * This symbol, if defined, indicates to the C program that it should
784 * include <sys/ndir.h>.
fe14fcc3 785 */
20e68413 786/*#define I_SYS_NDIR / **/
85e6fe83 787
a0d0e21e
LW
788/* I_SYS_PARAM:
789 * This symbol, if defined, indicates to the C program that it should
790 * include <sys/param.h>.
791 */
792#define I_SYS_PARAM /**/
793
9003a523
PP
794/* I_SYS_RESOURCE:
795 * This symbol, if defined, indicates to the C program that it should
796 * include <sys/resource.h>.
797 */
798#define I_SYS_RESOURCE /**/
799
85e6fe83
LW
800/* I_SYS_SELECT:
801 * This symbol, if defined, indicates to the C program that it should
802 * include <sys/select.h> in order to get definition of struct timeval.
fe14fcc3 803 */
88fdc172 804#define I_SYS_SELECT /**/
85e6fe83 805
dfe9444c
AD
806/* I_SYS_STAT:
807 * This symbol, if defined, indicates to the C program that it should
808 * include <sys/stat.h>.
809 */
810#define I_SYS_STAT /**/
811
a0d0e21e 812/* I_SYS_TIMES:
85e6fe83 813 * This symbol, if defined, indicates to the C program that it should
a0d0e21e 814 * include <sys/times.h>.
fe14fcc3 815 */
a0d0e21e
LW
816#define I_SYS_TIMES /**/
817
bd89102f
AD
818/* I_SYS_TYPES:
819 * This symbol, if defined, indicates to the C program that it should
820 * include <sys/types.h>.
821 */
822#define I_SYS_TYPES /**/
823
fbfd4aab
PP
824/* I_SYS_UN:
825 * This symbol, if defined, indicates to the C program that it should
826 * include <sys/un.h> to get UNIX domain socket definitions.
827 */
828#define I_SYS_UN /**/
829
9003a523
PP
830/* I_SYS_WAIT:
831 * This symbol, if defined, indicates to the C program that it should
832 * include <sys/wait.h>.
833 */
834#define I_SYS_WAIT /**/
835
a0d0e21e
LW
836/* I_TERMIO:
837 * This symbol, if defined, indicates that the program should include
838 * <termio.h> rather than <sgtty.h>. There are also differences in
839 * the ioctl() calls that depend on the value of this symbol.
840 */
841/* I_TERMIOS:
842 * This symbol, if defined, indicates that the program should include
843 * the POSIX termios.h rather than sgtty.h or termio.h.
844 * There are also differences in the ioctl() calls that depend on the
845 * value of this symbol.
846 */
847/* I_SGTTY:
848 * This symbol, if defined, indicates that the program should include
849 * <sgtty.h> rather than <termio.h>. There are also differences in
850 * the ioctl() calls that depend on the value of this symbol.
851 */
20e68413 852/*#define I_TERMIO / **/
a0d0e21e 853#define I_TERMIOS /**/
20e68413 854/*#define I_SGTTY / **/
a0d0e21e 855
a0d0e21e
LW
856/* I_UNISTD:
857 * This symbol, if defined, indicates to the C program that it should
858 * include <unistd.h>.
859 */
860#define I_UNISTD /**/
861
85e6fe83 862/* I_UTIME:
a687059c 863 * This symbol, if defined, indicates to the C program that it should
85e6fe83 864 * include <utime.h>.
a687059c 865 */
85e6fe83 866#define I_UTIME /**/
a687059c 867
dfe9444c
AD
868/* I_VALUES:
869 * This symbol, if defined, indicates to the C program that it should
870 * include <values.h> to get definition of symbols like MINFLOAT or
871 * MAXLONG, i.e. machine dependant limitations. Probably, you
872 * should use <limits.h> instead, if it is available.
873 */
874#define I_VALUES /**/
875
a0d0e21e
LW
876/* I_VFORK:
877 * This symbol, if defined, indicates to the C program that it should
878 * include vfork.h.
879 */
20e68413 880/*#define I_VFORK / **/
fe14fcc3 881
327c3667
GS
882/* HAS_ACCESSX:
883 * This symbol, if defined, indicates that the accessx routine is
884 * available to do extended access checks.
885 */
11dc3f68 886/*#define HAS_ACCESSX / **/
327c3667
GS
887
888/* HAS_EACCESS:
889 * This symbol, if defined, indicates that the eaccess routine is
890 * available to do extended access checks.
891 */
11dc3f68 892/*#define HAS_EACCESS / **/
327c3667
GS
893
894/* I_SYS_ACCESS:
895 * This symbol, if defined, indicates to the C program that it should
921b2963 896 * include <sys/access.h>.
327c3667 897 */
60a7d337 898/*#define I_SYS_ACCESS / **/
327c3667
GS
899
900/* I_SYS_SECURITY:
901 * This symbol, if defined, indicates to the C program that it should
902 * include <sys/security.h>.
903 */
60a7d337 904/*#define I_SYS_SECURITY / **/
af4c28eb 905
fd550ca5
MB
906/* OSNAME:
907 * This symbol contains the name of the operating system, as determined
908 * by Configure. You shouldn't rely on it too much; the specific
909 * feature tests from Configure are generally more reliable.
910 */
911/* OSVERS:
912 * This symbol contains the version of the operating system, as determined
913 * by Configure. You shouldn't rely on it too much; the specific
914 * feature tests from Configure are generally more reliable.
915 */
916#define OSNAME "linux" /**/
3a021565 917#define OSVERS "2.6.13-15.8-default" /**/
a1e6f3ef
RGS
918
919/* USE_CROSS_COMPILE:
920 * This symbol, if defined, indicates that Perl is being cross-compiled.
921 */
922/* PERL_TARGETARCH:
923 * This symbol, if defined, indicates the target architecture
924 * Perl has been cross-compiled to. Undefined if not a cross-compile.
925 */
926#ifndef USE_CROSS_COMPILE
927/*#define USE_CROSS_COMPILE / **/
928#define PERL_TARGETARCH "" /**/
929#endif
930
931/* MULTIARCH:
932 * This symbol, if defined, signifies that the build
933 * process will produce some binary files that are going to be
934 * used in a cross-platform environment. This is the case for
935 * example with the NeXT "fat" binaries that contain executables
936 * for several CPUs.
937 */
938/*#define MULTIARCH / **/
fd550ca5 939
dfe9444c 940/* MEM_ALIGNBYTES:
af4c28eb 941 * This symbol contains the number of bytes required to align a
87b71857
JH
942 * double, or a long double when applicable. Usual values are 2,
943 * 4 and 8. The default is eight, for safety.
5f05dabc 944 */
5440bc8e 945#if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
cb5953d6 946# define MEM_ALIGNBYTES 8
af4c28eb 947#else
60a7d337 948#define MEM_ALIGNBYTES 4
af4c28eb 949#endif
5f05dabc 950
fd550ca5
MB
951/* ARCHLIB:
952 * This variable, if defined, holds the name of the directory in
953 * which the user wants to put architecture-dependent public
954 * library files for perl5. It is most often a local directory
955 * such as /usr/local/lib. Programs using this variable must be
956 * prepared to deal with filename expansion. If ARCHLIB is the
957 * same as PRIVLIB, it is not defined, since presumably the
958 * program already searches PRIVLIB.
959 */
960/* ARCHLIB_EXP:
961 * This symbol contains the ~name expanded version of ARCHLIB, to be used
962 * in programs that are not prepared to deal with ~ expansion at run-time.
963 */
9244ff22
SP
964#define ARCHLIB "/opt/perl/lib/5.11.0/i686-linux" /**/
965#define ARCHLIB_EXP "/opt/perl/lib/5.11.0/i686-linux" /**/
fd550ca5
MB
966
967/* ARCHNAME:
968 * This symbol holds a string representing the architecture name.
969 * It may be used to construct an architecture-dependant pathname
970 * where library files may be held under a private library, for
971 * instance.
972 */
973#define ARCHNAME "i686-linux" /**/
974
975/* HAS_ATOLF:
976 * This symbol, if defined, indicates that the atolf routine is
977 * available to convert strings into long doubles.
978 */
979/*#define HAS_ATOLF / **/
980
981/* HAS_ATOLL:
982 * This symbol, if defined, indicates that the atoll routine is
983 * available to convert strings into long longs.
984 */
985#define HAS_ATOLL /**/
986
987/* BIN:
988 * This symbol holds the path of the bin directory where the package will
989 * be installed. Program must be prepared to deal with ~name substitution.
990 */
991/* BIN_EXP:
992 * This symbol is the filename expanded version of the BIN symbol, for
993 * programs that do not want to deal with that at run-time.
994 */
3a021565
MB
995/* PERL_RELOCATABLE_INC:
996 * This symbol, if defined, indicates that we'd like to relocate entries
997 * in @INC at run time based on the location of the perl binary.
998 */
fd550ca5
MB
999#define BIN "/opt/perl/bin" /**/
1000#define BIN_EXP "/opt/perl/bin" /**/
3a021565 1001#define PERL_RELOCATABLE_INC "undef" /**/
fd550ca5 1002
a1e6f3ef
RGS
1003/* INTSIZE:
1004 * This symbol contains the value of sizeof(int) so that the C
1005 * preprocessor can make decisions based on it.
1006 */
1007/* LONGSIZE:
1008 * This symbol contains the value of sizeof(long) so that the C
1009 * preprocessor can make decisions based on it.
1010 */
1011/* SHORTSIZE:
1012 * This symbol contains the value of sizeof(short) so that the C
1013 * preprocessor can make decisions based on it.
1014 */
1015#define INTSIZE 4 /**/
1016#define LONGSIZE 4 /**/
1017#define SHORTSIZE 2 /**/
1018
4633a7c4 1019/* BYTEORDER:
9003a523 1020 * This symbol holds the hexadecimal constant defined in byteorder,
24412007 1021 * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc...
af4c28eb
CS
1022 * If the compiler supports cross-compiling or multiple-architecture
1023 * binaries (eg. on NeXT systems), use compiler-defined macros to
1024 * determine the byte order.
dfe9444c 1025 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
9003a523
PP
1026 * Binaries (MAB) on either big endian or little endian machines.
1027 * The endian-ness is available at compile-time. This only matters
1028 * for perl, where the config.h can be generated and installed on
1029 * one system, and used by a different architecture to build an
1030 * extension. Older versions of NeXT that might not have
1031 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1032 * so the default case (for NeXT) is big endian to catch them.
1033 * This might matter for NeXT 3.0.
1034 */
5440bc8e 1035#if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
af4c28eb
CS
1036# ifdef __LITTLE_ENDIAN__
1037# if LONGSIZE == 4
1038# define BYTEORDER 0x1234
1039# else
1040# if LONGSIZE == 8
1041# define BYTEORDER 0x12345678
1042# endif
1043# endif
1044# else
1045# ifdef __BIG_ENDIAN__
1046# if LONGSIZE == 4
1047# define BYTEORDER 0x4321
1048# else
1049# if LONGSIZE == 8
1050# define BYTEORDER 0x87654321
1051# endif
1052# endif
1053# endif
1054# endif
1055# if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
1056# define BYTEORDER 0x4321
1057# endif
1058#else
60a7d337 1059#define BYTEORDER 0x1234 /* large digits for MSB */
9003a523 1060#endif /* NeXT */
4633a7c4 1061
fd550ca5
MB
1062/* CAT2:
1063 * This macro concatenates 2 tokens together.
1064 */
1065/* STRINGIFY:
1066 * This macro surrounds its token with double quotes.
1067 */
1068#if 42 == 1
1069#define CAT2(a,b) a/**/b
1070#define STRINGIFY(a) "a"
1071 /* If you can get stringification with catify, tell me how! */
1072#endif
1073#if 42 == 42
1074#define PeRl_CaTiFy(a, b) a ## b
1075#define PeRl_StGiFy(a) #a
1076/* the additional level of indirection enables these macros to be
1077 * used as arguments to other macros. See K&R 2nd ed., page 231. */
1078#define CAT2(a,b) PeRl_CaTiFy(a,b)
1079#define StGiFy(a) PeRl_StGiFy(a)
1080#define STRINGIFY(a) PeRl_StGiFy(a)
1081#endif
1082#if 42 != 1 && 42 != 42
1083# include "Bletch: How does this C preprocessor concatenate tokens?"
1084#endif
1085
1086/* CPPSTDIN:
1087 * This symbol contains the first part of the string which will invoke
1088 * the C preprocessor on the standard input and produce to standard
1089 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
1090 * call a wrapper. See CPPRUN.
1091 */
1092/* CPPMINUS:
1093 * This symbol contains the second part of the string which will invoke
1094 * the C preprocessor on the standard input and produce to standard
1095 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
1096 * to specify standard input, otherwise the value is "".
1097 */
1098/* CPPRUN:
1099 * This symbol contains the string which will invoke a C preprocessor on
1100 * the standard input and produce to standard output. It needs to end
1101 * with CPPLAST, after all other preprocessor flags have been specified.
1102 * The main difference with CPPSTDIN is that this program will never be a
1103 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1104 * available directly to the user. Note that it may well be different from
1105 * the preprocessor used to compile the C program.
1106 */
1107/* CPPLAST:
1108 * This symbol is intended to be used along with CPPRUN in the same manner
1109 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1110 */
1111#define CPPSTDIN "cc -E"
1112#define CPPMINUS "-"
1113#define CPPRUN "cc -E"
1114#define CPPLAST "-"
1115
1116/* HAS__FWALK:
1117 * This symbol, if defined, indicates that the _fwalk system call is
1118 * available to apply a function to all the file handles.
1119 */
1120/*#define HAS__FWALK / **/
1121
1122/* HAS_ACCESS:
1123 * This manifest constant lets the C program know that the access()
1124 * system call is available to check for accessibility using real UID/GID.
1125 * (always present on UNIX.)
1126 */
1127#define HAS_ACCESS /**/
1128
1129/* HAS_ASCTIME_R:
1130 * This symbol, if defined, indicates that the asctime_r routine
1131 * is available to asctime re-entrantly.
1132 */
1133/* ASCTIME_R_PROTO:
1134 * This symbol encodes the prototype of asctime_r.
1135 * It is zero if d_asctime_r is undef, and one of the
1136 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_asctime_r
1137 * is defined.
1138 */
1139/*#define HAS_ASCTIME_R / **/
1140#define ASCTIME_R_PROTO 0 /**/
1141
dfe9444c
AD
1142/* CASTI32:
1143 * This symbol is defined if the C compiler can cast negative
1144 * or large floating point numbers to 32-bit ints.
1aef975c 1145 */
88fdc172 1146/*#define CASTI32 / **/
1aef975c 1147
dfe9444c
AD
1148/* CASTNEGFLOAT:
1149 * This symbol is defined if the C compiler can cast negative
1150 * numbers to unsigned longs, ints and shorts.
85e6fe83 1151 */
dfe9444c
AD
1152/* CASTFLAGS:
1153 * This symbol contains flags that say what difficulties the compiler
1154 * has casting odd floating values to unsigned long:
1155 * 0 = ok
1156 * 1 = couldn't cast < 0
1157 * 2 = couldn't cast >= 0x80000000
1158 * 4 = couldn't cast in argument expression list
fbfd4aab 1159 */
e5c9fcd0
AD
1160#define CASTNEGFLOAT /**/
1161#define CASTFLAGS 0 /**/
dfe9444c 1162
fd550ca5
MB
1163/* HAS_CLASS:
1164 * This symbol, if defined, indicates that the class routine is
1165 * available to classify doubles. Available for example in AIX.
1166 * The returned values are defined in <float.h> and are:
1167 *
1168 * FP_PLUS_NORM Positive normalized, nonzero
1169 * FP_MINUS_NORM Negative normalized, nonzero
1170 * FP_PLUS_DENORM Positive denormalized, nonzero
1171 * FP_MINUS_DENORM Negative denormalized, nonzero
1172 * FP_PLUS_ZERO +0.0
1173 * FP_MINUS_ZERO -0.0
1174 * FP_PLUS_INF +INF
1175 * FP_MINUS_INF -INF
1176 * FP_NANS Signaling Not a Number (NaNS)
1177 * FP_NANQ Quiet Not a Number (NaNQ)
1178 */
1179/*#define HAS_CLASS / **/
1180
dfe9444c
AD
1181/* VOID_CLOSEDIR:
1182 * This symbol, if defined, indicates that the closedir() routine
1183 * does not return a value.
fbfd4aab 1184 */
dfe9444c 1185/*#define VOID_CLOSEDIR / **/
fbfd4aab 1186
fd550ca5
MB
1187/* HAS_STRUCT_CMSGHDR:
1188 * This symbol, if defined, indicates that the struct cmsghdr
1189 * is supported.
4e0554ec 1190 */
fd550ca5 1191#define HAS_STRUCT_CMSGHDR /**/
4e0554ec 1192
fd550ca5
MB
1193/* HAS_CRYPT_R:
1194 * This symbol, if defined, indicates that the crypt_r routine
1195 * is available to crypt re-entrantly.
10bc17b6 1196 */
fd550ca5
MB
1197/* CRYPT_R_PROTO:
1198 * This symbol encodes the prototype of crypt_r.
1199 * It is zero if d_crypt_r is undef, and one of the
1200 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_crypt_r
1201 * is defined.
ff935051 1202 */
fd550ca5
MB
1203/*#define HAS_CRYPT_R / **/
1204#define CRYPT_R_PROTO 0 /**/
88fdc172 1205
fd550ca5
MB
1206/* HAS_CSH:
1207 * This symbol, if defined, indicates that the C-shell exists.
ff935051 1208 */
fd550ca5
MB
1209/* CSH:
1210 * This symbol, if defined, contains the full pathname of csh.
88fdc172 1211 */
a1e6f3ef 1212#define HAS_CSH /**/
fd550ca5 1213#ifdef HAS_CSH
3a021565 1214#define CSH "/usr/bin/csh" /**/
fd550ca5 1215#endif
ff935051 1216
fd550ca5
MB
1217/* HAS_CTIME_R:
1218 * This symbol, if defined, indicates that the ctime_r routine
1219 * is available to ctime re-entrantly.
10bc17b6 1220 */
fd550ca5
MB
1221/* CTIME_R_PROTO:
1222 * This symbol encodes the prototype of ctime_r.
1223 * It is zero if d_ctime_r is undef, and one of the
1224 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctime_r
1225 * is defined.
10bc17b6 1226 */
fd550ca5
MB
1227/*#define HAS_CTIME_R / **/
1228#define CTIME_R_PROTO 0 /**/
10bc17b6 1229
fd550ca5
MB
1230/* DLSYM_NEEDS_UNDERSCORE:
1231 * This symbol, if defined, indicates that we need to prepend an
1232 * underscore to the symbol name before calling dlsym(). This only
1233 * makes sense if you *have* dlsym, which we will presume is the
1234 * case if you're using dl_dlopen.xs.
ff935051 1235 */
fd550ca5 1236/*#define DLSYM_NEEDS_UNDERSCORE / **/
ff935051 1237
fd550ca5
MB
1238/* HAS_DRAND48_R:
1239 * This symbol, if defined, indicates that the drand48_r routine
1240 * is available to drand48 re-entrantly.
10bc17b6 1241 */
fd550ca5
MB
1242/* DRAND48_R_PROTO:
1243 * This symbol encodes the prototype of drand48_r.
1244 * It is zero if d_drand48_r is undef, and one of the
1245 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_drand48_r
1246 * is defined.
88fdc172 1247 */
fd550ca5
MB
1248/*#define HAS_DRAND48_R / **/
1249#define DRAND48_R_PROTO 0 /**/
88fdc172 1250
fd550ca5
MB
1251/* HAS_DRAND48_PROTO:
1252 * This symbol, if defined, indicates that the system provides
1253 * a prototype for the drand48() function. Otherwise, it is up
1254 * to the program to supply one. A good guess is
1255 * extern double drand48(void);
88fdc172 1256 */
fd550ca5 1257#define HAS_DRAND48_PROTO /**/
88fdc172 1258
fd550ca5
MB
1259/* HAS_ENDGRENT:
1260 * This symbol, if defined, indicates that the getgrent routine is
1261 * available for finalizing sequential access of the group database.
88fdc172 1262 */
fd550ca5
MB
1263#define HAS_ENDGRENT /**/
1264
1265/* HAS_ENDGRENT_R:
1266 * This symbol, if defined, indicates that the endgrent_r routine
1267 * is available to endgrent re-entrantly.
88fdc172 1268 */
fd550ca5
MB
1269/* ENDGRENT_R_PROTO:
1270 * This symbol encodes the prototype of endgrent_r.
1271 * It is zero if d_endgrent_r is undef, and one of the
1272 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endgrent_r
1273 * is defined.
88fdc172 1274 */
fd550ca5
MB
1275/*#define HAS_ENDGRENT_R / **/
1276#define ENDGRENT_R_PROTO 0 /**/
88fdc172 1277
fd550ca5
MB
1278/* HAS_ENDHOSTENT:
1279 * This symbol, if defined, indicates that the endhostent() routine is
1280 * available to close whatever was being used for host queries.
88fdc172 1281 */
fd550ca5
MB
1282#define HAS_ENDHOSTENT /**/
1283
1284/* HAS_ENDNETENT:
1285 * This symbol, if defined, indicates that the endnetent() routine is
1286 * available to close whatever was being used for network queries.
88fdc172 1287 */
fd550ca5
MB
1288#define HAS_ENDNETENT /**/
1289
1290/* HAS_ENDPROTOENT:
1291 * This symbol, if defined, indicates that the endprotoent() routine is
1292 * available to close whatever was being used for protocol queries.
88fdc172 1293 */
fd550ca5
MB
1294#define HAS_ENDPROTOENT /**/
1295
1296/* HAS_ENDPWENT:
1297 * This symbol, if defined, indicates that the getgrent routine is
1298 * available for finalizing sequential access of the passwd database.
88fdc172 1299 */
fd550ca5
MB
1300#define HAS_ENDPWENT /**/
1301
1302/* HAS_ENDPWENT_R:
1303 * This symbol, if defined, indicates that the endpwent_r routine
1304 * is available to endpwent re-entrantly.
88fdc172 1305 */
fd550ca5
MB
1306/* ENDPWENT_R_PROTO:
1307 * This symbol encodes the prototype of endpwent_r.
1308 * It is zero if d_endpwent_r is undef, and one of the
1309 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endpwent_r
1310 * is defined.
88fdc172 1311 */
fd550ca5
MB
1312/*#define HAS_ENDPWENT_R / **/
1313#define ENDPWENT_R_PROTO 0 /**/
1314
1315/* HAS_ENDSERVENT:
1316 * This symbol, if defined, indicates that the endservent() routine is
1317 * available to close whatever was being used for service queries.
88fdc172 1318 */
fd550ca5 1319#define HAS_ENDSERVENT /**/
88fdc172 1320
fd550ca5
MB
1321/* HAS_FCHDIR:
1322 * This symbol, if defined, indicates that the fchdir routine is
1323 * available to change directory using a file descriptor.
88fdc172 1324 */
fd550ca5
MB
1325#define HAS_FCHDIR /**/
1326
1327/* FCNTL_CAN_LOCK:
1328 * This symbol, if defined, indicates that fcntl() can be used
1329 * for file locking. Normally on Unix systems this is defined.
1330 * It may be undefined on VMS.
88fdc172 1331 */
fd550ca5
MB
1332#define FCNTL_CAN_LOCK /**/
1333
1334/* HAS_FD_SET:
1335 * This symbol, when defined, indicates presence of the fd_set typedef
1336 * in <sys/types.h>
88fdc172 1337 */
fd550ca5 1338#define HAS_FD_SET /**/
88fdc172 1339
fd550ca5
MB
1340/* HAS_FINITE:
1341 * This symbol, if defined, indicates that the finite routine is
1342 * available to check whether a double is finite (non-infinity non-NaN).
88fdc172 1343 */
fd550ca5
MB
1344#define HAS_FINITE /**/
1345
1346/* HAS_FINITEL:
1347 * This symbol, if defined, indicates that the finitel routine is
1348 * available to check whether a long double is finite
1349 * (non-infinity non-NaN).
88fdc172 1350 */
fd550ca5 1351#define HAS_FINITEL /**/
88fdc172 1352
fd550ca5
MB
1353/* FLEXFILENAMES:
1354 * This symbol, if defined, indicates that the system supports filenames
1355 * longer than 14 characters.
88fdc172 1356 */
fd550ca5 1357#define FLEXFILENAMES /**/
88fdc172 1358
fd550ca5
MB
1359/* HAS_FP_CLASS:
1360 * This symbol, if defined, indicates that the fp_class routine is
1361 * available to classify doubles. Available for example in Digital UNIX.
1362 * The returned values are defined in <math.h> and are:
1363 *
1364 * FP_SNAN Signaling NaN (Not-a-Number)
1365 * FP_QNAN Quiet NaN (Not-a-Number)
1366 * FP_POS_INF +infinity
1367 * FP_NEG_INF -infinity
1368 * FP_POS_NORM Positive normalized
1369 * FP_NEG_NORM Negative normalized
1370 * FP_POS_DENORM Positive denormalized
1371 * FP_NEG_DENORM Negative denormalized
1372 * FP_POS_ZERO +0.0 (positive zero)
1373 * FP_NEG_ZERO -0.0 (negative zero)
88fdc172 1374 */
fd550ca5
MB
1375/*#define HAS_FP_CLASS / **/
1376
1377/* HAS_FPCLASS:
1378 * This symbol, if defined, indicates that the fpclass routine is
1379 * available to classify doubles. Available for example in Solaris/SVR4.
1380 * The returned values are defined in <ieeefp.h> and are:
1381 *
1382 * FP_SNAN signaling NaN
1383 * FP_QNAN quiet NaN
1384 * FP_NINF negative infinity
1385 * FP_PINF positive infinity
1386 * FP_NDENORM negative denormalized non-zero
1387 * FP_PDENORM positive denormalized non-zero
1388 * FP_NZERO negative zero
1389 * FP_PZERO positive zero
1390 * FP_NNORM negative normalized non-zero
1391 * FP_PNORM positive normalized non-zero
88fdc172 1392 */
fd550ca5
MB
1393/*#define HAS_FPCLASS / **/
1394
1395/* HAS_FPCLASSIFY:
1396 * This symbol, if defined, indicates that the fpclassify routine is
1397 * available to classify doubles. Available for example in HP-UX.
1398 * The returned values are defined in <math.h> and are
1399 *
1400 * FP_NORMAL Normalized
1401 * FP_ZERO Zero
1402 * FP_INFINITE Infinity
1403 * FP_SUBNORMAL Denormalized
1404 * FP_NAN NaN
1405 *
88fdc172 1406 */
fd550ca5
MB
1407/*#define HAS_FPCLASSIFY / **/
1408
1409/* HAS_FPOS64_T:
1410 * This symbol will be defined if the C compiler supports fpos64_t.
88fdc172 1411 */
fd550ca5 1412/*#define HAS_FPOS64_T / **/
88fdc172 1413
fd550ca5
MB
1414/* HAS_FREXPL:
1415 * This symbol, if defined, indicates that the frexpl routine is
1416 * available to break a long double floating-point number into
1417 * a normalized fraction and an integral power of 2.
88fdc172 1418 */
fd550ca5
MB
1419#define HAS_FREXPL /**/
1420
1421/* HAS_STRUCT_FS_DATA:
1422 * This symbol, if defined, indicates that the struct fs_data
1423 * to do statfs() is supported.
88fdc172 1424 */
fd550ca5
MB
1425/*#define HAS_STRUCT_FS_DATA / **/
1426
1427/* HAS_FSEEKO:
1428 * This symbol, if defined, indicates that the fseeko routine is
1429 * available to fseek beyond 32 bits (useful for ILP32 hosts).
88fdc172 1430 */
fd550ca5
MB
1431#define HAS_FSEEKO /**/
1432
1433/* HAS_FSTATFS:
1434 * This symbol, if defined, indicates that the fstatfs routine is
1435 * available to stat filesystems by file descriptors.
88fdc172 1436 */
fd550ca5 1437#define HAS_FSTATFS /**/
88fdc172 1438
fd550ca5
MB
1439/* HAS_FSYNC:
1440 * This symbol, if defined, indicates that the fsync routine is
1441 * available to write a file's modified data and attributes to
1442 * permanent storage.
88fdc172 1443 */
fd550ca5 1444#define HAS_FSYNC /**/
88fdc172 1445
fd550ca5
MB
1446/* HAS_FTELLO:
1447 * This symbol, if defined, indicates that the ftello routine is
1448 * available to ftell beyond 32 bits (useful for ILP32 hosts).
88fdc172 1449 */
fd550ca5
MB
1450#define HAS_FTELLO /**/
1451
a1e6f3ef
RGS
1452/* HAS_FUTIMES:
1453 * This symbol, if defined, indicates that the futimes routine is
1454 * available to change file descriptor time stamps with struct timevals.
1455 */
1456#define HAS_FUTIMES /**/
1457
fd550ca5
MB
1458/* Gconvert:
1459 * This preprocessor macro is defined to convert a floating point
1460 * number to a string without a trailing decimal point. This
1461 * emulates the behavior of sprintf("%g"), but is sometimes much more
1462 * efficient. If gconvert() is not available, but gcvt() drops the
1463 * trailing decimal point, then gcvt() is used. If all else fails,
1464 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1465 * macro are: value, number of digits, whether trailing zeros should
1466 * be retained, and the output buffer.
1467 * The usual values are:
1468 * d_Gconvert='gconvert((x),(n),(t),(b))'
1469 * d_Gconvert='gcvt((x),(n),(b))'
1470 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1471 * The last two assume trailing zeros should not be kept.
88fdc172 1472 */
fd550ca5
MB
1473#define Gconvert(x,n,t,b) gcvt((x),(n),(b))
1474
1475/* HAS_GETCWD:
1476 * This symbol, if defined, indicates that the getcwd routine is
1477 * available to get the current working directory.
88fdc172 1478 */
fd550ca5
MB
1479#define HAS_GETCWD /**/
1480
1481/* HAS_GETESPWNAM:
1482 * This symbol, if defined, indicates that the getespwnam system call is
1483 * available to retrieve enchanced (shadow) password entries by name.
88fdc172 1484 */
fd550ca5 1485/*#define HAS_GETESPWNAM / **/
88fdc172 1486
fd550ca5
MB
1487/* HAS_GETFSSTAT:
1488 * This symbol, if defined, indicates that the getfsstat routine is
1489 * available to stat filesystems in bulk.
88fdc172 1490 */
fd550ca5 1491/*#define HAS_GETFSSTAT / **/
88fdc172 1492
fd550ca5
MB
1493/* HAS_GETGRENT:
1494 * This symbol, if defined, indicates that the getgrent routine is
1495 * available for sequential access of the group database.
88fdc172 1496 */
fd550ca5 1497#define HAS_GETGRENT /**/
88fdc172 1498
fd550ca5
MB
1499/* HAS_GETGRENT_R:
1500 * This symbol, if defined, indicates that the getgrent_r routine
1501 * is available to getgrent re-entrantly.
88fdc172 1502 */
fd550ca5
MB
1503/* GETGRENT_R_PROTO:
1504 * This symbol encodes the prototype of getgrent_r.
1505 * It is zero if d_getgrent_r is undef, and one of the
1506 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrent_r
1507 * is defined.
88fdc172 1508 */
fd550ca5
MB
1509/*#define HAS_GETGRENT_R / **/
1510#define GETGRENT_R_PROTO 0 /**/
88fdc172 1511
fd550ca5
MB
1512/* HAS_GETGRGID_R:
1513 * This symbol, if defined, indicates that the getgrgid_r routine
1514 * is available to getgrgid re-entrantly.
88fdc172 1515 */
fd550ca5
MB
1516/* GETGRGID_R_PROTO:
1517 * This symbol encodes the prototype of getgrgid_r.
1518 * It is zero if d_getgrgid_r is undef, and one of the
1519 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrgid_r
1520 * is defined.
88fdc172 1521 */
fd550ca5
MB
1522/*#define HAS_GETGRGID_R / **/
1523#define GETGRGID_R_PROTO 0 /**/
88fdc172 1524
fd550ca5
MB
1525/* HAS_GETGRNAM_R:
1526 * This symbol, if defined, indicates that the getgrnam_r routine
1527 * is available to getgrnam re-entrantly.
88fdc172 1528 */
fd550ca5
MB
1529/* GETGRNAM_R_PROTO:
1530 * This symbol encodes the prototype of getgrnam_r.
1531 * It is zero if d_getgrnam_r is undef, and one of the
1532 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrnam_r
1533 * is defined.
88fdc172 1534 */
fd550ca5
MB
1535/*#define HAS_GETGRNAM_R / **/
1536#define GETGRNAM_R_PROTO 0 /**/
88fdc172 1537
fd550ca5
MB
1538/* HAS_GETHOSTBYADDR:
1539 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1540 * available to look up hosts by their IP addresses.
88fdc172 1541 */
fd550ca5 1542#define HAS_GETHOSTBYADDR /**/
88fdc172 1543
fd550ca5
MB
1544/* HAS_GETHOSTBYNAME:
1545 * This symbol, if defined, indicates that the gethostbyname() routine is
1546 * available to look up host names in some data base or other.
60a7d337 1547 */
fd550ca5 1548#define HAS_GETHOSTBYNAME /**/
60a7d337 1549
fd550ca5
MB
1550/* HAS_GETHOSTENT:
1551 * This symbol, if defined, indicates that the gethostent() routine is
1552 * available to look up host names in some data base or another.
88fdc172 1553 */
fd550ca5 1554#define HAS_GETHOSTENT /**/
88fdc172 1555
fd550ca5
MB
1556/* HAS_GETHOSTNAME:
1557 * This symbol, if defined, indicates that the C program may use the
1558 * gethostname() routine to derive the host name. See also HAS_UNAME
1559 * and PHOSTNAME.
88fdc172 1560 */
fd550ca5
MB
1561/* HAS_UNAME:
1562 * This symbol, if defined, indicates that the C program may use the
1563 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1564 * and PHOSTNAME.
88fdc172 1565 */
fd550ca5
MB
1566/* PHOSTNAME:
1567 * This symbol, if defined, indicates the command to feed to the
1568 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1569 * and HAS_UNAME. Note that the command uses a fully qualified path,
1570 * so that it is safe even if used by a process with super-user
1571 * privileges.
88fdc172 1572 */
fd550ca5
MB
1573/* HAS_PHOSTNAME:
1574 * This symbol, if defined, indicates that the C program may use the
1575 * contents of PHOSTNAME as a command to feed to the popen() routine
1576 * to derive the host name.
88fdc172 1577 */
fd550ca5
MB
1578#define HAS_GETHOSTNAME /**/
1579#define HAS_UNAME /**/
1580/*#define HAS_PHOSTNAME / **/
1581#ifdef HAS_PHOSTNAME
1582#define PHOSTNAME "" /* How to get the host name */
1583#endif
88fdc172 1584
fd550ca5
MB
1585/* HAS_GETHOST_PROTOS:
1586 * This symbol, if defined, indicates that <netdb.h> includes
1587 * prototypes for gethostent(), gethostbyname(), and
1588 * gethostbyaddr(). Otherwise, it is up to the program to guess
1589 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
88fdc172 1590 */
fd550ca5 1591#define HAS_GETHOST_PROTOS /**/
88fdc172 1592
fd550ca5
MB
1593/* HAS_GETITIMER:
1594 * This symbol, if defined, indicates that the getitimer routine is
1595 * available to return interval timers.
88fdc172 1596 */
fd550ca5 1597#define HAS_GETITIMER /**/
88fdc172 1598
fd550ca5
MB
1599/* HAS_GETLOGIN_R:
1600 * This symbol, if defined, indicates that the getlogin_r routine
1601 * is available to getlogin re-entrantly.
88fdc172 1602 */
fd550ca5
MB
1603/* GETLOGIN_R_PROTO:
1604 * This symbol encodes the prototype of getlogin_r.
1605 * It is zero if d_getlogin_r is undef, and one of the
1606 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getlogin_r
1607 * is defined.
88fdc172 1608 */
fd550ca5
MB
1609/*#define HAS_GETLOGIN_R / **/
1610#define GETLOGIN_R_PROTO 0 /**/
88fdc172 1611
fd550ca5
MB
1612/* HAS_GETMNT:
1613 * This symbol, if defined, indicates that the getmnt routine is
1614 * available to get filesystem mount info by filename.
88fdc172 1615 */
fd550ca5 1616/*#define HAS_GETMNT / **/
88fdc172 1617
fd550ca5
MB
1618/* HAS_GETMNTENT:
1619 * This symbol, if defined, indicates that the getmntent routine is
1620 * available to iterate through mounted file systems to get their info.
88fdc172 1621 */
fd550ca5
MB
1622#define HAS_GETMNTENT /**/
1623
1624/* HAS_GETNETBYADDR:
1625 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1626 * available to look up networks by their IP addresses.
88fdc172 1627 */
fd550ca5
MB
1628#define HAS_GETNETBYADDR /**/
1629
1630/* HAS_GETNETBYNAME:
1631 * This symbol, if defined, indicates that the getnetbyname() routine is
1632 * available to look up networks by their names.
88fdc172 1633 */
fd550ca5
MB
1634#define HAS_GETNETBYNAME /**/
1635
1636/* HAS_GETNETENT:
1637 * This symbol, if defined, indicates that the getnetent() routine is
1638 * available to look up network names in some data base or another.
88fdc172 1639 */
fd550ca5 1640#define HAS_GETNETENT /**/
88fdc172 1641
fd550ca5
MB
1642/* HAS_GETNET_PROTOS:
1643 * This symbol, if defined, indicates that <netdb.h> includes
1644 * prototypes for getnetent(), getnetbyname(), and
1645 * getnetbyaddr(). Otherwise, it is up to the program to guess
1646 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
88fdc172 1647 */
fd550ca5 1648#define HAS_GETNET_PROTOS /**/
88fdc172 1649
fd550ca5
MB
1650/* HAS_GETPAGESIZE:
1651 * This symbol, if defined, indicates that the getpagesize system call
1652 * is available to get system page size, which is the granularity of
1653 * many memory management calls.
88fdc172 1654 */
fd550ca5 1655#define HAS_GETPAGESIZE /**/
88fdc172 1656
fd550ca5
MB
1657/* HAS_GETPROTOENT:
1658 * This symbol, if defined, indicates that the getprotoent() routine is
1659 * available to look up protocols in some data base or another.
88fdc172 1660 */
fd550ca5 1661#define HAS_GETPROTOENT /**/
88fdc172 1662
fd550ca5
MB
1663/* HAS_GETPGRP:
1664 * This symbol, if defined, indicates that the getpgrp routine is
1665 * available to get the current process group.
88fdc172 1666 */
fd550ca5
MB
1667/* USE_BSD_GETPGRP:
1668 * This symbol, if defined, indicates that getpgrp needs one
1669 * arguments whereas USG one needs none.
88fdc172 1670 */
fd550ca5
MB
1671#define HAS_GETPGRP /**/
1672/*#define USE_BSD_GETPGRP / **/
88fdc172 1673
fd550ca5
MB
1674/* HAS_GETPROTOBYNAME:
1675 * This symbol, if defined, indicates that the getprotobyname()
1676 * routine is available to look up protocols by their name.
88fdc172 1677 */
fd550ca5
MB
1678/* HAS_GETPROTOBYNUMBER:
1679 * This symbol, if defined, indicates that the getprotobynumber()
1680 * routine is available to look up protocols by their number.
88fdc172 1681 */
fd550ca5
MB
1682#define HAS_GETPROTOBYNAME /**/
1683#define HAS_GETPROTOBYNUMBER /**/
88fdc172 1684
fd550ca5
MB
1685/* HAS_GETPROTO_PROTOS:
1686 * This symbol, if defined, indicates that <netdb.h> includes
1687 * prototypes for getprotoent(), getprotobyname(), and
1688 * getprotobyaddr(). Otherwise, it is up to the program to guess
1689 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
88fdc172 1690 */
fd550ca5 1691#define HAS_GETPROTO_PROTOS /**/
88fdc172 1692
fd550ca5
MB
1693/* HAS_GETPRPWNAM:
1694 * This symbol, if defined, indicates that the getprpwnam system call is
1695 * available to retrieve protected (shadow) password entries by name.
88fdc172 1696 */
fd550ca5 1697/*#define HAS_GETPRPWNAM / **/
88fdc172 1698
fd550ca5
MB
1699/* HAS_GETPWENT:
1700 * This symbol, if defined, indicates that the getpwent routine is
1701 * available for sequential access of the passwd database.
1702 * If this is not available, the older getpw() function may be available.
88fdc172 1703 */
fd550ca5 1704#define HAS_GETPWENT /**/
88fdc172 1705
fd550ca5
MB
1706/* HAS_GETPWENT_R:
1707 * This symbol, if defined, indicates that the getpwent_r routine
1708 * is available to getpwent re-entrantly.
88fdc172 1709 */
fd550ca5
MB
1710/* GETPWENT_R_PROTO:
1711 * This symbol encodes the prototype of getpwent_r.
1712 * It is zero if d_getpwent_r is undef, and one of the
1713 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwent_r
1714 * is defined.
88fdc172 1715 */
fd550ca5
MB
1716/*#define HAS_GETPWENT_R / **/
1717#define GETPWENT_R_PROTO 0 /**/
88fdc172 1718
fd550ca5
MB
1719/* HAS_GETPWNAM_R:
1720 * This symbol, if defined, indicates that the getpwnam_r routine
1721 * is available to getpwnam re-entrantly.
88fdc172 1722 */
fd550ca5
MB
1723/* GETPWNAM_R_PROTO:
1724 * This symbol encodes the prototype of getpwnam_r.
1725 * It is zero if d_getpwnam_r is undef, and one of the
1726 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwnam_r
1727 * is defined.
ff935051 1728 */
fd550ca5
MB
1729/*#define HAS_GETPWNAM_R / **/
1730#define GETPWNAM_R_PROTO 0 /**/
ff935051 1731
fd550ca5
MB
1732/* HAS_GETPWUID_R:
1733 * This symbol, if defined, indicates that the getpwuid_r routine
1734 * is available to getpwuid re-entrantly.
ff935051 1735 */
fd550ca5
MB
1736/* GETPWUID_R_PROTO:
1737 * This symbol encodes the prototype of getpwuid_r.
1738 * It is zero if d_getpwuid_r is undef, and one of the
1739 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r
1740 * is defined.
10bc17b6 1741 */
fd550ca5
MB
1742/*#define HAS_GETPWUID_R / **/
1743#define GETPWUID_R_PROTO 0 /**/
88fdc172 1744
fd550ca5
MB
1745/* HAS_GETSERVENT:
1746 * This symbol, if defined, indicates that the getservent() routine is
1747 * available to look up network services in some data base or another.
10bc17b6 1748 */
fd550ca5 1749#define HAS_GETSERVENT /**/
10bc17b6 1750
fd550ca5
MB
1751/* HAS_GETSERV_PROTOS:
1752 * This symbol, if defined, indicates that <netdb.h> includes
1753 * prototypes for getservent(), getservbyname(), and
1754 * getservbyaddr(). Otherwise, it is up to the program to guess
1755 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
88fdc172 1756 */
fd550ca5 1757#define HAS_GETSERV_PROTOS /**/
ff935051 1758
fd550ca5
MB
1759/* HAS_GETSPNAM:
1760 * This symbol, if defined, indicates that the getspnam system call is
1761 * available to retrieve SysV shadow password entries by name.
88fdc172 1762 */
fd550ca5 1763#define HAS_GETSPNAM /**/
88fdc172 1764
fd550ca5
MB
1765/* HAS_GETSPNAM_R:
1766 * This symbol, if defined, indicates that the getspnam_r routine
1767 * is available to getspnam re-entrantly.
88fdc172 1768 */
fd550ca5
MB
1769/* GETSPNAM_R_PROTO:
1770 * This symbol encodes the prototype of getspnam_r.
1771 * It is zero if d_getspnam_r is undef, and one of the
1772 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getspnam_r
1773 * is defined.
88fdc172 1774 */
fd550ca5
MB
1775/*#define HAS_GETSPNAM_R / **/
1776#define GETSPNAM_R_PROTO 0 /**/
88fdc172
SB
1777
1778/* HAS_GETSERVBYNAME:
1779 * This symbol, if defined, indicates that the getservbyname()
1780 * routine is available to look up services by their name.
1781 */
1782/* HAS_GETSERVBYPORT:
1783 * This symbol, if defined, indicates that the getservbyport()
1784 * routine is available to look up services by their port.
1785 */
1786#define HAS_GETSERVBYNAME /**/
1787#define HAS_GETSERVBYPORT /**/
1788
fd550ca5
MB
1789/* HAS_GMTIME_R:
1790 * This symbol, if defined, indicates that the gmtime_r routine
1791 * is available to gmtime re-entrantly.
1792 */
1793/* GMTIME_R_PROTO:
1794 * This symbol encodes the prototype of gmtime_r.
1795 * It is zero if d_gmtime_r is undef, and one of the
1796 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gmtime_r
1797 * is defined.
1798 */
1799/*#define HAS_GMTIME_R / **/
1800#define GMTIME_R_PROTO 0 /**/
1801
1802/* HAS_GNULIBC:
1803 * This symbol, if defined, indicates to the C program that
1804 * the GNU C library is being used. A better check is to use
1805 * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc.
1806 */
1807#define HAS_GNULIBC /**/
1808#if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
1809# define _GNU_SOURCE
1810#endif
1811/* HAS_HASMNTOPT:
1812 * This symbol, if defined, indicates that the hasmntopt routine is
1813 * available to query the mount options of file systems.
1814 */
1815#define HAS_HASMNTOPT /**/
1816
88fdc172
SB
1817/* HAS_HTONL:
1818 * This symbol, if defined, indicates that the htonl() routine (and
1819 * friends htons() ntohl() ntohs()) are available to do network
1820 * order byte swapping.
1821 */
1822/* HAS_HTONS:
1823 * This symbol, if defined, indicates that the htons() routine (and
1824 * friends htonl() ntohl() ntohs()) are available to do network
1825 * order byte swapping.
1826 */
1827/* HAS_NTOHL:
1828 * This symbol, if defined, indicates that the ntohl() routine (and
1829 * friends htonl() htons() ntohs()) are available to do network
1830 * order byte swapping.
1831 */
1832/* HAS_NTOHS:
1833 * This symbol, if defined, indicates that the ntohs() routine (and
1834 * friends htonl() htons() ntohl()) are available to do network
1835 * order byte swapping.
1836 */
1837#define HAS_HTONL /**/
1838#define HAS_HTONS /**/
1839#define HAS_NTOHL /**/
1840#define HAS_NTOHS /**/
1841
fd550ca5
MB
1842/* HAS_INT64_T:
1843 * This symbol will defined if the C compiler supports int64_t.
1844 * Usually the <inttypes.h> needs to be included, but sometimes
1845 * <sys/types.h> is enough.
88fdc172 1846 */
fd550ca5
MB
1847#define HAS_INT64_T /**/
1848
1849/* HAS_ISASCII:
1850 * This manifest constant lets the C program know that isascii
1851 * is available.
1852 */
1853#define HAS_ISASCII /**/
1854
1855/* HAS_ISFINITE:
1856 * This symbol, if defined, indicates that the isfinite routine is
1857 * available to check whether a double is finite (non-infinity non-NaN).
1858 */
1859/*#define HAS_ISFINITE / **/
1860
1861/* HAS_ISINF:
1862 * This symbol, if defined, indicates that the isinf routine is
1863 * available to check whether a double is an infinity.
1864 */
1865#define HAS_ISINF /**/
1866
1867/* HAS_ISNAN:
1868 * This symbol, if defined, indicates that the isnan routine is
1869 * available to check whether a double is a NaN.
1870 */
1871#define HAS_ISNAN /**/
1872
1873/* HAS_ISNANL:
1874 * This symbol, if defined, indicates that the isnanl routine is
1875 * available to check whether a long double is a NaN.
1876 */
1877#define HAS_ISNANL /**/
1878
1879/* HAS_LCHOWN:
1880 * This symbol, if defined, indicates that the lchown routine is
1881 * available to operate on a symbolic link (instead of following the
1882 * link).
1883 */
1884#define HAS_LCHOWN /**/
1885
1886/* HAS_LDBL_DIG:
1887 * This symbol, if defined, indicates that this system's <float.h>
1888 * or <limits.h> defines the symbol LDBL_DIG, which is the number
1889 * of significant digits in a long double precision number. Unlike
1890 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
1891 */
1892#define HAS_LDBL_DIG /* */
1893
1894/* HAS_LOCALTIME_R:
1895 * This symbol, if defined, indicates that the localtime_r routine
1896 * is available to localtime re-entrantly.
1897 */
f025e94b
MB
1898/* LOCALTIME_R_NEEDS_TZSET:
1899 * Many libc's localtime_r implementations do not call tzset,
1900 * making them differ from localtime(), and making timezone
1901 * changes using $ENV{TZ} without explicitly calling tzset
1902 * impossible. This symbol makes us call tzset before localtime_r
1903 */
fd550ca5
MB
1904/* LOCALTIME_R_PROTO:
1905 * This symbol encodes the prototype of localtime_r.
1906 * It is zero if d_localtime_r is undef, and one of the
1907 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r
1908 * is defined.
1909 */
1910/*#define HAS_LOCALTIME_R / **/
f025e94b 1911/*#define LOCALTIME_R_NEEDS_TZSET / **/
fd550ca5
MB
1912#define LOCALTIME_R_PROTO 0 /**/
1913
1914/* HAS_LONG_DOUBLE:
1915 * This symbol will be defined if the C compiler supports long
1916 * doubles.
1917 */
1918/* LONG_DOUBLESIZE:
1919 * This symbol contains the size of a long double, so that the
1920 * C preprocessor can make decisions based on it. It is only
1921 * defined if the system supports long doubles.
1922 */
1923#define HAS_LONG_DOUBLE /**/
1924#ifdef HAS_LONG_DOUBLE
1925#define LONG_DOUBLESIZE 12 /**/
88fdc172
SB
1926#endif
1927
1928/* HAS_LONG_LONG:
1929 * This symbol will be defined if the C compiler supports long long.
1930 */
1931/* LONGLONGSIZE:
1932 * This symbol contains the size of a long long, so that the
1933 * C preprocessor can make decisions based on it. It is only
1934 * defined if the system supports long long.
1935 */
1936#define HAS_LONG_LONG /**/
1937#ifdef HAS_LONG_LONG
1938#define LONGLONGSIZE 8 /**/
1939#endif
1940
fd550ca5
MB
1941/* HAS_LSEEK_PROTO:
1942 * This symbol, if defined, indicates that the system provides
1943 * a prototype for the lseek() function. Otherwise, it is up
1944 * to the program to supply one. A good guess is
1945 * extern off_t lseek(int, off_t, int);
1946 */
1947#define HAS_LSEEK_PROTO /**/
1948
1949/* HAS_MADVISE:
1950 * This symbol, if defined, indicates that the madvise system call is
1951 * available to map a file into memory.
1952 */
1953#define HAS_MADVISE /**/
1954
a1e6f3ef
RGS
1955/* HAS_MALLOC_SIZE:
1956 * This symbol, if defined, indicates that the malloc_size
1957 * routine is available for use.
1958 */
1959/*#define HAS_MALLOC_SIZE / **/
1960
1961/* HAS_MALLOC_GOOD_SIZE:
1962 * This symbol, if defined, indicates that the malloc_good_size
1963 * routine is available for use.
1964 */
1965/*#define HAS_MALLOC_GOOD_SIZE / **/
1966
88fdc172
SB
1967/* HAS_MEMCHR:
1968 * This symbol, if defined, indicates that the memchr routine is available
1969 * to locate characters within a C string.
1970 */
1971#define HAS_MEMCHR /**/
1972
fd550ca5
MB
1973/* HAS_MKDTEMP:
1974 * This symbol, if defined, indicates that the mkdtemp routine is
1975 * available to exclusively create a uniquely named temporary directory.
1976 */
1977#define HAS_MKDTEMP /**/
1978
88fdc172
SB
1979/* HAS_MKSTEMP:
1980 * This symbol, if defined, indicates that the mkstemp routine is
1981 * available to exclusively create and open a uniquely named
1982 * temporary file.
1983 */
1984#define HAS_MKSTEMP /**/
1985
fd550ca5
MB
1986/* HAS_MKSTEMPS:
1987 * This symbol, if defined, indicates that the mkstemps routine is
1988 * available to excluslvely create and open a uniquely named
1989 * (with a suffix) temporary file.
1990 */
1991/*#define HAS_MKSTEMPS / **/
1992
88fdc172
SB
1993/* HAS_MMAP:
1994 * This symbol, if defined, indicates that the mmap system call is
1995 * available to map a file into memory.
1996 */
1997/* Mmap_t:
1998 * This symbol holds the return type of the mmap() system call
1999 * (and simultaneously the type of the first argument).
2000 * Usually set to 'void *' or 'cadd_t'.
2001 */
2002#define HAS_MMAP /**/
2003#define Mmap_t void * /**/
2004
fd550ca5
MB
2005/* HAS_MODFL:
2006 * This symbol, if defined, indicates that the modfl routine is
2007 * available to split a long double x into a fractional part f and
2008 * an integer part i such that |f| < 1.0 and (f + i) = x.
2009 */
2010/* HAS_MODFL_PROTO:
2011 * This symbol, if defined, indicates that the system provides
2012 * a prototype for the modfl() function. Otherwise, it is up
2013 * to the program to supply one.
2014 */
2015/* HAS_MODFL_POW32_BUG:
2016 * This symbol, if defined, indicates that the modfl routine is
2017 * broken for long doubles >= pow(2, 32).
2018 * For example from 4294967303.150000 one would get 4294967302.000000
2019 * and 1.150000. The bug has been seen in certain versions of glibc,
2020 * release 2.2.2 is known to be okay.
2021 */
2022#define HAS_MODFL /**/
a1e6f3ef 2023#define HAS_MODFL_PROTO /**/
fd550ca5
MB
2024/*#define HAS_MODFL_POW32_BUG / **/
2025
2026/* HAS_MPROTECT:
2027 * This symbol, if defined, indicates that the mprotect system call is
2028 * available to modify the access protection of a memory mapped file.
2029 */
2030#define HAS_MPROTECT /**/
2031
88fdc172
SB
2032/* HAS_MSG:
2033 * This symbol, if defined, indicates that the entire msg*(2) library is
2034 * supported (IPC mechanism based on message queues).
2035 */
2036#define HAS_MSG /**/
2037
fd550ca5
MB
2038/* HAS_STRUCT_MSGHDR:
2039 * This symbol, if defined, indicates that the struct msghdr
2040 * is supported.
88fdc172 2041 */
fd550ca5 2042#define HAS_STRUCT_MSGHDR /**/
88fdc172 2043
fd550ca5
MB
2044/* HAS_OFF64_T:
2045 * This symbol will be defined if the C compiler supports off64_t.
88fdc172 2046 */
fd550ca5 2047/*#define HAS_OFF64_T / **/
88fdc172 2048
fd550ca5
MB
2049/* HAS_OPEN3:
2050 * This manifest constant lets the C program know that the three
2051 * argument form of open(2) is available.
88fdc172 2052 */
fd550ca5 2053#define HAS_OPEN3 /**/
88fdc172 2054
fd550ca5
MB
2055/* OLD_PTHREAD_CREATE_JOINABLE:
2056 * This symbol, if defined, indicates how to create pthread
2057 * in joinable (aka undetached) state. NOTE: not defined
2058 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
2059 * (the new version of the constant).
2060 * If defined, known values are PTHREAD_CREATE_UNDETACHED
2061 * and __UNDETACHED.
88fdc172 2062 */
fd550ca5 2063/*#define OLD_PTHREAD_CREATE_JOINABLE / **/
88fdc172 2064
fd550ca5
MB
2065/* HAS_PTHREAD_YIELD:
2066 * This symbol, if defined, indicates that the pthread_yield
2067 * routine is available to yield the execution of the current
2068 * thread. sched_yield is preferable to pthread_yield.
88fdc172 2069 */
fd550ca5
MB
2070/* SCHED_YIELD:
2071 * This symbol defines the way to yield the execution of
2072 * the current thread. Known ways are sched_yield,
2073 * pthread_yield, and pthread_yield with NULL.
2074 */
2075/* HAS_SCHED_YIELD:
2076 * This symbol, if defined, indicates that the sched_yield
2077 * routine is available to yield the execution of the current
2078 * thread. sched_yield is preferable to pthread_yield.
2079 */
3a021565 2080#define HAS_PTHREAD_YIELD /**/
fd550ca5
MB
2081#define SCHED_YIELD sched_yield() /**/
2082#define HAS_SCHED_YIELD /**/
88fdc172 2083
fd550ca5
MB
2084/* HAS_RANDOM_R:
2085 * This symbol, if defined, indicates that the random_r routine
2086 * is available to random re-entrantly.
88fdc172 2087 */
fd550ca5
MB
2088/* RANDOM_R_PROTO:
2089 * This symbol encodes the prototype of random_r.
2090 * It is zero if d_random_r is undef, and one of the
2091 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r
2092 * is defined.
2093 */
2094/*#define HAS_RANDOM_R / **/
2095#define RANDOM_R_PROTO 0 /**/
88fdc172 2096
fd550ca5
MB
2097/* HAS_READDIR_R:
2098 * This symbol, if defined, indicates that the readdir_r routine
2099 * is available to readdir re-entrantly.
88fdc172 2100 */
fd550ca5
MB
2101/* READDIR_R_PROTO:
2102 * This symbol encodes the prototype of readdir_r.
2103 * It is zero if d_readdir_r is undef, and one of the
2104 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r
2105 * is defined.
88fdc172 2106 */
fd550ca5
MB
2107/*#define HAS_READDIR_R / **/
2108#define READDIR_R_PROTO 0 /**/
88fdc172 2109
fd550ca5
MB
2110/* HAS_READV:
2111 * This symbol, if defined, indicates that the readv routine is
2112 * available to do gather reads. You will also need <sys/uio.h>
2113 * and there I_SYSUIO.
88fdc172 2114 */
fd550ca5 2115#define HAS_READV /**/
88fdc172 2116
fd550ca5
MB
2117/* HAS_RECVMSG:
2118 * This symbol, if defined, indicates that the recvmsg routine is
2119 * available to send structured socket messages.
ff935051 2120 */
fd550ca5 2121#define HAS_RECVMSG /**/
ff935051 2122
fd550ca5
MB
2123/* HAS_SAFE_BCOPY:
2124 * This symbol, if defined, indicates that the bcopy routine is available
2125 * to copy potentially overlapping memory blocks. Normally, you should
2126 * probably use memmove() or memcpy(). If neither is defined, roll your
2127 * own version.
ff935051 2128 */
fd550ca5 2129/*#define HAS_SAFE_BCOPY / **/
ff935051 2130
fd550ca5
MB
2131/* HAS_SAFE_MEMCPY:
2132 * This symbol, if defined, indicates that the memcpy routine is available
2133 * to copy potentially overlapping memory blocks. If you need to
2134 * copy overlapping memory blocks, you should check HAS_MEMMOVE and
2135 * use memmove() instead, if available.
ff935051 2136 */
fd550ca5 2137/*#define HAS_SAFE_MEMCPY / **/
ff935051 2138
fd550ca5
MB
2139/* HAS_SANE_MEMCMP:
2140 * This symbol, if defined, indicates that the memcmp routine is available
2141 * and can be used to compare relative magnitudes of chars with their high
2142 * bits set. If it is not defined, roll your own version.
10bc17b6 2143 */
fd550ca5
MB
2144#define HAS_SANE_MEMCMP /**/
2145
2146/* HAS_SBRK_PROTO:
2147 * This symbol, if defined, indicates that the system provides
2148 * a prototype for the sbrk() function. Otherwise, it is up
2149 * to the program to supply one. Good guesses are
2150 * extern void* sbrk(int);
2151 * extern void* sbrk(size_t);
10bc17b6 2152 */
fd550ca5
MB
2153#define HAS_SBRK_PROTO /**/
2154
2155/* HAS_SEM:
2156 * This symbol, if defined, indicates that the entire sem*(2) library is
2157 * supported.
2158 */
2159#define HAS_SEM /**/
2160
2161/* HAS_SENDMSG:
2162 * This symbol, if defined, indicates that the sendmsg routine is
2163 * available to send structured socket messages.
2164 */
2165#define HAS_SENDMSG /**/
2166
2167/* HAS_SETGRENT:
2168 * This symbol, if defined, indicates that the setgrent routine is
2169 * available for initializing sequential access of the group database.
2170 */
2171#define HAS_SETGRENT /**/
2172
2173/* HAS_SETGRENT_R:
2174 * This symbol, if defined, indicates that the setgrent_r routine
2175 * is available to setgrent re-entrantly.
2176 */
2177/* SETGRENT_R_PROTO:
2178 * This symbol encodes the prototype of setgrent_r.
2179 * It is zero if d_setgrent_r is undef, and one of the
2180 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r
2181 * is defined.
2182 */
2183/*#define HAS_SETGRENT_R / **/
2184#define SETGRENT_R_PROTO 0 /**/
2185
2186/* HAS_SETGROUPS:
2187 * This symbol, if defined, indicates that the setgroups() routine is
2188 * available to set the list of process groups. If unavailable, multiple
2189 * groups are probably not supported.
2190 */
2191#define HAS_SETGROUPS /**/
2192
2193/* HAS_SETHOSTENT:
2194 * This symbol, if defined, indicates that the sethostent() routine is
2195 * available.
2196 */
2197#define HAS_SETHOSTENT /**/
2198
2199/* HAS_SETITIMER:
2200 * This symbol, if defined, indicates that the setitimer routine is
2201 * available to set interval timers.
2202 */
2203#define HAS_SETITIMER /**/
2204
2205/* HAS_SETNETENT:
2206 * This symbol, if defined, indicates that the setnetent() routine is
2207 * available.
2208 */
2209#define HAS_SETNETENT /**/
2210
2211/* HAS_SETPROTOENT:
2212 * This symbol, if defined, indicates that the setprotoent() routine is
2213 * available.
2214 */
2215#define HAS_SETPROTOENT /**/
2216
2217/* HAS_SETPGRP:
2218 * This symbol, if defined, indicates that the setpgrp routine is
2219 * available to set the current process group.
2220 */
2221/* USE_BSD_SETPGRP:
2222 * This symbol, if defined, indicates that setpgrp needs two
2223 * arguments whereas USG one needs none. See also HAS_SETPGID
2224 * for a POSIX interface.
2225 */
2226#define HAS_SETPGRP /**/
2227/*#define USE_BSD_SETPGRP / **/
2228
2229/* HAS_SETPROCTITLE:
2230 * This symbol, if defined, indicates that the setproctitle routine is
2231 * available to set process title.
2232 */
2233/*#define HAS_SETPROCTITLE / **/
2234
2235/* HAS_SETPWENT:
2236 * This symbol, if defined, indicates that the setpwent routine is
2237 * available for initializing sequential access of the passwd database.
2238 */
2239#define HAS_SETPWENT /**/
2240
2241/* HAS_SETPWENT_R:
2242 * This symbol, if defined, indicates that the setpwent_r routine
2243 * is available to setpwent re-entrantly.
2244 */
2245/* SETPWENT_R_PROTO:
2246 * This symbol encodes the prototype of setpwent_r.
2247 * It is zero if d_setpwent_r is undef, and one of the
2248 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r
2249 * is defined.
2250 */
2251/*#define HAS_SETPWENT_R / **/
2252#define SETPWENT_R_PROTO 0 /**/
2253
2254/* HAS_SETSERVENT:
2255 * This symbol, if defined, indicates that the setservent() routine is
2256 * available.
2257 */
2258#define HAS_SETSERVENT /**/
2259
2260/* HAS_SETVBUF:
2261 * This symbol, if defined, indicates that the setvbuf routine is
2262 * available to change buffering on an open stdio stream.
2263 * to a line-buffered mode.
2264 */
2265#define HAS_SETVBUF /**/
2266
2267/* USE_SFIO:
2268 * This symbol, if defined, indicates that sfio should
2269 * be used.
2270 */
2271/*#define USE_SFIO / **/
2272
2273/* HAS_SHM:
2274 * This symbol, if defined, indicates that the entire shm*(2) library is
2275 * supported.
2276 */
2277#define HAS_SHM /**/
2278
2279/* HAS_SIGACTION:
2280 * This symbol, if defined, indicates that Vr4's sigaction() routine
2281 * is available.
2282 */
2283#define HAS_SIGACTION /**/
2284
2285/* HAS_SIGSETJMP:
2286 * This variable indicates to the C program that the sigsetjmp()
2287 * routine is available to save the calling process's registers
2288 * and stack environment for later use by siglongjmp(), and
2289 * to optionally save the process's signal mask. See
2290 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
2291 */
2292/* Sigjmp_buf:
2293 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
2294 */
2295/* Sigsetjmp:
2296 * This macro is used in the same way as sigsetjmp(), but will invoke
2297 * traditional setjmp() if sigsetjmp isn't available.
2298 * See HAS_SIGSETJMP.
2299 */
2300/* Siglongjmp:
2301 * This macro is used in the same way as siglongjmp(), but will invoke
2302 * traditional longjmp() if siglongjmp isn't available.
2303 * See HAS_SIGSETJMP.
2304 */
2305#define HAS_SIGSETJMP /**/
2306#ifdef HAS_SIGSETJMP
2307#define Sigjmp_buf sigjmp_buf
2308#define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
2309#define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
2310#else
2311#define Sigjmp_buf jmp_buf
2312#define Sigsetjmp(buf,save_mask) setjmp((buf))
2313#define Siglongjmp(buf,retval) longjmp((buf),(retval))
2314#endif
10bc17b6 2315
a1e6f3ef
RGS
2316/* USE_SITECUSTOMIZE:
2317 * This symbol, if defined, indicates that sitecustomize should
2318 * be used.
2319 */
3a021565 2320#ifndef USE_SITECUSTOMIZE
a1e6f3ef 2321/*#define USE_SITECUSTOMIZE / **/
3a021565 2322#endif
a1e6f3ef
RGS
2323
2324/* HAS_SNPRINTF:
2325 * This symbol, if defined, indicates that the snprintf () library
2326 * function is available for use.
2327 */
2328/* HAS_VSNPRINTF:
2329 * This symbol, if defined, indicates that the vsnprintf () library
2330 * function is available for use.
2331 */
2332#define HAS_SNPRINTF /**/
2333#define HAS_VSNPRINTF /**/
2334
88fdc172
SB
2335/* HAS_SOCKET:
2336 * This symbol, if defined, indicates that the BSD socket interface is
2337 * supported.
ff935051 2338 */
88fdc172
SB
2339/* HAS_SOCKETPAIR:
2340 * This symbol, if defined, indicates that the BSD socketpair() call is
2341 * supported.
b363b713 2342 */
88fdc172
SB
2343/* HAS_MSG_CTRUNC:
2344 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
2345 * Checking just with #ifdef might not be enough because this symbol
2346 * has been known to be an enum.
a7fea17f 2347 */
88fdc172
SB
2348/* HAS_MSG_DONTROUTE:
2349 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
2350 * Checking just with #ifdef might not be enough because this symbol
2351 * has been known to be an enum.
921b2963 2352 */
88fdc172
SB
2353/* HAS_MSG_OOB:
2354 * This symbol, if defined, indicates that the MSG_OOB is supported.
2355 * Checking just with #ifdef might not be enough because this symbol
2356 * has been known to be an enum.
758a5d79 2357 */
88fdc172
SB
2358/* HAS_MSG_PEEK:
2359 * This symbol, if defined, indicates that the MSG_PEEK is supported.
2360 * Checking just with #ifdef might not be enough because this symbol
2361 * has been known to be an enum.
758a5d79 2362 */
88fdc172
SB
2363/* HAS_MSG_PROXY:
2364 * This symbol, if defined, indicates that the MSG_PROXY is supported.
2365 * Checking just with #ifdef might not be enough because this symbol
2366 * has been known to be an enum.
b6592ff0 2367 */
88fdc172
SB
2368/* HAS_SCM_RIGHTS:
2369 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
2370 * Checking just with #ifdef might not be enough because this symbol
2371 * has been known to be an enum.
758a5d79 2372 */
88fdc172
SB
2373#define HAS_SOCKET /**/
2374#define HAS_SOCKETPAIR /**/
2375#define HAS_MSG_CTRUNC /**/
2376#define HAS_MSG_DONTROUTE /**/
2377#define HAS_MSG_OOB /**/
2378#define HAS_MSG_PEEK /**/
60a7d337 2379#define HAS_MSG_PROXY /**/
88fdc172 2380#define HAS_SCM_RIGHTS /**/
758a5d79 2381
fd550ca5
MB
2382/* HAS_SOCKS5_INIT:
2383 * This symbol, if defined, indicates that the socks5_init routine is
2384 * available to initialize SOCKS 5.
2385 */
2386/*#define HAS_SOCKS5_INIT / **/
2387
2388/* HAS_SQRTL:
2389 * This symbol, if defined, indicates that the sqrtl routine is
2390 * available to do long double square roots.
2391 */
2392#define HAS_SQRTL /**/
2393
2394/* HAS_SRAND48_R:
2395 * This symbol, if defined, indicates that the srand48_r routine
2396 * is available to srand48 re-entrantly.
2397 */
2398/* SRAND48_R_PROTO:
2399 * This symbol encodes the prototype of srand48_r.
2400 * It is zero if d_srand48_r is undef, and one of the
2401 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r
2402 * is defined.
2403 */
2404/*#define HAS_SRAND48_R / **/
2405#define SRAND48_R_PROTO 0 /**/
2406
2407/* HAS_SRANDOM_R:
2408 * This symbol, if defined, indicates that the srandom_r routine
2409 * is available to srandom re-entrantly.
2410 */
2411/* SRANDOM_R_PROTO:
2412 * This symbol encodes the prototype of srandom_r.
2413 * It is zero if d_srandom_r is undef, and one of the
2414 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srandom_r
2415 * is defined.
2416 */
2417/*#define HAS_SRANDOM_R / **/
2418#define SRANDOM_R_PROTO 0 /**/
2419
88fdc172
SB
2420/* USE_STAT_BLOCKS:
2421 * This symbol is defined if this system has a stat structure declaring
2422 * st_blksize and st_blocks.
758a5d79 2423 */
88fdc172
SB
2424#ifndef USE_STAT_BLOCKS
2425#define USE_STAT_BLOCKS /**/
2426#endif
758a5d79 2427
fd550ca5
MB
2428/* HAS_STRUCT_STATFS_F_FLAGS:
2429 * This symbol, if defined, indicates that the struct statfs
2430 * does have the f_flags member containing the mount flags of
2431 * the filesystem containing the file.
2432 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
2433 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
2434 * have statfs() and struct statfs, they have ustat() and getmnt()
2435 * with struct ustat and struct fs_data.
a3540c92 2436 */
fd550ca5 2437/*#define HAS_STRUCT_STATFS_F_FLAGS / **/
a3540c92 2438
fd550ca5
MB
2439/* HAS_STRUCT_STATFS:
2440 * This symbol, if defined, indicates that the struct statfs
2441 * to do statfs() is supported.
ff935051 2442 */
fd550ca5
MB
2443#define HAS_STRUCT_STATFS /**/
2444
2445/* HAS_FSTATVFS:
2446 * This symbol, if defined, indicates that the fstatvfs routine is
2447 * available to stat filesystems by file descriptors.
2448 */
2449#define HAS_FSTATVFS /**/
2450
2451/* USE_STDIO_PTR:
2452 * This symbol is defined if the _ptr and _cnt fields (or similar)
2453 * of the stdio FILE structure can be used to access the stdio buffer
2454 * for a file handle. If this is defined, then the FILE_ptr(fp)
2455 * and FILE_cnt(fp) macros will also be defined and should be used
2456 * to access these fields.
2457 */
2458/* FILE_ptr:
2459 * This macro is used to access the _ptr field (or equivalent) of the
2460 * FILE structure pointed to by its argument. This macro will always be
2461 * defined if USE_STDIO_PTR is defined.
2462 */
2463/* STDIO_PTR_LVALUE:
2464 * This symbol is defined if the FILE_ptr macro can be used as an
2465 * lvalue.
2466 */
2467/* FILE_cnt:
2468 * This macro is used to access the _cnt field (or equivalent) of the
2469 * FILE structure pointed to by its argument. This macro will always be
2470 * defined if USE_STDIO_PTR is defined.
2471 */
2472/* STDIO_CNT_LVALUE:
2473 * This symbol is defined if the FILE_cnt macro can be used as an
2474 * lvalue.
2475 */
2476/* STDIO_PTR_LVAL_SETS_CNT:
2477 * This symbol is defined if using the FILE_ptr macro as an lvalue
2478 * to increase the pointer by n has the side effect of decreasing the
2479 * value of File_cnt(fp) by n.
2480 */
2481/* STDIO_PTR_LVAL_NOCHANGE_CNT:
2482 * This symbol is defined if using the FILE_ptr macro as an lvalue
2483 * to increase the pointer by n leaves File_cnt(fp) unchanged.
2484 */
2485/*#define USE_STDIO_PTR / **/
2486#ifdef USE_STDIO_PTR
2487#define FILE_ptr(fp) ((fp)->_IO_read_ptr)
2488/*#define STDIO_PTR_LVALUE / **/
2489#define FILE_cnt(fp) ((fp)->_IO_read_end - (fp)->_IO_read_ptr)
2490/*#define STDIO_CNT_LVALUE / **/
2491/*#define STDIO_PTR_LVAL_SETS_CNT / **/
2492/*#define STDIO_PTR_LVAL_NOCHANGE_CNT / **/
2493#endif
2494
2495/* USE_STDIO_BASE:
2496 * This symbol is defined if the _base field (or similar) of the
2497 * stdio FILE structure can be used to access the stdio buffer for
2498 * a file handle. If this is defined, then the FILE_base(fp) macro
2499 * will also be defined and should be used to access this field.
2500 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
2501 * to determine the number of bytes in the buffer. USE_STDIO_BASE
2502 * will never be defined unless USE_STDIO_PTR is.
2503 */
2504/* FILE_base:
2505 * This macro is used to access the _base field (or equivalent) of the
2506 * FILE structure pointed to by its argument. This macro will always be
2507 * defined if USE_STDIO_BASE is defined.
2508 */
2509/* FILE_bufsiz:
2510 * This macro is used to determine the number of bytes in the I/O
2511 * buffer pointed to by _base field (or equivalent) of the FILE
2512 * structure pointed to its argument. This macro will always be defined
2513 * if USE_STDIO_BASE is defined.
2514 */
2515/*#define USE_STDIO_BASE / **/
2516#ifdef USE_STDIO_BASE
2517#define FILE_base(fp) ((fp)->_IO_read_base)
2518#define FILE_bufsiz(fp) ((fp)->_IO_read_end - (fp)->_IO_read_base)
2519#endif
2520
2521/* HAS_STRERROR:
2522 * This symbol, if defined, indicates that the strerror routine is
2523 * available to translate error numbers to strings. See the writeup
2524 * of Strerror() in this file before you try to define your own.
2525 */
2526/* HAS_SYS_ERRLIST:
2527 * This symbol, if defined, indicates that the sys_errlist array is
2528 * available to translate error numbers to strings. The extern int
2529 * sys_nerr gives the size of that table.
2530 */
2531/* Strerror:
2532 * This preprocessor symbol is defined as a macro if strerror() is
2533 * not available to translate error numbers to strings but sys_errlist[]
2534 * array is there.
2535 */
2536#define HAS_STRERROR /**/
2537#define HAS_SYS_ERRLIST /**/
2538#define Strerror(e) strerror(e)
2539
2540/* HAS_STRERROR_R:
2541 * This symbol, if defined, indicates that the strerror_r routine
2542 * is available to strerror re-entrantly.
2543 */
2544/* STRERROR_R_PROTO:
2545 * This symbol encodes the prototype of strerror_r.
2546 * It is zero if d_strerror_r is undef, and one of the
2547 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r
2548 * is defined.
2549 */
2550/*#define HAS_STRERROR_R / **/
2551#define STRERROR_R_PROTO 0 /**/
2552
2553/* HAS_STRTOLD:
2554 * This symbol, if defined, indicates that the strtold routine is
2555 * available to convert strings to long doubles.
2556 */
2557#define HAS_STRTOLD /**/
2558
2559/* HAS_STRTOLL:
2560 * This symbol, if defined, indicates that the strtoll routine is
2561 * available to convert strings to long longs.
2562 */
2563#define HAS_STRTOLL /**/
2564
2565/* HAS_STRTOQ:
2566 * This symbol, if defined, indicates that the strtoq routine is
2567 * available to convert strings to long longs (quads).
2568 */
2569#define HAS_STRTOQ /**/
2570
2571/* HAS_STRTOUL:
2572 * This symbol, if defined, indicates that the strtoul routine is
2573 * available to provide conversion of strings to unsigned long.
2574 */
2575#define HAS_STRTOUL /**/
2576
2577/* HAS_STRTOULL:
2578 * This symbol, if defined, indicates that the strtoull routine is
2579 * available to convert strings to unsigned long longs.
2580 */
2581#define HAS_STRTOULL /**/
2582
2583/* HAS_STRTOUQ:
2584 * This symbol, if defined, indicates that the strtouq routine is
2585 * available to convert strings to unsigned long longs (quads).
2586 */
2587#define HAS_STRTOUQ /**/
2588
2589/* HAS_TELLDIR_PROTO:
2590 * This symbol, if defined, indicates that the system provides
2591 * a prototype for the telldir() function. Otherwise, it is up
2592 * to the program to supply one. A good guess is
2593 * extern long telldir(DIR*);
2594 */
2595#define HAS_TELLDIR_PROTO /**/
2596
2597/* HAS_TIME:
2598 * This symbol, if defined, indicates that the time() routine exists.
2599 */
2600/* Time_t:
2601 * This symbol holds the type returned by time(). It can be long,
2602 * or time_t on BSD sites (in which case <sys/types.h> should be
2603 * included).
2604 */
2605#define HAS_TIME /**/
2606#define Time_t time_t /* Time type */
2607
2608/* HAS_TIMES:
2609 * This symbol, if defined, indicates that the times() routine exists.
2610 * Note that this became obsolete on some systems (SUNOS), which now
2611 * use getrusage(). It may be necessary to include <sys/times.h>.
2612 */
2613#define HAS_TIMES /**/
2614
2615/* HAS_TMPNAM_R:
2616 * This symbol, if defined, indicates that the tmpnam_r routine
2617 * is available to tmpnam re-entrantly.
2618 */
2619/* TMPNAM_R_PROTO:
2620 * This symbol encodes the prototype of tmpnam_r.
2621 * It is zero if d_tmpnam_r is undef, and one of the
2622 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_tmpnam_r
2623 * is defined.
2624 */
2625/*#define HAS_TMPNAM_R / **/
2626#define TMPNAM_R_PROTO 0 /**/
2627
2628/* HAS_UALARM:
2629 * This symbol, if defined, indicates that the ualarm routine is
2630 * available to do alarms with microsecond granularity.
2631 */
2632#define HAS_UALARM /**/
ff935051 2633
88fdc172
SB
2634/* HAS_UNION_SEMUN:
2635 * This symbol, if defined, indicates that the union semun is
2636 * defined by including <sys/sem.h>. If not, the user code
2637 * probably needs to define it as:
2638 * union semun {
2639 * int val;
2640 * struct semid_ds *buf;
2641 * unsigned short *array;
2642 * }
ff935051 2643 */
88fdc172
SB
2644/* USE_SEMCTL_SEMUN:
2645 * This symbol, if defined, indicates that union semun is
2646 * used for semctl IPC_STAT.
ff935051 2647 */
88fdc172
SB
2648/* USE_SEMCTL_SEMID_DS:
2649 * This symbol, if defined, indicates that struct semid_ds * is
2650 * used for semctl IPC_STAT.
2651 */
2652/*#define HAS_UNION_SEMUN / **/
2653#define USE_SEMCTL_SEMUN /**/
2654#define USE_SEMCTL_SEMID_DS /**/
c890dc6c 2655
fd550ca5
MB
2656/* HAS_UNORDERED:
2657 * This symbol, if defined, indicates that the unordered routine is
2658 * available to check whether two doubles are unordered
2659 * (effectively: whether either of them is NaN)
2660 */
2661/*#define HAS_UNORDERED / **/
2662
a1e6f3ef
RGS
2663/* HAS_UNSETENV:
2664 * This symbol, if defined, indicates that the unsetenv () routine is
2665 * available for use.
2666 */
2667#define HAS_UNSETENV /**/
2668
fd550ca5
MB
2669/* HAS_USTAT:
2670 * This symbol, if defined, indicates that the ustat system call is
2671 * available to query file system statistics by dev_t.
2672 */
2673#define HAS_USTAT /**/
2674
88fdc172
SB
2675/* HAS_VFORK:
2676 * This symbol, if defined, indicates that vfork() exists.
a7fea17f 2677 */
88fdc172 2678/*#define HAS_VFORK / **/
a7fea17f 2679
88fdc172
SB
2680/* Signal_t:
2681 * This symbol's value is either "void" or "int", corresponding to the
2682 * appropriate return type of a signal handler. Thus, you can declare
2683 * a signal handler using "Signal_t (*handler)()", and define the
2684 * handler using "Signal_t handler(sig)".
ff935051 2685 */
88fdc172 2686#define Signal_t void /* Signal handler's return type */
ff935051 2687
fd550ca5
MB
2688/* HAS_VPRINTF:
2689 * This symbol, if defined, indicates that the vprintf routine is available
2690 * to printf with a pointer to an argument list. If unavailable, you
2691 * may need to write your own, probably in terms of _doprnt().
4633a7c4 2692 */
fd550ca5
MB
2693/* USE_CHAR_VSPRINTF:
2694 * This symbol is defined if this system has vsprintf() returning type
2695 * (char*). The trend seems to be to declare it as "int vsprintf()". It
2696 * is up to the package author to declare vsprintf correctly based on the
2697 * symbol.
49dabb45 2698 */
fd550ca5
MB
2699#define HAS_VPRINTF /**/
2700#define USE_CHAR_VSPRINTF /**/
2701
2702/* HAS_WRITEV:
2703 * This symbol, if defined, indicates that the writev routine is
2704 * available to do scatter writes.
3813c136 2705 */
fd550ca5 2706#define HAS_WRITEV /**/
3813c136 2707
fd550ca5
MB
2708/* USE_DYNAMIC_LOADING:
2709 * This symbol, if defined, indicates that dynamic loading of
2710 * some sort is available.
52c7d5b6 2711 */
fd550ca5 2712#define USE_DYNAMIC_LOADING /**/
52c7d5b6 2713
fd550ca5
MB
2714/* DOUBLESIZE:
2715 * This symbol contains the size of a double, so that the C preprocessor
2716 * can make decisions based on it.
d103522a 2717 */
fd550ca5 2718#define DOUBLESIZE 8 /**/
d103522a 2719
fd550ca5
MB
2720/* EBCDIC:
2721 * This symbol, if defined, indicates that this system uses
2722 * EBCDIC encoding.
10bc17b6 2723 */
fd550ca5
MB
2724/*#define EBCDIC / **/
2725
2726/* FFLUSH_NULL:
2727 * This symbol, if defined, tells that fflush(NULL) does flush
2728 * all pending stdio output.
2729 */
2730/* FFLUSH_ALL:
2731 * This symbol, if defined, tells that to flush
2732 * all pending stdio output one must loop through all
2733 * the stdio file handles stored in an array and fflush them.
2734 * Note that if fflushNULL is defined, fflushall will not
2735 * even be probed for and will be left undefined.
2736 */
2737#define FFLUSH_NULL /**/
2738/*#define FFLUSH_ALL / **/
2739
2740/* Fpos_t:
2741 * This symbol holds the type used to declare file positions in libc.
2742 * It can be fpos_t, long, uint, etc... It may be necessary to include
2743 * <sys/types.h> to get any typedef'ed information.
2744 */
2745#define Fpos_t fpos_t /* File position type */
2746
2747/* Gid_t_f:
2748 * This symbol defines the format string used for printing a Gid_t.
2749 */
2750#define Gid_t_f "lu" /**/
2751
2752/* Gid_t_sign:
2753 * This symbol holds the signedess of a Gid_t.
2754 * 1 for unsigned, -1 for signed.
2755 */
2756#define Gid_t_sign 1 /* GID sign */
2757
2758/* Gid_t_size:
2759 * This symbol holds the size of a Gid_t in bytes.
2760 */
2761#define Gid_t_size 4 /* GID size */
2762
2763/* Gid_t:
2764 * This symbol holds the return type of getgid() and the type of
2765 * argument to setrgid() and related functions. Typically,
2766 * it is the type of group ids in the kernel. It can be int, ushort,
2767 * gid_t, etc... It may be necessary to include <sys/types.h> to get
2768 * any typedef'ed information.
2769 */
2770#define Gid_t gid_t /* Type for getgid(), etc... */
2771
2772/* Groups_t:
2773 * This symbol holds the type used for the second argument to
2774 * getgroups() and setgroups(). Usually, this is the same as
2775 * gidtype (gid_t) , but sometimes it isn't.
2776 * It can be int, ushort, gid_t, etc...
2777 * It may be necessary to include <sys/types.h> to get any
2778 * typedef'ed information. This is only required if you have
2779 * getgroups() or setgroups()..
2780 */
2781#if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
2782#define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
2783#endif
2784
2785/* DB_Prefix_t:
2786 * This symbol contains the type of the prefix structure element
2787 * in the <db.h> header file. In older versions of DB, it was
2788 * int, while in newer ones it is u_int32_t.
2789 */
2790/* DB_Hash_t:
2791 * This symbol contains the type of the prefix structure element
2792 * in the <db.h> header file. In older versions of DB, it was
2793 * int, while in newer ones it is size_t.
2794 */
2795/* DB_VERSION_MAJOR_CFG:
2796 * This symbol, if defined, defines the major version number of
2797 * Berkeley DB found in the <db.h> header when Perl was configured.
2798 */
2799/* DB_VERSION_MINOR_CFG:
2800 * This symbol, if defined, defines the minor version number of
2801 * Berkeley DB found in the <db.h> header when Perl was configured.
2802 * For DB version 1 this is always 0.
2803 */
2804/* DB_VERSION_PATCH_CFG:
2805 * This symbol, if defined, defines the patch version number of
2806 * Berkeley DB found in the <db.h> header when Perl was configured.
2807 * For DB version 1 this is always 0.
2808 */
2809#define DB_Hash_t u_int32_t /**/
2810#define DB_Prefix_t size_t /**/
3a021565
MB
2811#define DB_VERSION_MAJOR_CFG 4 /**/
2812#define DB_VERSION_MINOR_CFG 3 /**/
2813#define DB_VERSION_PATCH_CFG 27 /**/
fd550ca5
MB
2814
2815/* I_FP_CLASS:
2816 * This symbol, if defined, indicates that <fp_class.h> exists and
2817 * should be included.
2818 */
2819/*#define I_FP_CLASS / **/
2820
2821/* I_GRP:
2822 * This symbol, if defined, indicates to the C program that it should
2823 * include <grp.h>.
2824 */
2825/* GRPASSWD:
2826 * This symbol, if defined, indicates to the C program that struct group
2827 * in <grp.h> contains gr_passwd.
2828 */
2829#define I_GRP /**/
2830#define GRPASSWD /**/
2831
2832/* I_IEEEFP:
2833 * This symbol, if defined, indicates that <ieeefp.h> exists and
2834 * should be included.
2835 */
2836/*#define I_IEEEFP / **/
2837
2838/* I_INTTYPES:
2839 * This symbol, if defined, indicates to the C program that it should
2840 * include <inttypes.h>.
2841 */
2842#define I_INTTYPES /**/
2843
2844/* I_LIBUTIL:
2845 * This symbol, if defined, indicates that <libutil.h> exists and
2846 * should be included.
2847 */
2848/*#define I_LIBUTIL / **/
2849
2850/* I_MACH_CTHREADS:
2851 * This symbol, if defined, indicates to the C program that it should
2852 * include <mach/cthreads.h>.
2853 */
2854/*#define I_MACH_CTHREADS / **/
2855
2856/* I_MNTENT:
2857 * This symbol, if defined, indicates that <mntent.h> exists and
2858 * should be included.
2859 */
2860#define I_MNTENT /**/
2861
2862/* I_NETDB:
2863 * This symbol, if defined, indicates that <netdb.h> exists and
2864 * should be included.
2865 */
2866#define I_NETDB /**/
2867
2868/* I_NETINET_TCP:
2869 * This symbol, if defined, indicates to the C program that it should
2870 * include <netinet/tcp.h>.
2871 */
2872#define I_NETINET_TCP /**/
2873
2874/* I_POLL:
2875 * This symbol, if defined, indicates that <poll.h> exists and
2876 * should be included.
2877 */
2878#define I_POLL /**/
2879
2880/* I_PROT:
2881 * This symbol, if defined, indicates that <prot.h> exists and
2882 * should be included.
2883 */
2884/*#define I_PROT / **/
2885
2886/* I_PTHREAD:
2887 * This symbol, if defined, indicates to the C program that it should
2888 * include <pthread.h>.
2889 */
2890#define I_PTHREAD /**/
2891
2892/* I_PWD:
2893 * This symbol, if defined, indicates to the C program that it should
2894 * include <pwd.h>.
2895 */
2896/* PWQUOTA:
88fdc172
SB
2897 * This symbol, if defined, indicates to the C program that struct passwd
2898 * contains pw_quota.
10bc17b6 2899 */
88fdc172
SB
2900/* PWAGE:
2901 * This symbol, if defined, indicates to the C program that struct passwd
2902 * contains pw_age.
10bc17b6 2903 */
88fdc172
SB
2904/* PWCHANGE:
2905 * This symbol, if defined, indicates to the C program that struct passwd
2906 * contains pw_change.
10bc17b6 2907 */
88fdc172
SB
2908/* PWCLASS:
2909 * This symbol, if defined, indicates to the C program that struct passwd
2910 * contains pw_class.
2911 */
2912/* PWEXPIRE:
2913 * This symbol, if defined, indicates to the C program that struct passwd
2914 * contains pw_expire.
2915 */
2916/* PWCOMMENT:
2917 * This symbol, if defined, indicates to the C program that struct passwd
2918 * contains pw_comment.
2919 */
2920/* PWGECOS:
2921 * This symbol, if defined, indicates to the C program that struct passwd
2922 * contains pw_gecos.
2923 */
2924/* PWPASSWD:
2925 * This symbol, if defined, indicates to the C program that struct passwd
2926 * contains pw_passwd.
2927 */
2928#define I_PWD /**/
60a7d337 2929/*#define PWQUOTA / **/
88fdc172
SB
2930/*#define PWAGE / **/
2931/*#define PWCHANGE / **/
2932/*#define PWCLASS / **/
2933/*#define PWEXPIRE / **/
60a7d337 2934/*#define PWCOMMENT / **/
88fdc172
SB
2935#define PWGECOS /**/
2936#define PWPASSWD /**/
10bc17b6 2937
fd550ca5
MB
2938/* I_SHADOW:
2939 * This symbol, if defined, indicates that <shadow.h> exists and
88fdc172 2940 * should be included.
10bc17b6 2941 */
fd550ca5 2942#define I_SHADOW /**/
88fdc172 2943
fd550ca5
MB
2944/* I_SOCKS:
2945 * This symbol, if defined, indicates that <socks.h> exists and
2946 * should be included.
10bc17b6 2947 */
fd550ca5
MB
2948/*#define I_SOCKS / **/
2949
2950/* I_SUNMATH:
2951 * This symbol, if defined, indicates that <sunmath.h> exists and
2952 * should be included.
88fdc172 2953 */
fd550ca5 2954/*#define I_SUNMATH / **/
10bc17b6 2955
fd550ca5
MB
2956/* I_SYSLOG:
2957 * This symbol, if defined, indicates that <syslog.h> exists and
2958 * should be included.
dd64f1c3 2959 */
fd550ca5
MB
2960#define I_SYSLOG /**/
2961
2962/* I_SYSMODE:
2963 * This symbol, if defined, indicates that <sys/mode.h> exists and
2964 * should be included.
88fdc172 2965 */
fd550ca5 2966/*#define I_SYSMODE / **/
dd64f1c3 2967
fd550ca5
MB
2968/* I_SYS_MOUNT:
2969 * This symbol, if defined, indicates that <sys/mount.h> exists and
2970 * should be included.
774d564b 2971 */
fd550ca5 2972#define I_SYS_MOUNT /**/
774d564b 2973
fd550ca5
MB
2974/* I_SYS_STATFS:
2975 * This symbol, if defined, indicates that <sys/statfs.h> exists.
d103522a 2976 */
fd550ca5
MB
2977#define I_SYS_STATFS /**/
2978
2979/* I_SYS_STATVFS:
2980 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
2981 * should be included.
88fdc172 2982 */
fd550ca5 2983#define I_SYS_STATVFS /**/
d103522a 2984
fd550ca5
MB
2985/* I_SYSUIO:
2986 * This symbol, if defined, indicates that <sys/uio.h> exists and
2987 * should be included.
d103522a 2988 */
fd550ca5 2989#define I_SYSUIO /**/
88fdc172 2990
fd550ca5
MB
2991/* I_SYSUTSNAME:
2992 * This symbol, if defined, indicates that <sys/utsname.h> exists and
2993 * should be included.
78691af5 2994 */
fd550ca5 2995#define I_SYSUTSNAME /**/
af4c28eb 2996
fd550ca5
MB
2997/* I_SYS_VFS:
2998 * This symbol, if defined, indicates that <sys/vfs.h> exists and
2999 * should be included.
ff935051 3000 */
fd550ca5 3001#define I_SYS_VFS /**/
ff935051 3002
fd550ca5
MB
3003/* I_TIME:
3004 * This symbol, if defined, indicates to the C program that it should
3005 * include <time.h>.
4e0554ec 3006 */
fd550ca5
MB
3007/* I_SYS_TIME:
3008 * This symbol, if defined, indicates to the C program that it should
3009 * include <sys/time.h>.
10bc17b6 3010 */
fd550ca5
MB
3011/* I_SYS_TIME_KERNEL:
3012 * This symbol, if defined, indicates to the C program that it should
3013 * include <sys/time.h> with KERNEL defined.
10bc17b6 3014 */
fd550ca5
MB
3015/* HAS_TM_TM_ZONE:
3016 * This symbol, if defined, indicates to the C program that
3017 * the struct tm has a tm_zone field.
ff935051 3018 */
fd550ca5
MB
3019/* HAS_TM_TM_GMTOFF:
3020 * This symbol, if defined, indicates to the C program that
3021 * the struct tm has a tm_gmtoff field.
ff935051 3022 */
fd550ca5
MB
3023#define I_TIME /**/
3024#define I_SYS_TIME /**/
3025/*#define I_SYS_TIME_KERNEL / **/
3026#define HAS_TM_TM_ZONE /**/
3027#define HAS_TM_TM_GMTOFF /**/
ff935051 3028
fd550ca5
MB
3029/* I_USTAT:
3030 * This symbol, if defined, indicates that <ustat.h> exists and
3031 * should be included.
693762b4 3032 */
fd550ca5 3033#define I_USTAT /**/
693762b4 3034
fd550ca5
MB
3035/* PERL_INC_VERSION_LIST:
3036 * This variable specifies the list of subdirectories in over
3037 * which perl.c:incpush() and lib/lib.pm will automatically
3038 * search when adding directories to @INC, in a format suitable
3039 * for a C initialization string. See the inc_version_list entry
3040 * in Porting/Glossary for more details.
5c567d7d 3041 */
3a021565 3042/*#define PERL_INC_VERSION_LIST 0 / **/
5c567d7d 3043
fd550ca5
MB
3044/* INSTALL_USR_BIN_PERL:
3045 * This symbol, if defined, indicates that Perl is to be installed
3046 * also as /usr/bin/perl.
693762b4 3047 */
fd550ca5 3048/*#define INSTALL_USR_BIN_PERL / **/
693762b4 3049
fd550ca5
MB
3050/* PERL_PRIfldbl:
3051 * This symbol, if defined, contains the string used by stdio to
3052 * format long doubles (format 'f') for output.
0c0643d0 3053 */
fd550ca5
MB
3054/* PERL_PRIgldbl:
3055 * This symbol, if defined, contains the string used by stdio to
3056 * format long doubles (format 'g') for output.
e5c9fcd0 3057 */
fd550ca5
MB
3058/* PERL_PRIeldbl:
3059 * This symbol, if defined, contains the string used by stdio to
3060 * format long doubles (format 'e') for output.
4d54317a 3061 */
fd550ca5
MB
3062/* PERL_SCNfldbl:
3063 * This symbol, if defined, contains the string used by stdio to
3064 * format long doubles (format 'f') for input.
a7fea17f 3065 */
fd550ca5
MB
3066#define PERL_PRIfldbl "Lf" /**/
3067#define PERL_PRIgldbl "Lg" /**/
3068#define PERL_PRIeldbl "Le" /**/
3069#define PERL_SCNfldbl "Lf" /**/
88fdc172 3070
fd550ca5
MB
3071/* Off_t:
3072 * This symbol holds the type used to declare offsets in the kernel.
3073 * It can be int, long, off_t, etc... It may be necessary to include
3074 * <sys/types.h> to get any typedef'ed information.
a7fea17f 3075 */
fd550ca5
MB
3076/* LSEEKSIZE:
3077 * This symbol holds the number of bytes used by the Off_t.
3078 */
3079/* Off_t_size:
3080 * This symbol holds the number of bytes used by the Off_t.
3081 */
3082#define Off_t off_t /* <offset> type */
3083#define LSEEKSIZE 8 /* <offset> size */
3084#define Off_t_size 8 /* <offset> size */
a7fea17f 3085
fd550ca5
MB
3086/* Free_t:
3087 * This variable contains the return type of free(). It is usually
3088 * void, but occasionally int.
693762b4 3089 */
fd550ca5
MB
3090/* Malloc_t:
3091 * This symbol is the type of pointer returned by malloc and realloc.
3092 */
3093#define Malloc_t void * /**/
3094#define Free_t void /**/
88fdc172 3095
fd550ca5
MB
3096/* PERL_MALLOC_WRAP:
3097 * This symbol, if defined, indicates that we'd like malloc wrap checks.
693762b4 3098 */
69df4abc 3099#define PERL_MALLOC_WRAP /**/
693762b4 3100
fd550ca5
MB
3101/* MYMALLOC:
3102 * This symbol, if defined, indicates that we're using our own malloc.
ff935051 3103 */
fd550ca5 3104/*#define MYMALLOC / **/
ff935051 3105
fd550ca5
MB
3106/* Mode_t:
3107 * This symbol holds the type used to declare file modes
3108 * for systems calls. It is usually mode_t, but may be
3109 * int or unsigned short. It may be necessary to include <sys/types.h>
3110 * to get any typedef'ed information.
3813c136 3111 */
fd550ca5 3112#define Mode_t mode_t /* file mode parameter for system calls */
3813c136 3113
fd550ca5
MB
3114/* VAL_O_NONBLOCK:
3115 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
3116 * non-blocking I/O for the file descriptor. Note that there is no way
3117 * back, i.e. you cannot turn it blocking again this way. If you wish to
3118 * alternatively switch between blocking and non-blocking, use the
3119 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
10bc17b6 3120 */
fd550ca5
MB
3121/* VAL_EAGAIN:
3122 * This symbol holds the errno error code set by read() when no data was
3123 * present on the non-blocking file descriptor.
10bc17b6 3124 */
fd550ca5
MB
3125/* RD_NODATA:
3126 * This symbol holds the return code from read() when no data is present
3127 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
3128 * not defined, then you can't distinguish between no data and EOF by
3129 * issuing a read(). You'll have to find another way to tell for sure!
10bc17b6 3130 */
fd550ca5
MB
3131/* EOF_NONBLOCK:
3132 * This symbol, if defined, indicates to the C program that a read() on
3133 * a non-blocking file descriptor will return 0 on EOF, and not the value
3134 * held in RD_NODATA (-1 usually, in that case!).
10bc17b6 3135 */
fd550ca5
MB
3136#define VAL_O_NONBLOCK O_NONBLOCK
3137#define VAL_EAGAIN EAGAIN
3138#define RD_NODATA -1
3139#define EOF_NONBLOCK
10bc17b6 3140
fd550ca5
MB
3141/* NEED_VA_COPY:
3142 * This symbol, if defined, indicates that the system stores
3143 * the variable argument list datatype, va_list, in a format
3144 * that cannot be copied by simple assignment, so that some
3145 * other means must be used when copying is required.
3146 * As such systems vary in their provision (or non-provision)
3147 * of copying mechanisms, handy.h defines a platform-
3148 * independent macro, Perl_va_copy(src, dst), to do the job.
10bc17b6 3149 */
fd550ca5 3150/*#define NEED_VA_COPY / **/
88fdc172 3151
fd550ca5
MB
3152/* Netdb_host_t:
3153 * This symbol holds the type used for the 1st argument
3154 * to gethostbyaddr().
10bc17b6 3155 */
fd550ca5
MB
3156/* Netdb_hlen_t:
3157 * This symbol holds the type used for the 2nd argument
3158 * to gethostbyaddr().
e5c9fcd0 3159 */
fd550ca5
MB
3160/* Netdb_name_t:
3161 * This symbol holds the type used for the argument to
3162 * gethostbyname().
ff935051 3163 */
fd550ca5
MB
3164/* Netdb_net_t:
3165 * This symbol holds the type used for the 1st argument to
3166 * getnetbyaddr().
ff935051 3167 */
fd550ca5
MB
3168#define Netdb_host_t const void * /**/
3169#define Netdb_hlen_t size_t /**/
3170#define Netdb_name_t const char * /**/
3171#define Netdb_net_t in_addr_t /**/
ff935051 3172
fd550ca5
MB
3173/* PERL_OTHERLIBDIRS:
3174 * This variable contains a colon-separated set of paths for the perl
3175 * binary to search for additional library files or modules.
3176 * These directories will be tacked to the end of @INC.
3177 * Perl will automatically search below each path for version-
3178 * and architecture-specific directories. See PERL_INC_VERSION_LIST
3179 * for more details.
10bc17b6 3180 */
fd550ca5 3181/*#define PERL_OTHERLIBDIRS " " / **/
88fdc172 3182
a1e6f3ef
RGS
3183/* HAS_QUAD:
3184 * This symbol, if defined, tells that there's a 64-bit integer type,
3185 * Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one
3186 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T.
3187 */
3188#define HAS_QUAD /**/
3189#ifdef HAS_QUAD
3190# define Quad_t long long /**/
3191# define Uquad_t unsigned long long /**/
3192# define QUADKIND 3 /**/
3193# define QUAD_IS_INT 1
3194# define QUAD_IS_LONG 2
3195# define QUAD_IS_LONG_LONG 3
3196# define QUAD_IS_INT64_T 4
3197#endif
3198
fd550ca5
MB
3199/* IVTYPE:
3200 * This symbol defines the C type used for Perl's IV.
10bc17b6 3201 */
fd550ca5
MB
3202/* UVTYPE:
3203 * This symbol defines the C type used for Perl's UV.
693762b4 3204 */
fd550ca5
MB
3205/* I8TYPE:
3206 * This symbol defines the C type used for Perl's I8.
693762b4 3207 */
fd550ca5
MB
3208/* U8TYPE:
3209 * This symbol defines the C type used for Perl's U8.
10bc17b6 3210 */
fd550ca5
MB
3211/* I16TYPE:
3212 * This symbol defines the C type used for Perl's I16.
10bc17b6 3213 */
fd550ca5
MB
3214/* U16TYPE:
3215 * This symbol defines the C type used for Perl's U16.
ff935051 3216 */
fd550ca5
MB
3217/* I32TYPE:
3218 * This symbol defines the C type used for Perl's I32.
88fdc172 3219 */
fd550ca5
MB
3220/* U32TYPE:
3221 * This symbol defines the C type used for Perl's U32.
ff935051 3222 */
fd550ca5
MB
3223/* I64TYPE:
3224 * This symbol defines the C type used for Perl's I64.
5c567d7d 3225 */
fd550ca5
MB
3226/* U64TYPE:
3227 * This symbol defines the C type used for Perl's U64.
fe749a9f 3228 */
fd550ca5
MB
3229/* NVTYPE:
3230 * This symbol defines the C type used for Perl's NV.
758a5d79 3231 */
fd550ca5
MB
3232/* IVSIZE:
3233 * This symbol contains the sizeof(IV).
758a5d79 3234 */
fd550ca5
MB
3235/* UVSIZE:
3236 * This symbol contains the sizeof(UV).
a3540c92 3237 */
fd550ca5
MB
3238/* I8SIZE:
3239 * This symbol contains the sizeof(I8).
ff935051 3240 */
fd550ca5
MB
3241/* U8SIZE:
3242 * This symbol contains the sizeof(U8).
792d8dab 3243 */
fd550ca5
MB
3244/* I16SIZE:
3245 * This symbol contains the sizeof(I16).
fe749a9f 3246 */
fd550ca5
MB
3247/* U16SIZE:
3248 * This symbol contains the sizeof(U16).
fe749a9f 3249 */
fd550ca5
MB
3250/* I32SIZE:
3251 * This symbol contains the sizeof(I32).
3813c136 3252 */
fd550ca5
MB
3253/* U32SIZE:
3254 * This symbol contains the sizeof(U32).
44b94491 3255 */
fd550ca5
MB
3256/* I64SIZE:
3257 * This symbol contains the sizeof(I64).
e67aeab1 3258 */
fd550ca5
MB
3259/* U64SIZE:
3260 * This symbol contains the sizeof(U64).
fe749a9f 3261 */
fd550ca5
MB
3262/* NVSIZE:
3263 * This symbol contains the sizeof(NV).
ff935051 3264 */
fd550ca5
MB
3265/* NV_PRESERVES_UV:
3266 * This symbol, if defined, indicates that a variable of type NVTYPE
3267 * can preserve all the bits of a variable of type UVTYPE.
10bc17b6 3268 */
fd550ca5
MB
3269/* NV_PRESERVES_UV_BITS:
3270 * This symbol contains the number of bits a variable of type NVTYPE
3271 * can preserve of a variable of type UVTYPE.
10bc17b6 3272 */
a1e6f3ef
RGS
3273/* NV_ZERO_IS_ALLBITS_ZERO:
3274 * This symbol, if defined, indicates that a variable of type NVTYPE
3275 * stores 0.0 in memory as all bits zero.
3276 */
fd550ca5
MB
3277#define IVTYPE long /**/
3278#define UVTYPE unsigned long /**/
3279#define I8TYPE char /**/
3280#define U8TYPE unsigned char /**/
3281#define I16TYPE short /**/
3282#define U16TYPE unsigned short /**/
3283#define I32TYPE long /**/
3284#define U32TYPE unsigned long /**/
3285#ifdef HAS_QUAD
3286#define I64TYPE long long /**/
3287#define U64TYPE unsigned long long /**/
3288#endif
3289#define NVTYPE double /**/
3290#define IVSIZE 4 /**/
3291#define UVSIZE 4 /**/
3292#define I8SIZE 1 /**/
3293#define U8SIZE 1 /**/
3294#define I16SIZE 2 /**/
3295#define U16SIZE 2 /**/
3296#define I32SIZE 4 /**/
3297#define U32SIZE 4 /**/
3298#ifdef HAS_QUAD
3299#define I64SIZE 8 /**/
3300#define U64SIZE 8 /**/
3301#endif
3302#define NVSIZE 8 /**/
3303#define NV_PRESERVES_UV
3304#define NV_PRESERVES_UV_BITS 32
a1e6f3ef 3305#define NV_ZERO_IS_ALLBITS_ZERO
fd550ca5
MB
3306#if UVSIZE == 8
3307# ifdef BYTEORDER
3308# if BYTEORDER == 0x1234
3309# undef BYTEORDER
3310# define BYTEORDER 0x12345678
3311# else
3312# if BYTEORDER == 0x4321
3313# undef BYTEORDER
3314# define BYTEORDER 0x87654321
3315# endif
3316# endif
3317# endif
3318#endif
10bc17b6 3319
fd550ca5
MB
3320/* IVdf:
3321 * This symbol defines the format string used for printing a Perl IV
3322 * as a signed decimal integer.
10bc17b6 3323 */
fd550ca5
MB
3324/* UVuf:
3325 * This symbol defines the format string used for printing a Perl UV
3326 * as an unsigned decimal integer.
10bc17b6 3327 */
fd550ca5
MB
3328/* UVof:
3329 * This symbol defines the format string used for printing a Perl UV
3330 * as an unsigned octal integer.
505656d3 3331 */
fd550ca5
MB
3332/* UVxf:
3333 * This symbol defines the format string used for printing a Perl UV
3334 * as an unsigned hexadecimal integer in lowercase abcdef.
4e0554ec 3335 */
fd550ca5
MB
3336/* UVXf:
3337 * This symbol defines the format string used for printing a Perl UV
3338 * as an unsigned hexadecimal integer in uppercase ABCDEF.
4e0554ec 3339 */
fd550ca5
MB
3340/* NVef:
3341 * This symbol defines the format string used for printing a Perl NV
3342 * using %e-ish floating point format.
a7fea17f 3343 */
fd550ca5
MB
3344/* NVff:
3345 * This symbol defines the format string used for printing a Perl NV
3346 * using %f-ish floating point format.
5c567d7d 3347 */
fd550ca5
MB
3348/* NVgf:
3349 * This symbol defines the format string used for printing a Perl NV
3350 * using %g-ish floating point format.
4e0554ec 3351 */
fd550ca5
MB
3352#define IVdf "ld" /**/
3353#define UVuf "lu" /**/
3354#define UVof "lo" /**/
3355#define UVxf "lx" /**/
3356#define UVXf "lX" /**/
3357#define NVef "e" /**/
3358#define NVff "f" /**/
3359#define NVgf "g" /**/
4e0554ec 3360
fd550ca5
MB
3361/* Pid_t:
3362 * This symbol holds the type used to declare process ids in the kernel.
3363 * It can be int, uint, pid_t, etc... It may be necessary to include
3364 * <sys/types.h> to get any typedef'ed information.
4e0554ec 3365 */
fd550ca5 3366#define Pid_t pid_t /* PID type */
4e0554ec 3367
fd550ca5
MB
3368/* PRIVLIB:
3369 * This symbol contains the name of the private library for this package.
3370 * The library is private in the sense that it needn't be in anyone's
3371 * execution path, but it should be accessible by the world. The program
3372 * should be prepared to do ~ expansion.
af960fef 3373 */
fd550ca5
MB
3374/* PRIVLIB_EXP:
3375 * This symbol contains the ~name expanded version of PRIVLIB, to be used
3376 * in programs that are not prepared to deal with ~ expansion at run-time.
bfb7748a 3377 */
9244ff22
SP
3378#define PRIVLIB "/opt/perl/lib/5.11.0" /**/
3379#define PRIVLIB_EXP "/opt/perl/lib/5.11.0" /**/
9003a523 3380
fd550ca5
MB
3381/* PTRSIZE:
3382 * This symbol contains the size of a pointer, so that the C preprocessor
3383 * can make decisions based on it. It will be sizeof(void *) if
3384 * the compiler supports (void *); otherwise it will be
3385 * sizeof(char *).
ff935051 3386 */
fd550ca5 3387#define PTRSIZE 4 /**/
fbfd4aab 3388
fd550ca5
MB
3389/* Drand01:
3390 * This macro is to be used to generate uniformly distributed
3391 * random numbers over the range [0., 1.[. You may have to supply
3392 * an 'extern double drand48();' in your program since SunOS 4.1.3
3393 * doesn't provide you with anything relevant in its headers.
3394 * See HAS_DRAND48_PROTO.
6b356c8e 3395 */
fd550ca5
MB
3396/* Rand_seed_t:
3397 * This symbol defines the type of the argument of the
3398 * random seed function.
dfe9444c 3399 */
fd550ca5
MB
3400/* seedDrand01:
3401 * This symbol defines the macro to be used in seeding the
3402 * random number generator (see Drand01).
10bc17b6 3403 */
fd550ca5
MB
3404/* RANDBITS:
3405 * This symbol indicates how many bits are produced by the
3406 * function used to generate normalized random numbers.
3407 * Values include 15, 16, 31, and 48.
86959918 3408 */
fd550ca5
MB
3409#define Drand01() drand48() /**/
3410#define Rand_seed_t long /**/
3411#define seedDrand01(x) srand48((Rand_seed_t)x) /**/
3412#define RANDBITS 48 /**/
86959918 3413
fd550ca5
MB
3414/* SELECT_MIN_BITS:
3415 * This symbol holds the minimum number of bits operated by select.
3416 * That is, if you do select(n, ...), how many bits at least will be
3417 * cleared in the masks if some activity is detected. Usually this
3418 * is either n or 32*ceil(n/32), especially many little-endians do
3419 * the latter. This is only useful if you have select(), naturally.
ad27e871 3420 */
fd550ca5 3421#define SELECT_MIN_BITS 32 /**/
ad27e871 3422
fd550ca5
MB
3423/* Select_fd_set_t:
3424 * This symbol holds the type used for the 2nd, 3rd, and 4th
3425 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
3426 * is defined, and 'int *' otherwise. This is only useful if you
3427 * have select(), of course.
327c3667 3428 */
fd550ca5 3429#define Select_fd_set_t fd_set * /**/
327c3667 3430
fd550ca5
MB
3431/* SIG_NAME:
3432 * This symbol contains a list of signal names in order of
3433 * signal number. This is intended
3434 * to be used as a static array initialization, like this:
3435 * char *sig_name[] = { SIG_NAME };
3436 * The signals in the list are separated with commas, and each signal
3437 * is surrounded by double quotes. There is no leading SIG in the signal
3438 * name, i.e. SIGQUIT is known as "QUIT".
3439 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
3440 * etc., where nn is the actual signal number (e.g. NUM37).
3441 * The signal number for sig_name[i] is stored in sig_num[i].
3442 * The last element is 0 to terminate the list with a NULL. This
3443 * corresponds to the 0 at the end of the sig_name_init list.
3444 * Note that this variable is initialized from the sig_name_init,
3445 * not from sig_name (which is unused).
0545a864 3446 */
fd550ca5
MB
3447/* SIG_NUM:
3448 * This symbol contains a list of signal numbers, in the same order as the
3449 * SIG_NAME list. It is suitable for static array initialization, as in:
3450 * int sig_num[] = { SIG_NUM };
3451 * The signals in the list are separated with commas, and the indices
3452 * within that list and the SIG_NAME list match, so it's easy to compute
3453 * the signal name from a number or vice versa at the price of a small
3454 * dynamic linear lookup.
3455 * Duplicates are allowed, but are moved to the end of the list.
3456 * The signal number corresponding to sig_name[i] is sig_number[i].
3457 * if (i < NSIG) then sig_number[i] == i.
3458 * The last element is 0, corresponding to the 0 at the end of
3459 * the sig_name_init list.
3460 * Note that this variable is initialized from the sig_num_init,
3461 * not from sig_num (which is unused).
10bc17b6 3462 */
fd550ca5
MB
3463/* SIG_SIZE:
3464 * This variable contains the number of elements of the SIG_NAME
3465 * and SIG_NUM arrays, excluding the final NULL entry.
54b118e4 3466 */
69df4abc 3467#define SIG_NAME "ZERO", "HUP", "INT", "QUIT", "ILL", "TRAP", "ABRT", "BUS", "FPE", "KILL", "USR1", "SEGV", "USR2", "PIPE", "ALRM", "TERM", "STKFLT", "CHLD", "CONT", "STOP", "TSTP", "TTIN", "TTOU", "URG", "XCPU", "XFSZ", "VTALRM", "PROF", "WINCH", "IO", "PWR", "SYS", "NUM32", "NUM33", "RTMIN", "NUM35", "NUM36", "NUM37", "NUM38", "NUM39", "NUM40", "NUM41", "NUM42", "NUM43", "NUM44", "NUM45", "NUM46", "NUM47", "NUM48", "NUM49", "NUM50", "NUM51", "NUM52", "NUM53", "NUM54", "NUM55", "NUM56", "NUM57", "NUM58", "NUM59", "NUM60", "NUM61", "NUM62", "NUM63", "RTMAX", "IOT", "CLD", "POLL", "UNUSED", 0 /**/
fd550ca5
MB
3468#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, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 6, 17, 29, 31, 0 /**/
3469#define SIG_SIZE 69 /**/
54b118e4 3470
fd550ca5
MB
3471/* SITEARCH:
3472 * This symbol contains the name of the private library for this package.
3473 * The library is private in the sense that it needn't be in anyone's
3474 * execution path, but it should be accessible by the world. The program
3475 * should be prepared to do ~ expansion.
3476 * The standard distribution will put nothing in this directory.
3477 * After perl has been installed, users may install their own local
3478 * architecture-dependent modules in this directory with
3479 * MakeMaker Makefile.PL
3480 * or equivalent. See INSTALL for details.
54b118e4 3481 */
fd550ca5
MB
3482/* SITEARCH_EXP:
3483 * This symbol contains the ~name expanded version of SITEARCH, to be used
3484 * in programs that are not prepared to deal with ~ expansion at run-time.
ff49bff8 3485 */
9244ff22
SP
3486#define SITEARCH "/opt/perl/lib/site_perl/5.11.0/i686-linux" /**/
3487#define SITEARCH_EXP "/opt/perl/lib/site_perl/5.11.0/i686-linux" /**/
ff49bff8 3488
fd550ca5
MB
3489/* SITELIB:
3490 * This symbol contains the name of the private library for this package.
3491 * The library is private in the sense that it needn't be in anyone's
3492 * execution path, but it should be accessible by the world. The program
3493 * should be prepared to do ~ expansion.
3494 * The standard distribution will put nothing in this directory.
3495 * After perl has been installed, users may install their own local
3496 * architecture-independent modules in this directory with
3497 * MakeMaker Makefile.PL
3498 * or equivalent. See INSTALL for details.
76d49b1c 3499 */
fd550ca5
MB
3500/* SITELIB_EXP:
3501 * This symbol contains the ~name expanded version of SITELIB, to be used
3502 * in programs that are not prepared to deal with ~ expansion at run-time.
3503 */
3504/* SITELIB_STEM:
3505 * This define is SITELIB_EXP with any trailing version-specific component
3506 * removed. The elements in inc_version_list (inc_version_list.U) can
3507 * be tacked onto this variable to generate a list of directories to search.
3508 */
9244ff22
SP
3509#define SITELIB "/opt/perl/lib/site_perl/5.11.0" /**/
3510#define SITELIB_EXP "/opt/perl/lib/site_perl/5.11.0" /**/
fd550ca5 3511#define SITELIB_STEM "/opt/perl/lib/site_perl" /**/
76d49b1c 3512
fd550ca5
MB
3513/* Size_t_size:
3514 * This symbol holds the size of a Size_t in bytes.
d0e6d399 3515 */
fd550ca5 3516#define Size_t_size 4 /* */
d0e6d399 3517
fd550ca5
MB
3518/* Size_t:
3519 * This symbol holds the type used to declare length parameters
3520 * for string functions. It is usually size_t, but may be
3521 * unsigned long, int, etc. It may be necessary to include
3522 * <sys/types.h> to get any typedef'ed information.
ad27e871 3523 */
fd550ca5 3524#define Size_t size_t /* length paramater for string functions */
ad27e871 3525
fd550ca5
MB
3526/* Sock_size_t:
3527 * This symbol holds the type used for the size argument of
3528 * various socket calls (just the base type, not the pointer-to).
ff49bff8 3529 */
fd550ca5 3530#define Sock_size_t socklen_t /**/
ff49bff8 3531
fd550ca5
MB
3532/* SSize_t:
3533 * This symbol holds the type used by functions that return
3534 * a count of bytes or an error condition. It must be a signed type.
3535 * It is usually ssize_t, but may be long or int, etc.
3536 * It may be necessary to include <sys/types.h> or <unistd.h>
3537 * to get any typedef'ed information.
3538 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
88fdc172 3539 */
fd550ca5 3540#define SSize_t ssize_t /* signed count of bytes */
88fdc172 3541
fd550ca5
MB
3542/* STARTPERL:
3543 * This variable contains the string to put in front of a perl
3544 * script to make sure (one hopes) that it runs with perl and not
3545 * some shell.
ff49bff8 3546 */
9244ff22 3547#define STARTPERL "#!/opt/perl/bin/perl5.11.0" /**/
ff49bff8 3548
fd550ca5
MB
3549/* STDCHAR:
3550 * This symbol is defined to be the type of char used in stdio.h.
3551 * It has the values "unsigned char" or "char".
10bc17b6 3552 */
fd550ca5 3553#define STDCHAR char /**/
10bc17b6 3554
fd550ca5
MB
3555/* HAS_STDIO_STREAM_ARRAY:
3556 * This symbol, if defined, tells that there is an array
3557 * holding the stdio streams.
4e0554ec 3558 */
fd550ca5
MB
3559/* STDIO_STREAM_ARRAY:
3560 * This symbol tells the name of the array holding the stdio streams.
3561 * Usual values include _iob, __iob, and __sF.
3562 */
3563/*#define HAS_STDIO_STREAM_ARRAY / **/
3564#define STDIO_STREAM_ARRAY
4e0554ec 3565
fd550ca5
MB
3566/* Uid_t_f:
3567 * This symbol defines the format string used for printing a Uid_t.
758a5d79 3568 */
fd550ca5 3569#define Uid_t_f "lu" /**/
758a5d79 3570
fd550ca5
MB
3571/* Uid_t_sign:
3572 * This symbol holds the signedess of a Uid_t.
3573 * 1 for unsigned, -1 for signed.
ff935051 3574 */
fd550ca5 3575#define Uid_t_sign 1 /* UID sign */
ff935051 3576
fd550ca5
MB
3577/* Uid_t_size:
3578 * This symbol holds the size of a Uid_t in bytes.
4e0554ec 3579 */
fd550ca5 3580#define Uid_t_size 4 /* UID size */
4e0554ec 3581
fd550ca5
MB
3582/* Uid_t:
3583 * This symbol holds the type used to declare user ids in the kernel.
3584 * It can be int, ushort, uid_t, etc... It may be necessary to include
3585 * <sys/types.h> to get any typedef'ed information.
dfe9444c 3586 */
fd550ca5 3587#define Uid_t uid_t /* UID type */
dfe9444c 3588
fd550ca5
MB
3589/* USE_64_BIT_INT:
3590 * This symbol, if defined, indicates that 64-bit integers should
3591 * be used when available. If not defined, the native integers
3592 * will be employed (be they 32 or 64 bits). The minimal possible
3593 * 64-bitness is used, just enough to get 64-bit integers into Perl.
3594 * This may mean using for example "long longs", while your memory
3595 * may still be limited to 2 gigabytes.
a71cd7cd 3596 */
fd550ca5
MB
3597/* USE_64_BIT_ALL:
3598 * This symbol, if defined, indicates that 64-bit integers should
3599 * be used when available. If not defined, the native integers
3600 * will be used (be they 32 or 64 bits). The maximal possible
3601 * 64-bitness is employed: LP64 or ILP64, meaning that you will
3602 * be able to use more than 2 gigabytes of memory. This mode is
3603 * even more binary incompatible than USE_64_BIT_INT. You may not
3604 * be able to run the resulting executable in a 32-bit CPU at all or
3605 * you may need at least to reboot your OS to 64-bit mode.
a71cd7cd 3606 */
fd550ca5
MB
3607#ifndef USE_64_BIT_INT
3608/*#define USE_64_BIT_INT / **/
3609#endif
a71cd7cd 3610
fd550ca5
MB
3611#ifndef USE_64_BIT_ALL
3612/*#define USE_64_BIT_ALL / **/
3613#endif
ff935051 3614
fd550ca5
MB
3615/* USE_LARGE_FILES:
3616 * This symbol, if defined, indicates that large file support
3617 * should be used when available.
eef837ea 3618 */
fd550ca5
MB
3619#ifndef USE_LARGE_FILES
3620#define USE_LARGE_FILES /**/
3621#endif
dfe9444c 3622
fd550ca5
MB
3623/* USE_LONG_DOUBLE:
3624 * This symbol, if defined, indicates that long doubles should
3625 * be used when available.
758a5d79 3626 */
fd550ca5
MB
3627#ifndef USE_LONG_DOUBLE
3628/*#define USE_LONG_DOUBLE / **/
3629#endif
758a5d79 3630
fd550ca5
MB
3631/* USE_MORE_BITS:
3632 * This symbol, if defined, indicates that 64-bit interfaces and
3633 * long doubles should be used when available.
ff935051 3634 */
fd550ca5
MB
3635#ifndef USE_MORE_BITS
3636/*#define USE_MORE_BITS / **/
3637#endif
ff935051 3638
fd550ca5
MB
3639/* MULTIPLICITY:
3640 * This symbol, if defined, indicates that Perl should
3641 * be built to use multiplicity.
52c7d5b6 3642 */
fd550ca5
MB
3643#ifndef MULTIPLICITY
3644/*#define MULTIPLICITY / **/
3645#endif
52c7d5b6 3646
fd550ca5
MB
3647/* USE_PERLIO:
3648 * This symbol, if defined, indicates that the PerlIO abstraction should
3649 * be used throughout. If not defined, stdio should be
3650 * used in a fully backward compatible manner.
327c3667 3651 */
fd550ca5
MB
3652#ifndef USE_PERLIO
3653#define USE_PERLIO /**/
3654#endif
ff935051 3655
fd550ca5
MB
3656/* USE_SOCKS:
3657 * This symbol, if defined, indicates that Perl should
3658 * be built to use socks.
88fdc172 3659 */
fd550ca5
MB
3660#ifndef USE_SOCKS
3661/*#define USE_SOCKS / **/
3662#endif
88fdc172 3663
fd550ca5
MB
3664/* USE_ITHREADS:
3665 * This symbol, if defined, indicates that Perl should be built to
3666 * use the interpreter-based threading implementation.
6b356c8e 3667 */
fd550ca5
MB
3668/* USE_5005THREADS:
3669 * This symbol, if defined, indicates that Perl should be built to
3670 * use the 5.005-based threading implementation.
ff49bff8 3671 */
fd550ca5
MB
3672/* OLD_PTHREADS_API:
3673 * This symbol, if defined, indicates that Perl should
3674 * be built to use the old draft POSIX threads API.
a71cd7cd 3675 */
fd550ca5
MB
3676/* USE_REENTRANT_API:
3677 * This symbol, if defined, indicates that Perl should
3678 * try to use the various _r versions of library functions.
3679 * This is extremely experimental.
ff935051 3680 */
fd550ca5
MB
3681/*#define USE_5005THREADS / **/
3682/*#define USE_ITHREADS / **/
3683#if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
3684#define USE_THREADS /* until src is revised*/
3685#endif
3686/*#define OLD_PTHREADS_API / **/
3687/*#define USE_REENTRANT_API / **/