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