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