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