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