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