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