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