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