This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
RT 72933: Ignore files from prove
[perl5.git] / config_h.SH
CommitLineData
9f28af37
FC
1#!/bin/sh
2#
43dddb59
MB
3# THIS IS A GENERATED FILE
4# DO NOT HAND-EDIT
5#
6# See Porting/config_h.pl
7
34f1896b 8: Set up for generating config_h.SH
12ae5dfc 9case "$CONFIG_SH" in
776a38e3 10'') CONFIG_SH=config.sh;;
12ae5dfc
JH
11esac
12case "$CONFIG_H" in
776a38e3 13'') CONFIG_H=config.h;;
12ae5dfc 14esac
a02608de 15case $PERL_CONFIG_SH in
8d063cd8 16'')
12ae5dfc
JH
17 if test -f $CONFIG_SH; then TOP=.;
18 elif test -f ../$CONFIG_SH; then TOP=..;
19 elif test -f ../../$CONFIG_SH; then TOP=../..;
20 elif test -f ../../../$CONFIG_SH; then TOP=../../..;
21 elif test -f ../../../../$CONFIG_SH; then TOP=../../../..;
2304df62 22 else
12ae5dfc 23 echo "Can't find $CONFIG_SH."; exit 1
2304df62 24 fi
12ae5dfc 25 . $TOP/$CONFIG_SH
2304df62
AD
26 ;;
27esac
28case "$0" in
29*/*) cd `expr X$0 : 'X\(.*\)/'` ;;
8d063cd8 30esac
11e2f395
RGS
31case "$CONFIG_H" in
32already-done) echo "Not re-extracting config.h" ;;
33*)
43dddb59
MB
34echo "Extracting $CONFIG_H (with variable substitutions)"
35sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-def!#undef!'
aa86d596 36/* This file was produced by running the config_h.SH script, which
12ae5dfc 37 * gets its values from $CONFIG_SH, which is generally produced by
8d063cd8
LW
38 * running Configure.
39 *
40 * Feel free to modify any of this as the need arises. Note, however,
1aef975c 41 * that running config_h.SH again will wipe out any changes you've made.
12ae5dfc 42 * For a more permanent change edit $CONFIG_SH and rerun config_h.SH.
8d063cd8
LW
43 */
44
cd95ead5 45/* Package name : $package
dfe9444c
AD
46 * Source directory : $src
47 * Configuration time: $cf_time
48 * Configured by : $cf_by
49 * Target system : $myuname
2304df62 50 */
8d063cd8 51
2304df62
AD
52#ifndef _config_h_
53#define _config_h_
54
dfe9444c
AD
55/* LOC_SED:
56 * This symbol holds the complete pathname to the sed program.
774d564b 57 */
dfe9444c 58#define LOC_SED "$full_sed" /**/
774d564b 59
88fdc172
SB
60/* HAS_ALARM:
61 * This symbol, if defined, indicates that the alarm routine is
62 * available.
a0d0e21e 63 */
88fdc172 64#$d_alarm HAS_ALARM /**/
a0d0e21e 65
88fdc172
SB
66/* HAS_BCMP:
67 * This symbol is defined if the bcmp() routine is available to
68 * compare blocks of memory.
b4eb6b3d 69 */
88fdc172 70#$d_bcmp HAS_BCMP /**/
b4eb6b3d 71
88fdc172
SB
72/* HAS_BCOPY:
73 * This symbol is defined if the bcopy() routine is available to
74 * copy blocks of memory.
a687059c 75 */
88fdc172 76#$d_bcopy HAS_BCOPY /**/
a687059c 77
88fdc172
SB
78/* HAS_BZERO:
79 * This symbol is defined if the bzero() routine is available to
80 * set a memory block to 0.
0d3e774c 81 */
88fdc172 82#$d_bzero HAS_BZERO /**/
0d3e774c 83
88fdc172
SB
84/* HAS_CHOWN:
85 * This symbol, if defined, indicates that the chown routine is
86 * available.
a0d0e21e 87 */
88fdc172 88#$d_chown HAS_CHOWN /**/
a0d0e21e 89
88fdc172
SB
90/* HAS_CHROOT:
91 * This symbol, if defined, indicates that the chroot routine is
92 * available.
a0d0e21e 93 */
88fdc172 94#$d_chroot HAS_CHROOT /**/
a0d0e21e 95
88fdc172
SB
96/* HAS_CHSIZE:
97 * This symbol, if defined, indicates that the chsize routine is available
98 * to truncate files. You might need a -lx to get this routine.
87250799 99 */
88fdc172 100#$d_chsize HAS_CHSIZE /**/
87250799 101
1d8eaf8c
MB
102/* HAS_CRYPT:
103 * This symbol, if defined, indicates that the crypt routine is available
104 * to encrypt passwords and the like.
105 */
106#$d_crypt HAS_CRYPT /**/
107
13cfc98d
MB
108/* HAS_CTERMID:
109 * This symbol, if defined, indicates that the ctermid routine is
110 * available to generate filename for terminal.
111 */
112#$d_ctermid HAS_CTERMID /**/
113
88fdc172
SB
114/* HAS_CUSERID:
115 * This symbol, if defined, indicates that the cuserid routine is
116 * available to get character login names.
13281fa4 117 */
88fdc172 118#$d_cuserid HAS_CUSERID /**/
a0d0e21e 119
88fdc172
SB
120/* HAS_DBL_DIG:
121 * This symbol, if defined, indicates that this system's <float.h>
122 * or <limits.h> defines the symbol DBL_DIG, which is the number
123 * of significant digits in a double precision number. If this
124 * symbol is not defined, a guess of 15 is usually pretty good.
a0d0e21e 125 */
e5eef985 126#$d_dbl_dig HAS_DBL_DIG /**/
a0d0e21e 127
88fdc172
SB
128/* HAS_DIFFTIME:
129 * This symbol, if defined, indicates that the difftime routine is
130 * available.
a0d0e21e 131 */
88fdc172 132#$d_difftime HAS_DIFFTIME /**/
13281fa4 133
88fdc172
SB
134/* HAS_DLERROR:
135 * This symbol, if defined, indicates that the dlerror routine is
136 * available to return a string describing the last error that
137 * occurred from a call to dlopen(), dlclose() or dlsym().
ecfc5424 138 */
88fdc172 139#$d_dlerror HAS_DLERROR /**/
ecfc5424 140
88fdc172
SB
141/* HAS_DUP2:
142 * This symbol, if defined, indicates that the dup2 routine is
143 * available to duplicate file descriptors.
a687059c 144 */
88fdc172 145#$d_dup2 HAS_DUP2 /**/
a687059c 146
88fdc172
SB
147/* HAS_FCHMOD:
148 * This symbol, if defined, indicates that the fchmod routine is available
149 * to change mode of opened files. If unavailable, use chmod().
378cc40b 150 */
88fdc172 151#$d_fchmod HAS_FCHMOD /**/
378cc40b 152
88fdc172
SB
153/* HAS_FCHOWN:
154 * This symbol, if defined, indicates that the fchown routine is available
155 * to change ownership of opened files. If unavailable, use chown().
378cc40b 156 */
88fdc172 157#$d_fchown HAS_FCHOWN /**/
378cc40b 158
88fdc172
SB
159/* HAS_FCNTL:
160 * This symbol, if defined, indicates to the C program that
161 * the fcntl() function exists.
a687059c 162 */
88fdc172 163#$d_fcntl HAS_FCNTL /**/
a687059c 164
88fdc172
SB
165/* HAS_FGETPOS:
166 * This symbol, if defined, indicates that the fgetpos routine is
167 * available to get the file position indicator, similar to ftell().
a0d0e21e 168 */
88fdc172 169#$d_fgetpos HAS_FGETPOS /**/
a0d0e21e 170
88fdc172
SB
171/* HAS_FLOCK:
172 * This symbol, if defined, indicates that the flock routine is
173 * available to do file locking.
a687059c 174 */
88fdc172 175#$d_flock HAS_FLOCK /**/
a687059c 176
88fdc172
SB
177/* HAS_FORK:
178 * This symbol, if defined, indicates that the fork routine is
179 * available.
a0d0e21e 180 */
88fdc172 181#$d_fork HAS_FORK /**/
a0d0e21e 182
88fdc172
SB
183/* HAS_FSETPOS:
184 * This symbol, if defined, indicates that the fsetpos routine is
185 * available to set the file position indicator, similar to fseek().
a0d0e21e 186 */
88fdc172 187#$d_fsetpos HAS_FSETPOS /**/
a0d0e21e 188
88fdc172
SB
189/* HAS_GETTIMEOFDAY:
190 * This symbol, if defined, indicates that the gettimeofday() system
191 * call is available for a sub-second accuracy clock. Usually, the file
192 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
193 * The type "Timeval" should be used to refer to "struct timeval".
5f05dabc 194 */
88fdc172
SB
195#$d_gettimeod HAS_GETTIMEOFDAY /**/
196#ifdef HAS_GETTIMEOFDAY
197#define Timeval struct timeval /* Structure used by gettimeofday() */
198#endif
5f05dabc 199
88fdc172
SB
200/* HAS_GETGROUPS:
201 * This symbol, if defined, indicates that the getgroups() routine is
202 * available to get the list of process groups. If unavailable, multiple
203 * groups are probably not supported.
378cc40b 204 */
88fdc172 205#$d_getgrps HAS_GETGROUPS /**/
378cc40b 206
88fdc172
SB
207/* HAS_GETLOGIN:
208 * This symbol, if defined, indicates that the getlogin routine is
209 * available to get the login name.
dfe9444c 210 */
88fdc172 211#$d_getlogin HAS_GETLOGIN /**/
dfe9444c 212
88fdc172
SB
213/* HAS_GETPGID:
214 * This symbol, if defined, indicates to the C program that
215 * the getpgid(pid) function is available to get the
216 * process group id.
a0d0e21e 217 */
88fdc172 218#$d_getpgid HAS_GETPGID /**/
a0d0e21e 219
88fdc172
SB
220/* HAS_GETPGRP2:
221 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
222 * routine is available to get the current process group.
a687059c 223 */
88fdc172 224#$d_getpgrp2 HAS_GETPGRP2 /**/
ecfc5424 225
88fdc172
SB
226/* HAS_GETPPID:
227 * This symbol, if defined, indicates that the getppid routine is
228 * available to get the parent process ID.
378cc40b 229 */
88fdc172 230#$d_getppid HAS_GETPPID /**/
378cc40b 231
88fdc172
SB
232/* HAS_GETPRIORITY:
233 * This symbol, if defined, indicates that the getpriority routine is
234 * available to get a process's priority.
0d3e774c 235 */
88fdc172 236#$d_getprior HAS_GETPRIORITY /**/
0d3e774c 237
88fdc172
SB
238/* HAS_INET_ATON:
239 * This symbol, if defined, indicates to the C program that the
240 * inet_aton() function is available to parse IP address "dotted-quad"
241 * strings.
a0d0e21e 242 */
88fdc172 243#$d_inetaton HAS_INET_ATON /**/
a0d0e21e 244
88fdc172
SB
245/* HAS_KILLPG:
246 * This symbol, if defined, indicates that the killpg routine is available
247 * to kill process groups. If unavailable, you probably should use kill
248 * with a negative process number.
a687059c 249 */
88fdc172 250#$d_killpg HAS_KILLPG /**/
a687059c 251
88fdc172
SB
252/* HAS_LINK:
253 * This symbol, if defined, indicates that the link routine is
254 * available to create hard links.
a0d0e21e 255 */
88fdc172 256#$d_link HAS_LINK /**/
a0d0e21e 257
88fdc172
SB
258/* HAS_LOCALECONV:
259 * This symbol, if defined, indicates that the localeconv routine is
260 * available for numeric and monetary formatting conventions.
a0d0e21e 261 */
88fdc172 262#$d_locconv HAS_LOCALECONV /**/
a0d0e21e 263
88fdc172
SB
264/* HAS_LOCKF:
265 * This symbol, if defined, indicates that the lockf routine is
266 * available to do file locking.
a0d0e21e 267 */
88fdc172 268#$d_lockf HAS_LOCKF /**/
a0d0e21e 269
88fdc172
SB
270/* HAS_LSTAT:
271 * This symbol, if defined, indicates that the lstat routine is
272 * available to do file stats on symbolic links.
378cc40b 273 */
88fdc172 274#$d_lstat HAS_LSTAT /**/
2304df62 275
88fdc172
SB
276/* HAS_MBLEN:
277 * This symbol, if defined, indicates that the mblen routine is available
278 * to find the number of bytes in a multibye character.
9f971974 279 */
88fdc172 280#$d_mblen HAS_MBLEN /**/
9f971974 281
88fdc172
SB
282/* HAS_MBSTOWCS:
283 * This symbol, if defined, indicates that the mbstowcs routine is
9cdcdad1 284 * available to convert a multibyte string into a wide character string.
9f971974 285 */
88fdc172 286#$d_mbstowcs HAS_MBSTOWCS /**/
9f971974 287
88fdc172
SB
288/* HAS_MBTOWC:
289 * This symbol, if defined, indicates that the mbtowc routine is available
9cdcdad1 290 * to convert a multibyte to a wide character.
9f971974 291 */
88fdc172 292#$d_mbtowc HAS_MBTOWC /**/
378cc40b 293
88fdc172
SB
294/* HAS_MEMCMP:
295 * This symbol, if defined, indicates that the memcmp routine is available
296 * to compare blocks of memory.
a687059c 297 */
88fdc172 298#$d_memcmp HAS_MEMCMP /**/
fe14fcc3 299
88fdc172
SB
300/* HAS_MEMCPY:
301 * This symbol, if defined, indicates that the memcpy routine is available
302 * to copy blocks of memory.
ecfc5424 303 */
88fdc172 304#$d_memcpy HAS_MEMCPY /**/
ecfc5424 305
88fdc172
SB
306/* HAS_MEMMOVE:
307 * This symbol, if defined, indicates that the memmove routine is available
308 * to copy potentially overlapping blocks of memory. This should be used
309 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
310 * own version.
a0d0e21e 311 */
88fdc172 312#$d_memmove HAS_MEMMOVE /**/
a0d0e21e 313
88fdc172
SB
314/* HAS_MEMSET:
315 * This symbol, if defined, indicates that the memset routine is available
316 * to set blocks of memory.
fe749a9f 317 */
88fdc172 318#$d_memset HAS_MEMSET /**/
fe749a9f 319
88fdc172
SB
320/* HAS_MKDIR:
321 * This symbol, if defined, indicates that the mkdir routine is available
322 * to create directories. Otherwise you should fork off a new process to
323 * exec /bin/mkdir.
fe749a9f 324 */
88fdc172 325#$d_mkdir HAS_MKDIR /**/
fe749a9f 326
88fdc172
SB
327/* HAS_MKFIFO:
328 * This symbol, if defined, indicates that the mkfifo routine is
329 * available to create FIFOs. Otherwise, mknod should be able to
330 * do it for you. However, if mkfifo is there, mknod might require
331 * super-user privileges which mkfifo will not.
fe14fcc3 332 */
88fdc172 333#$d_mkfifo HAS_MKFIFO /**/
a687059c 334
88fdc172
SB
335/* HAS_MKTIME:
336 * This symbol, if defined, indicates that the mktime routine is
337 * available.
ecfc5424 338 */
88fdc172 339#$d_mktime HAS_MKTIME /**/
ecfc5424 340
88fdc172
SB
341/* HAS_MSYNC:
342 * This symbol, if defined, indicates that the msync system call is
343 * available to synchronize a mapped file.
a687059c 344 */
88fdc172 345#$d_msync HAS_MSYNC /**/
a687059c 346
88fdc172
SB
347/* HAS_MUNMAP:
348 * This symbol, if defined, indicates that the munmap system call is
349 * available to unmap a region, usually mapped by mmap().
fe14fcc3 350 */
88fdc172 351#$d_munmap HAS_MUNMAP /**/
a0d0e21e 352
88fdc172
SB
353/* HAS_NICE:
354 * This symbol, if defined, indicates that the nice routine is
355 * available.
8e07c86e 356 */
88fdc172 357#$d_nice HAS_NICE /**/
8e07c86e 358
88fdc172
SB
359/* HAS_PATHCONF:
360 * This symbol, if defined, indicates that pathconf() is available
361 * to determine file-system related limits and options associated
362 * with a given filename.
a0d0e21e 363 */
88fdc172
SB
364/* HAS_FPATHCONF:
365 * This symbol, if defined, indicates that pathconf() is available
366 * to determine file-system related limits and options associated
367 * with a given open file descriptor.
a0d0e21e 368 */
88fdc172
SB
369#$d_pathconf HAS_PATHCONF /**/
370#$d_fpathconf HAS_FPATHCONF /**/
a0d0e21e 371
88fdc172
SB
372/* HAS_PAUSE:
373 * This symbol, if defined, indicates that the pause routine is
374 * available to suspend a process until a signal is received.
a0d0e21e 375 */
88fdc172 376#$d_pause HAS_PAUSE /**/
a0d0e21e 377
88fdc172
SB
378/* HAS_PIPE:
379 * This symbol, if defined, indicates that the pipe routine is
380 * available to create an inter-process channel.
a0d0e21e 381 */
88fdc172 382#$d_pipe HAS_PIPE /**/
fe14fcc3 383
1d8eaf8c
MB
384/* HAS_POLL:
385 * This symbol, if defined, indicates that the poll routine is
386 * available to poll active file descriptors. Please check I_POLL and
387 * I_SYS_POLL to know which header should be included as well.
388 */
389#$d_poll HAS_POLL /**/
390
88fdc172
SB
391/* HAS_READDIR:
392 * This symbol, if defined, indicates that the readdir routine is
393 * available to read directory entries. You may have to include
394 * <dirent.h>. See I_DIRENT.
378cc40b 395 */
88fdc172 396#$d_readdir HAS_READDIR /**/
378cc40b 397
88fdc172
SB
398/* HAS_SEEKDIR:
399 * This symbol, if defined, indicates that the seekdir routine is
400 * available. You may have to include <dirent.h>. See I_DIRENT.
378cc40b 401 */
88fdc172 402#$d_seekdir HAS_SEEKDIR /**/
2304df62 403
88fdc172
SB
404/* HAS_TELLDIR:
405 * This symbol, if defined, indicates that the telldir routine is
406 * available. You may have to include <dirent.h>. See I_DIRENT.
a0d0e21e 407 */
88fdc172 408#$d_telldir HAS_TELLDIR /**/
a0d0e21e 409
88fdc172
SB
410/* HAS_REWINDDIR:
411 * This symbol, if defined, indicates that the rewinddir routine is
412 * available. You may have to include <dirent.h>. See I_DIRENT.
a0d0e21e 413 */
88fdc172 414#$d_rewinddir HAS_REWINDDIR /**/
a0d0e21e 415
88fdc172
SB
416/* HAS_READLINK:
417 * This symbol, if defined, indicates that the readlink routine is
418 * available to read the value of a symbolic link.
dfe9444c 419 */
88fdc172 420#$d_readlink HAS_READLINK /**/
dfe9444c 421
88fdc172
SB
422/* HAS_RENAME:
423 * This symbol, if defined, indicates that the rename routine is available
424 * to rename files. Otherwise you should do the unlink(), link(), unlink()
425 * trick.
d8f2e4cc 426 */
88fdc172 427#$d_rename HAS_RENAME /**/
d8f2e4cc 428
88fdc172
SB
429/* HAS_RMDIR:
430 * This symbol, if defined, indicates that the rmdir routine is
431 * available to remove directories. Otherwise you should fork off a
432 * new process to exec /bin/rmdir.
a687059c 433 */
88fdc172 434#$d_rmdir HAS_RMDIR /**/
a687059c 435
88fdc172
SB
436/* HAS_SELECT:
437 * This symbol, if defined, indicates that the select routine is
438 * available to select active file descriptors. If the timeout field
439 * is used, <sys/time.h> may need to be included.
a687059c 440 */
88fdc172 441#$d_select HAS_SELECT /**/
a687059c 442
88fdc172
SB
443/* HAS_SETEGID:
444 * This symbol, if defined, indicates that the setegid routine is available
445 * to change the effective gid of the current program.
a687059c 446 */
88fdc172 447#$d_setegid HAS_SETEGID /**/
a687059c 448
88fdc172
SB
449/* HAS_SETEUID:
450 * This symbol, if defined, indicates that the seteuid routine is available
451 * to change the effective uid of the current program.
378cc40b 452 */
88fdc172 453#$d_seteuid HAS_SETEUID /**/
378cc40b 454
1d8eaf8c
MB
455/* HAS_SETGROUPS:
456 * This symbol, if defined, indicates that the setgroups() routine is
457 * available to set the list of process groups. If unavailable, multiple
458 * groups are probably not supported.
459 */
460#$d_setgrps HAS_SETGROUPS /**/
461
88fdc172
SB
462/* HAS_SETLINEBUF:
463 * This symbol, if defined, indicates that the setlinebuf routine is
464 * available to change stderr or stdout from block-buffered or unbuffered
465 * to a line-buffered mode.
378cc40b 466 */
88fdc172 467#$d_setlinebuf HAS_SETLINEBUF /**/
2304df62 468
88fdc172
SB
469/* HAS_SETLOCALE:
470 * This symbol, if defined, indicates that the setlocale routine is
471 * available to handle locale-specific ctype implementations.
2304df62 472 */
88fdc172 473#$d_setlocale HAS_SETLOCALE /**/
fe14fcc3 474
88fdc172
SB
475/* HAS_SETPGID:
476 * This symbol, if defined, indicates that the setpgid(pid, gpid)
477 * routine is available to set process group ID.
c2960299 478 */
88fdc172 479#$d_setpgid HAS_SETPGID /**/
dfe9444c 480
88fdc172
SB
481/* HAS_SETPGRP2:
482 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
483 * routine is available to set the current process group.
16d20bd9 484 */
88fdc172 485#$d_setpgrp2 HAS_SETPGRP2 /**/
dfe9444c 486
88fdc172
SB
487/* HAS_SETPRIORITY:
488 * This symbol, if defined, indicates that the setpriority routine is
489 * available to set a process's priority.
c2960299 490 */
88fdc172 491#$d_setprior HAS_SETPRIORITY /**/
8d063cd8 492
88fdc172
SB
493/* HAS_SETREGID:
494 * This symbol, if defined, indicates that the setregid routine is
495 * available to change the real and effective gid of the current
496 * process.
a89d8a78 497 */
88fdc172
SB
498/* HAS_SETRESGID:
499 * This symbol, if defined, indicates that the setresgid routine is
500 * available to change the real, effective and saved gid of the current
501 * process.
a89d8a78 502 */
88fdc172
SB
503#$d_setregid HAS_SETREGID /**/
504#$d_setresgid HAS_SETRESGID /**/
a89d8a78 505
88fdc172
SB
506/* HAS_SETREUID:
507 * This symbol, if defined, indicates that the setreuid routine is
508 * available to change the real and effective uid of the current
509 * process.
a0d0e21e 510 */
88fdc172
SB
511/* HAS_SETRESUID:
512 * This symbol, if defined, indicates that the setresuid routine is
513 * available to change the real, effective and saved uid of the current
514 * process.
2e1b3b7e 515 */
88fdc172
SB
516#$d_setreuid HAS_SETREUID /**/
517#$d_setresuid HAS_SETRESUID /**/
2e1b3b7e 518
88fdc172
SB
519/* HAS_SETRGID:
520 * This symbol, if defined, indicates that the setrgid routine is available
521 * to change the real gid of the current program.
a687059c 522 */
88fdc172 523#$d_setrgid HAS_SETRGID /**/
e5d73d77 524
88fdc172
SB
525/* HAS_SETRUID:
526 * This symbol, if defined, indicates that the setruid routine is available
527 * to change the real uid of the current program.
ecfc5424 528 */
88fdc172 529#$d_setruid HAS_SETRUID /**/
ecfc5424 530
88fdc172
SB
531/* HAS_SETSID:
532 * This symbol, if defined, indicates that the setsid routine is
533 * available to set the process group ID.
9f971974 534 */
88fdc172 535#$d_setsid HAS_SETSID /**/
9f971974 536
88fdc172
SB
537/* HAS_STRCHR:
538 * This symbol is defined to indicate that the strchr()/strrchr()
539 * functions are available for string searching. If not, try the
540 * index()/rindex() pair.
85e6fe83 541 */
88fdc172
SB
542/* HAS_INDEX:
543 * This symbol is defined to indicate that the index()/rindex()
544 * functions are available for string searching.
a0d0e21e 545 */
88fdc172
SB
546#$d_strchr HAS_STRCHR /**/
547#$d_index HAS_INDEX /**/
85e6fe83 548
88fdc172
SB
549/* HAS_STRCOLL:
550 * This symbol, if defined, indicates that the strcoll routine is
551 * available to compare strings using collating information.
87250799 552 */
88fdc172 553#$d_strcoll HAS_STRCOLL /**/
87250799 554
88fdc172
SB
555/* HAS_STRTOD:
556 * This symbol, if defined, indicates that the strtod routine is
557 * available to provide better numeric string conversion than atof().
a0d0e21e 558 */
88fdc172 559#$d_strtod HAS_STRTOD /**/
a0d0e21e 560
88fdc172
SB
561/* HAS_STRTOL:
562 * This symbol, if defined, indicates that the strtol routine is available
563 * to provide better numeric string conversion than atoi() and friends.
85e6fe83 564 */
88fdc172 565#$d_strtol HAS_STRTOL /**/
d8f2e4cc 566
88fdc172
SB
567/* HAS_STRXFRM:
568 * This symbol, if defined, indicates that the strxfrm() routine is
569 * available to transform strings.
d8f2e4cc 570 */
88fdc172 571#$d_strxfrm HAS_STRXFRM /**/
d8f2e4cc 572
88fdc172
SB
573/* HAS_SYMLINK:
574 * This symbol, if defined, indicates that the symlink routine is available
575 * to create symbolic links.
dfe9444c 576 */
88fdc172 577#$d_symlink HAS_SYMLINK /**/
dfe9444c 578
88fdc172
SB
579/* HAS_SYSCALL:
580 * This symbol, if defined, indicates that the syscall routine is
581 * available to call arbitrary system calls. If undefined, that's tough.
a0d0e21e 582 */
88fdc172 583#$d_syscall HAS_SYSCALL /**/
a687059c 584
88fdc172
SB
585/* HAS_SYSCONF:
586 * This symbol, if defined, indicates that sysconf() is available
587 * to determine system related limits and options.
aaacdc8b 588 */
88fdc172
SB
589#$d_sysconf HAS_SYSCONF /**/
590
591/* HAS_SYSTEM:
592 * This symbol, if defined, indicates that the system routine is
593 * available to issue a shell command.
aaacdc8b 594 */
88fdc172 595#$d_system HAS_SYSTEM /**/
aaacdc8b 596
88fdc172
SB
597/* HAS_TCGETPGRP:
598 * This symbol, if defined, indicates that the tcgetpgrp routine is
599 * available to get foreground process group ID.
aaacdc8b 600 */
88fdc172 601#$d_tcgetpgrp HAS_TCGETPGRP /**/
aaacdc8b 602
88fdc172
SB
603/* HAS_TCSETPGRP:
604 * This symbol, if defined, indicates that the tcsetpgrp routine is
605 * available to set foreground process group ID.
a22e52b9 606 */
88fdc172 607#$d_tcsetpgrp HAS_TCSETPGRP /**/
a22e52b9 608
88fdc172
SB
609/* HAS_TRUNCATE:
610 * This symbol, if defined, indicates that the truncate routine is
611 * available to truncate files.
5ff3f7a4 612 */
88fdc172 613#$d_truncate HAS_TRUNCATE /**/
5ff3f7a4 614
88fdc172
SB
615/* HAS_TZNAME:
616 * This symbol, if defined, indicates that the tzname[] array is
617 * available to access timezone names.
5ff3f7a4 618 */
88fdc172 619#$d_tzname HAS_TZNAME /**/
5ff3f7a4 620
88fdc172
SB
621/* HAS_UMASK:
622 * This symbol, if defined, indicates that the umask routine is
623 * available to set and get the value of the file creation mask.
5ff3f7a4 624 */
88fdc172 625#$d_umask HAS_UMASK /**/
5ff3f7a4 626
88fdc172
SB
627/* HAS_USLEEP:
628 * This symbol, if defined, indicates that the usleep routine is
629 * available to let the process sleep on a sub-second accuracy.
5ff3f7a4 630 */
88fdc172 631#$d_usleep HAS_USLEEP /**/
5ff3f7a4 632
88fdc172
SB
633/* HAS_WAIT4:
634 * This symbol, if defined, indicates that wait4() exists.
8e07c86e 635 */
88fdc172 636#$d_wait4 HAS_WAIT4 /**/
8e07c86e 637
88fdc172
SB
638/* HAS_WAITPID:
639 * This symbol, if defined, indicates that the waitpid routine is
640 * available to wait for child process.
1aef975c 641 */
88fdc172 642#$d_waitpid HAS_WAITPID /**/
85e6fe83 643
88fdc172
SB
644/* HAS_WCSTOMBS:
645 * This symbol, if defined, indicates that the wcstombs routine is
646 * available to convert wide character strings to multibyte strings.
bccf77a5 647 */
88fdc172 648#$d_wcstombs HAS_WCSTOMBS /**/
dfe9444c 649
88fdc172
SB
650/* HAS_WCTOMB:
651 * This symbol, if defined, indicates that the wctomb routine is available
9cdcdad1 652 * to convert a wide character to a multibyte.
bccf77a5 653 */
88fdc172 654#$d_wctomb HAS_WCTOMB /**/
bccf77a5 655
1d8eaf8c
MB
656/* Groups_t:
657 * This symbol holds the type used for the second argument to
658 * getgroups() and setgroups(). Usually, this is the same as
659 * gidtype (gid_t) , but sometimes it isn't.
660 * It can be int, ushort, gid_t, etc...
661 * It may be necessary to include <sys/types.h> to get any
662 * typedef'ed information. This is only required if you have
663 * getgroups() or setgroups()..
664 */
665#if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
666#define Groups_t $groupstype /* Type for 2nd arg to [sg]etgroups() */
667#endif
668
88fdc172
SB
669/* I_ARPA_INET:
670 * This symbol, if defined, indicates to the C program that it should
671 * include <arpa/inet.h> to get inet_addr and friends declarations.
ff935051 672 */
88fdc172 673#$i_arpainet I_ARPA_INET /**/
ff935051 674
88fdc172
SB
675/* I_DBM:
676 * This symbol, if defined, indicates that <dbm.h> exists and should
677 * be included.
ff935051 678 */
88fdc172
SB
679/* I_RPCSVC_DBM:
680 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
681 * should be included.
10bc17b6 682 */
88fdc172
SB
683#$i_dbm I_DBM /**/
684#$i_rpcsvcdbm I_RPCSVC_DBM /**/
10bc17b6 685
88fdc172
SB
686/* I_DLFCN:
687 * This symbol, if defined, indicates that <dlfcn.h> exists and should
688 * be included.
78a7c709 689 */
88fdc172 690#$i_dlfcn I_DLFCN /**/
78a7c709 691
88fdc172
SB
692/* I_FCNTL:
693 * This manifest constant tells the C program to include <fcntl.h>.
c7aff470 694 */
88fdc172 695#$i_fcntl I_FCNTL /**/
44b94491 696
88fdc172
SB
697/* I_FLOAT:
698 * This symbol, if defined, indicates to the C program that it should
699 * include <float.h> to get definition of symbols like DBL_MAX or
700 * DBL_MIN, i.e. machine dependent floating point values.
c7aff470 701 */
88fdc172 702#$i_float I_FLOAT /**/
c7aff470 703
13cfc98d
MB
704/* I_GDBM:
705 * This symbol, if defined, indicates that <gdbm.h> exists and should
706 * be included.
707 */
708#$i_gdbm I_GDBM /**/
709
88fdc172
SB
710/* I_LIMITS:
711 * This symbol, if defined, indicates to the C program that it should
712 * include <limits.h> to get definition of symbols like WORD_BIT or
713 * LONG_MAX, i.e. machine dependant limitations.
c7aff470 714 */
88fdc172 715#$i_limits I_LIMITS /**/
c7aff470 716
88fdc172
SB
717/* I_LOCALE:
718 * This symbol, if defined, indicates to the C program that it should
719 * include <locale.h>.
a845a0d4 720 */
88fdc172 721#$i_locale I_LOCALE /**/
a845a0d4 722
88fdc172
SB
723/* I_MATH:
724 * This symbol, if defined, indicates to the C program that it should
725 * include <math.h>.
a845a0d4 726 */
88fdc172 727#$i_math I_MATH /**/
a845a0d4 728
88fdc172
SB
729/* I_MEMORY:
730 * This symbol, if defined, indicates to the C program that it should
731 * include <memory.h>.
a845a0d4 732 */
88fdc172
SB
733#$i_memory I_MEMORY /**/
734
88fdc172
SB
735/* I_NETINET_IN:
736 * This symbol, if defined, indicates to the C program that it should
737 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
a845a0d4 738 */
88fdc172
SB
739#$i_niin I_NETINET_IN /**/
740
88fdc172
SB
741/* I_STDDEF:
742 * This symbol, if defined, indicates that <stddef.h> exists and should
743 * be included.
a845a0d4 744 */
88fdc172
SB
745#$i_stddef I_STDDEF /**/
746
747/* I_STDLIB:
748 * This symbol, if defined, indicates that <stdlib.h> exists and should
749 * be included.
a845a0d4 750 */
88fdc172
SB
751#$i_stdlib I_STDLIB /**/
752
753/* I_STRING:
754 * This symbol, if defined, indicates to the C program that it should
755 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
a845a0d4 756 */
88fdc172
SB
757#$i_string I_STRING /**/
758
759/* I_SYS_DIR:
760 * This symbol, if defined, indicates to the C program that it should
761 * include <sys/dir.h>.
a845a0d4 762 */
88fdc172
SB
763#$i_sysdir I_SYS_DIR /**/
764
765/* I_SYS_FILE:
766 * This symbol, if defined, indicates to the C program that it should
767 * include <sys/file.h> to get definition of R_OK and friends.
a845a0d4 768 */
88fdc172 769#$i_sysfile I_SYS_FILE /**/
a845a0d4 770
88fdc172
SB
771/* I_SYS_IOCTL:
772 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
773 * be included. Otherwise, include <sgtty.h> or <termio.h>.
a845a0d4 774 */
88fdc172
SB
775/* I_SYS_SOCKIO:
776 * This symbol, if defined, indicates the <sys/sockio.h> should be included
777 * to get socket ioctl options, like SIOCATMARK.
a845a0d4 778 */
88fdc172
SB
779#$i_sysioctl I_SYS_IOCTL /**/
780#$i_syssockio I_SYS_SOCKIO /**/
781
782/* I_SYS_NDIR:
783 * This symbol, if defined, indicates to the C program that it should
784 * include <sys/ndir.h>.
a845a0d4 785 */
88fdc172 786#$i_sysndir I_SYS_NDIR /**/
a845a0d4 787
88fdc172
SB
788/* I_SYS_PARAM:
789 * This symbol, if defined, indicates to the C program that it should
790 * include <sys/param.h>.
a845a0d4 791 */
88fdc172
SB
792#$i_sysparam I_SYS_PARAM /**/
793
216dac04
MB
794/* I_SYS_POLL:
795 * This symbol, if defined, indicates that the program may include
796 * <sys/poll.h>. When I_POLL is also defined, it's probably safest
797 * to only include <poll.h>.
798 */
799#$i_syspoll I_SYS_POLL /**/
800
88fdc172
SB
801/* I_SYS_RESOURCE:
802 * This symbol, if defined, indicates to the C program that it should
803 * include <sys/resource.h>.
a845a0d4 804 */
88fdc172 805#$i_sysresrc I_SYS_RESOURCE /**/
a845a0d4 806
88fdc172
SB
807/* I_SYS_SELECT:
808 * This symbol, if defined, indicates to the C program that it should
809 * include <sys/select.h> in order to get definition of struct timeval.
a845a0d4 810 */
88fdc172 811#$i_sysselct I_SYS_SELECT /**/
a845a0d4 812
88fdc172 813/* I_SYS_STAT:
a845a0d4 814 * This symbol, if defined, indicates to the C program that it should
88fdc172 815 * include <sys/stat.h>.
a845a0d4 816 */
88fdc172
SB
817#$i_sysstat I_SYS_STAT /**/
818
819/* I_SYS_TIMES:
a845a0d4 820 * This symbol, if defined, indicates to the C program that it should
88fdc172 821 * include <sys/times.h>.
a845a0d4 822 */
88fdc172
SB
823#$i_systimes I_SYS_TIMES /**/
824
825/* I_SYS_TYPES:
a845a0d4 826 * This symbol, if defined, indicates to the C program that it should
88fdc172 827 * include <sys/types.h>.
a845a0d4 828 */
88fdc172
SB
829#$i_systypes I_SYS_TYPES /**/
830
831/* I_SYS_UN:
832 * This symbol, if defined, indicates to the C program that it should
833 * include <sys/un.h> to get UNIX domain socket definitions.
a845a0d4 834 */
88fdc172
SB
835#$i_sysun I_SYS_UN /**/
836
837/* I_SYS_WAIT:
838 * This symbol, if defined, indicates to the C program that it should
839 * include <sys/wait.h>.
a845a0d4 840 */
88fdc172 841#$i_syswait I_SYS_WAIT /**/
a845a0d4 842
88fdc172
SB
843/* I_UNISTD:
844 * This symbol, if defined, indicates to the C program that it should
845 * include <unistd.h>.
a845a0d4 846 */
88fdc172 847#$i_unistd I_UNISTD /**/
a845a0d4 848
88fdc172
SB
849/* I_UTIME:
850 * This symbol, if defined, indicates to the C program that it should
851 * include <utime.h>.
a845a0d4 852 */
88fdc172 853#$i_utime I_UTIME /**/
a845a0d4 854
88fdc172
SB
855/* I_VALUES:
856 * This symbol, if defined, indicates to the C program that it should
857 * include <values.h> to get definition of symbols like MINFLOAT or
858 * MAXLONG, i.e. machine dependant limitations. Probably, you
859 * should use <limits.h> instead, if it is available.
a845a0d4 860 */
88fdc172
SB
861#$i_values I_VALUES /**/
862
863/* I_VFORK:
864 * This symbol, if defined, indicates to the C program that it should
865 * include vfork.h.
a845a0d4 866 */
88fdc172
SB
867#$i_vfork I_VFORK /**/
868
d03b3b00
MB
869/* CAN_VAPROTO:
870 * This variable is defined on systems supporting prototype declaration
871 * of functions with a variable number of arguments.
872 */
873/* _V:
874 * This macro is used to declare function parameters in prototypes for
875 * functions with a variable number of parameters. Use double parentheses.
876 * For example:
877 *
878 * int printf _V((char *fmt, ...));
879 *
880 * Remember to use the plain simple _() macro when declaring a function
881 * with no variable number of arguments, since it might be possible to
882 * have a non-effect _V() macro and still get prototypes via _().
883 */
884#$vaproto CAN_VAPROTO /**/
885#ifdef CAN_VAPROTO
886#define _V(args) args
887#else
888#define _V(args) ()
889#endif
890
06501368
MB
891/* OSNAME:
892 * This symbol contains the name of the operating system, as determined
893 * by Configure. You shouldn't rely on it too much; the specific
894 * feature tests from Configure are generally more reliable.
a845a0d4 895 */
06501368
MB
896/* OSVERS:
897 * This symbol contains the version of the operating system, as determined
898 * by Configure. You shouldn't rely on it too much; the specific
899 * feature tests from Configure are generally more reliable.
eaf812ae 900 */
06501368
MB
901#define OSNAME "$osname" /**/
902#define OSVERS "$osvers" /**/
eaf812ae 903
6e89a33a
MB
904/* MULTIARCH:
905 * This symbol, if defined, signifies that the build
906 * process will produce some binary files that are going to be
907 * used in a cross-platform environment. This is the case for
908 * example with the NeXT "fat" binaries that contain executables
909 * for several CPUs.
910 */
911#$multiarch MULTIARCH /**/
912
b8677e3b
MB
913/* MEM_ALIGNBYTES:
914 * This symbol contains the number of bytes required to align a
915 * double, or a long double when applicable. Usual values are 2,
588c1107
AD
916 * 4 and 8. The default is eight, for safety. For cross-compiling
917 * or multiarch support, Configure will set a minimum of 8.
b8677e3b 918 */
b8677e3b 919#define MEM_ALIGNBYTES $alignbytes
08c92000 920
08c92000
MB
921/* ARCHLIB:
922 * This variable, if defined, holds the name of the directory in
923 * which the user wants to put architecture-dependent public
924 * library files for $package. It is most often a local directory
925 * such as /usr/local/lib. Programs using this variable must be
926 * prepared to deal with filename expansion. If ARCHLIB is the
927 * same as PRIVLIB, it is not defined, since presumably the
928 * program already searches PRIVLIB.
929 */
930/* ARCHLIB_EXP:
931 * This symbol contains the ~name expanded version of ARCHLIB, to be used
932 * in programs that are not prepared to deal with ~ expansion at run-time.
933 */
934#$d_archlib ARCHLIB "$archlib" /**/
935#$d_archlib ARCHLIB_EXP "$archlibexp" /**/
936
937/* ARCHNAME:
938 * This symbol holds a string representing the architecture name.
939 * It may be used to construct an architecture-dependant pathname
940 * where library files may be held under a private library, for
941 * instance.
942 */
943#define ARCHNAME "$archname" /**/
944
08c92000
MB
945/* BIN:
946 * This symbol holds the path of the bin directory where the package will
947 * be installed. Program must be prepared to deal with ~name substitution.
948 */
949/* BIN_EXP:
950 * This symbol is the filename expanded version of the BIN symbol, for
951 * programs that do not want to deal with that at run-time.
952 */
f3f1a2d8
MB
953/* PERL_RELOCATABLE_INC:
954 * This symbol, if defined, indicates that we'd like to relocate entries
955 * in @INC at run time based on the location of the perl binary.
956 */
08c92000
MB
957#define BIN "$bin" /**/
958#define BIN_EXP "$binexp" /**/
122b9bf4 959#define PERL_RELOCATABLE_INC "$userelocatableinc" /**/
08c92000 960
06501368
MB
961/* INTSIZE:
962 * This symbol contains the value of sizeof(int) so that the C
963 * preprocessor can make decisions based on it.
964 */
965/* LONGSIZE:
966 * This symbol contains the value of sizeof(long) so that the C
967 * preprocessor can make decisions based on it.
968 */
969/* SHORTSIZE:
970 * This symbol contains the value of sizeof(short) so that the C
971 * preprocessor can make decisions based on it.
972 */
973#define INTSIZE $intsize /**/
974#define LONGSIZE $longsize /**/
975#define SHORTSIZE $shortsize /**/
976
b8677e3b
MB
977/* BYTEORDER:
978 * This symbol holds the hexadecimal constant defined in byteorder,
979 * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc...
980 * If the compiler supports cross-compiling or multiple-architecture
f05550c0 981 * binaries, use compiler-defined macros to
b8677e3b 982 * determine the byte order.
08c92000 983 */
c9d1bf8e 984#if defined(MULTIARCH)
b8677e3b
MB
985# ifdef __LITTLE_ENDIAN__
986# if LONGSIZE == 4
987# define BYTEORDER 0x1234
988# else
989# if LONGSIZE == 8
990# define BYTEORDER 0x12345678
991# endif
992# endif
993# else
994# ifdef __BIG_ENDIAN__
995# if LONGSIZE == 4
996# define BYTEORDER 0x4321
997# else
998# if LONGSIZE == 8
999# define BYTEORDER 0x87654321
1000# endif
1001# endif
1002# endif
1003# endif
b8677e3b
MB
1004#else
1005#define BYTEORDER 0x$byteorder /* large digits for MSB */
f05550c0 1006#endif
08c92000 1007
b8677e3b
MB
1008/* CHARBITS:
1009 * This symbol contains the size of a char, so that the C preprocessor
1010 * can make decisions based on it.
08c92000 1011 */
b8677e3b 1012#define CHARBITS $charbits /**/
08c92000 1013
06501368
MB
1014/* CAT2:
1015 * This macro concatenates 2 tokens together.
1016 */
1017/* STRINGIFY:
1018 * This macro surrounds its token with double quotes.
1019 */
1020#if $cpp_stuff == 1
1021#define CAT2(a,b) a/**/b
1022#define STRINGIFY(a) "a"
1023#endif
1024#if $cpp_stuff == 42
1025#define PeRl_CaTiFy(a, b) a ## b
1026#define PeRl_StGiFy(a) #a
1027#define CAT2(a,b) PeRl_CaTiFy(a,b)
1028#define StGiFy(a) PeRl_StGiFy(a)
1029#define STRINGIFY(a) PeRl_StGiFy(a)
1030#endif
1031#if $cpp_stuff != 1 && $cpp_stuff != 42
1032#include "Bletch: How does this C preprocessor concatenate tokens?"
1033#endif
1034
1035/* CPPSTDIN:
1036 * This symbol contains the first part of the string which will invoke
1037 * the C preprocessor on the standard input and produce to standard
1038 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
1039 * call a wrapper. See CPPRUN.
1040 */
1041/* CPPMINUS:
1042 * This symbol contains the second part of the string which will invoke
1043 * the C preprocessor on the standard input and produce to standard
1044 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
1045 * to specify standard input, otherwise the value is "".
1046 */
1047/* CPPRUN:
1048 * This symbol contains the string which will invoke a C preprocessor on
1049 * the standard input and produce to standard output. It needs to end
1050 * with CPPLAST, after all other preprocessor flags have been specified.
1051 * The main difference with CPPSTDIN is that this program will never be a
1052 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1053 * available directly to the user. Note that it may well be different from
1054 * the preprocessor used to compile the C program.
1055 */
1056/* CPPLAST:
1057 * This symbol is intended to be used along with CPPRUN in the same manner
1058 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1059 */
1060#define CPPSTDIN "$cppstdin"
1061#define CPPMINUS "$cppminus"
1062#define CPPRUN "$cpprun"
1063#define CPPLAST "$cpplast"
1064
1065/* HAS_ACCESS:
1066 * This manifest constant lets the C program know that the access()
1067 * system call is available to check for accessibility using real UID/GID.
1068 * (always present on UNIX.)
1069 */
1070#$d_access HAS_ACCESS /**/
1071
ed140128
AD
1072/* HAS_ACCESSX:
1073 * This symbol, if defined, indicates that the accessx routine is
1074 * available to do extended access checks.
eaf812ae 1075 */
ed140128 1076#$d_accessx HAS_ACCESSX /**/
eaf812ae 1077
08c92000
MB
1078/* HAS_ASCTIME_R:
1079 * This symbol, if defined, indicates that the asctime_r routine
1080 * is available to asctime re-entrantly.
1081 */
1082/* ASCTIME_R_PROTO:
1083 * This symbol encodes the prototype of asctime_r.
1084 * It is zero if d_asctime_r is undef, and one of the
1085 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_asctime_r
1086 * is defined.
1087 */
1088#$d_asctime_r HAS_ASCTIME_R /**/
1089#define ASCTIME_R_PROTO $asctime_r_proto /**/
1090
06501368
MB
1091/* HASATTRIBUTE_FORMAT:
1092 * Can we handle GCC attribute for checking printf-style formats
1093 */
1094/* PRINTF_FORMAT_NULL_OK:
1095 * Allows __printf__ format to be null when checking printf-style
1096 */
1097/* HASATTRIBUTE_MALLOC:
1098 * Can we handle GCC attribute for malloc-style functions.
1099 */
1100/* HASATTRIBUTE_NONNULL:
1101 * Can we handle GCC attribute for nonnull function parms.
1102 */
1103/* HASATTRIBUTE_NORETURN:
1104 * Can we handle GCC attribute for functions that do not return
1105 */
1106/* HASATTRIBUTE_PURE:
1107 * Can we handle GCC attribute for pure functions
1108 */
1109/* HASATTRIBUTE_UNUSED:
1110 * Can we handle GCC attribute for unused variables and arguments
1111 */
1112/* HASATTRIBUTE_DEPRECATED:
1113 * Can we handle GCC attribute for marking deprecated APIs
1114 */
1115/* HASATTRIBUTE_WARN_UNUSED_RESULT:
1116 * Can we handle GCC attribute for warning on unused results
1117 */
1118#$d_attribute_deprecated HASATTRIBUTE_DEPRECATED /**/
1119#$d_attribute_format HASATTRIBUTE_FORMAT /**/
1120#$d_printf_format_null PRINTF_FORMAT_NULL_OK /**/
1121#$d_attribute_noreturn HASATTRIBUTE_NORETURN /**/
1122#$d_attribute_malloc HASATTRIBUTE_MALLOC /**/
1123#$d_attribute_nonnull HASATTRIBUTE_NONNULL /**/
1124#$d_attribute_pure HASATTRIBUTE_PURE /**/
1125#$d_attribute_unused HASATTRIBUTE_UNUSED /**/
1126#$d_attribute_warn_unused_result HASATTRIBUTE_WARN_UNUSED_RESULT /**/
1127
0e0c5f82
MB
1128/* HAS_BACKTRACE:
1129 * This symbol, if defined, indicates that the backtrace() routine is
1130 * available to get a stack trace. The <execinfo.h> header must be
1131 * included to use this routine.
1132 */
1133#$d_backtrace HAS_BACKTRACE /**/
1134
b8677e3b
MB
1135/* CASTI32:
1136 * This symbol is defined if the C compiler can cast negative
1137 * or large floating point numbers to 32-bit ints.
eaf812ae 1138 */
b8677e3b
MB
1139#$d_casti32 CASTI32 /**/
1140
1141/* CASTNEGFLOAT:
1142 * This symbol is defined if the C compiler can cast negative
1143 * numbers to unsigned longs, ints and shorts.
fcdf39cf 1144 */
b8677e3b
MB
1145/* CASTFLAGS:
1146 * This symbol contains flags that say what difficulties the compiler
1147 * has casting odd floating values to unsigned long:
1148 * 0 = ok
1149 * 1 = couldn't cast < 0
1150 * 2 = couldn't cast >= 0x80000000
1151 * 4 = couldn't cast in argument expression list
eaf812ae 1152 */
b8677e3b
MB
1153#$d_castneg CASTNEGFLOAT /**/
1154#define CASTFLAGS $castflags /**/
eaf812ae 1155
b8677e3b
MB
1156/* VOID_CLOSEDIR:
1157 * This symbol, if defined, indicates that the closedir() routine
1158 * does not return a value.
f244a502 1159 */
b8677e3b 1160#$d_void_closedir VOID_CLOSEDIR /**/
f244a502 1161
06501368
MB
1162/* HASCONST:
1163 * This symbol, if defined, indicates that this C compiler knows about
1164 * the const type. There is no need to actually test for that symbol
1165 * within your programs. The mere use of the "const" keyword will
1166 * trigger the necessary tests.
1167 */
1168#$d_const HASCONST /**/
1169#ifndef HASCONST
1170#define const
1171#endif
1172
08c92000
MB
1173/* HAS_CRYPT_R:
1174 * This symbol, if defined, indicates that the crypt_r routine
1175 * is available to crypt re-entrantly.
a845a0d4 1176 */
08c92000
MB
1177/* CRYPT_R_PROTO:
1178 * This symbol encodes the prototype of crypt_r.
1179 * It is zero if d_crypt_r is undef, and one of the
1180 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_crypt_r
1181 * is defined.
a845a0d4 1182 */
08c92000
MB
1183#$d_crypt_r HAS_CRYPT_R /**/
1184#define CRYPT_R_PROTO $crypt_r_proto /**/
a845a0d4 1185
06501368
MB
1186/* HAS_CSH:
1187 * This symbol, if defined, indicates that the C-shell exists.
1188 */
1189/* CSH:
1190 * This symbol, if defined, contains the full pathname of csh.
1191 */
1192#$d_csh HAS_CSH /**/
1193#ifdef HAS_CSH
1194#define CSH "$full_csh" /**/
1195#endif
1196
eaf812ae
MB
1197/* HAS_CTERMID_R:
1198 * This symbol, if defined, indicates that the ctermid_r routine
1199 * is available to ctermid re-entrantly.
1200 */
1201/* CTERMID_R_PROTO:
1202 * This symbol encodes the prototype of ctermid_r.
1203 * It is zero if d_ctermid_r is undef, and one of the
1204 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctermid_r
1205 * is defined.
1206 */
1207#$d_ctermid_r HAS_CTERMID_R /**/
1208#define CTERMID_R_PROTO $ctermid_r_proto /**/
1209
08c92000
MB
1210/* HAS_CTIME_R:
1211 * This symbol, if defined, indicates that the ctime_r routine
1212 * is available to ctime re-entrantly.
a845a0d4 1213 */
08c92000
MB
1214/* CTIME_R_PROTO:
1215 * This symbol encodes the prototype of ctime_r.
1216 * It is zero if d_ctime_r is undef, and one of the
1217 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctime_r
1218 * is defined.
a845a0d4 1219 */
08c92000
MB
1220#$d_ctime_r HAS_CTIME_R /**/
1221#define CTIME_R_PROTO $ctime_r_proto /**/
a845a0d4 1222
0e0c5f82
MB
1223/* HAS_DLADDR:
1224 * This symbol, if defined, indicates that the dladdr() routine is
1225 * available to get a stack trace. The <execinfo.h> header must be
1226 * included to use this routine.
1227 */
1228#$d_dladdr HAS_DLADDR /**/
1229
06501368
MB
1230/* SETUID_SCRIPTS_ARE_SECURE_NOW:
1231 * This symbol, if defined, indicates that the bug that prevents
1232 * setuid scripts from being secure is not present in this kernel.
1233 */
1234/* DOSUID:
1235 * This symbol, if defined, indicates that the C program should
1236 * check the script that it is executing for setuid/setgid bits, and
1237 * attempt to emulate setuid/setgid on systems that have disabled
1238 * setuid #! scripts because the kernel can't do it securely.
1239 * It is up to the package designer to make sure that this emulation
1240 * is done securely. Among other things, it should do an fstat on
1241 * the script it just opened to make sure it really is a setuid/setgid
1242 * script, it should make sure the arguments passed correspond exactly
1243 * to the argument on the #! line, and it should not trust any
1244 * subprocesses to which it must pass the filename rather than the
1245 * file descriptor of the script to be executed.
1246 */
1247#$d_suidsafe SETUID_SCRIPTS_ARE_SECURE_NOW /**/
1248#$d_dosuid DOSUID /**/
1249
08c92000
MB
1250/* HAS_DRAND48_R:
1251 * This symbol, if defined, indicates that the drand48_r routine
1252 * is available to drand48 re-entrantly.
a845a0d4 1253 */
08c92000
MB
1254/* DRAND48_R_PROTO:
1255 * This symbol encodes the prototype of drand48_r.
1256 * It is zero if d_drand48_r is undef, and one of the
1257 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_drand48_r
1258 * is defined.
1259 */
1260#$d_drand48_r HAS_DRAND48_R /**/
1261#define DRAND48_R_PROTO $drand48_r_proto /**/
a845a0d4 1262
06501368
MB
1263/* HAS_DRAND48_PROTO:
1264 * This symbol, if defined, indicates that the system provides
1265 * a prototype for the drand48() function. Otherwise, it is up
1266 * to the program to supply one. A good guess is
1267 * extern double drand48(void);
1268 */
1269#$d_drand48proto HAS_DRAND48_PROTO /**/
1270
ed140128
AD
1271/* HAS_EACCESS:
1272 * This symbol, if defined, indicates that the eaccess routine is
1273 * available to do extended access checks.
1274 */
1275#$d_eaccess HAS_EACCESS /**/
1276
06501368
MB
1277/* HAS_ENDGRENT:
1278 * This symbol, if defined, indicates that the getgrent routine is
1279 * available for finalizing sequential access of the group database.
1280 */
1281#$d_endgrent HAS_ENDGRENT /**/
1282
08c92000
MB
1283/* HAS_ENDGRENT_R:
1284 * This symbol, if defined, indicates that the endgrent_r routine
1285 * is available to endgrent re-entrantly.
88fdc172 1286 */
08c92000
MB
1287/* ENDGRENT_R_PROTO:
1288 * This symbol encodes the prototype of endgrent_r.
1289 * It is zero if d_endgrent_r is undef, and one of the
1290 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endgrent_r
1291 * is defined.
88fdc172 1292 */
08c92000
MB
1293#$d_endgrent_r HAS_ENDGRENT_R /**/
1294#define ENDGRENT_R_PROTO $endgrent_r_proto /**/
1295
06501368
MB
1296/* HAS_ENDHOSTENT:
1297 * This symbol, if defined, indicates that the endhostent() routine is
1298 * available to close whatever was being used for host queries.
1299 */
1300#$d_endhent HAS_ENDHOSTENT /**/
1301
eaf812ae
MB
1302/* HAS_ENDHOSTENT_R:
1303 * This symbol, if defined, indicates that the endhostent_r routine
1304 * is available to endhostent re-entrantly.
1305 */
1306/* ENDHOSTENT_R_PROTO:
1307 * This symbol encodes the prototype of endhostent_r.
1308 * It is zero if d_endhostent_r is undef, and one of the
1309 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endhostent_r
1310 * is defined.
1311 */
1312#$d_endhostent_r HAS_ENDHOSTENT_R /**/
1313#define ENDHOSTENT_R_PROTO $endhostent_r_proto /**/
1314
06501368
MB
1315/* HAS_ENDNETENT:
1316 * This symbol, if defined, indicates that the endnetent() routine is
1317 * available to close whatever was being used for network queries.
1318 */
1319#$d_endnent HAS_ENDNETENT /**/
1320
eaf812ae
MB
1321/* HAS_ENDNETENT_R:
1322 * This symbol, if defined, indicates that the endnetent_r routine
1323 * is available to endnetent re-entrantly.
1324 */
1325/* ENDNETENT_R_PROTO:
1326 * This symbol encodes the prototype of endnetent_r.
1327 * It is zero if d_endnetent_r is undef, and one of the
1328 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endnetent_r
1329 * is defined.
1330 */
1331#$d_endnetent_r HAS_ENDNETENT_R /**/
1332#define ENDNETENT_R_PROTO $endnetent_r_proto /**/
1333
06501368
MB
1334/* HAS_ENDPROTOENT:
1335 * This symbol, if defined, indicates that the endprotoent() routine is
1336 * available to close whatever was being used for protocol queries.
1337 */
1338#$d_endpent HAS_ENDPROTOENT /**/
1339
eaf812ae
MB
1340/* HAS_ENDPROTOENT_R:
1341 * This symbol, if defined, indicates that the endprotoent_r routine
1342 * is available to endprotoent re-entrantly.
1343 */
1344/* ENDPROTOENT_R_PROTO:
1345 * This symbol encodes the prototype of endprotoent_r.
1346 * It is zero if d_endprotoent_r is undef, and one of the
1347 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endprotoent_r
1348 * is defined.
1349 */
1350#$d_endprotoent_r HAS_ENDPROTOENT_R /**/
1351#define ENDPROTOENT_R_PROTO $endprotoent_r_proto /**/
1352
06501368
MB
1353/* HAS_ENDPWENT:
1354 * This symbol, if defined, indicates that the getgrent routine is
1355 * available for finalizing sequential access of the passwd database.
1356 */
1357#$d_endpwent HAS_ENDPWENT /**/
1358
08c92000
MB
1359/* HAS_ENDPWENT_R:
1360 * This symbol, if defined, indicates that the endpwent_r routine
1361 * is available to endpwent re-entrantly.
88fdc172 1362 */
08c92000
MB
1363/* ENDPWENT_R_PROTO:
1364 * This symbol encodes the prototype of endpwent_r.
1365 * It is zero if d_endpwent_r is undef, and one of the
1366 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endpwent_r
1367 * is defined.
88fdc172 1368 */
08c92000
MB
1369#$d_endpwent_r HAS_ENDPWENT_R /**/
1370#define ENDPWENT_R_PROTO $endpwent_r_proto /**/
1371
06501368
MB
1372/* HAS_ENDSERVENT:
1373 * This symbol, if defined, indicates that the endservent() routine is
1374 * available to close whatever was being used for service queries.
1375 */
1376#$d_endsent HAS_ENDSERVENT /**/
1377
1378/* HAS_ENDSERVENT_R:
1379 * This symbol, if defined, indicates that the endservent_r routine
1380 * is available to endservent re-entrantly.
1381 */
1382/* ENDSERVENT_R_PROTO:
eaf812ae
MB
1383 * This symbol encodes the prototype of endservent_r.
1384 * It is zero if d_endservent_r is undef, and one of the
1385 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endservent_r
1386 * is defined.
1387 */
1388#$d_endservent_r HAS_ENDSERVENT_R /**/
1389#define ENDSERVENT_R_PROTO $endservent_r_proto /**/
1390
b8677e3b
MB
1391/* HAS_FD_SET:
1392 * This symbol, when defined, indicates presence of the fd_set typedef
1393 * in <sys/types.h>
a845a0d4 1394 */
b8677e3b 1395#$d_fd_set HAS_FD_SET /**/
a845a0d4 1396
06501368
MB
1397/* FLEXFILENAMES:
1398 * This symbol, if defined, indicates that the system supports filenames
1399 * longer than 14 characters.
1400 */
1401#$d_flexfnam FLEXFILENAMES /**/
1402
b8677e3b
MB
1403/* Gconvert:
1404 * This preprocessor macro is defined to convert a floating point
1405 * number to a string without a trailing decimal point. This
1406 * emulates the behavior of sprintf("%g"), but is sometimes much more
1407 * efficient. If gconvert() is not available, but gcvt() drops the
1408 * trailing decimal point, then gcvt() is used. If all else fails,
1409 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1410 * macro are: value, number of digits, whether trailing zeros should
1411 * be retained, and the output buffer.
1412 * The usual values are:
1413 * d_Gconvert='gconvert((x),(n),(t),(b))'
1414 * d_Gconvert='gcvt((x),(n),(b))'
1415 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1416 * The last two assume trailing zeros should not be kept.
a845a0d4 1417 */
b8677e3b 1418#define Gconvert(x,n,t,b) $d_Gconvert
a845a0d4 1419
06501368
MB
1420/* HAS_GETGRENT:
1421 * This symbol, if defined, indicates that the getgrent routine is
1422 * available for sequential access of the group database.
1423 */
1424#$d_getgrent HAS_GETGRENT /**/
1425
08c92000
MB
1426/* HAS_GETGRENT_R:
1427 * This symbol, if defined, indicates that the getgrent_r routine
1428 * is available to getgrent re-entrantly.
a845a0d4 1429 */
08c92000
MB
1430/* GETGRENT_R_PROTO:
1431 * This symbol encodes the prototype of getgrent_r.
1432 * It is zero if d_getgrent_r is undef, and one of the
1433 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrent_r
1434 * is defined.
1435 */
1436#$d_getgrent_r HAS_GETGRENT_R /**/
1437#define GETGRENT_R_PROTO $getgrent_r_proto /**/
a845a0d4 1438
08c92000
MB
1439/* HAS_GETGRGID_R:
1440 * This symbol, if defined, indicates that the getgrgid_r routine
1441 * is available to getgrgid re-entrantly.
a845a0d4 1442 */
08c92000
MB
1443/* GETGRGID_R_PROTO:
1444 * This symbol encodes the prototype of getgrgid_r.
1445 * It is zero if d_getgrgid_r is undef, and one of the
1446 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrgid_r
1447 * is defined.
a845a0d4 1448 */
08c92000
MB
1449#$d_getgrgid_r HAS_GETGRGID_R /**/
1450#define GETGRGID_R_PROTO $getgrgid_r_proto /**/
a845a0d4 1451
08c92000
MB
1452/* HAS_GETGRNAM_R:
1453 * This symbol, if defined, indicates that the getgrnam_r routine
1454 * is available to getgrnam re-entrantly.
a845a0d4 1455 */
08c92000
MB
1456/* GETGRNAM_R_PROTO:
1457 * This symbol encodes the prototype of getgrnam_r.
1458 * It is zero if d_getgrnam_r is undef, and one of the
1459 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrnam_r
1460 * is defined.
a845a0d4 1461 */
08c92000
MB
1462#$d_getgrnam_r HAS_GETGRNAM_R /**/
1463#define GETGRNAM_R_PROTO $getgrnam_r_proto /**/
a845a0d4 1464
06501368
MB
1465/* HAS_GETHOSTBYADDR:
1466 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1467 * available to look up hosts by their IP addresses.
1468 */
1469#$d_gethbyaddr HAS_GETHOSTBYADDR /**/
1470
1471/* HAS_GETHOSTBYNAME:
1472 * This symbol, if defined, indicates that the gethostbyname() routine is
1473 * available to look up host names in some data base or other.
1474 */
1475#$d_gethbyname HAS_GETHOSTBYNAME /**/
1476
1477/* HAS_GETHOSTENT:
1478 * This symbol, if defined, indicates that the gethostent() routine is
1479 * available to look up host names in some data base or another.
1480 */
1481#$d_gethent HAS_GETHOSTENT /**/
1482
1483/* HAS_GETHOSTNAME:
1484 * This symbol, if defined, indicates that the C program may use the
1485 * gethostname() routine to derive the host name. See also HAS_UNAME
1486 * and PHOSTNAME.
1487 */
1488/* HAS_UNAME:
1489 * This symbol, if defined, indicates that the C program may use the
1490 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1491 * and PHOSTNAME.
1492 */
1493/* PHOSTNAME:
1494 * This symbol, if defined, indicates the command to feed to the
1495 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1496 * and HAS_UNAME. Note that the command uses a fully qualified path,
1497 * so that it is safe even if used by a process with super-user
1498 * privileges.
1499 */
1500/* HAS_PHOSTNAME:
1501 * This symbol, if defined, indicates that the C program may use the
1502 * contents of PHOSTNAME as a command to feed to the popen() routine
1503 * to derive the host name.
1504 */
1505#$d_gethname HAS_GETHOSTNAME /**/
1506#$d_uname HAS_UNAME /**/
1507#$d_phostname HAS_PHOSTNAME /**/
1508#ifdef HAS_PHOSTNAME
1509#define PHOSTNAME "$aphostname" /* How to get the host name */
1510#endif
1511
eaf812ae
MB
1512/* HAS_GETHOSTBYADDR_R:
1513 * This symbol, if defined, indicates that the gethostbyaddr_r routine
1514 * is available to gethostbyaddr re-entrantly.
a845a0d4 1515 */
eaf812ae
MB
1516/* GETHOSTBYADDR_R_PROTO:
1517 * This symbol encodes the prototype of gethostbyaddr_r.
1518 * It is zero if d_gethostbyaddr_r is undef, and one of the
1519 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyaddr_r
1520 * is defined.
a845a0d4 1521 */
eaf812ae
MB
1522#$d_gethostbyaddr_r HAS_GETHOSTBYADDR_R /**/
1523#define GETHOSTBYADDR_R_PROTO $gethostbyaddr_r_proto /**/
08c92000 1524
eaf812ae
MB
1525/* HAS_GETHOSTBYNAME_R:
1526 * This symbol, if defined, indicates that the gethostbyname_r routine
1527 * is available to gethostbyname re-entrantly.
a845a0d4 1528 */
eaf812ae
MB
1529/* GETHOSTBYNAME_R_PROTO:
1530 * This symbol encodes the prototype of gethostbyname_r.
1531 * It is zero if d_gethostbyname_r is undef, and one of the
1532 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyname_r
08c92000 1533 * is defined.
a845a0d4 1534 */
eaf812ae
MB
1535#$d_gethostbyname_r HAS_GETHOSTBYNAME_R /**/
1536#define GETHOSTBYNAME_R_PROTO $gethostbyname_r_proto /**/
1537
1538/* HAS_GETHOSTENT_R:
1539 * This symbol, if defined, indicates that the gethostent_r routine
1540 * is available to gethostent re-entrantly.
1541 */
1542/* GETHOSTENT_R_PROTO:
1543 * This symbol encodes the prototype of gethostent_r.
1544 * It is zero if d_gethostent_r is undef, and one of the
1545 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostent_r
1546 * is defined.
1547 */
1548#$d_gethostent_r HAS_GETHOSTENT_R /**/
1549#define GETHOSTENT_R_PROTO $gethostent_r_proto /**/
1550
06501368
MB
1551/* HAS_GETHOST_PROTOS:
1552 * This symbol, if defined, indicates that <netdb.h> includes
1553 * prototypes for gethostent(), gethostbyname(), and
1554 * gethostbyaddr(). Otherwise, it is up to the program to guess
1555 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1556 */
1557#$d_gethostprotos HAS_GETHOST_PROTOS /**/
1558
eaf812ae
MB
1559/* HAS_GETLOGIN_R:
1560 * This symbol, if defined, indicates that the getlogin_r routine
1561 * is available to getlogin re-entrantly.
1562 */
1563/* GETLOGIN_R_PROTO:
1564 * This symbol encodes the prototype of getlogin_r.
1565 * It is zero if d_getlogin_r is undef, and one of the
1566 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getlogin_r
1567 * is defined.
1568 */
1569#$d_getlogin_r HAS_GETLOGIN_R /**/
1570#define GETLOGIN_R_PROTO $getlogin_r_proto /**/
1571
06501368
MB
1572/* HAS_GETNETBYADDR:
1573 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1574 * available to look up networks by their IP addresses.
1575 */
1576#$d_getnbyaddr HAS_GETNETBYADDR /**/
1577
1578/* HAS_GETNETBYNAME:
1579 * This symbol, if defined, indicates that the getnetbyname() routine is
1580 * available to look up networks by their names.
1581 */
1582#$d_getnbyname HAS_GETNETBYNAME /**/
1583
1584/* HAS_GETNETENT:
1585 * This symbol, if defined, indicates that the getnetent() routine is
1586 * available to look up network names in some data base or another.
1587 */
1588#$d_getnent HAS_GETNETENT /**/
1589
eaf812ae
MB
1590/* HAS_GETNETBYADDR_R:
1591 * This symbol, if defined, indicates that the getnetbyaddr_r routine
1592 * is available to getnetbyaddr re-entrantly.
1593 */
1594/* GETNETBYADDR_R_PROTO:
1595 * This symbol encodes the prototype of getnetbyaddr_r.
1596 * It is zero if d_getnetbyaddr_r is undef, and one of the
1597 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyaddr_r
1598 * is defined.
1599 */
1600#$d_getnetbyaddr_r HAS_GETNETBYADDR_R /**/
1601#define GETNETBYADDR_R_PROTO $getnetbyaddr_r_proto /**/
1602
1603/* HAS_GETNETBYNAME_R:
1604 * This symbol, if defined, indicates that the getnetbyname_r routine
1605 * is available to getnetbyname re-entrantly.
1606 */
1607/* GETNETBYNAME_R_PROTO:
1608 * This symbol encodes the prototype of getnetbyname_r.
1609 * It is zero if d_getnetbyname_r is undef, and one of the
1610 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyname_r
1611 * is defined.
1612 */
1613#$d_getnetbyname_r HAS_GETNETBYNAME_R /**/
1614#define GETNETBYNAME_R_PROTO $getnetbyname_r_proto /**/
1615
1616/* HAS_GETNETENT_R:
1617 * This symbol, if defined, indicates that the getnetent_r routine
1618 * is available to getnetent re-entrantly.
1619 */
1620/* GETNETENT_R_PROTO:
1621 * This symbol encodes the prototype of getnetent_r.
1622 * It is zero if d_getnetent_r is undef, and one of the
1623 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetent_r
1624 * is defined.
1625 */
1626#$d_getnetent_r HAS_GETNETENT_R /**/
1627#define GETNETENT_R_PROTO $getnetent_r_proto /**/
1628
06501368
MB
1629/* HAS_GETNET_PROTOS:
1630 * This symbol, if defined, indicates that <netdb.h> includes
1631 * prototypes for getnetent(), getnetbyname(), and
1632 * getnetbyaddr(). Otherwise, it is up to the program to guess
1633 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1634 */
1635#$d_getnetprotos HAS_GETNET_PROTOS /**/
1636
b8677e3b
MB
1637/* HAS_GETPAGESIZE:
1638 * This symbol, if defined, indicates that the getpagesize system call
1639 * is available to get system page size, which is the granularity of
1640 * many memory management calls.
a845a0d4 1641 */
b8677e3b 1642#$d_getpagsz HAS_GETPAGESIZE /**/
a845a0d4 1643
06501368
MB
1644/* HAS_GETPROTOENT:
1645 * This symbol, if defined, indicates that the getprotoent() routine is
1646 * available to look up protocols in some data base or another.
1647 */
1648#$d_getpent HAS_GETPROTOENT /**/
1649
1650/* HAS_GETPGRP:
1651 * This symbol, if defined, indicates that the getpgrp routine is
1652 * available to get the current process group.
1653 */
1654/* USE_BSD_GETPGRP:
1655 * This symbol, if defined, indicates that getpgrp needs one
1656 * arguments whereas USG one needs none.
1657 */
1658#$d_getpgrp HAS_GETPGRP /**/
1659#$d_bsdgetpgrp USE_BSD_GETPGRP /**/
1660
1661/* HAS_GETPROTOBYNAME:
1662 * This symbol, if defined, indicates that the getprotobyname()
1663 * routine is available to look up protocols by their name.
1664 */
1665/* HAS_GETPROTOBYNUMBER:
1666 * This symbol, if defined, indicates that the getprotobynumber()
1667 * routine is available to look up protocols by their number.
1668 */
1669#$d_getpbyname HAS_GETPROTOBYNAME /**/
1670#$d_getpbynumber HAS_GETPROTOBYNUMBER /**/
1671
eaf812ae
MB
1672/* HAS_GETPROTOBYNAME_R:
1673 * This symbol, if defined, indicates that the getprotobyname_r routine
1674 * is available to getprotobyname re-entrantly.
1675 */
1676/* GETPROTOBYNAME_R_PROTO:
1677 * This symbol encodes the prototype of getprotobyname_r.
1678 * It is zero if d_getprotobyname_r is undef, and one of the
1679 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobyname_r
1680 * is defined.
1681 */
1682#$d_getprotobyname_r HAS_GETPROTOBYNAME_R /**/
1683#define GETPROTOBYNAME_R_PROTO $getprotobyname_r_proto /**/
1684
1685/* HAS_GETPROTOBYNUMBER_R:
1686 * This symbol, if defined, indicates that the getprotobynumber_r routine
1687 * is available to getprotobynumber re-entrantly.
1688 */
1689/* GETPROTOBYNUMBER_R_PROTO:
1690 * This symbol encodes the prototype of getprotobynumber_r.
1691 * It is zero if d_getprotobynumber_r is undef, and one of the
1692 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobynumber_r
1693 * is defined.
1694 */
1695#$d_getprotobynumber_r HAS_GETPROTOBYNUMBER_R /**/
1696#define GETPROTOBYNUMBER_R_PROTO $getprotobynumber_r_proto /**/
1697
1698/* HAS_GETPROTOENT_R:
1699 * This symbol, if defined, indicates that the getprotoent_r routine
1700 * is available to getprotoent re-entrantly.
1701 */
1702/* GETPROTOENT_R_PROTO:
1703 * This symbol encodes the prototype of getprotoent_r.
1704 * It is zero if d_getprotoent_r is undef, and one of the
1705 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotoent_r
1706 * is defined.
1707 */
1708#$d_getprotoent_r HAS_GETPROTOENT_R /**/
1709#define GETPROTOENT_R_PROTO $getprotoent_r_proto /**/
1710
06501368
MB
1711/* HAS_GETPROTO_PROTOS:
1712 * This symbol, if defined, indicates that <netdb.h> includes
1713 * prototypes for getprotoent(), getprotobyname(), and
1714 * getprotobyaddr(). Otherwise, it is up to the program to guess
1715 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1716 */
1717#$d_getprotoprotos HAS_GETPROTO_PROTOS /**/
1718
1719/* HAS_GETPWENT:
1720 * This symbol, if defined, indicates that the getpwent routine is
1721 * available for sequential access of the passwd database.
1722 * If this is not available, the older getpw() function may be available.
1723 */
1724#$d_getpwent HAS_GETPWENT /**/
1725
08c92000
MB
1726/* HAS_GETPWENT_R:
1727 * This symbol, if defined, indicates that the getpwent_r routine
1728 * is available to getpwent re-entrantly.
a845a0d4 1729 */
08c92000
MB
1730/* GETPWENT_R_PROTO:
1731 * This symbol encodes the prototype of getpwent_r.
1732 * It is zero if d_getpwent_r is undef, and one of the
1733 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwent_r
1734 * is defined.
a845a0d4 1735 */
08c92000
MB
1736#$d_getpwent_r HAS_GETPWENT_R /**/
1737#define GETPWENT_R_PROTO $getpwent_r_proto /**/
a845a0d4 1738
08c92000
MB
1739/* HAS_GETPWNAM_R:
1740 * This symbol, if defined, indicates that the getpwnam_r routine
1741 * is available to getpwnam re-entrantly.
a845a0d4 1742 */
08c92000
MB
1743/* GETPWNAM_R_PROTO:
1744 * This symbol encodes the prototype of getpwnam_r.
1745 * It is zero if d_getpwnam_r is undef, and one of the
1746 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwnam_r
1747 * is defined.
a845a0d4 1748 */
08c92000
MB
1749#$d_getpwnam_r HAS_GETPWNAM_R /**/
1750#define GETPWNAM_R_PROTO $getpwnam_r_proto /**/
a845a0d4 1751
08c92000
MB
1752/* HAS_GETPWUID_R:
1753 * This symbol, if defined, indicates that the getpwuid_r routine
1754 * is available to getpwuid re-entrantly.
10bc17b6 1755 */
08c92000
MB
1756/* GETPWUID_R_PROTO:
1757 * This symbol encodes the prototype of getpwuid_r.
1758 * It is zero if d_getpwuid_r is undef, and one of the
1759 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r
1760 * is defined.
a845a0d4 1761 */
08c92000
MB
1762#$d_getpwuid_r HAS_GETPWUID_R /**/
1763#define GETPWUID_R_PROTO $getpwuid_r_proto /**/
a845a0d4 1764
06501368
MB
1765/* HAS_GETSERVENT:
1766 * This symbol, if defined, indicates that the getservent() routine is
1767 * available to look up network services in some data base or another.
1768 */
1769#$d_getsent HAS_GETSERVENT /**/
1770
eaf812ae
MB
1771/* HAS_GETSERVBYNAME_R:
1772 * This symbol, if defined, indicates that the getservbyname_r routine
1773 * is available to getservbyname re-entrantly.
1774 */
1775/* GETSERVBYNAME_R_PROTO:
1776 * This symbol encodes the prototype of getservbyname_r.
1777 * It is zero if d_getservbyname_r is undef, and one of the
1778 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyname_r
1779 * is defined.
1780 */
1781#$d_getservbyname_r HAS_GETSERVBYNAME_R /**/
1782#define GETSERVBYNAME_R_PROTO $getservbyname_r_proto /**/
1783
1784/* HAS_GETSERVBYPORT_R:
1785 * This symbol, if defined, indicates that the getservbyport_r routine
1786 * is available to getservbyport re-entrantly.
1787 */
1788/* GETSERVBYPORT_R_PROTO:
1789 * This symbol encodes the prototype of getservbyport_r.
1790 * It is zero if d_getservbyport_r is undef, and one of the
1791 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyport_r
1792 * is defined.
1793 */
1794#$d_getservbyport_r HAS_GETSERVBYPORT_R /**/
1795#define GETSERVBYPORT_R_PROTO $getservbyport_r_proto /**/
1796
1797/* HAS_GETSERVENT_R:
1798 * This symbol, if defined, indicates that the getservent_r routine
1799 * is available to getservent re-entrantly.
1800 */
1801/* GETSERVENT_R_PROTO:
1802 * This symbol encodes the prototype of getservent_r.
1803 * It is zero if d_getservent_r is undef, and one of the
1804 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservent_r
1805 * is defined.
1806 */
1807#$d_getservent_r HAS_GETSERVENT_R /**/
1808#define GETSERVENT_R_PROTO $getservent_r_proto /**/
1809
06501368
MB
1810/* HAS_GETSERV_PROTOS:
1811 * This symbol, if defined, indicates that <netdb.h> includes
1812 * prototypes for getservent(), getservbyname(), and
1813 * getservbyaddr(). Otherwise, it is up to the program to guess
1814 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1815 */
1816#$d_getservprotos HAS_GETSERV_PROTOS /**/
1817
08c92000
MB
1818/* HAS_GETSPNAM_R:
1819 * This symbol, if defined, indicates that the getspnam_r routine
1820 * is available to getspnam re-entrantly.
a845a0d4 1821 */
08c92000
MB
1822/* GETSPNAM_R_PROTO:
1823 * This symbol encodes the prototype of getspnam_r.
1824 * It is zero if d_getspnam_r is undef, and one of the
1825 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getspnam_r
1826 * is defined.
a845a0d4 1827 */
08c92000
MB
1828#$d_getspnam_r HAS_GETSPNAM_R /**/
1829#define GETSPNAM_R_PROTO $getspnam_r_proto /**/
a845a0d4 1830
06501368
MB
1831/* HAS_GETSERVBYNAME:
1832 * This symbol, if defined, indicates that the getservbyname()
1833 * routine is available to look up services by their name.
1834 */
1835/* HAS_GETSERVBYPORT:
1836 * This symbol, if defined, indicates that the getservbyport()
1837 * routine is available to look up services by their port.
1838 */
1839#$d_getsbyname HAS_GETSERVBYNAME /**/
1840#$d_getsbyport HAS_GETSERVBYPORT /**/
1841
08c92000
MB
1842/* HAS_GMTIME_R:
1843 * This symbol, if defined, indicates that the gmtime_r routine
1844 * is available to gmtime re-entrantly.
1845 */
1846/* GMTIME_R_PROTO:
1847 * This symbol encodes the prototype of gmtime_r.
1848 * It is zero if d_gmtime_r is undef, and one of the
1849 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gmtime_r
1850 * is defined.
1851 */
1852#$d_gmtime_r HAS_GMTIME_R /**/
1853#define GMTIME_R_PROTO $gmtime_r_proto /**/
1854
b8677e3b
MB
1855/* HAS_GNULIBC:
1856 * This symbol, if defined, indicates to the C program that
1857 * the GNU C library is being used. A better check is to use
1858 * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc.
a845a0d4 1859 */
b8677e3b
MB
1860#$d_gnulibc HAS_GNULIBC /**/
1861#if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
1862# define _GNU_SOURCE
1863#endif
1864
06501368
MB
1865/* HAS_HTONL:
1866 * This symbol, if defined, indicates that the htonl() routine (and
1867 * friends htons() ntohl() ntohs()) are available to do network
1868 * order byte swapping.
1869 */
1870/* HAS_HTONS:
1871 * This symbol, if defined, indicates that the htons() routine (and
1872 * friends htonl() ntohl() ntohs()) are available to do network
1873 * order byte swapping.
1874 */
1875/* HAS_NTOHL:
1876 * This symbol, if defined, indicates that the ntohl() routine (and
1877 * friends htonl() htons() ntohs()) are available to do network
1878 * order byte swapping.
1879 */
1880/* HAS_NTOHS:
1881 * This symbol, if defined, indicates that the ntohs() routine (and
1882 * friends htonl() htons() ntohl()) are available to do network
1883 * order byte swapping.
1884 */
1885#$d_htonl HAS_HTONL /**/
1886#$d_htonl HAS_HTONS /**/
1887#$d_htonl HAS_NTOHL /**/
1888#$d_htonl HAS_NTOHS /**/
1889
b8677e3b
MB
1890/* HAS_ISASCII:
1891 * This manifest constant lets the C program know that isascii
1892 * is available.
a845a0d4 1893 */
b8677e3b
MB
1894#$d_isascii HAS_ISASCII /**/
1895
1896/* HAS_LCHOWN:
1897 * This symbol, if defined, indicates that the lchown routine is
1898 * available to operate on a symbolic link (instead of following the
1899 * link).
a845a0d4 1900 */
b8677e3b 1901#$d_lchown HAS_LCHOWN /**/
a845a0d4 1902
08c92000
MB
1903/* HAS_LOCALTIME_R:
1904 * This symbol, if defined, indicates that the localtime_r routine
1905 * is available to localtime re-entrantly.
1906 */
f025e94b
MB
1907/* LOCALTIME_R_NEEDS_TZSET:
1908 * Many libc's localtime_r implementations do not call tzset,
1909 * making them differ from localtime(), and making timezone
47d847ba 1910 * changes using \$ENV{TZ} without explicitly calling tzset
f025e94b
MB
1911 * impossible. This symbol makes us call tzset before localtime_r
1912 */
8572b25d
BH
1913#$d_localtime_r_needs_tzset LOCALTIME_R_NEEDS_TZSET /**/
1914#ifdef LOCALTIME_R_NEEDS_TZSET
1915#define L_R_TZSET tzset(),
1916#else
1917#define L_R_TZSET
1918#endif
1919
08c92000
MB
1920/* LOCALTIME_R_PROTO:
1921 * This symbol encodes the prototype of localtime_r.
1922 * It is zero if d_localtime_r is undef, and one of the
1923 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r
1924 * is defined.
1925 */
1926#$d_localtime_r HAS_LOCALTIME_R /**/
1927#define LOCALTIME_R_PROTO $localtime_r_proto /**/
1928
06501368
MB
1929/* HAS_LONG_DOUBLE:
1930 * This symbol will be defined if the C compiler supports long
1931 * doubles.
08c92000 1932 */
06501368
MB
1933/* LONG_DOUBLESIZE:
1934 * This symbol contains the size of a long double, so that the
1935 * C preprocessor can make decisions based on it. It is only
1936 * defined if the system supports long doubles.
a845a0d4 1937 */
06501368
MB
1938#$d_longdbl HAS_LONG_DOUBLE /**/
1939#ifdef HAS_LONG_DOUBLE
1940#define LONG_DOUBLESIZE $longdblsize /**/
1941#endif
a845a0d4 1942
06501368
MB
1943/* HAS_LONG_LONG:
1944 * This symbol will be defined if the C compiler supports long long.
eaf812ae 1945 */
06501368
MB
1946/* LONGLONGSIZE:
1947 * This symbol contains the size of a long long, so that the
1948 * C preprocessor can make decisions based on it. It is only
1949 * defined if the system supports long long.
1950 */
1951#$d_longlong HAS_LONG_LONG /**/
1952#ifdef HAS_LONG_LONG
1953#define LONGLONGSIZE $longlongsize /**/
1954#endif
eaf812ae 1955
06501368
MB
1956/* HAS_LSEEK_PROTO:
1957 * This symbol, if defined, indicates that the system provides
1958 * a prototype for the lseek() function. Otherwise, it is up
1959 * to the program to supply one. A good guess is
1960 * extern off_t lseek(int, off_t, int);
a845a0d4 1961 */
06501368
MB
1962#$d_lseekproto HAS_LSEEK_PROTO /**/
1963
1964/* HAS_MEMCHR:
1965 * This symbol, if defined, indicates that the memchr routine is available
1966 * to locate characters within a C string.
a845a0d4 1967 */
06501368
MB
1968#$d_memchr HAS_MEMCHR /**/
1969
1970/* HAS_MKSTEMP:
1971 * This symbol, if defined, indicates that the mkstemp routine is
1972 * available to exclusively create and open a uniquely named
1973 * temporary file.
1974 */
1975#$d_mkstemp HAS_MKSTEMP /**/
1976
1977/* HAS_MMAP:
1978 * This symbol, if defined, indicates that the mmap system call is
1979 * available to map a file into memory.
1980 */
1981/* Mmap_t:
1982 * This symbol holds the return type of the mmap() system call
1983 * (and simultaneously the type of the first argument).
1984 * Usually set to 'void *' or 'caddr_t'.
1985 */
1986#$d_mmap HAS_MMAP /**/
1987#define Mmap_t $mmaptype /**/
1988
1989/* HAS_MSG:
1990 * This symbol, if defined, indicates that the entire msg*(2) library is
1991 * supported (IPC mechanism based on message queues).
1992 */
1993#$d_msg HAS_MSG /**/
1994
1995/* HAS_OPEN3:
1996 * This manifest constant lets the C program know that the three
1997 * argument form of open(2) is available.
1998 */
1999#$d_open3 HAS_OPEN3 /**/
2000
2001/* OLD_PTHREAD_CREATE_JOINABLE:
2002 * This symbol, if defined, indicates how to create pthread
2003 * in joinable (aka undetached) state. NOTE: not defined
2004 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
2005 * (the new version of the constant).
2006 * If defined, known values are PTHREAD_CREATE_UNDETACHED
2007 * and __UNDETACHED.
2008 */
2009#$d_old_pthread_create_joinable OLD_PTHREAD_CREATE_JOINABLE $old_pthread_create_joinable /**/
2010
2011/* HAS_PTHREAD_ATFORK:
2012 * This symbol, if defined, indicates that the pthread_atfork routine
2013 * is available to setup fork handlers.
2014 */
2015#$d_pthread_atfork HAS_PTHREAD_ATFORK /**/
2016
2017/* HAS_PTHREAD_YIELD:
2018 * This symbol, if defined, indicates that the pthread_yield
2019 * routine is available to yield the execution of the current
2020 * thread. sched_yield is preferable to pthread_yield.
2021 */
2022/* SCHED_YIELD:
2023 * This symbol defines the way to yield the execution of
2024 * the current thread. Known ways are sched_yield,
2025 * pthread_yield, and pthread_yield with NULL.
2026 */
2027/* HAS_SCHED_YIELD:
2028 * This symbol, if defined, indicates that the sched_yield
08c92000
MB
2029 * routine is available to yield the execution of the current
2030 * thread. sched_yield is preferable to pthread_yield.
2031 */
2032#$d_pthread_yield HAS_PTHREAD_YIELD /**/
2033#define SCHED_YIELD $sched_yield /**/
2034#$d_sched_yield HAS_SCHED_YIELD /**/
a845a0d4 2035
08c92000
MB
2036/* HAS_RANDOM_R:
2037 * This symbol, if defined, indicates that the random_r routine
2038 * is available to random re-entrantly.
a845a0d4 2039 */
08c92000
MB
2040/* RANDOM_R_PROTO:
2041 * This symbol encodes the prototype of random_r.
2042 * It is zero if d_random_r is undef, and one of the
2043 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r
2044 * is defined.
a845a0d4 2045 */
08c92000
MB
2046#$d_random_r HAS_RANDOM_R /**/
2047#define RANDOM_R_PROTO $random_r_proto /**/
a845a0d4 2048
eaf812ae
MB
2049/* HAS_READDIR64_R:
2050 * This symbol, if defined, indicates that the readdir64_r routine
2051 * is available to readdir64 re-entrantly.
2052 */
2053/* READDIR64_R_PROTO:
2054 * This symbol encodes the prototype of readdir64_r.
2055 * It is zero if d_readdir64_r is undef, and one of the
2056 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir64_r
2057 * is defined.
2058 */
2059#$d_readdir64_r HAS_READDIR64_R /**/
2060#define READDIR64_R_PROTO $readdir64_r_proto /**/
2061
08c92000
MB
2062/* HAS_READDIR_R:
2063 * This symbol, if defined, indicates that the readdir_r routine
2064 * is available to readdir re-entrantly.
a845a0d4 2065 */
08c92000
MB
2066/* READDIR_R_PROTO:
2067 * This symbol encodes the prototype of readdir_r.
2068 * It is zero if d_readdir_r is undef, and one of the
2069 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r
2070 * is defined.
2071 */
2072#$d_readdir_r HAS_READDIR_R /**/
2073#define READDIR_R_PROTO $readdir_r_proto /**/
a845a0d4 2074
b8677e3b
MB
2075/* HAS_SAFE_BCOPY:
2076 * This symbol, if defined, indicates that the bcopy routine is available
2077 * to copy potentially overlapping memory blocks. Normally, you should
2078 * probably use memmove() or memcpy(). If neither is defined, roll your
2079 * own version.
08c92000 2080 */
b8677e3b 2081#$d_safebcpy HAS_SAFE_BCOPY /**/
08c92000 2082
b8677e3b
MB
2083/* HAS_SAFE_MEMCPY:
2084 * This symbol, if defined, indicates that the memcpy routine is available
2085 * to copy potentially overlapping memory blocks. If you need to
2086 * copy overlapping memory blocks, you should check HAS_MEMMOVE and
2087 * use memmove() instead, if available.
08c92000 2088 */
b8677e3b
MB
2089#$d_safemcpy HAS_SAFE_MEMCPY /**/
2090
2091/* HAS_SANE_MEMCMP:
2092 * This symbol, if defined, indicates that the memcmp routine is available
2093 * and can be used to compare relative magnitudes of chars with their high
2094 * bits set. If it is not defined, roll your own version.
2095 */
2096#$d_sanemcmp HAS_SANE_MEMCMP /**/
08c92000 2097
06501368
MB
2098/* HAS_SEM:
2099 * This symbol, if defined, indicates that the entire sem*(2) library is
2100 * supported.
2101 */
2102#$d_sem HAS_SEM /**/
2103
2104/* HAS_SETGRENT:
2105 * This symbol, if defined, indicates that the setgrent routine is
2106 * available for initializing sequential access of the group database.
2107 */
2108#$d_setgrent HAS_SETGRENT /**/
2109
08c92000
MB
2110/* HAS_SETGRENT_R:
2111 * This symbol, if defined, indicates that the setgrent_r routine
2112 * is available to setgrent re-entrantly.
2113 */
2114/* SETGRENT_R_PROTO:
2115 * This symbol encodes the prototype of setgrent_r.
2116 * It is zero if d_setgrent_r is undef, and one of the
2117 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r
2118 * is defined.
2119 */
2120#$d_setgrent_r HAS_SETGRENT_R /**/
2121#define SETGRENT_R_PROTO $setgrent_r_proto /**/
2122
06501368
MB
2123/* HAS_SETHOSTENT:
2124 * This symbol, if defined, indicates that the sethostent() routine is
2125 * available.
2126 */
2127#$d_sethent HAS_SETHOSTENT /**/
2128
eaf812ae
MB
2129/* HAS_SETHOSTENT_R:
2130 * This symbol, if defined, indicates that the sethostent_r routine
2131 * is available to sethostent re-entrantly.
2132 */
2133/* SETHOSTENT_R_PROTO:
2134 * This symbol encodes the prototype of sethostent_r.
2135 * It is zero if d_sethostent_r is undef, and one of the
2136 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_sethostent_r
2137 * is defined.
2138 */
2139#$d_sethostent_r HAS_SETHOSTENT_R /**/
2140#define SETHOSTENT_R_PROTO $sethostent_r_proto /**/
2141
eaf812ae
MB
2142/* HAS_SETLOCALE_R:
2143 * This symbol, if defined, indicates that the setlocale_r routine
2144 * is available to setlocale re-entrantly.
2145 */
2146/* SETLOCALE_R_PROTO:
2147 * This symbol encodes the prototype of setlocale_r.
2148 * It is zero if d_setlocale_r is undef, and one of the
2149 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setlocale_r
2150 * is defined.
2151 */
2152#$d_setlocale_r HAS_SETLOCALE_R /**/
2153#define SETLOCALE_R_PROTO $setlocale_r_proto /**/
2154
06501368
MB
2155/* HAS_SETNETENT:
2156 * This symbol, if defined, indicates that the setnetent() routine is
2157 * available.
2158 */
2159#$d_setnent HAS_SETNETENT /**/
2160
eaf812ae
MB
2161/* HAS_SETNETENT_R:
2162 * This symbol, if defined, indicates that the setnetent_r routine
2163 * is available to setnetent re-entrantly.
2164 */
2165/* SETNETENT_R_PROTO:
2166 * This symbol encodes the prototype of setnetent_r.
2167 * It is zero if d_setnetent_r is undef, and one of the
2168 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setnetent_r
2169 * is defined.
2170 */
2171#$d_setnetent_r HAS_SETNETENT_R /**/
2172#define SETNETENT_R_PROTO $setnetent_r_proto /**/
2173
06501368
MB
2174/* HAS_SETPROTOENT:
2175 * This symbol, if defined, indicates that the setprotoent() routine is
2176 * available.
2177 */
2178#$d_setpent HAS_SETPROTOENT /**/
2179
2180/* HAS_SETPGRP:
2181 * This symbol, if defined, indicates that the setpgrp routine is
2182 * available to set the current process group.
2183 */
2184/* USE_BSD_SETPGRP:
2185 * This symbol, if defined, indicates that setpgrp needs two
2186 * arguments whereas USG one needs none. See also HAS_SETPGID
2187 * for a POSIX interface.
2188 */
2189#$d_setpgrp HAS_SETPGRP /**/
2190#$d_bsdsetpgrp USE_BSD_SETPGRP /**/
2191
eaf812ae
MB
2192/* HAS_SETPROTOENT_R:
2193 * This symbol, if defined, indicates that the setprotoent_r routine
2194 * is available to setprotoent re-entrantly.
2195 */
2196/* SETPROTOENT_R_PROTO:
2197 * This symbol encodes the prototype of setprotoent_r.
2198 * It is zero if d_setprotoent_r is undef, and one of the
2199 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setprotoent_r
2200 * is defined.
2201 */
2202#$d_setprotoent_r HAS_SETPROTOENT_R /**/
2203#define SETPROTOENT_R_PROTO $setprotoent_r_proto /**/
2204
06501368
MB
2205/* HAS_SETPWENT:
2206 * This symbol, if defined, indicates that the setpwent routine is
2207 * available for initializing sequential access of the passwd database.
2208 */
2209#$d_setpwent HAS_SETPWENT /**/
2210
08c92000
MB
2211/* HAS_SETPWENT_R:
2212 * This symbol, if defined, indicates that the setpwent_r routine
2213 * is available to setpwent re-entrantly.
2214 */
2215/* SETPWENT_R_PROTO:
2216 * This symbol encodes the prototype of setpwent_r.
2217 * It is zero if d_setpwent_r is undef, and one of the
2218 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r
2219 * is defined.
2220 */
2221#$d_setpwent_r HAS_SETPWENT_R /**/
2222#define SETPWENT_R_PROTO $setpwent_r_proto /**/
2223
06501368
MB
2224/* HAS_SETSERVENT:
2225 * This symbol, if defined, indicates that the setservent() routine is
2226 * available.
2227 */
2228#$d_setsent HAS_SETSERVENT /**/
2229
eaf812ae
MB
2230/* HAS_SETSERVENT_R:
2231 * This symbol, if defined, indicates that the setservent_r routine
2232 * is available to setservent re-entrantly.
2233 */
2234/* SETSERVENT_R_PROTO:
2235 * This symbol encodes the prototype of setservent_r.
2236 * It is zero if d_setservent_r is undef, and one of the
2237 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setservent_r
2238 * is defined.
2239 */
2240#$d_setservent_r HAS_SETSERVENT_R /**/
2241#define SETSERVENT_R_PROTO $setservent_r_proto /**/
2242
06501368
MB
2243/* HAS_SETVBUF:
2244 * This symbol, if defined, indicates that the setvbuf routine is
2245 * available to change buffering on an open stdio stream.
2246 * to a line-buffered mode.
2247 */
2248#$d_setvbuf HAS_SETVBUF /**/
2249
2250/* HAS_SHM:
2251 * This symbol, if defined, indicates that the entire shm*(2) library is
2252 * supported.
2253 */
2254#$d_shm HAS_SHM /**/
2255
2256/* Shmat_t:
2257 * This symbol holds the return type of the shmat() system call.
2258 * Usually set to 'void *' or 'char *'.
2259 */
2260/* HAS_SHMAT_PROTOTYPE:
2261 * This symbol, if defined, indicates that the sys/shm.h includes
2262 * a prototype for shmat(). Otherwise, it is up to the program to
2263 * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess,
2264 * but not always right so it should be emitted by the program only
2265 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
2266 */
2267#define Shmat_t $shmattype /**/
2268#$d_shmatprototype HAS_SHMAT_PROTOTYPE /**/
2269
b8677e3b
MB
2270/* HAS_SIGACTION:
2271 * This symbol, if defined, indicates that Vr4's sigaction() routine
2272 * is available.
eaf812ae 2273 */
b8677e3b 2274#$d_sigaction HAS_SIGACTION /**/
eaf812ae 2275
b8677e3b
MB
2276/* HAS_SIGSETJMP:
2277 * This variable indicates to the C program that the sigsetjmp()
2278 * routine is available to save the calling process's registers
2279 * and stack environment for later use by siglongjmp(), and
2280 * to optionally save the process's signal mask. See
2281 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
10bc17b6 2282 */
b8677e3b
MB
2283/* Sigjmp_buf:
2284 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
c7aff470 2285 */
b8677e3b
MB
2286/* Sigsetjmp:
2287 * This macro is used in the same way as sigsetjmp(), but will invoke
2288 * traditional setjmp() if sigsetjmp isn't available.
2289 * See HAS_SIGSETJMP.
b363b713 2290 */
b8677e3b
MB
2291/* Siglongjmp:
2292 * This macro is used in the same way as siglongjmp(), but will invoke
2293 * traditional longjmp() if siglongjmp isn't available.
2294 * See HAS_SIGSETJMP.
a7fea17f 2295 */
b8677e3b
MB
2296#$d_sigsetjmp HAS_SIGSETJMP /**/
2297#ifdef HAS_SIGSETJMP
2298#define Sigjmp_buf sigjmp_buf
2299#define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
2300#define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
2301#else
2302#define Sigjmp_buf jmp_buf
2303#define Sigsetjmp(buf,save_mask) setjmp((buf))
2304#define Siglongjmp(buf,retval) longjmp((buf),(retval))
2305#endif
44b94491 2306
06501368
MB
2307/* HAS_SOCKET:
2308 * This symbol, if defined, indicates that the BSD socket interface is
2309 * supported.
2310 */
2311/* HAS_SOCKETPAIR:
2312 * This symbol, if defined, indicates that the BSD socketpair() call is
2313 * supported.
2314 */
2315/* HAS_MSG_CTRUNC:
2316 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
2317 * Checking just with #ifdef might not be enough because this symbol
2318 * has been known to be an enum.
2319 */
2320/* HAS_MSG_DONTROUTE:
2321 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
2322 * Checking just with #ifdef might not be enough because this symbol
2323 * has been known to be an enum.
2324 */
2325/* HAS_MSG_OOB:
2326 * This symbol, if defined, indicates that the MSG_OOB is supported.
2327 * Checking just with #ifdef might not be enough because this symbol
2328 * has been known to be an enum.
2329 */
2330/* HAS_MSG_PEEK:
2331 * This symbol, if defined, indicates that the MSG_PEEK is supported.
2332 * Checking just with #ifdef might not be enough because this symbol
2333 * has been known to be an enum.
2334 */
2335/* HAS_MSG_PROXY:
2336 * This symbol, if defined, indicates that the MSG_PROXY is supported.
2337 * Checking just with #ifdef might not be enough because this symbol
2338 * has been known to be an enum.
2339 */
2340/* HAS_SCM_RIGHTS:
2341 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
2342 * Checking just with #ifdef might not be enough because this symbol
2343 * has been known to be an enum.
2344 */
2345/* HAS_SOCKADDR_SA_LEN:
2346 * This symbol, if defined, indicates that the struct sockaddr
2347 * structure has a member called sa_len, indicating the length of
2348 * the structure.
2349 */
18126d98
MB
2350/* HAS_SOCKADDR_IN6:
2351 * This symbol, if defined, indicates the availability of
2352 * struct sockaddr_in6;
2353 */
06501368
MB
2354/* HAS_SIN6_SCOPE_ID:
2355 * This symbol, if defined, indicates that the struct sockaddr_in6
2356 * structure has a member called sin6_scope_id.
2357 */
122b9bf4
MB
2358/* HAS_IP_MREQ:
2359 * This symbol, if defined, indicates the availability of
2360 * struct ip_mreq;
2361 */
3e06601f
MB
2362/* HAS_IP_MREQ_SOURCE:
2363 * This symbol, if defined, indicates the availability of
2364 * struct ip_mreq_source;
2365 */
18126d98
MB
2366/* HAS_IPV6_MREQ:
2367 * This symbol, if defined, indicates the availability of
2368 * struct ipv6_mreq;
2369 */
3e06601f
MB
2370/* HAS_IPV6_MREQ_SOURCE:
2371 * This symbol, if defined, indicates the availability of
2372 * struct ipv6_mreq_source;
2373 */
06501368
MB
2374#$d_socket HAS_SOCKET /**/
2375#$d_sockpair HAS_SOCKETPAIR /**/
2376#$d_sockaddr_sa_len HAS_SOCKADDR_SA_LEN /**/
2377#$d_msg_ctrunc HAS_MSG_CTRUNC /**/
2378#$d_msg_dontroute HAS_MSG_DONTROUTE /**/
2379#$d_msg_oob HAS_MSG_OOB /**/
2380#$d_msg_peek HAS_MSG_PEEK /**/
2381#$d_msg_proxy HAS_MSG_PROXY /**/
2382#$d_scm_rights HAS_SCM_RIGHTS /**/
18126d98 2383#$d_sockaddr_in6 HAS_SOCKADDR_IN6 /**/
06501368 2384#$d_sin6_scope_id HAS_SIN6_SCOPE_ID /**/
122b9bf4 2385#$d_ip_mreq HAS_IP_MREQ /**/
3e06601f 2386#$d_ip_mreq_source HAS_IP_MREQ_SOURCE /**/
18126d98 2387#$d_ipv6_mreq HAS_IPV6_MREQ /**/
3e06601f 2388#$d_ipv6_mreq_source HAS_IPV6_MREQ_SOURCE /**/
06501368 2389
08c92000
MB
2390/* HAS_SRAND48_R:
2391 * This symbol, if defined, indicates that the srand48_r routine
2392 * is available to srand48 re-entrantly.
2393 */
2394/* SRAND48_R_PROTO:
2395 * This symbol encodes the prototype of srand48_r.
2396 * It is zero if d_srand48_r is undef, and one of the
2397 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r
2398 * is defined.
2399 */
2400#$d_srand48_r HAS_SRAND48_R /**/
2401#define SRAND48_R_PROTO $srand48_r_proto /**/
2402
2403/* HAS_SRANDOM_R:
2404 * This symbol, if defined, indicates that the srandom_r routine
2405 * is available to srandom re-entrantly.
2406 */
2407/* SRANDOM_R_PROTO:
2408 * This symbol encodes the prototype of srandom_r.
2409 * It is zero if d_srandom_r is undef, and one of the
2410 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srandom_r
2411 * is defined.
2412 */
2413#$d_srandom_r HAS_SRANDOM_R /**/
2414#define SRANDOM_R_PROTO $srandom_r_proto /**/
2415
06501368
MB
2416/* USE_STAT_BLOCKS:
2417 * This symbol is defined if this system has a stat structure declaring
2418 * st_blksize and st_blocks.
2419 */
2420#ifndef USE_STAT_BLOCKS
2421#$d_statblks USE_STAT_BLOCKS /**/
2422#endif
2423
2424/* HAS_STATIC_INLINE:
2425 * This symbol, if defined, indicates that the C compiler supports
2426 * C99-style static inline. That is, the function can't be called
2427 * from another translation unit.
2428 */
2429/* PERL_STATIC_INLINE:
2430 * This symbol gives the best-guess incantation to use for static
2431 * inline functions. If HAS_STATIC_INLINE is defined, this will
2432 * give C99-style inline. If HAS_STATIC_INLINE is not defined,
2433 * this will give a plain 'static'. It will always be defined
2434 * to something that gives static linkage.
2435 * Possibilities include
2436 * static inline (c99)
2437 * static __inline__ (gcc -ansi)
2438 * static __inline (MSVC)
2439 * static _inline (older MSVC)
2440 * static (c89 compilers)
2441 */
2442#$d_static_inline HAS_STATIC_INLINE /**/
2443#define PERL_STATIC_INLINE $perl_static_inline /**/
2444
b8677e3b
MB
2445/* USE_STDIO_PTR:
2446 * This symbol is defined if the _ptr and _cnt fields (or similar)
2447 * of the stdio FILE structure can be used to access the stdio buffer
2448 * for a file handle. If this is defined, then the FILE_ptr(fp)
2449 * and FILE_cnt(fp) macros will also be defined and should be used
2450 * to access these fields.
a33c94aa 2451 */
b8677e3b
MB
2452/* FILE_ptr:
2453 * This macro is used to access the _ptr field (or equivalent) of the
2454 * FILE structure pointed to by its argument. This macro will always be
2455 * defined if USE_STDIO_PTR is defined.
43dddb59 2456 */
b8677e3b
MB
2457/* STDIO_PTR_LVALUE:
2458 * This symbol is defined if the FILE_ptr macro can be used as an
2459 * lvalue.
08c92000 2460 */
b8677e3b
MB
2461/* FILE_cnt:
2462 * This macro is used to access the _cnt field (or equivalent) of the
2463 * FILE structure pointed to by its argument. This macro will always be
2464 * defined if USE_STDIO_PTR is defined.
08c92000 2465 */
b8677e3b
MB
2466/* STDIO_CNT_LVALUE:
2467 * This symbol is defined if the FILE_cnt macro can be used as an
2468 * lvalue.
08c92000 2469 */
b8677e3b
MB
2470/* STDIO_PTR_LVAL_SETS_CNT:
2471 * This symbol is defined if using the FILE_ptr macro as an lvalue
2472 * to increase the pointer by n has the side effect of decreasing the
2473 * value of File_cnt(fp) by n.
2474 */
2475/* STDIO_PTR_LVAL_NOCHANGE_CNT:
2476 * This symbol is defined if using the FILE_ptr macro as an lvalue
2477 * to increase the pointer by n leaves File_cnt(fp) unchanged.
2478 */
2479#$d_stdstdio USE_STDIO_PTR /**/
2480#ifdef USE_STDIO_PTR
2481#define FILE_ptr(fp) $stdio_ptr
2482#$d_stdio_ptr_lval STDIO_PTR_LVALUE /**/
2483#define FILE_cnt(fp) $stdio_cnt
2484#$d_stdio_cnt_lval STDIO_CNT_LVALUE /**/
2485#$d_stdio_ptr_lval_sets_cnt STDIO_PTR_LVAL_SETS_CNT /**/
2486#$d_stdio_ptr_lval_nochange_cnt STDIO_PTR_LVAL_NOCHANGE_CNT /**/
2487#endif
2488
2489/* USE_STDIO_BASE:
2490 * This symbol is defined if the _base field (or similar) of the
2491 * stdio FILE structure can be used to access the stdio buffer for
2492 * a file handle. If this is defined, then the FILE_base(fp) macro
2493 * will also be defined and should be used to access this field.
2494 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
2495 * to determine the number of bytes in the buffer. USE_STDIO_BASE
2496 * will never be defined unless USE_STDIO_PTR is.
2497 */
2498/* FILE_base:
2499 * This macro is used to access the _base field (or equivalent) of the
2500 * FILE structure pointed to by its argument. This macro will always be
2501 * defined if USE_STDIO_BASE is defined.
2502 */
2503/* FILE_bufsiz:
2504 * This macro is used to determine the number of bytes in the I/O
2505 * buffer pointed to by _base field (or equivalent) of the FILE
2506 * structure pointed to its argument. This macro will always be defined
2507 * if USE_STDIO_BASE is defined.
2508 */
2509#$d_stdiobase USE_STDIO_BASE /**/
2510#ifdef USE_STDIO_BASE
2511#define FILE_base(fp) $stdio_base
2512#define FILE_bufsiz(fp) $stdio_bufsiz
2513#endif
08c92000 2514
06501368
MB
2515/* USE_STRUCT_COPY:
2516 * This symbol, if defined, indicates that this C compiler knows how
2517 * to copy structures. If undefined, you'll need to use a block copy
2518 * routine of some sort instead.
2519 */
2520#$d_strctcpy USE_STRUCT_COPY /**/
2521
2522/* HAS_STRERROR:
2523 * This symbol, if defined, indicates that the strerror routine is
2524 * available to translate error numbers to strings. See the writeup
2525 * of Strerror() in this file before you try to define your own.
2526 */
2527/* HAS_SYS_ERRLIST:
2528 * This symbol, if defined, indicates that the sys_errlist array is
2529 * available to translate error numbers to strings. The extern int
2530 * sys_nerr gives the size of that table.
2531 */
2532/* Strerror:
2533 * This preprocessor symbol is defined as a macro if strerror() is
2534 * not available to translate error numbers to strings but sys_errlist[]
2535 * array is there.
2536 */
2537#$d_strerror HAS_STRERROR /**/
2538#$d_syserrlst HAS_SYS_ERRLIST /**/
2539#define Strerror(e) $d_strerrm
2540
08c92000
MB
2541/* HAS_STRERROR_R:
2542 * This symbol, if defined, indicates that the strerror_r routine
2543 * is available to strerror re-entrantly.
2544 */
2545/* STRERROR_R_PROTO:
2546 * This symbol encodes the prototype of strerror_r.
2547 * It is zero if d_strerror_r is undef, and one of the
2548 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r
2549 * is defined.
2550 */
2551#$d_strerror_r HAS_STRERROR_R /**/
2552#define STRERROR_R_PROTO $strerror_r_proto /**/
2553
06501368
MB
2554/* HAS_STRTOUL:
2555 * This symbol, if defined, indicates that the strtoul routine is
2556 * available to provide conversion of strings to unsigned long.
2557 */
2558#$d_strtoul HAS_STRTOUL /**/
2559
2560/* HAS_TIME:
2561 * This symbol, if defined, indicates that the time() routine exists.
2562 */
2563/* Time_t:
2564 * This symbol holds the type returned by time(). It can be long,
2565 * or time_t on BSD sites (in which case <sys/types.h> should be
2566 * included).
2567 */
2568#$d_time HAS_TIME /**/
2569#define Time_t $timetype /* Time type */
2570
2571/* HAS_TIMES:
2572 * This symbol, if defined, indicates that the times() routine exists.
2573 * Note that this became obsolete on some systems (SUNOS), which now
2574 * use getrusage(). It may be necessary to include <sys/times.h>.
2575 */
2576#$d_times HAS_TIMES /**/
2577
2578/* HAS_TMPNAM_R:
08c92000
MB
2579 * This symbol, if defined, indicates that the tmpnam_r routine
2580 * is available to tmpnam re-entrantly.
2581 */
2582/* TMPNAM_R_PROTO:
2583 * This symbol encodes the prototype of tmpnam_r.
2584 * It is zero if d_tmpnam_r is undef, and one of the
2585 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_tmpnam_r
2586 * is defined.
2587 */
2588#$d_tmpnam_r HAS_TMPNAM_R /**/
2589#define TMPNAM_R_PROTO $tmpnam_r_proto /**/
2590
eaf812ae
MB
2591/* HAS_TTYNAME_R:
2592 * This symbol, if defined, indicates that the ttyname_r routine
2593 * is available to ttyname re-entrantly.
2594 */
2595/* TTYNAME_R_PROTO:
2596 * This symbol encodes the prototype of ttyname_r.
2597 * It is zero if d_ttyname_r is undef, and one of the
2598 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ttyname_r
2599 * is defined.
2600 */
2601#$d_ttyname_r HAS_TTYNAME_R /**/
2602#define TTYNAME_R_PROTO $ttyname_r_proto /**/
2603
06501368
MB
2604/* HAS_UNION_SEMUN:
2605 * This symbol, if defined, indicates that the union semun is
2606 * defined by including <sys/sem.h>. If not, the user code
2607 * probably needs to define it as:
2608 * union semun {
2609 * int val;
2610 * struct semid_ds *buf;
2611 * unsigned short *array;
2612 * }
2613 */
2614/* USE_SEMCTL_SEMUN:
2615 * This symbol, if defined, indicates that union semun is
2616 * used for semctl IPC_STAT.
2617 */
2618/* USE_SEMCTL_SEMID_DS:
2619 * This symbol, if defined, indicates that struct semid_ds * is
2620 * used for semctl IPC_STAT.
2621 */
2622#$d_union_semun HAS_UNION_SEMUN /**/
2623#$d_semctl_semun USE_SEMCTL_SEMUN /**/
2624#$d_semctl_semid_ds USE_SEMCTL_SEMID_DS /**/
2625
2626/* HAS_VFORK:
2627 * This symbol, if defined, indicates that vfork() exists.
2628 */
2629#$d_vfork HAS_VFORK /**/
2630
2631/* HAS_PSEUDOFORK:
2632 * This symbol, if defined, indicates that an emulation of the
2633 * fork routine is available.
2634 */
2635#$d_pseudofork HAS_PSEUDOFORK /**/
2636
2637/* Signal_t:
2638 * This symbol's value is either "void" or "int", corresponding to the
2639 * appropriate return type of a signal handler. Thus, you can declare
2640 * a signal handler using "Signal_t (*handler)()", and define the
2641 * handler using "Signal_t handler(sig)".
2642 */
2643#define Signal_t $signal_t /* Signal handler's return type */
2644
2645/* HASVOLATILE:
2646 * This symbol, if defined, indicates that this C compiler knows about
2647 * the volatile declaration.
2648 */
2649#$d_volatile HASVOLATILE /**/
2650#ifndef HASVOLATILE
2651#define volatile
2652#endif
2653
b8677e3b
MB
2654/* HAS_VPRINTF:
2655 * This symbol, if defined, indicates that the vprintf routine is available
2656 * to printf with a pointer to an argument list. If unavailable, you
2657 * may need to write your own, probably in terms of _doprnt().
c5f05a91 2658 */
b8677e3b
MB
2659/* USE_CHAR_VSPRINTF:
2660 * This symbol is defined if this system has vsprintf() returning type
2661 * (char*). The trend seems to be to declare it as "int vsprintf()". It
2662 * is up to the package author to declare vsprintf correctly based on the
2663 * symbol.
233e16ce 2664 */
b8677e3b
MB
2665#$d_vprintf HAS_VPRINTF /**/
2666#$d_charvspr USE_CHAR_VSPRINTF /**/
233e16ce 2667
b8677e3b
MB
2668/* DOUBLESIZE:
2669 * This symbol contains the size of a double, so that the C preprocessor
2670 * can make decisions based on it.
a3540c92 2671 */
b8677e3b 2672#define DOUBLESIZE $doublesize /**/
a3540c92 2673
06501368 2674/* EBCDIC:
1332606d 2675 * This symbol, if defined, indicates that this system uses
06501368
MB
2676 * EBCDIC encoding.
2677 */
2678#$ebcdic EBCDIC /**/
2679
2680/* Fpos_t:
2681 * This symbol holds the type used to declare file positions in libc.
2682 * It can be fpos_t, long, uint, etc... It may be necessary to include
2683 * <sys/types.h> to get any typedef'ed information.
2684 */
2685#define Fpos_t $fpostype /* File position type */
2686
2687/* Gid_t_f:
2688 * This symbol defines the format string used for printing a Gid_t.
2689 */
2690#define Gid_t_f $gidformat /**/
2691
2692/* Gid_t_sign:
cfc2543a 2693 * This symbol holds the signedness of a Gid_t.
06501368
MB
2694 * 1 for unsigned, -1 for signed.
2695 */
2696#define Gid_t_sign $gidsign /* GID sign */
2697
2698/* Gid_t_size:
2699 * This symbol holds the size of a Gid_t in bytes.
2700 */
2701#define Gid_t_size $gidsize /* GID size */
2702
2703/* Gid_t:
2704 * This symbol holds the return type of getgid() and the type of
2705 * argument to setrgid() and related functions. Typically,
2706 * it is the type of group ids in the kernel. It can be int, ushort,
2707 * gid_t, etc... It may be necessary to include <sys/types.h> to get
2708 * any typedef'ed information.
2709 */
2710#define Gid_t $gidtype /* Type for getgid(), etc... */
2711
2712/* I_DIRENT:
2713 * This symbol, if defined, indicates to the C program that it should
2714 * include <dirent.h>. Using this symbol also triggers the definition
2715 * of the Direntry_t define which ends up being 'struct dirent' or
2716 * 'struct direct' depending on the availability of <dirent.h>.
2717 */
2718/* DIRNAMLEN:
2719 * This symbol, if defined, indicates to the C program that the length
2720 * of directory entry names is provided by a d_namlen field. Otherwise
2721 * you need to do strlen() on the d_name field.
2722 */
2723/* Direntry_t:
2724 * This symbol is set to 'struct direct' or 'struct dirent' depending on
2725 * whether dirent is available or not. You should use this pseudo type to
2726 * portably declare your directory entries.
2727 */
2728#$i_dirent I_DIRENT /**/
2729#$d_dirnamlen DIRNAMLEN /**/
2730#define Direntry_t $direntrytype
2731
0e0c5f82
MB
2732/* I_EXECINFO:
2733 * This symbol, if defined, indicates to the C program that it should
2734 * include <execinfo.h> for backtrace() support.
2735 */
2736#$i_execinfo I_EXECINFO /**/
2737
06501368
MB
2738/* I_GRP:
2739 * This symbol, if defined, indicates to the C program that it should
2740 * include <grp.h>.
2741 */
2742/* GRPASSWD:
2743 * This symbol, if defined, indicates to the C program that struct group
2744 * in <grp.h> contains gr_passwd.
2745 */
2746#$i_grp I_GRP /**/
2747#$d_grpasswd GRPASSWD /**/
2748
b8677e3b
MB
2749/* I_MACH_CTHREADS:
2750 * This symbol, if defined, indicates to the C program that it should
2751 * include <mach/cthreads.h>.
43dddb59 2752 */
b8677e3b 2753#$i_machcthr I_MACH_CTHREADS /**/
43dddb59 2754
06501368
MB
2755/* I_NDBM:
2756 * This symbol, if defined, indicates that <ndbm.h> exists and should
2757 * be included.
2758 */
2759/* I_GDBMNDBM:
2760 * This symbol, if defined, indicates that <gdbm/ndbm.h> exists and should
2761 * be included. This was the location of the ndbm.h compatibility file
2762 * in RedHat 7.1.
2763 */
2764/* I_GDBM_NDBM:
2765 * This symbol, if defined, indicates that <gdbm-ndbm.h> exists and should
2766 * be included. This is the location of the ndbm.h compatibility file
2767 * in Debian 4.0.
2768 */
2769/* NDBM_H_USES_PROTOTYPES:
2770 * This symbol, if defined, indicates that <ndbm.h> uses real ANSI C
2771 * prototypes instead of K&R style function declarations without any
2772 * parameter information. While ANSI C prototypes are supported in C++,
2773 * K&R style function declarations will yield errors.
2774 */
2775/* GDBMNDBM_H_USES_PROTOTYPES:
2776 * This symbol, if defined, indicates that <gdbm/ndbm.h> uses real ANSI C
2777 * prototypes instead of K&R style function declarations without any
2778 * parameter information. While ANSI C prototypes are supported in C++,
2779 * K&R style function declarations will yield errors.
2780 */
2781/* GDBM_NDBM_H_USES_PROTOTYPES:
2782 * This symbol, if defined, indicates that <gdbm-ndbm.h> uses real ANSI C
2783 * prototypes instead of K&R style function declarations without any
2784 * parameter information. While ANSI C prototypes are supported in C++,
2785 * K&R style function declarations will yield errors.
2786 */
2787#$i_ndbm I_NDBM /**/
2788#$i_gdbmndbm I_GDBMNDBM /**/
2789#$i_gdbm_ndbm I_GDBM_NDBM /**/
2790#$d_ndbm_h_uses_prototypes NDBM_H_USES_PROTOTYPES /**/
2791#$d_gdbmndbm_h_uses_prototypes GDBMNDBM_H_USES_PROTOTYPES /**/
2792#$d_gdbm_ndbm_h_uses_prototypes GDBM_NDBM_H_USES_PROTOTYPES /**/
2793
2794/* I_NETDB:
2795 * This symbol, if defined, indicates that <netdb.h> exists and
2796 * should be included.
2797 */
2798#$i_netdb I_NETDB /**/
2799
2800/* I_NET_ERRNO:
2801 * This symbol, if defined, indicates that <net/errno.h> exists and
2802 * should be included.
2803 */
2804#$i_neterrno I_NET_ERRNO /**/
2805
b8677e3b
MB
2806/* I_PTHREAD:
2807 * This symbol, if defined, indicates to the C program that it should
2808 * include <pthread.h>.
08c92000 2809 */
b8677e3b 2810#$i_pthread I_PTHREAD /**/
08c92000 2811
06501368
MB
2812/* I_PWD:
2813 * This symbol, if defined, indicates to the C program that it should
2814 * include <pwd.h>.
2815 */
2816/* PWQUOTA:
2817 * This symbol, if defined, indicates to the C program that struct passwd
2818 * contains pw_quota.
2819 */
2820/* PWAGE:
2821 * This symbol, if defined, indicates to the C program that struct passwd
2822 * contains pw_age.
2823 */
2824/* PWCHANGE:
2825 * This symbol, if defined, indicates to the C program that struct passwd
2826 * contains pw_change.
2827 */
2828/* PWCLASS:
2829 * This symbol, if defined, indicates to the C program that struct passwd
2830 * contains pw_class.
2831 */
2832/* PWEXPIRE:
2833 * This symbol, if defined, indicates to the C program that struct passwd
2834 * contains pw_expire.
2835 */
2836/* PWCOMMENT:
2837 * This symbol, if defined, indicates to the C program that struct passwd
2838 * contains pw_comment.
2839 */
2840/* PWGECOS:
2841 * This symbol, if defined, indicates to the C program that struct passwd
2842 * contains pw_gecos.
2843 */
2844/* PWPASSWD:
2845 * This symbol, if defined, indicates to the C program that struct passwd
2846 * contains pw_passwd.
2847 */
2848#$i_pwd I_PWD /**/
2849#$d_pwquota PWQUOTA /**/
2850#$d_pwage PWAGE /**/
2851#$d_pwchange PWCHANGE /**/
2852#$d_pwclass PWCLASS /**/
2853#$d_pwexpire PWEXPIRE /**/
2854#$d_pwcomment PWCOMMENT /**/
2855#$d_pwgecos PWGECOS /**/
2856#$d_pwpasswd PWPASSWD /**/
2857
b8677e3b
MB
2858/* I_SYS_ACCESS:
2859 * This symbol, if defined, indicates to the C program that it should
2860 * include <sys/access.h>.
08c92000 2861 */
b8677e3b 2862#$i_sysaccess I_SYS_ACCESS /**/
08c92000 2863
b8677e3b
MB
2864/* I_SYS_SECURITY:
2865 * This symbol, if defined, indicates to the C program that it should
2866 * include <sys/security.h>.
08c92000 2867 */
b8677e3b 2868#$i_syssecrt I_SYS_SECURITY /**/
08c92000 2869
06501368
MB
2870/* I_SYSUIO:
2871 * This symbol, if defined, indicates that <sys/uio.h> exists and
2872 * should be included.
2873 */
2874#$i_sysuio I_SYSUIO /**/
2875
0e0c5f82
MB
2876/* I_TERMIO:
2877 * This symbol, if defined, indicates that the program should include
2878 * <termio.h> rather than <sgtty.h>. There are also differences in
2879 * the ioctl() calls that depend on the value of this symbol.
2880 */
2881/* I_TERMIOS:
2882 * This symbol, if defined, indicates that the program should include
2883 * the POSIX termios.h rather than sgtty.h or termio.h.
2884 * There are also differences in the ioctl() calls that depend on the
2885 * value of this symbol.
2886 */
2887/* I_SGTTY:
2888 * This symbol, if defined, indicates that the program should include
2889 * <sgtty.h> rather than <termio.h>. There are also differences in
2890 * the ioctl() calls that depend on the value of this symbol.
2891 */
2892#$i_termio I_TERMIO /**/
2893#$i_termios I_TERMIOS /**/
2894#$i_sgtty I_SGTTY /**/
2895
b8677e3b
MB
2896/* I_TIME:
2897 * This symbol, if defined, indicates to the C program that it should
2898 * include <time.h>.
08c92000 2899 */
b8677e3b
MB
2900/* I_SYS_TIME:
2901 * This symbol, if defined, indicates to the C program that it should
2902 * include <sys/time.h>.
08c92000 2903 */
b8677e3b 2904/* I_SYS_TIME_KERNEL:
43dddb59 2905 * This symbol, if defined, indicates to the C program that it should
b8677e3b 2906 * include <sys/time.h> with KERNEL defined.
43dddb59 2907 */
b8677e3b
MB
2908/* HAS_TM_TM_ZONE:
2909 * This symbol, if defined, indicates to the C program that
2910 * the struct tm has a tm_zone field.
43dddb59 2911 */
b8677e3b
MB
2912/* HAS_TM_TM_GMTOFF:
2913 * This symbol, if defined, indicates to the C program that
2914 * the struct tm has a tm_gmtoff field.
43dddb59 2915 */
b8677e3b
MB
2916#$i_time I_TIME /**/
2917#$i_systime I_SYS_TIME /**/
2918#$i_systimek I_SYS_TIME_KERNEL /**/
2919#$d_tm_tm_zone HAS_TM_TM_ZONE /**/
2920#$d_tm_tm_gmtoff HAS_TM_TM_GMTOFF /**/
43dddb59 2921
06501368
MB
2922/* I_STDARG:
2923 * This symbol, if defined, indicates that <stdarg.h> exists and should
2924 * be included.
2925 */
2926/* I_VARARGS:
2927 * This symbol, if defined, indicates to the C program that it should
2928 * include <varargs.h>.
2929 */
2930#$i_stdarg I_STDARG /**/
2931#$i_varargs I_VARARGS /**/
2932
2933/* PERL_INC_VERSION_LIST:
2934 * This variable specifies the list of subdirectories in over
2935 * which perl.c:incpush() and lib/lib.pm will automatically
2936 * search when adding directories to @INC, in a format suitable
2937 * for a C initialization string. See the inc_version_list entry
2938 * in Porting/Glossary for more details.
08c92000 2939 */
b8677e3b 2940#$d_inc_version_list PERL_INC_VERSION_LIST $inc_version_list_init /**/
08c92000 2941
b8677e3b
MB
2942/* INSTALL_USR_BIN_PERL:
2943 * This symbol, if defined, indicates that Perl is to be installed
2944 * also as /usr/bin/perl.
08c92000 2945 */
b8677e3b 2946#$installusrbinperl INSTALL_USR_BIN_PERL /**/
08c92000 2947
06501368
MB
2948/* Off_t:
2949 * This symbol holds the type used to declare offsets in the kernel.
2950 * It can be int, long, off_t, etc... It may be necessary to include
2951 * <sys/types.h> to get any typedef'ed information.
2952 */
2953/* LSEEKSIZE:
2954 * This symbol holds the number of bytes used by the Off_t.
2955 */
2956/* Off_t_size:
2957 * This symbol holds the number of bytes used by the Off_t.
2958 */
2959#define Off_t $lseektype /* <offset> type */
2960#define LSEEKSIZE $lseeksize /* <offset> size */
2961#define Off_t_size $lseeksize /* <offset> size */
2962
2963/* Free_t:
2964 * This variable contains the return type of free(). It is usually
2965 * void, but occasionally int.
2966 */
2967/* Malloc_t:
2968 * This symbol is the type of pointer returned by malloc and realloc.
2969 */
2970#define Malloc_t $malloctype /**/
2971#define Free_t $freetype /**/
2972
2973/* PERL_MALLOC_WRAP:
2974 * This symbol, if defined, indicates that we'd like malloc wrap checks.
2975 */
2976#$usemallocwrap PERL_MALLOC_WRAP /**/
2977
2978/* MYMALLOC:
2979 * This symbol, if defined, indicates that we're using our own malloc.
2980 */
2981#$d_mymalloc MYMALLOC /**/
2982
2983/* Mode_t:
2984 * This symbol holds the type used to declare file modes
2985 * for systems calls. It is usually mode_t, but may be
2986 * int or unsigned short. It may be necessary to include <sys/types.h>
2987 * to get any typedef'ed information.
2988 */
2989#define Mode_t $modetype /* file mode parameter for system calls */
2990
b8677e3b
MB
2991/* VAL_O_NONBLOCK:
2992 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
2993 * non-blocking I/O for the file descriptor. Note that there is no way
2994 * back, i.e. you cannot turn it blocking again this way. If you wish to
2995 * alternatively switch between blocking and non-blocking, use the
2996 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
eaf812ae 2997 */
b8677e3b
MB
2998/* VAL_EAGAIN:
2999 * This symbol holds the errno error code set by read() when no data was
3000 * present on the non-blocking file descriptor.
1d8eaf8c 3001 */
b8677e3b
MB
3002/* RD_NODATA:
3003 * This symbol holds the return code from read() when no data is present
3004 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
3005 * not defined, then you can't distinguish between no data and EOF by
3006 * issuing a read(). You'll have to find another way to tell for sure!
e74475c7 3007 */
b8677e3b
MB
3008/* EOF_NONBLOCK:
3009 * This symbol, if defined, indicates to the C program that a read() on
3010 * a non-blocking file descriptor will return 0 on EOF, and not the value
3011 * held in RD_NODATA (-1 usually, in that case!).
e74475c7 3012 */
b8677e3b
MB
3013#define VAL_O_NONBLOCK $o_nonblock
3014#define VAL_EAGAIN $eagain
3015#define RD_NODATA $rd_nodata
3016#$d_eofnblk EOF_NONBLOCK
eaf812ae 3017
06501368
MB
3018/* Netdb_host_t:
3019 * This symbol holds the type used for the 1st argument
3020 * to gethostbyaddr().
3021 */
3022/* Netdb_hlen_t:
3023 * This symbol holds the type used for the 2nd argument
3024 * to gethostbyaddr().
3025 */
3026/* Netdb_name_t:
3027 * This symbol holds the type used for the argument to
3028 * gethostbyname().
3029 */
3030/* Netdb_net_t:
3031 * This symbol holds the type used for the 1st argument to
3032 * getnetbyaddr().
3033 */
3034#define Netdb_host_t $netdb_host_type /**/
3035#define Netdb_hlen_t $netdb_hlen_type /**/
3036#define Netdb_name_t $netdb_name_type /**/
3037#define Netdb_net_t $netdb_net_type /**/
3038
b8677e3b
MB
3039/* PERL_OTHERLIBDIRS:
3040 * This variable contains a colon-separated set of paths for the perl
3041 * binary to search for additional library files or modules.
3042 * These directories will be tacked to the end of @INC.
3043 * Perl will automatically search below each path for version-
3044 * and architecture-specific directories. See PERL_INC_VERSION_LIST
3045 * for more details.
08c92000 3046 */
b8677e3b 3047#$d_perl_otherlibdirs PERL_OTHERLIBDIRS "$otherlibdirs" /**/
08c92000 3048
06501368
MB
3049/* Pid_t:
3050 * This symbol holds the type used to declare process ids in the kernel.
3051 * It can be int, uint, pid_t, etc... It may be necessary to include
3052 * <sys/types.h> to get any typedef'ed information.
3053 */
3054#define Pid_t $pidtype /* PID type */
3055
b8677e3b
MB
3056/* PRIVLIB:
3057 * This symbol contains the name of the private library for this package.
3058 * The library is private in the sense that it needn't be in anyone's
3059 * execution path, but it should be accessible by the world. The program
3060 * should be prepared to do ~ expansion.
c0bacbef 3061 */
b8677e3b
MB
3062/* PRIVLIB_EXP:
3063 * This symbol contains the ~name expanded version of PRIVLIB, to be used
3064 * in programs that are not prepared to deal with ~ expansion at run-time.
3065 */
3066#define PRIVLIB "$privlib" /**/
3067#define PRIVLIB_EXP "$privlibexp" /**/
c0bacbef 3068
06501368
MB
3069/* CAN_PROTOTYPE:
3070 * If defined, this macro indicates that the C compiler can handle
3071 * function prototypes.
3072 */
3073/* _:
3074 * This macro is used to declare function parameters for folks who want
3075 * to make declarations with prototypes using a different style than
3076 * the above macros. Use double parentheses. For example:
3077 *
3078 * int main _((int argc, char *argv[]));
3079 */
3080#$prototype CAN_PROTOTYPE /**/
3081#ifdef CAN_PROTOTYPE
3082#define _(args) args
3083#else
3084#define _(args) ()
3085#endif
3086
b8677e3b
MB
3087/* PTRSIZE:
3088 * This symbol contains the size of a pointer, so that the C preprocessor
3089 * can make decisions based on it. It will be sizeof(void *) if
3090 * the compiler supports (void *); otherwise it will be
3091 * sizeof(char *).
08c92000 3092 */
b8677e3b 3093#define PTRSIZE $ptrsize /**/
08c92000 3094
06501368
MB
3095/* HAS_QUAD:
3096 * This symbol, if defined, tells that there's a 64-bit integer type,
3097 * Quad_t, and its unsigned counterpart, Uquad_t. QUADKIND will be one
3098 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, QUAD_IS_INT64_T,
3099 * or QUAD_IS___INT64.
3100 */
3101#$d_quad HAS_QUAD /**/
3102#ifdef HAS_QUAD
3103# define Quad_t $quadtype /**/
3104# define Uquad_t $uquadtype /**/
3105# define QUADKIND $quadkind /**/
3106# define QUAD_IS_INT 1
3107# define QUAD_IS_LONG 2
3108# define QUAD_IS_LONG_LONG 3
3109# define QUAD_IS_INT64_T 4
3110# define QUAD_IS___INT64 5
3111#endif
3112
b8677e3b
MB
3113/* Drand01:
3114 * This macro is to be used to generate uniformly distributed
3115 * random numbers over the range [0., 1.[. You may have to supply
3116 * an 'extern double drand48();' in your program since SunOS 4.1.3
3117 * doesn't provide you with anything relevant in its headers.
3118 * See HAS_DRAND48_PROTO.
a33c94aa 3119 */
b8677e3b
MB
3120/* Rand_seed_t:
3121 * This symbol defines the type of the argument of the
3122 * random seed function.
49dabb45 3123 */
b8677e3b
MB
3124/* seedDrand01:
3125 * This symbol defines the macro to be used in seeding the
3126 * random number generator (see Drand01).
3813c136 3127 */
b8677e3b
MB
3128/* RANDBITS:
3129 * This symbol indicates how many bits are produced by the
3130 * function used to generate normalized random numbers.
3131 * Values include 15, 16, 31, and 48.
1acc7ade 3132 */
a05353bf
MB
3133#define Drand01() $drand01 /**/
3134#define Rand_seed_t $randseedtype /**/
3135#define seedDrand01(x) $seedfunc((Rand_seed_t)x) /**/
3136#define RANDBITS $randbits /**/
b8677e3b 3137
06501368
MB
3138/* Select_fd_set_t:
3139 * This symbol holds the type used for the 2nd, 3rd, and 4th
3140 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
3141 * is defined, and 'int *' otherwise. This is only useful if you
3142 * have select(), of course.
3143 */
3144#define Select_fd_set_t $selecttype /**/
3145
3146/* SH_PATH:
3147 * This symbol contains the full pathname to the shell used on this
3148 * on this system to execute Bourne shell scripts. Usually, this will be
3149 * /bin/sh, though it's possible that some systems will have /bin/ksh,
3150 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
3151 * D:/bin/sh.exe.
3152 */
0b0a0724 3153#define SH_PATH "$targetsh" /**/
06501368
MB
3154
3155/* SIG_NAME:
3156 * This symbol contains a list of signal names in order of
3157 * signal number. This is intended
3158 * to be used as a static array initialization, like this:
3159 * char *sig_name[] = { SIG_NAME };
3160 * The signals in the list are separated with commas, and each signal
3161 * is surrounded by double quotes. There is no leading SIG in the signal
3162 * name, i.e. SIGQUIT is known as "QUIT".
3163 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
3164 * etc., where nn is the actual signal number (e.g. NUM37).
3165 * The signal number for sig_name[i] is stored in sig_num[i].
3166 * The last element is 0 to terminate the list with a NULL. This
3167 * corresponds to the 0 at the end of the sig_name_init list.
3168 * Note that this variable is initialized from the sig_name_init,
3169 * not from sig_name (which is unused).
3170 */
3171/* SIG_NUM:
3172 * This symbol contains a list of signal numbers, in the same order as the
3173 * SIG_NAME list. It is suitable for static array initialization, as in:
3174 * int sig_num[] = { SIG_NUM };
3175 * The signals in the list are separated with commas, and the indices
3176 * within that list and the SIG_NAME list match, so it's easy to compute
3177 * the signal name from a number or vice versa at the price of a small
3178 * dynamic linear lookup.
3179 * Duplicates are allowed, but are moved to the end of the list.
3180 * The signal number corresponding to sig_name[i] is sig_number[i].
3181 * if (i < NSIG) then sig_number[i] == i.
3182 * The last element is 0, corresponding to the 0 at the end of
3183 * the sig_name_init list.
3184 * Note that this variable is initialized from the sig_num_init,
3185 * not from sig_num (which is unused).
3186 */
3187/* SIG_SIZE:
3188 * This variable contains the number of elements of the SIG_NAME
3189 * and SIG_NUM arrays, excluding the final NULL entry.
3190 */
3191#define SIG_NAME $sig_name_init /**/
3192#define SIG_NUM $sig_num_init /**/
3193#define SIG_SIZE $sig_size /**/
3194
b8677e3b
MB
3195/* SITEARCH:
3196 * This symbol contains the name of the private library for this package.
3197 * The library is private in the sense that it needn't be in anyone's
3198 * execution path, but it should be accessible by the world. The program
3199 * should be prepared to do ~ expansion.
3200 * The standard distribution will put nothing in this directory.
3201 * After perl has been installed, users may install their own local
3202 * architecture-dependent modules in this directory with
3203 * MakeMaker Makefile.PL
3204 * or equivalent. See INSTALL for details.
a33c94aa 3205 */
b8677e3b
MB
3206/* SITEARCH_EXP:
3207 * This symbol contains the ~name expanded version of SITEARCH, to be used
3208 * in programs that are not prepared to deal with ~ expansion at run-time.
10bc17b6 3209 */
b8677e3b
MB
3210#$d_sitearch SITEARCH "$sitearch" /**/
3211#$d_sitearch SITEARCH_EXP "$sitearchexp" /**/
3212
3213/* SITELIB:
3214 * This symbol contains the name of the private library for this package.
3215 * The library is private in the sense that it needn't be in anyone's
3216 * execution path, but it should be accessible by the world. The program
3217 * should be prepared to do ~ expansion.
3218 * The standard distribution will put nothing in this directory.
3219 * After perl has been installed, users may install their own local
3220 * architecture-independent modules in this directory with
3221 * MakeMaker Makefile.PL
3222 * or equivalent. See INSTALL for details.
10bc17b6 3223 */
b8677e3b
MB
3224/* SITELIB_EXP:
3225 * This symbol contains the ~name expanded version of SITELIB, to be used
3226 * in programs that are not prepared to deal with ~ expansion at run-time.
10bc17b6 3227 */
b8677e3b
MB
3228/* SITELIB_STEM:
3229 * This define is SITELIB_EXP with any trailing version-specific component
3230 * removed. The elements in inc_version_list (inc_version_list.U) can
3231 * be tacked onto this variable to generate a list of directories to search.
10bc17b6 3232 */
b8677e3b
MB
3233#define SITELIB "$sitelib" /**/
3234#define SITELIB_EXP "$sitelibexp" /**/
3235#define SITELIB_STEM "$sitelib_stem" /**/
10bc17b6 3236
06501368
MB
3237/* Size_t_size:
3238 * This symbol holds the size of a Size_t in bytes.
3239 */
3240#define Size_t_size $sizesize /**/
3241
3242/* Size_t:
3243 * This symbol holds the type used to declare length parameters
3244 * for string functions. It is usually size_t, but may be
3245 * unsigned long, int, etc. It may be necessary to include
3246 * <sys/types.h> to get any typedef'ed information.
3247 */
3248#define Size_t $sizetype /* length parameter for string functions */
3249
3250/* Sock_size_t:
3251 * This symbol holds the type used for the size argument of
3252 * various socket calls (just the base type, not the pointer-to).
3253 */
3254#define Sock_size_t $socksizetype /**/
3255
b8677e3b
MB
3256/* SSize_t:
3257 * This symbol holds the type used by functions that return
3258 * a count of bytes or an error condition. It must be a signed type.
3259 * It is usually ssize_t, but may be long or int, etc.
3260 * It may be necessary to include <sys/types.h> or <unistd.h>
3261 * to get any typedef'ed information.
3262 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
10bc17b6 3263 */
b8677e3b 3264#define SSize_t $ssizetype /* signed count of bytes */
08c92000 3265
06501368
MB
3266/* STDCHAR:
3267 * This symbol is defined to be the type of char used in stdio.h.
3268 * It has the values "unsigned char" or "char".
eaf812ae 3269 */
06501368
MB
3270#define STDCHAR $stdchar /**/
3271
3272/* Uid_t_f:
3273 * This symbol defines the format string used for printing a Uid_t.
eaf812ae 3274 */
06501368 3275#define Uid_t_f $uidformat /**/
eaf812ae 3276
06501368 3277/* Uid_t_sign:
cfc2543a 3278 * This symbol holds the signedness of a Uid_t.
06501368 3279 * 1 for unsigned, -1 for signed.
36adc09b 3280 */
06501368
MB
3281#define Uid_t_sign $uidsign /* UID sign */
3282
3283/* Uid_t_size:
3284 * This symbol holds the size of a Uid_t in bytes.
a33c94aa 3285 */
06501368 3286#define Uid_t_size $uidsize /* UID size */
a33c94aa 3287
06501368
MB
3288/* Uid_t:
3289 * This symbol holds the type used to declare user ids in the kernel.
3290 * It can be int, ushort, uid_t, etc... It may be necessary to include
3291 * <sys/types.h> to get any typedef'ed information.
15b61c98 3292 */
06501368 3293#define Uid_t $uidtype /* UID type */
b8677e3b 3294
06501368
MB
3295/* USE_ITHREADS:
3296 * This symbol, if defined, indicates that Perl should be built to
3297 * use the interpreter-based threading implementation.
b8677e3b 3298 */
06501368
MB
3299/* USE_5005THREADS:
3300 * This symbol, if defined, indicates that Perl should be built to
3301 * use the 5.005-based threading implementation.
3302 * Only valid up to 5.8.x.
ed140128 3303 */
06501368
MB
3304/* OLD_PTHREADS_API:
3305 * This symbol, if defined, indicates that Perl should
3306 * be built to use the old draft POSIX threads API.
ed140128 3307 */
06501368
MB
3308/* USE_REENTRANT_API:
3309 * This symbol, if defined, indicates that Perl should
3310 * try to use the various _r versions of library functions.
3311 * This is extremely experimental.
3312 */
3313#$use5005threads USE_5005THREADS /**/
3314#$useithreads USE_ITHREADS /**/
3315#if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
3316#define USE_THREADS /* until src is revised*/
3317#endif
3318#$d_oldpthreads OLD_PTHREADS_API /**/
3319#$usereentrant USE_REENTRANT_API /**/
ed140128 3320
06501368
MB
3321/* PERL_VENDORARCH:
3322 * If defined, this symbol contains the name of a private library.
3323 * The library is private in the sense that it needn't be in anyone's
3324 * execution path, but it should be accessible by the world.
3325 * It may have a ~ on the front.
3326 * The standard distribution will put nothing in this directory.
3327 * Vendors who distribute perl may wish to place their own
3328 * architecture-dependent modules and extensions in this directory with
3329 * MakeMaker Makefile.PL INSTALLDIRS=vendor
3330 * or equivalent. See INSTALL for details.
ed140128 3331 */
06501368
MB
3332/* PERL_VENDORARCH_EXP:
3333 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
3334 * in programs that are not prepared to deal with ~ expansion at run-time.
3335 */
3336#$d_vendorarch PERL_VENDORARCH "$vendorarch" /**/
3337#$d_vendorarch PERL_VENDORARCH_EXP "$vendorarchexp" /**/
3338
3339/* PERL_VENDORLIB_EXP:
3340 * This symbol contains the ~name expanded version of VENDORLIB, to be used
3341 * in programs that are not prepared to deal with ~ expansion at run-time.
3342 */
3343/* PERL_VENDORLIB_STEM:
3344 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component
3345 * removed. The elements in inc_version_list (inc_version_list.U) can
3346 * be tacked onto this variable to generate a list of directories to search.
3347 */
3348#$d_vendorlib PERL_VENDORLIB_EXP "$vendorlibexp" /**/
3349#$d_vendorlib PERL_VENDORLIB_STEM "$vendorlib_stem" /**/
ed140128 3350
f53a6e0e
MB
3351/* USE_CROSS_COMPILE:
3352 * This symbol, if defined, indicates that Perl is being cross-compiled.
3353 */
3354/* PERL_TARGETARCH:
3355 * This symbol, if defined, indicates the target architecture
3356 * Perl has been cross-compiled to. Undefined if not a cross-compile.
3357 */
3358#ifndef USE_CROSS_COMPILE
3359#$usecrosscompile USE_CROSS_COMPILE /**/
3360#define PERL_TARGETARCH "$targetarch" /**/
3361#endif
3362
1be1b388
MB
3363/* PERL_USE_DEVEL:
3364 * This symbol, if defined, indicates that Perl was configured with
3365 * -Dusedevel, to enable development features. This should not be
3366 * done for production builds.
3367 */
3368#$usedevel PERL_USE_DEVEL /**/
3369
ed140128
AD
3370/* HAS_ATOLF:
3371 * This symbol, if defined, indicates that the atolf routine is
3372 * available to convert strings into long doubles.
3373 */
3374#$d_atolf HAS_ATOLF /**/
3375
3376/* HAS_ATOLL:
3377 * This symbol, if defined, indicates that the atoll routine is
3378 * available to convert strings into long longs.
3379 */
3380#$d_atoll HAS_ATOLL /**/
3381
3382/* HAS__FWALK:
3383 * This symbol, if defined, indicates that the _fwalk system call is
3384 * available to apply a function to all the file handles.
3385 */
3386#$d__fwalk HAS__FWALK /**/
3387
3388/* HAS_AINTL:
3389 * This symbol, if defined, indicates that the aintl routine is
3390 * available. If copysignl is also present we can emulate modfl.
3391 */
3392#$d_aintl HAS_AINTL /**/
3393
3394/* HAS_BUILTIN_CHOOSE_EXPR:
3395 * Can we handle GCC builtin for compile-time ternary-like expressions
3396 */
3397/* HAS_BUILTIN_EXPECT:
3398 * Can we handle GCC builtin for telling that certain values are more
3399 * likely
3400 */
3401#$d_builtin_expect HAS_BUILTIN_EXPECT /**/
3402#$d_builtin_choose_expr HAS_BUILTIN_CHOOSE_EXPR /**/
3403
3404/* HAS_C99_VARIADIC_MACROS:
3405 * If defined, the compiler supports C99 variadic macros.
3406 */
3407#$d_c99_variadic_macros HAS_C99_VARIADIC_MACROS /**/
3408
3409/* HAS_CLASS:
3410 * This symbol, if defined, indicates that the class routine is
3411 * available to classify doubles. Available for example in AIX.
3412 * The returned values are defined in <float.h> and are:
3413 *
3414 * FP_PLUS_NORM Positive normalized, nonzero
3415 * FP_MINUS_NORM Negative normalized, nonzero
3416 * FP_PLUS_DENORM Positive denormalized, nonzero
3417 * FP_MINUS_DENORM Negative denormalized, nonzero
3418 * FP_PLUS_ZERO +0.0
3419 * FP_MINUS_ZERO -0.0
3420 * FP_PLUS_INF +INF
3421 * FP_MINUS_INF -INF
3422 * FP_NANS Signaling Not a Number (NaNS)
3423 * FP_NANQ Quiet Not a Number (NaNQ)
3424 */
3425#$d_class HAS_CLASS /**/
3426
3427/* HAS_CLEARENV:
3428 * This symbol, if defined, indicates that the clearenv () routine is
3429 * available for use.
3430 */
3431#$d_clearenv HAS_CLEARENV /**/
3432
3433/* HAS_STRUCT_CMSGHDR:
3434 * This symbol, if defined, indicates that the struct cmsghdr
3435 * is supported.
3436 */
3437#$d_cmsghdr_s HAS_STRUCT_CMSGHDR /**/
3438
3439/* HAS_COPYSIGNL:
3440 * This symbol, if defined, indicates that the copysignl routine is
3441 * available. If aintl is also present we can emulate modfl.
3442 */
3443#$d_copysignl HAS_COPYSIGNL /**/
3444
3445/* USE_CPLUSPLUS:
3446 * This symbol, if defined, indicates that a C++ compiler was
3447 * used to compiled Perl and will be used to compile extensions.
3448 */
3449#$d_cplusplus USE_CPLUSPLUS /**/
3450
3451/* HAS_DBMINIT_PROTO:
3452 * This symbol, if defined, indicates that the system provides
3453 * a prototype for the dbminit() function. Otherwise, it is up
3454 * to the program to supply one. A good guess is
3455 * extern int dbminit(char *);
3456 */
3457#$d_dbminitproto HAS_DBMINIT_PROTO /**/
3458
3459/* HAS_DIR_DD_FD:
3460 * This symbol, if defined, indicates that the the DIR* dirstream
3461 * structure contains a member variable named dd_fd.
3462 */
3463#$d_dir_dd_fd HAS_DIR_DD_FD /**/
3464
3465/* HAS_DIRFD:
3466 * This manifest constant lets the C program know that dirfd
3467 * is available.
3468 */
3469#$d_dirfd HAS_DIRFD /**/
3470
3471/* DLSYM_NEEDS_UNDERSCORE:
3472 * This symbol, if defined, indicates that we need to prepend an
3473 * underscore to the symbol name before calling dlsym(). This only
3474 * makes sense if you *have* dlsym, which we will presume is the
3475 * case if you're using dl_dlopen.xs.
3476 */
3477#$d_dlsymun DLSYM_NEEDS_UNDERSCORE /**/
3478
3479/* HAS_FAST_STDIO:
3480 * This symbol, if defined, indicates that the "fast stdio"
3481 * is available to manipulate the stdio buffers directly.
3482 */
3483#$d_faststdio HAS_FAST_STDIO /**/
3484
3485/* HAS_FCHDIR:
3486 * This symbol, if defined, indicates that the fchdir routine is
3487 * available to change directory using a file descriptor.
3488 */
3489#$d_fchdir HAS_FCHDIR /**/
3490
3491/* FCNTL_CAN_LOCK:
3492 * This symbol, if defined, indicates that fcntl() can be used
3493 * for file locking. Normally on Unix systems this is defined.
3494 * It may be undefined on VMS.
3495 */
3496#$d_fcntl_can_lock FCNTL_CAN_LOCK /**/
3497
3498/* HAS_FINITE:
3499 * This symbol, if defined, indicates that the finite routine is
3500 * available to check whether a double is finite (non-infinity non-NaN).
3501 */
3502#$d_finite HAS_FINITE /**/
3503
3504/* HAS_FINITEL:
3505 * This symbol, if defined, indicates that the finitel routine is
3506 * available to check whether a long double is finite
3507 * (non-infinity non-NaN).
3508 */
3509#$d_finitel HAS_FINITEL /**/
3510
3511/* HAS_FLOCK_PROTO:
3512 * This symbol, if defined, indicates that the system provides
3513 * a prototype for the flock() function. Otherwise, it is up
3514 * to the program to supply one. A good guess is
3515 * extern int flock(int, int);
3516 */
3517#$d_flockproto HAS_FLOCK_PROTO /**/
3518
3519/* HAS_FP_CLASS:
3520 * This symbol, if defined, indicates that the fp_class routine is
3521 * available to classify doubles. Available for example in Digital UNIX.
3522 * The returned values are defined in <math.h> and are:
3523 *
3524 * FP_SNAN Signaling NaN (Not-a-Number)
3525 * FP_QNAN Quiet NaN (Not-a-Number)
3526 * FP_POS_INF +infinity
3527 * FP_NEG_INF -infinity
3528 * FP_POS_NORM Positive normalized
3529 * FP_NEG_NORM Negative normalized
3530 * FP_POS_DENORM Positive denormalized
3531 * FP_NEG_DENORM Negative denormalized
3532 * FP_POS_ZERO +0.0 (positive zero)
3533 * FP_NEG_ZERO -0.0 (negative zero)
3534 */
3535#$d_fp_class HAS_FP_CLASS /**/
3536
3537/* HAS_FPCLASS:
3538 * This symbol, if defined, indicates that the fpclass routine is
3539 * available to classify doubles. Available for example in Solaris/SVR4.
3540 * The returned values are defined in <ieeefp.h> and are:
3541 *
3542 * FP_SNAN signaling NaN
3543 * FP_QNAN quiet NaN
3544 * FP_NINF negative infinity
3545 * FP_PINF positive infinity
3546 * FP_NDENORM negative denormalized non-zero
3547 * FP_PDENORM positive denormalized non-zero
3548 * FP_NZERO negative zero
3549 * FP_PZERO positive zero
3550 * FP_NNORM negative normalized non-zero
3551 * FP_PNORM positive normalized non-zero
3552 */
3553#$d_fpclass HAS_FPCLASS /**/
3554
3555/* HAS_FPCLASSIFY:
3556 * This symbol, if defined, indicates that the fpclassify routine is
3557 * available to classify doubles. Available for example in HP-UX.
3558 * The returned values are defined in <math.h> and are
3559 *
3560 * FP_NORMAL Normalized
3561 * FP_ZERO Zero
3562 * FP_INFINITE Infinity
3563 * FP_SUBNORMAL Denormalized
3564 * FP_NAN NaN
3565 *
3566 */
3567#$d_fpclassify HAS_FPCLASSIFY /**/
3568
3569/* HAS_FPCLASSL:
3570 * This symbol, if defined, indicates that the fpclassl routine is
3571 * available to classify long doubles. Available for example in IRIX.
3572 * The returned values are defined in <ieeefp.h> and are:
3573 *
3574 * FP_SNAN signaling NaN
3575 * FP_QNAN quiet NaN
3576 * FP_NINF negative infinity
3577 * FP_PINF positive infinity
3578 * FP_NDENORM negative denormalized non-zero
3579 * FP_PDENORM positive denormalized non-zero
3580 * FP_NZERO negative zero
3581 * FP_PZERO positive zero
3582 * FP_NNORM negative normalized non-zero
3583 * FP_PNORM positive normalized non-zero
3584 */
3585#$d_fpclassl HAS_FPCLASSL /**/
3586
3587/* HAS_FPOS64_T:
3588 * This symbol will be defined if the C compiler supports fpos64_t.
3589 */
3590#$d_fpos64_t HAS_FPOS64_T /**/
3591
3592/* HAS_FREXPL:
3593 * This symbol, if defined, indicates that the frexpl routine is
3594 * available to break a long double floating-point number into
3595 * a normalized fraction and an integral power of 2.
3596 */
3597#$d_frexpl HAS_FREXPL /**/
3598
3599/* HAS_STRUCT_FS_DATA:
3600 * This symbol, if defined, indicates that the struct fs_data
3601 * to do statfs() is supported.
3602 */
3603#$d_fs_data_s HAS_STRUCT_FS_DATA /**/
3604
3605/* HAS_FSEEKO:
3606 * This symbol, if defined, indicates that the fseeko routine is
3607 * available to fseek beyond 32 bits (useful for ILP32 hosts).
3608 */
3609#$d_fseeko HAS_FSEEKO /**/
3610
3611/* HAS_FSTATFS:
3612 * This symbol, if defined, indicates that the fstatfs routine is
3613 * available to stat filesystems by file descriptors.
3614 */
3615#$d_fstatfs HAS_FSTATFS /**/
3616
3617/* HAS_FSYNC:
3618 * This symbol, if defined, indicates that the fsync routine is
3619 * available to write a file's modified data and attributes to
3620 * permanent storage.
3621 */
3622#$d_fsync HAS_FSYNC /**/
3623
3624/* HAS_FTELLO:
3625 * This symbol, if defined, indicates that the ftello routine is
3626 * available to ftell beyond 32 bits (useful for ILP32 hosts).
3627 */
3628#$d_ftello HAS_FTELLO /**/
3629
3630/* HAS_FUTIMES:
3631 * This symbol, if defined, indicates that the futimes routine is
3632 * available to change file descriptor time stamps with struct timevals.
3633 */
3634#$d_futimes HAS_FUTIMES /**/
3635
5086dff9
MB
3636/* HAS_GETADDRINFO:
3637 * This symbol, if defined, indicates that the getaddrinfo() function
3638 * is available for use.
3639 */
3640#$d_getaddrinfo HAS_GETADDRINFO /**/
3641
ed140128
AD
3642/* HAS_GETCWD:
3643 * This symbol, if defined, indicates that the getcwd routine is
3644 * available to get the current working directory.
3645 */
3646#$d_getcwd HAS_GETCWD /**/
3647
3648/* HAS_GETESPWNAM:
3649 * This symbol, if defined, indicates that the getespwnam system call is
cd95ead5 3650 * available to retrieve enhanced (shadow) password entries by name.
ed140128
AD
3651 */
3652#$d_getespwnam HAS_GETESPWNAM /**/
3653
3654/* HAS_GETFSSTAT:
3655 * This symbol, if defined, indicates that the getfsstat routine is
3656 * available to stat filesystems in bulk.
3657 */
3658#$d_getfsstat HAS_GETFSSTAT /**/
3659
3660/* HAS_GETITIMER:
3661 * This symbol, if defined, indicates that the getitimer routine is
3662 * available to return interval timers.
3663 */
3664#$d_getitimer HAS_GETITIMER /**/
3665
3666/* HAS_GETMNT:
3667 * This symbol, if defined, indicates that the getmnt routine is
3668 * available to get filesystem mount info by filename.
3669 */
3670#$d_getmnt HAS_GETMNT /**/
3671
3672/* HAS_GETMNTENT:
3673 * This symbol, if defined, indicates that the getmntent routine is
3674 * available to iterate through mounted file systems to get their info.
3675 */
3676#$d_getmntent HAS_GETMNTENT /**/
3677
5086dff9
MB
3678/* HAS_GETNAMEINFO:
3679 * This symbol, if defined, indicates that the getnameinfo() function
3680 * is available for use.
3681 */
3682#$d_getnameinfo HAS_GETNAMEINFO /**/
3683
ed140128
AD
3684/* HAS_GETPRPWNAM:
3685 * This symbol, if defined, indicates that the getprpwnam system call is
3686 * available to retrieve protected (shadow) password entries by name.
3687 */
3688#$d_getprpwnam HAS_GETPRPWNAM /**/
3689
3690/* HAS_GETSPNAM:
3691 * This symbol, if defined, indicates that the getspnam system call is
3692 * available to retrieve SysV shadow password entries by name.
3693 */
3694#$d_getspnam HAS_GETSPNAM /**/
3695
3696/* HAS_HASMNTOPT:
3697 * This symbol, if defined, indicates that the hasmntopt routine is
3698 * available to query the mount options of file systems.
3699 */
3700#$d_hasmntopt HAS_HASMNTOPT /**/
3701
3702/* HAS_ILOGBL:
3703 * This symbol, if defined, indicates that the ilogbl routine is
3704 * available. If scalbnl is also present we can emulate frexpl.
3705 */
3706#$d_ilogbl HAS_ILOGBL /**/
3707
5086dff9
MB
3708/* HAS_INETNTOP:
3709 * This symbol, if defined, indicates that the inet_ntop() function
3710 * is available to parse IPv4 and IPv6 strings.
3711 */
3712#$d_inetntop HAS_INETNTOP /**/
3713
3714/* HAS_INETPTON:
3715 * This symbol, if defined, indicates that the inet_pton() function
3716 * is available to parse IPv4 and IPv6 strings.
3717 */
3718#$d_inetpton HAS_INETPTON /**/
3719
ed140128
AD
3720/* HAS_INT64_T:
3721 * This symbol will defined if the C compiler supports int64_t.
3722 * Usually the <inttypes.h> needs to be included, but sometimes
3723 * <sys/types.h> is enough.
3724 */
3725#$d_int64_t HAS_INT64_T /**/
3726
269a7913 3727/* HAS_ISBLANK:
1332606d 3728 * This manifest constant lets the C program know that isblank
269a7913
MB
3729 * is available.
3730 */
3731#$d_isblank HAS_ISBLANK /**/
3732
ed140128
AD
3733/* HAS_ISFINITE:
3734 * This symbol, if defined, indicates that the isfinite routine is
3735 * available to check whether a double is finite (non-infinity non-NaN).
3736 */
3737#$d_isfinite HAS_ISFINITE /**/
3738
3739/* HAS_ISINF:
3740 * This symbol, if defined, indicates that the isinf routine is
3741 * available to check whether a double is an infinity.
3742 */
3743#$d_isinf HAS_ISINF /**/
3744
3745/* HAS_ISNAN:
3746 * This symbol, if defined, indicates that the isnan routine is
3747 * available to check whether a double is a NaN.
3748 */
3749#$d_isnan HAS_ISNAN /**/
3750
3751/* HAS_ISNANL:
3752 * This symbol, if defined, indicates that the isnanl routine is
3753 * available to check whether a long double is a NaN.
3754 */
3755#$d_isnanl HAS_ISNANL /**/
3756
3757/* HAS_LDBL_DIG:
3758 * This symbol, if defined, indicates that this system's <float.h>
3759 * or <limits.h> defines the symbol LDBL_DIG, which is the number
3760 * of significant digits in a long double precision number. Unlike
3761 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
3762 */
06501368 3763#$d_ldbl_dig HAS_LDBL_DIG /* */
ed140128
AD
3764
3765/* LIBM_LIB_VERSION:
3766 * This symbol, if defined, indicates that libm exports _LIB_VERSION
3767 * and that math.h defines the enum to manipulate it.
3768 */
3769#$d_libm_lib_version LIBM_LIB_VERSION /**/
3770
3771/* HAS_MADVISE:
3772 * This symbol, if defined, indicates that the madvise system call is
3773 * available to map a file into memory.
3774 */
3775#$d_madvise HAS_MADVISE /**/
3776
3777/* HAS_MALLOC_SIZE:
3778 * This symbol, if defined, indicates that the malloc_size
3779 * routine is available for use.
3780 */
3781#$d_malloc_size HAS_MALLOC_SIZE /**/
3782
3783/* HAS_MALLOC_GOOD_SIZE:
3784 * This symbol, if defined, indicates that the malloc_good_size
3785 * routine is available for use.
3786 */
3787#$d_malloc_good_size HAS_MALLOC_GOOD_SIZE /**/
3788
3789/* HAS_MKDTEMP:
3790 * This symbol, if defined, indicates that the mkdtemp routine is
3791 * available to exclusively create a uniquely named temporary directory.
3792 */
3793#$d_mkdtemp HAS_MKDTEMP /**/
3794
3795/* HAS_MKSTEMPS:
3796 * This symbol, if defined, indicates that the mkstemps routine is
cd95ead5 3797 * available to exclusively create and open a uniquely named
ed140128
AD
3798 * (with a suffix) temporary file.
3799 */
3800#$d_mkstemps HAS_MKSTEMPS /**/
3801
3802/* HAS_MODFL:
3803 * This symbol, if defined, indicates that the modfl routine is
3804 * available to split a long double x into a fractional part f and
3805 * an integer part i such that |f| < 1.0 and (f + i) = x.
3806 */
3807/* HAS_MODFL_PROTO:
3808 * This symbol, if defined, indicates that the system provides
3809 * a prototype for the modfl() function. Otherwise, it is up
3810 * to the program to supply one.
3811 */
3812/* HAS_MODFL_POW32_BUG:
3813 * This symbol, if defined, indicates that the modfl routine is
3814 * broken for long doubles >= pow(2, 32).
3815 * For example from 4294967303.150000 one would get 4294967302.000000
3816 * and 1.150000. The bug has been seen in certain versions of glibc,
3817 * release 2.2.2 is known to be okay.
3818 */
3819#$d_modfl HAS_MODFL /**/
3820#$d_modflproto HAS_MODFL_PROTO /**/
3821#$d_modfl_pow32_bug HAS_MODFL_POW32_BUG /**/
3822
3823/* HAS_MPROTECT:
3824 * This symbol, if defined, indicates that the mprotect system call is
3825 * available to modify the access protection of a memory mapped file.
3826 */
3827#$d_mprotect HAS_MPROTECT /**/
3828
3829/* HAS_STRUCT_MSGHDR:
3830 * This symbol, if defined, indicates that the struct msghdr
3831 * is supported.
3832 */
3833#$d_msghdr_s HAS_STRUCT_MSGHDR /**/
3834
3835/* HAS_NL_LANGINFO:
3836 * This symbol, if defined, indicates that the nl_langinfo routine is
3837 * available to return local data. You will also need <langinfo.h>
3838 * and therefore I_LANGINFO.
3839 */
3840#$d_nl_langinfo HAS_NL_LANGINFO /**/
3841
3842/* HAS_OFF64_T:
3843 * This symbol will be defined if the C compiler supports off64_t.
3844 */
3845#$d_off64_t HAS_OFF64_T /**/
3846
c796e3db
MB
3847/* HAS_PRCTL:
3848 * This symbol, if defined, indicates that the prctl routine is
3849 * available to set process title.
3850 */
3851/* HAS_PRCTL_SET_NAME:
3852 * This symbol, if defined, indicates that the prctl routine is
3853 * available to set process title and supports PR_SET_NAME.
3854 */
3855#$d_prctl HAS_PRCTL /**/
3856#$d_prctl_set_name HAS_PRCTL_SET_NAME /**/
3857
ed140128
AD
3858/* HAS_PROCSELFEXE:
3859 * This symbol is defined if PROCSELFEXE_PATH is a symlink
3860 * to the absolute pathname of the executing program.
3861 */
3862/* PROCSELFEXE_PATH:
3863 * If HAS_PROCSELFEXE is defined this symbol is the filename
3864 * of the symbolic link pointing to the absolute pathname of
3865 * the executing program.
3866 */
3867#$d_procselfexe HAS_PROCSELFEXE /**/
3868#if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH)
3869#define PROCSELFEXE_PATH $procselfexe /**/
3870#endif
3871
3872/* HAS_PTHREAD_ATTR_SETSCOPE:
3873 * This symbol, if defined, indicates that the pthread_attr_setscope
3874 * system call is available to set the contention scope attribute of
3875 * a thread attribute object.
3876 */
3877#$d_pthread_attr_setscope HAS_PTHREAD_ATTR_SETSCOPE /**/
3878
0e0c5f82
MB
3879/* HAS_PTRDIFF_T:
3880 * This symbol will be defined if the C compiler supports ptrdiff_t.
3881 */
3882#$d_ptrdiff_t HAS_PTRDIFF_T /**/
3883
ed140128
AD
3884/* HAS_READV:
3885 * This symbol, if defined, indicates that the readv routine is
3886 * available to do gather reads. You will also need <sys/uio.h>
3887 * and there I_SYSUIO.
3888 */
3889#$d_readv HAS_READV /**/
3890
3891/* HAS_RECVMSG:
3892 * This symbol, if defined, indicates that the recvmsg routine is
3893 * available to send structured socket messages.
3894 */
3895#$d_recvmsg HAS_RECVMSG /**/
3896
3897/* HAS_SBRK_PROTO:
3898 * This symbol, if defined, indicates that the system provides
3899 * a prototype for the sbrk() function. Otherwise, it is up
3900 * to the program to supply one. Good guesses are
3901 * extern void* sbrk(int);
3902 * extern void* sbrk(size_t);
3903 */
3904#$d_sbrkproto HAS_SBRK_PROTO /**/
3905
3906/* HAS_SCALBNL:
3907 * This symbol, if defined, indicates that the scalbnl routine is
3908 * available. If ilogbl is also present we can emulate frexpl.
3909 */
3910#$d_scalbnl HAS_SCALBNL /**/
3911
3912/* HAS_SENDMSG:
3913 * This symbol, if defined, indicates that the sendmsg routine is
3914 * available to send structured socket messages.
3915 */
3916#$d_sendmsg HAS_SENDMSG /**/
3917
3918/* HAS_SETITIMER:
3919 * This symbol, if defined, indicates that the setitimer routine is
3920 * available to set interval timers.
3921 */
3922#$d_setitimer HAS_SETITIMER /**/
3923
3924/* HAS_SETPROCTITLE:
3925 * This symbol, if defined, indicates that the setproctitle routine is
3926 * available to set process title.
3927 */
3928#$d_setproctitle HAS_SETPROCTITLE /**/
3929
ed140128
AD
3930/* HAS_SIGNBIT:
3931 * This symbol, if defined, indicates that the signbit routine is
3932 * available to check if the given number has the sign bit set.
3933 * This should include correct testing of -0.0. This will only be set
3934 * if the signbit() routine is safe to use with the NV type used internally
3935 * in perl. Users should call Perl_signbit(), which will be #defined to
3936 * the system's signbit() function or macro if this symbol is defined.
3937 */
3938#$d_signbit HAS_SIGNBIT /**/
3939
3940/* HAS_SIGPROCMASK:
3941 * This symbol, if defined, indicates that the sigprocmask
3942 * system call is available to examine or change the signal mask
3943 * of the calling process.
3944 */
3945#$d_sigprocmask HAS_SIGPROCMASK /**/
3946
3947/* USE_SITECUSTOMIZE:
3948 * This symbol, if defined, indicates that sitecustomize should
3949 * be used.
3950 */
3951#ifndef USE_SITECUSTOMIZE
3952#$usesitecustomize USE_SITECUSTOMIZE /**/
3953#endif
3954
3955/* HAS_SNPRINTF:
3956 * This symbol, if defined, indicates that the snprintf () library
3957 * function is available for use.
3958 */
3959/* HAS_VSNPRINTF:
3960 * This symbol, if defined, indicates that the vsnprintf () library
3961 * function is available for use.
3962 */
3963#$d_snprintf HAS_SNPRINTF /**/
3964#$d_vsnprintf HAS_VSNPRINTF /**/
3965
3966/* HAS_SOCKATMARK:
3967 * This symbol, if defined, indicates that the sockatmark routine is
3968 * available to test whether a socket is at the out-of-band mark.
3969 */
3970#$d_sockatmark HAS_SOCKATMARK /**/
3971
3972/* HAS_SOCKATMARK_PROTO:
3973 * This symbol, if defined, indicates that the system provides
3974 * a prototype for the sockatmark() function. Otherwise, it is up
3975 * to the program to supply one. A good guess is
3976 * extern int sockatmark(int);
3977 */
3978#$d_sockatmarkproto HAS_SOCKATMARK_PROTO /**/
3979
3980/* HAS_SOCKS5_INIT:
3981 * This symbol, if defined, indicates that the socks5_init routine is
3982 * available to initialize SOCKS 5.
3983 */
3984#$d_socks5_init HAS_SOCKS5_INIT /**/
3985
3986/* SPRINTF_RETURNS_STRLEN:
3987 * This variable defines whether sprintf returns the length of the string
3988 * (as per the ANSI spec). Some C libraries retain compatibility with
3989 * pre-ANSI C and return a pointer to the passed in buffer; for these
3990 * this variable will be undef.
3991 */
3992#$d_sprintf_returns_strlen SPRINTF_RETURNS_STRLEN /**/
3993
3994/* HAS_SQRTL:
3995 * This symbol, if defined, indicates that the sqrtl routine is
3996 * available to do long double square roots.
3997 */
3998#$d_sqrtl HAS_SQRTL /**/
3999
4000/* HAS_SETRESGID_PROTO:
4001 * This symbol, if defined, indicates that the system provides
4002 * a prototype for the setresgid() function. Otherwise, it is up
4003 * to the program to supply one. Good guesses are
4004 * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid);
4005 */
4006#$d_sresgproto HAS_SETRESGID_PROTO /**/
4007
4008/* HAS_SETRESUID_PROTO:
4009 * This symbol, if defined, indicates that the system provides
4010 * a prototype for the setresuid() function. Otherwise, it is up
4011 * to the program to supply one. Good guesses are
4012 * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid);
4013 */
4014#$d_sresuproto HAS_SETRESUID_PROTO /**/
4015
4016/* HAS_STRUCT_STATFS_F_FLAGS:
4017 * This symbol, if defined, indicates that the struct statfs
4018 * does have the f_flags member containing the mount flags of
4019 * the filesystem containing the file.
4020 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
4021 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
4022 * have statfs() and struct statfs, they have ustat() and getmnt()
4023 * with struct ustat and struct fs_data.
4024 */
4025#$d_statfs_f_flags HAS_STRUCT_STATFS_F_FLAGS /**/
4026
4027/* HAS_STRUCT_STATFS:
4028 * This symbol, if defined, indicates that the struct statfs
4029 * to do statfs() is supported.
4030 */
4031#$d_statfs_s HAS_STRUCT_STATFS /**/
4032
4033/* HAS_FSTATVFS:
4034 * This symbol, if defined, indicates that the fstatvfs routine is
4035 * available to stat filesystems by file descriptors.
4036 */
4037#$d_fstatvfs HAS_FSTATVFS /**/
4038
4039/* HAS_STRFTIME:
4040 * This symbol, if defined, indicates that the strftime routine is
4041 * available to do time formatting.
4042 */
4043#$d_strftime HAS_STRFTIME /**/
4044
4045/* HAS_STRLCAT:
4046 * This symbol, if defined, indicates that the strlcat () routine is
4047 * available to do string concatenation.
4048 */
4049#$d_strlcat HAS_STRLCAT /**/
4050
4051/* HAS_STRLCPY:
4052 * This symbol, if defined, indicates that the strlcpy () routine is
4053 * available to do string copying.
4054 */
4055#$d_strlcpy HAS_STRLCPY /**/
4056
4057/* HAS_STRTOLD:
4058 * This symbol, if defined, indicates that the strtold routine is
4059 * available to convert strings to long doubles.
4060 */
4061#$d_strtold HAS_STRTOLD /**/
4062
4063/* HAS_STRTOLL:
4064 * This symbol, if defined, indicates that the strtoll routine is
4065 * available to convert strings to long longs.
4066 */
4067#$d_strtoll HAS_STRTOLL /**/
4068
4069/* HAS_STRTOQ:
4070 * This symbol, if defined, indicates that the strtoq routine is
4071 * available to convert strings to long longs (quads).
4072 */
4073#$d_strtoq HAS_STRTOQ /**/
4074
4075/* HAS_STRTOULL:
4076 * This symbol, if defined, indicates that the strtoull routine is
4077 * available to convert strings to unsigned long longs.
4078 */
4079#$d_strtoull HAS_STRTOULL /**/
4080
4081/* HAS_STRTOUQ:
4082 * This symbol, if defined, indicates that the strtouq routine is
4083 * available to convert strings to unsigned long longs (quads).
4084 */
4085#$d_strtouq HAS_STRTOUQ /**/
4086
4087/* HAS_SYSCALL_PROTO:
4088 * This symbol, if defined, indicates that the system provides
4089 * a prototype for the syscall() function. Otherwise, it is up
4090 * to the program to supply one. Good guesses are
4091 * extern int syscall(int, ...);
4092 * extern int syscall(long, ...);
4093 */
4094#$d_syscallproto HAS_SYSCALL_PROTO /**/
4095
4096/* HAS_TELLDIR_PROTO:
4097 * This symbol, if defined, indicates that the system provides
4098 * a prototype for the telldir() function. Otherwise, it is up
4099 * to the program to supply one. A good guess is
4100 * extern long telldir(DIR*);
4101 */
4102#$d_telldirproto HAS_TELLDIR_PROTO /**/
4103
96938616
MB
4104/* HAS_CTIME64:
4105 * This symbol, if defined, indicates that the ctime64 () routine is
4106 * available to do the 64bit variant of ctime ()
4107 */
4108/* HAS_LOCALTIME64:
4109 * This symbol, if defined, indicates that the localtime64 () routine is
4110 * available to do the 64bit variant of localtime ()
4111 */
4112/* HAS_GMTIME64:
4113 * This symbol, if defined, indicates that the gmtime64 () routine is
4114 * available to do the 64bit variant of gmtime ()
4115 */
4116/* HAS_MKTIME64:
4117 * This symbol, if defined, indicates that the mktime64 () routine is
4118 * available to do the 64bit variant of mktime ()
4119 */
4120/* HAS_DIFFTIME64:
4121 * This symbol, if defined, indicates that the difftime64 () routine is
4122 * available to do the 64bit variant of difftime ()
4123 */
4124/* HAS_ASCTIME64:
4125 * This symbol, if defined, indicates that the asctime64 () routine is
4126 * available to do the 64bit variant of asctime ()
4127 */
4128#$d_ctime64 HAS_CTIME64 /**/
4129#$d_localtime64 HAS_LOCALTIME64 /**/
4130#$d_gmtime64 HAS_GMTIME64 /**/
4131#$d_mktime64 HAS_MKTIME64 /**/
4132#$d_difftime64 HAS_DIFFTIME64 /**/
4133#$d_asctime64 HAS_ASCTIME64 /**/
4134
cbb9e8a7
MB
4135/* HAS_TIMEGM:
4136 * This symbol, if defined, indicates that the timegm routine is
4137 * available to do the opposite of gmtime ()
4138 */
4139#$d_timegm HAS_TIMEGM /**/
4140
ed140128
AD
4141/* U32_ALIGNMENT_REQUIRED:
4142 * This symbol, if defined, indicates that you must access
4143 * character data through U32-aligned pointers.
4144 */
4145#ifndef U32_ALIGNMENT_REQUIRED
4146#$d_u32align U32_ALIGNMENT_REQUIRED /**/
4147#endif
4148
4149/* HAS_UALARM:
4150 * This symbol, if defined, indicates that the ualarm routine is
4151 * available to do alarms with microsecond granularity.
4152 */
4153#$d_ualarm HAS_UALARM /**/
4154
4155/* HAS_UNORDERED:
4156 * This symbol, if defined, indicates that the unordered routine is
4157 * available to check whether two doubles are unordered
4158 * (effectively: whether either of them is NaN)
4159 */
4160#$d_unordered HAS_UNORDERED /**/
4161
4162/* HAS_UNSETENV:
4163 * This symbol, if defined, indicates that the unsetenv () routine is
4164 * available for use.
4165 */
4166#$d_unsetenv HAS_UNSETENV /**/
4167
4168/* HAS_USLEEP_PROTO:
4169 * This symbol, if defined, indicates that the system provides
4170 * a prototype for the usleep() function. Otherwise, it is up
4171 * to the program to supply one. A good guess is
4172 * extern int usleep(useconds_t);
4173 */
4174#$d_usleepproto HAS_USLEEP_PROTO /**/
4175
4176/* HAS_USTAT:
4177 * This symbol, if defined, indicates that the ustat system call is
4178 * available to query file system statistics by dev_t.
4179 */
4180#$d_ustat HAS_USTAT /**/
4181
9cdcdad1
MB
4182/* HAS_WCSCMP:
4183 * This symbol, if defined, indicates that the wcscmp routine is
4184 * available to compare two wide character strings.
4185 */
4186#$d_wcscmp HAS_WCSCMP /**/
4187
4188/* HAS_WCSXFRM:
4189 * This symbol, if defined, indicates that the wcsxfrm routine is
4190 * available to tranform a wide character string for wcscmp().
4191 */
4192#$d_wcsxfrm HAS_WCSXFRM /**/
4193
ed140128
AD
4194/* HAS_WRITEV:
4195 * This symbol, if defined, indicates that the writev routine is
4196 * available to do scatter writes.
4197 */
4198#$d_writev HAS_WRITEV /**/
4199
4200/* USE_DYNAMIC_LOADING:
4201 * This symbol, if defined, indicates that dynamic loading of
4202 * some sort is available.
4203 */
4204#$usedl USE_DYNAMIC_LOADING /**/
4205
4206/* FFLUSH_NULL:
a05353bf
MB
4207 * This symbol, if defined, tells that fflush(NULL) correctly
4208 * flushes all pending stdio output without side effects. In
4209 * particular, on some platforms calling fflush(NULL) *still*
4210 * corrupts STDIN if it is a pipe.
ed140128
AD
4211 */
4212/* FFLUSH_ALL:
4213 * This symbol, if defined, tells that to flush
4214 * all pending stdio output one must loop through all
4215 * the stdio file handles stored in an array and fflush them.
4216 * Note that if fflushNULL is defined, fflushall will not
4217 * even be probed for and will be left undefined.
4218 */
4219#$fflushNULL FFLUSH_NULL /**/
4220#$fflushall FFLUSH_ALL /**/
4221
c0bacbef
MB
4222/* I_ASSERT:
4223 * This symbol, if defined, indicates that <assert.h> exists and
4224 * could be included by the C program to get the assert() macro.
4225 */
4226#$i_assert I_ASSERT /**/
4227
470dd224
JH
4228/* I_BFD:
4229 * This symbol, if defined, indicates that <bfd.h> exists and
f6a82ade 4230 * can be included.
470dd224
JH
4231 */
4232#$i_bfd I_BFD /**/
4233
ed140128
AD
4234/* I_CRYPT:
4235 * This symbol, if defined, indicates that <crypt.h> exists and
4236 * should be included.
4237 */
4238#$i_crypt I_CRYPT /**/
4239
4240/* DB_Prefix_t:
4241 * This symbol contains the type of the prefix structure element
4242 * in the <db.h> header file. In older versions of DB, it was
4243 * int, while in newer ones it is u_int32_t.
4244 */
4245/* DB_Hash_t:
4246 * This symbol contains the type of the prefix structure element
4247 * in the <db.h> header file. In older versions of DB, it was
4248 * int, while in newer ones it is size_t.
4249 */
4250/* DB_VERSION_MAJOR_CFG:
4251 * This symbol, if defined, defines the major version number of
4252 * Berkeley DB found in the <db.h> header when Perl was configured.
4253 */
4254/* DB_VERSION_MINOR_CFG:
4255 * This symbol, if defined, defines the minor version number of
4256 * Berkeley DB found in the <db.h> header when Perl was configured.
4257 * For DB version 1 this is always 0.
4258 */
4259/* DB_VERSION_PATCH_CFG:
4260 * This symbol, if defined, defines the patch version number of
4261 * Berkeley DB found in the <db.h> header when Perl was configured.
4262 * For DB version 1 this is always 0.
4263 */
4264#define DB_Hash_t $db_hashtype /**/
4265#define DB_Prefix_t $db_prefixtype /**/
4266#define DB_VERSION_MAJOR_CFG $db_version_major /**/
4267#define DB_VERSION_MINOR_CFG $db_version_minor /**/
4268#define DB_VERSION_PATCH_CFG $db_version_patch /**/
4269
4270/* I_FP:
4271 * This symbol, if defined, indicates that <fp.h> exists and
4272 * should be included.
4273 */
4274#$i_fp I_FP /**/
4275
4276/* I_FP_CLASS:
4277 * This symbol, if defined, indicates that <fp_class.h> exists and
4278 * should be included.
4279 */
4280#$i_fp_class I_FP_CLASS /**/
4281
4282/* I_IEEEFP:
4283 * This symbol, if defined, indicates that <ieeefp.h> exists and
4284 * should be included.
4285 */
4286#$i_ieeefp I_IEEEFP /**/
4287
4288/* I_INTTYPES:
4289 * This symbol, if defined, indicates to the C program that it should
4290 * include <inttypes.h>.
4291 */
4292#$i_inttypes I_INTTYPES /**/
4293
4294/* I_LANGINFO:
4295 * This symbol, if defined, indicates that <langinfo.h> exists and
4296 * should be included.
4297 */
4298#$i_langinfo I_LANGINFO /**/
4299
4300/* I_LIBUTIL:
4301 * This symbol, if defined, indicates that <libutil.h> exists and
4302 * should be included.
4303 */
4304#$i_libutil I_LIBUTIL /**/
4305
a33f2d9f
AD
4306/* I_MALLOCMALLOC:
4307 * This symbol, if defined, indicates to the C program that it should
4308 * include <malloc/malloc.h>.
4309 */
4310#$i_mallocmalloc I_MALLOCMALLOC /**/
4311
ed140128
AD
4312/* I_MNTENT:
4313 * This symbol, if defined, indicates that <mntent.h> exists and
4314 * should be included.
4315 */
4316#$i_mntent I_MNTENT /**/
4317
4318/* I_NETINET_TCP:
4319 * This symbol, if defined, indicates to the C program that it should
4320 * include <netinet/tcp.h>.
4321 */
4322#$i_netinettcp I_NETINET_TCP /**/
4323
4324/* I_POLL:
4325 * This symbol, if defined, indicates that <poll.h> exists and
4326 * should be included. (see also HAS_POLL)
4327 */
4328#$i_poll I_POLL /**/
4329
4330/* I_PROT:
4331 * This symbol, if defined, indicates that <prot.h> exists and
4332 * should be included.
4333 */
4334#$i_prot I_PROT /**/
4335
4336/* I_SHADOW:
4337 * This symbol, if defined, indicates that <shadow.h> exists and
4338 * should be included.
4339 */
4340#$i_shadow I_SHADOW /**/
4341
4342/* I_SOCKS:
4343 * This symbol, if defined, indicates that <socks.h> exists and
4344 * should be included.
4345 */
4346#$i_socks I_SOCKS /**/
4347
06501368
MB
4348/* I_STDBOOL:
4349 * This symbol, if defined, indicates that <stdbool.h> exists and
4350 * can be included.
4351 */
4352#$i_stdbool I_STDBOOL /**/
4353
ed140128
AD
4354/* I_SUNMATH:
4355 * This symbol, if defined, indicates that <sunmath.h> exists and
4356 * should be included.
4357 */
4358#$i_sunmath I_SUNMATH /**/
4359
4360/* I_SYSLOG:
4361 * This symbol, if defined, indicates that <syslog.h> exists and
4362 * should be included.
4363 */
4364#$i_syslog I_SYSLOG /**/
4365
4366/* I_SYSMODE:
4367 * This symbol, if defined, indicates that <sys/mode.h> exists and
4368 * should be included.
4369 */
4370#$i_sysmode I_SYSMODE /**/
4371
4372/* I_SYS_MOUNT:
4373 * This symbol, if defined, indicates that <sys/mount.h> exists and
4374 * should be included.
4375 */
4376#$i_sysmount I_SYS_MOUNT /**/
4377
4378/* I_SYS_STATFS:
4379 * This symbol, if defined, indicates that <sys/statfs.h> exists.
4380 */
4381#$i_sysstatfs I_SYS_STATFS /**/
4382
4383/* I_SYS_STATVFS:
4384 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
4385 * should be included.
4386 */
4387#$i_sysstatvfs I_SYS_STATVFS /**/
4388
4389/* I_SYSUTSNAME:
4390 * This symbol, if defined, indicates that <sys/utsname.h> exists and
4391 * should be included.
4392 */
4393#$i_sysutsname I_SYSUTSNAME /**/
4394
4395/* I_SYS_VFS:
4396 * This symbol, if defined, indicates that <sys/vfs.h> exists and
4397 * should be included.
4398 */
4399#$i_sysvfs I_SYS_VFS /**/
4400
4401/* I_USTAT:
4402 * This symbol, if defined, indicates that <ustat.h> exists and
4403 * should be included.
4404 */
4405#$i_ustat I_USTAT /**/
4406
4407/* PERL_PRIfldbl:
4408 * This symbol, if defined, contains the string used by stdio to
4409 * format long doubles (format 'f') for output.
4410 */
4411/* PERL_PRIgldbl:
4412 * This symbol, if defined, contains the string used by stdio to
4413 * format long doubles (format 'g') for output.
4414 */
4415/* PERL_PRIeldbl:
4416 * This symbol, if defined, contains the string used by stdio to
4417 * format long doubles (format 'e') for output.
4418 */
4419/* PERL_SCNfldbl:
4420 * This symbol, if defined, contains the string used by stdio to
4421 * format long doubles (format 'f') for input.
4422 */
4423#$d_PRIfldbl PERL_PRIfldbl $sPRIfldbl /**/
4424#$d_PRIgldbl PERL_PRIgldbl $sPRIgldbl /**/
4425#$d_PRIeldbl PERL_PRIeldbl $sPRIeldbl /**/
4426#$d_SCNfldbl PERL_SCNfldbl $sSCNfldbl /**/
4427
ed140128
AD
4428/* NEED_VA_COPY:
4429 * This symbol, if defined, indicates that the system stores
4430 * the variable argument list datatype, va_list, in a format
4431 * that cannot be copied by simple assignment, so that some
4432 * other means must be used when copying is required.
4433 * As such systems vary in their provision (or non-provision)
4434 * of copying mechanisms, handy.h defines a platform-
4435 * independent macro, Perl_va_copy(src, dst), to do the job.
4436 */
4437#$need_va_copy NEED_VA_COPY /**/
4438
4439/* IVTYPE:
4440 * This symbol defines the C type used for Perl's IV.
4441 */
4442/* UVTYPE:
4443 * This symbol defines the C type used for Perl's UV.
4444 */
4445/* I8TYPE:
4446 * This symbol defines the C type used for Perl's I8.
4447 */
4448/* U8TYPE:
4449 * This symbol defines the C type used for Perl's U8.
4450 */
4451/* I16TYPE:
4452 * This symbol defines the C type used for Perl's I16.
4453 */
4454/* U16TYPE:
4455 * This symbol defines the C type used for Perl's U16.
4456 */
4457/* I32TYPE:
4458 * This symbol defines the C type used for Perl's I32.
4459 */
4460/* U32TYPE:
4461 * This symbol defines the C type used for Perl's U32.
4462 */
4463/* I64TYPE:
4464 * This symbol defines the C type used for Perl's I64.
4465 */
4466/* U64TYPE:
4467 * This symbol defines the C type used for Perl's U64.
4468 */
4469/* NVTYPE:
4470 * This symbol defines the C type used for Perl's NV.
fe749a9f 4471 */
08c92000
MB
4472/* IVSIZE:
4473 * This symbol contains the sizeof(IV).
758a5d79 4474 */
08c92000
MB
4475/* UVSIZE:
4476 * This symbol contains the sizeof(UV).
758a5d79 4477 */
08c92000
MB
4478/* I8SIZE:
4479 * This symbol contains the sizeof(I8).
a3540c92 4480 */
08c92000
MB
4481/* U8SIZE:
4482 * This symbol contains the sizeof(U8).
a33c94aa 4483 */
08c92000
MB
4484/* I16SIZE:
4485 * This symbol contains the sizeof(I16).
a33c94aa 4486 */
08c92000
MB
4487/* U16SIZE:
4488 * This symbol contains the sizeof(U16).
1e8c3fde 4489 */
08c92000
MB
4490/* I32SIZE:
4491 * This symbol contains the sizeof(I32).
fe749a9f 4492 */
08c92000
MB
4493/* U32SIZE:
4494 * This symbol contains the sizeof(U32).
fe749a9f 4495 */
08c92000
MB
4496/* I64SIZE:
4497 * This symbol contains the sizeof(I64).
3813c136 4498 */
08c92000
MB
4499/* U64SIZE:
4500 * This symbol contains the sizeof(U64).
51997bc3 4501 */
08c92000
MB
4502/* NVSIZE:
4503 * This symbol contains the sizeof(NV).
e67aeab1 4504 */
08c92000
MB
4505/* NV_PRESERVES_UV:
4506 * This symbol, if defined, indicates that a variable of type NVTYPE
4507 * can preserve all the bits of a variable of type UVTYPE.
fe749a9f 4508 */
08c92000
MB
4509/* NV_PRESERVES_UV_BITS:
4510 * This symbol contains the number of bits a variable of type NVTYPE
4511 * can preserve of a variable of type UVTYPE.
44b94491 4512 */
4137585d 4513/* NV_OVERFLOWS_INTEGERS_AT:
b68c599a
NC
4514 * This symbol gives the largest integer value that NVs can hold. This
4515 * value + 1.0 cannot be stored accurately. It is expressed as constant
cd95ead5 4516 * floating point expression to reduce the chance of decimal/binary
b68c599a
NC
4517 * conversion issues. If it can not be determined, the value 0 is given.
4518 */
17f6277d 4519/* NV_ZERO_IS_ALLBITS_ZERO:
ed140128
AD
4520 * This symbol, if defined, indicates that a variable of type NVTYPE
4521 * stores 0.0 in memory as all bits zero.
e5c9fcd0 4522 */
ed140128
AD
4523#define IVTYPE $ivtype /**/
4524#define UVTYPE $uvtype /**/
4525#define I8TYPE $i8type /**/
4526#define U8TYPE $u8type /**/
4527#define I16TYPE $i16type /**/
4528#define U16TYPE $u16type /**/
4529#define I32TYPE $i32type /**/
4530#define U32TYPE $u32type /**/
4531#ifdef HAS_QUAD
4532#define I64TYPE $i64type /**/
4533#define U64TYPE $u64type /**/
4534#endif
4535#define NVTYPE $nvtype /**/
4536#define IVSIZE $ivsize /**/
4537#define UVSIZE $uvsize /**/
4538#define I8SIZE $i8size /**/
4539#define U8SIZE $u8size /**/
4540#define I16SIZE $i16size /**/
4541#define U16SIZE $u16size /**/
4542#define I32SIZE $i32size /**/
4543#define U32SIZE $u32size /**/
4544#ifdef HAS_QUAD
4545#define I64SIZE $i64size /**/
4546#define U64SIZE $u64size /**/
4547#endif
4548#define NVSIZE $nvsize /**/
4549#$d_nv_preserves_uv NV_PRESERVES_UV
4550#define NV_PRESERVES_UV_BITS $nv_preserves_uv_bits
b68c599a 4551#define NV_OVERFLOWS_INTEGERS_AT $nv_overflows_integers_at
ed140128
AD
4552#$d_nv_zero_is_allbits_zero NV_ZERO_IS_ALLBITS_ZERO
4553#if UVSIZE == 8
4554# ifdef BYTEORDER
4555# if BYTEORDER == 0x1234
4556# undef BYTEORDER
4557# define BYTEORDER 0x12345678
4558# else
4559# if BYTEORDER == 0x4321
4560# undef BYTEORDER
4561# define BYTEORDER 0x87654321
4562# endif
4563# endif
4564# endif
4565#endif
e5c9fcd0 4566
ed140128
AD
4567/* IVdf:
4568 * This symbol defines the format string used for printing a Perl IV
4569 * as a signed decimal integer.
e5c9fcd0 4570 */
ed140128
AD
4571/* UVuf:
4572 * This symbol defines the format string used for printing a Perl UV
4573 * as an unsigned decimal integer.
693762b4 4574 */
ed140128
AD
4575/* UVof:
4576 * This symbol defines the format string used for printing a Perl UV
4577 * as an unsigned octal integer.
44b94491 4578 */
ed140128
AD
4579/* UVxf:
4580 * This symbol defines the format string used for printing a Perl UV
4581 * as an unsigned hexadecimal integer in lowercase abcdef.
104d25b7 4582 */
ed140128
AD
4583/* UVXf:
4584 * This symbol defines the format string used for printing a Perl UV
4585 * as an unsigned hexadecimal integer in uppercase ABCDEF.
76d49b1c 4586 */
ed140128
AD
4587/* NVef:
4588 * This symbol defines the format string used for printing a Perl NV
4589 * using %e-ish floating point format.
28e5dec8 4590 */
ed140128
AD
4591/* NVff:
4592 * This symbol defines the format string used for printing a Perl NV
4593 * using %f-ish floating point format.
ad27e871 4594 */
ed140128
AD
4595/* NVgf:
4596 * This symbol defines the format string used for printing a Perl NV
4597 * using %g-ish floating point format.
104d25b7 4598 */
ed140128
AD
4599#define IVdf $ivdformat /**/
4600#define UVuf $uvuformat /**/
4601#define UVof $uvoformat /**/
4602#define UVxf $uvxformat /**/
4603#define UVXf $uvXUformat /**/
4604#define NVef $nveformat /**/
4605#define NVff $nvfformat /**/
4606#define NVgf $nvgformat /**/
104d25b7 4607
ed140128
AD
4608/* SELECT_MIN_BITS:
4609 * This symbol holds the minimum number of bits operated by select.
4610 * That is, if you do select(n, ...), how many bits at least will be
4611 * cleared in the masks if some activity is detected. Usually this
4612 * is either n or 32*ceil(n/32), especially many little-endians do
4613 * the latter. This is only useful if you have select(), naturally.
a845a0d4 4614 */
ed140128 4615#define SELECT_MIN_BITS $selectminbits /**/
a845a0d4 4616
668fdbe1
MB
4617/* ST_INO_SIZE:
4618 * This variable contains the size of struct stat's st_ino in bytes.
4619 */
4620/* ST_INO_SIGN:
cfc2543a 4621 * This symbol holds the signedness of struct stat's st_ino.
668fdbe1
MB
4622 * 1 for unsigned, -1 for signed.
4623 */
4624#define ST_INO_SIGN $st_ino_sign /* st_ino sign */
4625#define ST_INO_SIZE $st_ino_size /* st_ino size */
4626
08c92000
MB
4627/* STARTPERL:
4628 * This variable contains the string to put in front of a perl
4629 * script to make sure (one hopes) that it runs with perl and not
4630 * some shell.
cb86ce0e 4631 */
08c92000 4632#define STARTPERL "$startperl" /**/
cb86ce0e 4633
08c92000
MB
4634/* HAS_STDIO_STREAM_ARRAY:
4635 * This symbol, if defined, tells that there is an array
4636 * holding the stdio streams.
4e0554ec 4637 */
08c92000
MB
4638/* STDIO_STREAM_ARRAY:
4639 * This symbol tells the name of the array holding the stdio streams.
4640 * Usual values include _iob, __iob, and __sF.
758a5d79 4641 */
08c92000 4642#$d_stdio_stream_array HAS_STDIO_STREAM_ARRAY /**/
4137585d 4643#ifdef HAS_STDIO_STREAM_ARRAY
08c92000 4644#define STDIO_STREAM_ARRAY $stdio_stream_array
4137585d 4645#endif
758a5d79 4646
81c4fd9e
MB
4647/* GMTIME_MAX:
4648 * This symbol contains the maximum value for the time_t offset that
4649 * the system function gmtime () accepts, and defaults to 0
4650 */
4651/* GMTIME_MIN:
4652 * This symbol contains the minimum value for the time_t offset that
4653 * the system function gmtime () accepts, and defaults to 0
4654 */
73e6e416
MB
4655/* LOCALTIME_MAX:
4656 * This symbol contains the maximum value for the time_t offset that
4657 * the system function localtime () accepts, and defaults to 0
4658 */
4659/* LOCALTIME_MIN:
4660 * This symbol contains the minimum value for the time_t offset that
4661 * the system function localtime () accepts, and defaults to 0
4662 */
4663#define GMTIME_MAX $sGMTIME_max /**/
4664#define GMTIME_MIN $sGMTIME_min /**/
4665#define LOCALTIME_MAX $sLOCALTIME_max /**/
4666#define LOCALTIME_MIN $sLOCALTIME_min /**/
81c4fd9e 4667
08c92000
MB
4668/* USE_64_BIT_INT:
4669 * This symbol, if defined, indicates that 64-bit integers should
4670 * be used when available. If not defined, the native integers
4671 * will be employed (be they 32 or 64 bits). The minimal possible
4672 * 64-bitness is used, just enough to get 64-bit integers into Perl.
4673 * This may mean using for example "long longs", while your memory
4674 * may still be limited to 2 gigabytes.
66fe083f 4675 */
08c92000
MB
4676/* USE_64_BIT_ALL:
4677 * This symbol, if defined, indicates that 64-bit integers should
4678 * be used when available. If not defined, the native integers
4679 * will be used (be they 32 or 64 bits). The maximal possible
4680 * 64-bitness is employed: LP64 or ILP64, meaning that you will
4681 * be able to use more than 2 gigabytes of memory. This mode is
4682 * even more binary incompatible than USE_64_BIT_INT. You may not
4683 * be able to run the resulting executable in a 32-bit CPU at all or
4684 * you may need at least to reboot your OS to 64-bit mode.
767df6a1 4685 */
08c92000
MB
4686#ifndef USE_64_BIT_INT
4687#$use64bitint USE_64_BIT_INT /**/
4688#endif
08c92000
MB
4689#ifndef USE_64_BIT_ALL
4690#$use64bitall USE_64_BIT_ALL /**/
4691#endif
a33c94aa 4692
f6a82ade
MB
4693/* USE_CBACKTRACE:
4694 * This symbol, if defined, indicates that Perl should
4695 * be built with support for backtrace.
4696 */
4697#$usecbacktrace USE_CBACKTRACE /**/
4698
0a3c33ab
MB
4699/* USE_DTRACE:
4700 * This symbol, if defined, indicates that Perl should
4701 * be built with support for DTrace.
4702 */
4703#$usedtrace USE_DTRACE /**/
4704
eaf812ae
MB
4705/* USE_FAST_STDIO:
4706 * This symbol, if defined, indicates that Perl should
4707 * be built to use 'fast stdio'.
4708 * Defaults to define in Perls 5.8 and earlier, to undef later.
4709 */
4710#ifndef USE_FAST_STDIO
4711#$usefaststdio USE_FAST_STDIO /**/
4712#endif
4713
d78f9ffa
MB
4714/* USE_KERN_PROC_PATHNAME:
4715 * This symbol, if defined, indicates that we can use sysctl with
4716 * KERN_PROC_PATHNAME to get a full path for the executable, and hence
4717 * convert $^X to an absolute path.
4718 */
4719#$usekernprocpathname USE_KERN_PROC_PATHNAME /**/
4720
08c92000
MB
4721/* USE_LARGE_FILES:
4722 * This symbol, if defined, indicates that large file support
4723 * should be used when available.
640374d0 4724 */
08c92000
MB
4725#ifndef USE_LARGE_FILES
4726#$uselargefiles USE_LARGE_FILES /**/
4727#endif
dfe9444c 4728
08c92000
MB
4729/* USE_LONG_DOUBLE:
4730 * This symbol, if defined, indicates that long doubles should
4731 * be used when available.
a845a0d4 4732 */
08c92000
MB
4733#ifndef USE_LONG_DOUBLE
4734#$uselongdouble USE_LONG_DOUBLE /**/
4735#endif
a845a0d4 4736
08c92000
MB
4737/* USE_MORE_BITS:
4738 * This symbol, if defined, indicates that 64-bit interfaces and
4739 * long doubles should be used when available.
758a5d79 4740 */
08c92000
MB
4741#ifndef USE_MORE_BITS
4742#$usemorebits USE_MORE_BITS /**/
4743#endif
758a5d79 4744
08c92000
MB
4745/* MULTIPLICITY:
4746 * This symbol, if defined, indicates that Perl should
4747 * be built to use multiplicity.
1acc7ade 4748 */
08c92000
MB
4749#ifndef MULTIPLICITY
4750#$usemultiplicity MULTIPLICITY /**/
4751#endif
1acc7ade 4752
d78f9ffa
MB
4753/* USE_NSGETEXECUTABLEPATH:
4754 * This symbol, if defined, indicates that we can use _NSGetExecutablePath
4755 * and realpath to get a full path for the executable, and hence convert
4756 * $^X to an absolute path.
4757 */
4758#$usensgetexecutablepath USE_NSGETEXECUTABLEPATH /**/
4759
08c92000
MB
4760/* USE_PERLIO:
4761 * This symbol, if defined, indicates that the PerlIO abstraction should
4762 * be used throughout. If not defined, stdio should be
4763 * used in a fully backward compatible manner.
5ff3f7a4 4764 */
08c92000
MB
4765#ifndef USE_PERLIO
4766#$useperlio USE_PERLIO /**/
4767#endif
5ff3f7a4 4768
08c92000
MB
4769/* USE_SOCKS:
4770 * This symbol, if defined, indicates that Perl should
4771 * be built to use socks.
a845a0d4 4772 */
08c92000
MB
4773#ifndef USE_SOCKS
4774#$usesocks USE_SOCKS /**/
4775#endif
a845a0d4 4776
fe14fcc3 4777#endif
8d063cd8 4778!GROK!THIS!
43dddb59 4779;;
11e2f395 4780esac