This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
TODO B-Deparse cpan-bug 33708
[perl5.git] / config_h.SH
CommitLineData
43dddb59
MB
1# THIS IS A GENERATED FILE
2# DO NOT HAND-EDIT
3#
4# See Porting/config_h.pl
5
34f1896b 6: Set up for generating config_h.SH
12ae5dfc 7case "$CONFIG_SH" in
776a38e3 8'') CONFIG_SH=config.sh;;
12ae5dfc
JH
9esac
10case "$CONFIG_H" in
776a38e3 11'') CONFIG_H=config.h;;
12ae5dfc 12esac
a02608de 13case $PERL_CONFIG_SH in
8d063cd8 14'')
12ae5dfc
JH
15 if test -f $CONFIG_SH; then TOP=.;
16 elif test -f ../$CONFIG_SH; then TOP=..;
17 elif test -f ../../$CONFIG_SH; then TOP=../..;
18 elif test -f ../../../$CONFIG_SH; then TOP=../../..;
19 elif test -f ../../../../$CONFIG_SH; then TOP=../../../..;
2304df62 20 else
12ae5dfc 21 echo "Can't find $CONFIG_SH."; exit 1
2304df62 22 fi
12ae5dfc 23 . $TOP/$CONFIG_SH
2304df62
AD
24 ;;
25esac
26case "$0" in
27*/*) cd `expr X$0 : 'X\(.*\)/'` ;;
8d063cd8 28esac
11e2f395
RGS
29case "$CONFIG_H" in
30already-done) echo "Not re-extracting config.h" ;;
31*)
43dddb59
MB
32echo "Extracting $CONFIG_H (with variable substitutions)"
33sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-def!#undef!'
2304df62
AD
34/*
35 * This file was produced by running the config_h.SH script, which
12ae5dfc 36 * gets its values from $CONFIG_SH, which is generally produced by
8d063cd8
LW
37 * running Configure.
38 *
39 * Feel free to modify any of this as the need arises. Note, however,
1aef975c 40 * that running config_h.SH again will wipe out any changes you've made.
12ae5dfc 41 * For a more permanent change edit $CONFIG_SH and rerun config_h.SH.
2304df62 42 *
776a38e3 43 * \$Id: Config_h.U 1 2006-08-24 12:32:52Z rmanfredi $
8d063cd8
LW
44 */
45
dfe9444c
AD
46/*
47 * Package name : $package
48 * Source directory : $src
49 * Configuration time: $cf_time
50 * Configured by : $cf_by
51 * Target system : $myuname
2304df62 52 */
8d063cd8 53
2304df62
AD
54#ifndef _config_h_
55#define _config_h_
56
dfe9444c
AD
57/* LOC_SED:
58 * This symbol holds the complete pathname to the sed program.
774d564b 59 */
dfe9444c 60#define LOC_SED "$full_sed" /**/
774d564b 61
88fdc172
SB
62/* HAS_ALARM:
63 * This symbol, if defined, indicates that the alarm routine is
64 * available.
a0d0e21e 65 */
88fdc172 66#$d_alarm HAS_ALARM /**/
a0d0e21e 67
88fdc172
SB
68/* HAS_BCMP:
69 * This symbol is defined if the bcmp() routine is available to
70 * compare blocks of memory.
b4eb6b3d 71 */
88fdc172 72#$d_bcmp HAS_BCMP /**/
b4eb6b3d 73
88fdc172
SB
74/* HAS_BCOPY:
75 * This symbol is defined if the bcopy() routine is available to
76 * copy blocks of memory.
a687059c 77 */
88fdc172 78#$d_bcopy HAS_BCOPY /**/
a687059c 79
88fdc172
SB
80/* HAS_BZERO:
81 * This symbol is defined if the bzero() routine is available to
82 * set a memory block to 0.
0d3e774c 83 */
88fdc172 84#$d_bzero HAS_BZERO /**/
0d3e774c 85
88fdc172
SB
86/* HAS_CHOWN:
87 * This symbol, if defined, indicates that the chown routine is
88 * available.
a0d0e21e 89 */
88fdc172 90#$d_chown HAS_CHOWN /**/
a0d0e21e 91
88fdc172
SB
92/* HAS_CHROOT:
93 * This symbol, if defined, indicates that the chroot routine is
94 * available.
a0d0e21e 95 */
88fdc172 96#$d_chroot HAS_CHROOT /**/
a0d0e21e 97
88fdc172
SB
98/* HAS_CHSIZE:
99 * This symbol, if defined, indicates that the chsize routine is available
100 * to truncate files. You might need a -lx to get this routine.
87250799 101 */
88fdc172 102#$d_chsize HAS_CHSIZE /**/
87250799 103
13cfc98d
MB
104/* HAS_CTERMID:
105 * This symbol, if defined, indicates that the ctermid routine is
106 * available to generate filename for terminal.
107 */
108#$d_ctermid HAS_CTERMID /**/
109
88fdc172
SB
110/* HAS_CUSERID:
111 * This symbol, if defined, indicates that the cuserid routine is
112 * available to get character login names.
13281fa4 113 */
88fdc172 114#$d_cuserid HAS_CUSERID /**/
a0d0e21e 115
88fdc172
SB
116/* HAS_DBL_DIG:
117 * This symbol, if defined, indicates that this system's <float.h>
118 * or <limits.h> defines the symbol DBL_DIG, which is the number
119 * of significant digits in a double precision number. If this
120 * symbol is not defined, a guess of 15 is usually pretty good.
a0d0e21e 121 */
88fdc172 122#$d_dbl_dig HAS_DBL_DIG /* */
a0d0e21e 123
88fdc172
SB
124/* HAS_DIFFTIME:
125 * This symbol, if defined, indicates that the difftime routine is
126 * available.
a0d0e21e 127 */
88fdc172 128#$d_difftime HAS_DIFFTIME /**/
13281fa4 129
88fdc172
SB
130/* HAS_DLERROR:
131 * This symbol, if defined, indicates that the dlerror routine is
132 * available to return a string describing the last error that
133 * occurred from a call to dlopen(), dlclose() or dlsym().
ecfc5424 134 */
88fdc172 135#$d_dlerror HAS_DLERROR /**/
ecfc5424 136
88fdc172
SB
137/* HAS_DUP2:
138 * This symbol, if defined, indicates that the dup2 routine is
139 * available to duplicate file descriptors.
a687059c 140 */
88fdc172 141#$d_dup2 HAS_DUP2 /**/
a687059c 142
88fdc172
SB
143/* HAS_FCHMOD:
144 * This symbol, if defined, indicates that the fchmod routine is available
145 * to change mode of opened files. If unavailable, use chmod().
378cc40b 146 */
88fdc172 147#$d_fchmod HAS_FCHMOD /**/
378cc40b 148
88fdc172
SB
149/* HAS_FCHOWN:
150 * This symbol, if defined, indicates that the fchown routine is available
151 * to change ownership of opened files. If unavailable, use chown().
378cc40b 152 */
88fdc172 153#$d_fchown HAS_FCHOWN /**/
378cc40b 154
88fdc172
SB
155/* HAS_FCNTL:
156 * This symbol, if defined, indicates to the C program that
157 * the fcntl() function exists.
a687059c 158 */
88fdc172 159#$d_fcntl HAS_FCNTL /**/
a687059c 160
88fdc172
SB
161/* HAS_FGETPOS:
162 * This symbol, if defined, indicates that the fgetpos routine is
163 * available to get the file position indicator, similar to ftell().
a0d0e21e 164 */
88fdc172 165#$d_fgetpos HAS_FGETPOS /**/
a0d0e21e 166
88fdc172
SB
167/* HAS_FLOCK:
168 * This symbol, if defined, indicates that the flock routine is
169 * available to do file locking.
a687059c 170 */
88fdc172 171#$d_flock HAS_FLOCK /**/
a687059c 172
88fdc172
SB
173/* HAS_FORK:
174 * This symbol, if defined, indicates that the fork routine is
175 * available.
a0d0e21e 176 */
88fdc172 177#$d_fork HAS_FORK /**/
a0d0e21e 178
88fdc172
SB
179/* HAS_FSETPOS:
180 * This symbol, if defined, indicates that the fsetpos routine is
181 * available to set the file position indicator, similar to fseek().
a0d0e21e 182 */
88fdc172 183#$d_fsetpos HAS_FSETPOS /**/
a0d0e21e 184
88fdc172
SB
185/* HAS_GETTIMEOFDAY:
186 * This symbol, if defined, indicates that the gettimeofday() system
187 * call is available for a sub-second accuracy clock. Usually, the file
188 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
189 * The type "Timeval" should be used to refer to "struct timeval".
5f05dabc 190 */
88fdc172
SB
191#$d_gettimeod HAS_GETTIMEOFDAY /**/
192#ifdef HAS_GETTIMEOFDAY
193#define Timeval struct timeval /* Structure used by gettimeofday() */
194#endif
5f05dabc 195
88fdc172
SB
196/* HAS_GETGROUPS:
197 * This symbol, if defined, indicates that the getgroups() routine is
198 * available to get the list of process groups. If unavailable, multiple
199 * groups are probably not supported.
378cc40b 200 */
88fdc172 201#$d_getgrps HAS_GETGROUPS /**/
378cc40b 202
88fdc172
SB
203/* HAS_GETLOGIN:
204 * This symbol, if defined, indicates that the getlogin routine is
205 * available to get the login name.
dfe9444c 206 */
88fdc172 207#$d_getlogin HAS_GETLOGIN /**/
dfe9444c 208
88fdc172
SB
209/* HAS_GETPGID:
210 * This symbol, if defined, indicates to the C program that
211 * the getpgid(pid) function is available to get the
212 * process group id.
a0d0e21e 213 */
88fdc172 214#$d_getpgid HAS_GETPGID /**/
a0d0e21e 215
88fdc172
SB
216/* HAS_GETPGRP2:
217 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
218 * routine is available to get the current process group.
a687059c 219 */
88fdc172 220#$d_getpgrp2 HAS_GETPGRP2 /**/
ecfc5424 221
88fdc172
SB
222/* HAS_GETPPID:
223 * This symbol, if defined, indicates that the getppid routine is
224 * available to get the parent process ID.
378cc40b 225 */
88fdc172 226#$d_getppid HAS_GETPPID /**/
378cc40b 227
88fdc172
SB
228/* HAS_GETPRIORITY:
229 * This symbol, if defined, indicates that the getpriority routine is
230 * available to get a process's priority.
0d3e774c 231 */
88fdc172 232#$d_getprior HAS_GETPRIORITY /**/
0d3e774c 233
88fdc172
SB
234/* HAS_INET_ATON:
235 * This symbol, if defined, indicates to the C program that the
236 * inet_aton() function is available to parse IP address "dotted-quad"
237 * strings.
a0d0e21e 238 */
88fdc172 239#$d_inetaton HAS_INET_ATON /**/
a0d0e21e 240
88fdc172
SB
241/* HAS_KILLPG:
242 * This symbol, if defined, indicates that the killpg routine is available
243 * to kill process groups. If unavailable, you probably should use kill
244 * with a negative process number.
a687059c 245 */
88fdc172 246#$d_killpg HAS_KILLPG /**/
a687059c 247
88fdc172
SB
248/* HAS_LINK:
249 * This symbol, if defined, indicates that the link routine is
250 * available to create hard links.
a0d0e21e 251 */
88fdc172 252#$d_link HAS_LINK /**/
a0d0e21e 253
88fdc172
SB
254/* HAS_LOCALECONV:
255 * This symbol, if defined, indicates that the localeconv routine is
256 * available for numeric and monetary formatting conventions.
a0d0e21e 257 */
88fdc172 258#$d_locconv HAS_LOCALECONV /**/
a0d0e21e 259
88fdc172
SB
260/* HAS_LOCKF:
261 * This symbol, if defined, indicates that the lockf routine is
262 * available to do file locking.
a0d0e21e 263 */
88fdc172 264#$d_lockf HAS_LOCKF /**/
a0d0e21e 265
88fdc172
SB
266/* HAS_LSTAT:
267 * This symbol, if defined, indicates that the lstat routine is
268 * available to do file stats on symbolic links.
378cc40b 269 */
88fdc172 270#$d_lstat HAS_LSTAT /**/
2304df62 271
88fdc172
SB
272/* HAS_MBLEN:
273 * This symbol, if defined, indicates that the mblen routine is available
274 * to find the number of bytes in a multibye character.
9f971974 275 */
88fdc172 276#$d_mblen HAS_MBLEN /**/
9f971974 277
88fdc172
SB
278/* HAS_MBSTOWCS:
279 * This symbol, if defined, indicates that the mbstowcs routine is
280 * available to covert a multibyte string into a wide character string.
9f971974 281 */
88fdc172 282#$d_mbstowcs HAS_MBSTOWCS /**/
9f971974 283
88fdc172
SB
284/* HAS_MBTOWC:
285 * This symbol, if defined, indicates that the mbtowc routine is available
286 * to covert a multibyte to a wide character.
9f971974 287 */
88fdc172 288#$d_mbtowc HAS_MBTOWC /**/
378cc40b 289
88fdc172
SB
290/* HAS_MEMCMP:
291 * This symbol, if defined, indicates that the memcmp routine is available
292 * to compare blocks of memory.
a687059c 293 */
88fdc172 294#$d_memcmp HAS_MEMCMP /**/
fe14fcc3 295
88fdc172
SB
296/* HAS_MEMCPY:
297 * This symbol, if defined, indicates that the memcpy routine is available
298 * to copy blocks of memory.
ecfc5424 299 */
88fdc172 300#$d_memcpy HAS_MEMCPY /**/
ecfc5424 301
88fdc172
SB
302/* HAS_MEMMOVE:
303 * This symbol, if defined, indicates that the memmove routine is available
304 * to copy potentially overlapping blocks of memory. This should be used
305 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
306 * own version.
a0d0e21e 307 */
88fdc172 308#$d_memmove HAS_MEMMOVE /**/
a0d0e21e 309
88fdc172
SB
310/* HAS_MEMSET:
311 * This symbol, if defined, indicates that the memset routine is available
312 * to set blocks of memory.
fe749a9f 313 */
88fdc172 314#$d_memset HAS_MEMSET /**/
fe749a9f 315
88fdc172
SB
316/* HAS_MKDIR:
317 * This symbol, if defined, indicates that the mkdir routine is available
318 * to create directories. Otherwise you should fork off a new process to
319 * exec /bin/mkdir.
fe749a9f 320 */
88fdc172 321#$d_mkdir HAS_MKDIR /**/
fe749a9f 322
88fdc172
SB
323/* HAS_MKFIFO:
324 * This symbol, if defined, indicates that the mkfifo routine is
325 * available to create FIFOs. Otherwise, mknod should be able to
326 * do it for you. However, if mkfifo is there, mknod might require
327 * super-user privileges which mkfifo will not.
fe14fcc3 328 */
88fdc172 329#$d_mkfifo HAS_MKFIFO /**/
a687059c 330
88fdc172
SB
331/* HAS_MKTIME:
332 * This symbol, if defined, indicates that the mktime routine is
333 * available.
ecfc5424 334 */
88fdc172 335#$d_mktime HAS_MKTIME /**/
ecfc5424 336
88fdc172
SB
337/* HAS_MSYNC:
338 * This symbol, if defined, indicates that the msync system call is
339 * available to synchronize a mapped file.
a687059c 340 */
88fdc172 341#$d_msync HAS_MSYNC /**/
a687059c 342
88fdc172
SB
343/* HAS_MUNMAP:
344 * This symbol, if defined, indicates that the munmap system call is
345 * available to unmap a region, usually mapped by mmap().
fe14fcc3 346 */
88fdc172 347#$d_munmap HAS_MUNMAP /**/
a0d0e21e 348
88fdc172
SB
349/* HAS_NICE:
350 * This symbol, if defined, indicates that the nice routine is
351 * available.
8e07c86e 352 */
88fdc172 353#$d_nice HAS_NICE /**/
8e07c86e 354
88fdc172
SB
355/* HAS_PATHCONF:
356 * This symbol, if defined, indicates that pathconf() is available
357 * to determine file-system related limits and options associated
358 * with a given filename.
a0d0e21e 359 */
88fdc172
SB
360/* HAS_FPATHCONF:
361 * This symbol, if defined, indicates that pathconf() is available
362 * to determine file-system related limits and options associated
363 * with a given open file descriptor.
a0d0e21e 364 */
88fdc172
SB
365#$d_pathconf HAS_PATHCONF /**/
366#$d_fpathconf HAS_FPATHCONF /**/
a0d0e21e 367
88fdc172
SB
368/* HAS_PAUSE:
369 * This symbol, if defined, indicates that the pause routine is
370 * available to suspend a process until a signal is received.
a0d0e21e 371 */
88fdc172 372#$d_pause HAS_PAUSE /**/
a0d0e21e 373
88fdc172
SB
374/* HAS_PIPE:
375 * This symbol, if defined, indicates that the pipe routine is
376 * available to create an inter-process channel.
a0d0e21e 377 */
88fdc172 378#$d_pipe HAS_PIPE /**/
fe14fcc3 379
88fdc172
SB
380/* HAS_READDIR:
381 * This symbol, if defined, indicates that the readdir routine is
382 * available to read directory entries. You may have to include
383 * <dirent.h>. See I_DIRENT.
378cc40b 384 */
88fdc172 385#$d_readdir HAS_READDIR /**/
378cc40b 386
88fdc172
SB
387/* HAS_SEEKDIR:
388 * This symbol, if defined, indicates that the seekdir routine is
389 * available. You may have to include <dirent.h>. See I_DIRENT.
378cc40b 390 */
88fdc172 391#$d_seekdir HAS_SEEKDIR /**/
2304df62 392
88fdc172
SB
393/* HAS_TELLDIR:
394 * This symbol, if defined, indicates that the telldir routine is
395 * available. You may have to include <dirent.h>. See I_DIRENT.
a0d0e21e 396 */
88fdc172 397#$d_telldir HAS_TELLDIR /**/
a0d0e21e 398
88fdc172
SB
399/* HAS_REWINDDIR:
400 * This symbol, if defined, indicates that the rewinddir routine is
401 * available. You may have to include <dirent.h>. See I_DIRENT.
a0d0e21e 402 */
88fdc172 403#$d_rewinddir HAS_REWINDDIR /**/
a0d0e21e 404
88fdc172
SB
405/* HAS_READLINK:
406 * This symbol, if defined, indicates that the readlink routine is
407 * available to read the value of a symbolic link.
dfe9444c 408 */
88fdc172 409#$d_readlink HAS_READLINK /**/
dfe9444c 410
88fdc172
SB
411/* HAS_RENAME:
412 * This symbol, if defined, indicates that the rename routine is available
413 * to rename files. Otherwise you should do the unlink(), link(), unlink()
414 * trick.
d8f2e4cc 415 */
88fdc172 416#$d_rename HAS_RENAME /**/
d8f2e4cc 417
88fdc172
SB
418/* HAS_RMDIR:
419 * This symbol, if defined, indicates that the rmdir routine is
420 * available to remove directories. Otherwise you should fork off a
421 * new process to exec /bin/rmdir.
a687059c 422 */
88fdc172 423#$d_rmdir HAS_RMDIR /**/
a687059c 424
88fdc172
SB
425/* HAS_SELECT:
426 * This symbol, if defined, indicates that the select routine is
427 * available to select active file descriptors. If the timeout field
428 * is used, <sys/time.h> may need to be included.
a687059c 429 */
88fdc172 430#$d_select HAS_SELECT /**/
a687059c 431
88fdc172
SB
432/* HAS_SETEGID:
433 * This symbol, if defined, indicates that the setegid routine is available
434 * to change the effective gid of the current program.
a687059c 435 */
88fdc172 436#$d_setegid HAS_SETEGID /**/
a687059c 437
88fdc172
SB
438/* HAS_SETEUID:
439 * This symbol, if defined, indicates that the seteuid routine is available
440 * to change the effective uid of the current program.
378cc40b 441 */
88fdc172 442#$d_seteuid HAS_SETEUID /**/
378cc40b 443
88fdc172
SB
444/* HAS_SETLINEBUF:
445 * This symbol, if defined, indicates that the setlinebuf routine is
446 * available to change stderr or stdout from block-buffered or unbuffered
447 * to a line-buffered mode.
378cc40b 448 */
88fdc172 449#$d_setlinebuf HAS_SETLINEBUF /**/
2304df62 450
88fdc172
SB
451/* HAS_SETLOCALE:
452 * This symbol, if defined, indicates that the setlocale routine is
453 * available to handle locale-specific ctype implementations.
2304df62 454 */
88fdc172 455#$d_setlocale HAS_SETLOCALE /**/
fe14fcc3 456
88fdc172
SB
457/* HAS_SETPGID:
458 * This symbol, if defined, indicates that the setpgid(pid, gpid)
459 * routine is available to set process group ID.
c2960299 460 */
88fdc172 461#$d_setpgid HAS_SETPGID /**/
dfe9444c 462
88fdc172
SB
463/* HAS_SETPGRP2:
464 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
465 * routine is available to set the current process group.
16d20bd9 466 */
88fdc172 467#$d_setpgrp2 HAS_SETPGRP2 /**/
dfe9444c 468
88fdc172
SB
469/* HAS_SETPRIORITY:
470 * This symbol, if defined, indicates that the setpriority routine is
471 * available to set a process's priority.
c2960299 472 */
88fdc172 473#$d_setprior HAS_SETPRIORITY /**/
8d063cd8 474
88fdc172
SB
475/* HAS_SETREGID:
476 * This symbol, if defined, indicates that the setregid routine is
477 * available to change the real and effective gid of the current
478 * process.
a89d8a78 479 */
88fdc172
SB
480/* HAS_SETRESGID:
481 * This symbol, if defined, indicates that the setresgid routine is
482 * available to change the real, effective and saved gid of the current
483 * process.
a89d8a78 484 */
88fdc172
SB
485#$d_setregid HAS_SETREGID /**/
486#$d_setresgid HAS_SETRESGID /**/
a89d8a78 487
88fdc172
SB
488/* HAS_SETREUID:
489 * This symbol, if defined, indicates that the setreuid routine is
490 * available to change the real and effective uid of the current
491 * process.
a0d0e21e 492 */
88fdc172
SB
493/* HAS_SETRESUID:
494 * This symbol, if defined, indicates that the setresuid routine is
495 * available to change the real, effective and saved uid of the current
496 * process.
2e1b3b7e 497 */
88fdc172
SB
498#$d_setreuid HAS_SETREUID /**/
499#$d_setresuid HAS_SETRESUID /**/
2e1b3b7e 500
88fdc172
SB
501/* HAS_SETRGID:
502 * This symbol, if defined, indicates that the setrgid routine is available
503 * to change the real gid of the current program.
a687059c 504 */
88fdc172 505#$d_setrgid HAS_SETRGID /**/
e5d73d77 506
88fdc172
SB
507/* HAS_SETRUID:
508 * This symbol, if defined, indicates that the setruid routine is available
509 * to change the real uid of the current program.
ecfc5424 510 */
88fdc172 511#$d_setruid HAS_SETRUID /**/
ecfc5424 512
88fdc172
SB
513/* HAS_SETSID:
514 * This symbol, if defined, indicates that the setsid routine is
515 * available to set the process group ID.
9f971974 516 */
88fdc172 517#$d_setsid HAS_SETSID /**/
9f971974 518
88fdc172
SB
519/* HAS_STRCHR:
520 * This symbol is defined to indicate that the strchr()/strrchr()
521 * functions are available for string searching. If not, try the
522 * index()/rindex() pair.
85e6fe83 523 */
88fdc172
SB
524/* HAS_INDEX:
525 * This symbol is defined to indicate that the index()/rindex()
526 * functions are available for string searching.
a0d0e21e 527 */
88fdc172
SB
528#$d_strchr HAS_STRCHR /**/
529#$d_index HAS_INDEX /**/
85e6fe83 530
88fdc172
SB
531/* HAS_STRCOLL:
532 * This symbol, if defined, indicates that the strcoll routine is
533 * available to compare strings using collating information.
87250799 534 */
88fdc172 535#$d_strcoll HAS_STRCOLL /**/
87250799 536
88fdc172
SB
537/* HAS_STRTOD:
538 * This symbol, if defined, indicates that the strtod routine is
539 * available to provide better numeric string conversion than atof().
a0d0e21e 540 */
88fdc172 541#$d_strtod HAS_STRTOD /**/
a0d0e21e 542
88fdc172
SB
543/* HAS_STRTOL:
544 * This symbol, if defined, indicates that the strtol routine is available
545 * to provide better numeric string conversion than atoi() and friends.
85e6fe83 546 */
88fdc172 547#$d_strtol HAS_STRTOL /**/
d8f2e4cc 548
88fdc172
SB
549/* HAS_STRXFRM:
550 * This symbol, if defined, indicates that the strxfrm() routine is
551 * available to transform strings.
d8f2e4cc 552 */
88fdc172 553#$d_strxfrm HAS_STRXFRM /**/
d8f2e4cc 554
88fdc172
SB
555/* HAS_SYMLINK:
556 * This symbol, if defined, indicates that the symlink routine is available
557 * to create symbolic links.
dfe9444c 558 */
88fdc172 559#$d_symlink HAS_SYMLINK /**/
dfe9444c 560
88fdc172
SB
561/* HAS_SYSCALL:
562 * This symbol, if defined, indicates that the syscall routine is
563 * available to call arbitrary system calls. If undefined, that's tough.
a0d0e21e 564 */
88fdc172 565#$d_syscall HAS_SYSCALL /**/
a687059c 566
88fdc172
SB
567/* HAS_SYSCONF:
568 * This symbol, if defined, indicates that sysconf() is available
569 * to determine system related limits and options.
aaacdc8b 570 */
88fdc172
SB
571#$d_sysconf HAS_SYSCONF /**/
572
573/* HAS_SYSTEM:
574 * This symbol, if defined, indicates that the system routine is
575 * available to issue a shell command.
aaacdc8b 576 */
88fdc172 577#$d_system HAS_SYSTEM /**/
aaacdc8b 578
88fdc172
SB
579/* HAS_TCGETPGRP:
580 * This symbol, if defined, indicates that the tcgetpgrp routine is
581 * available to get foreground process group ID.
aaacdc8b 582 */
88fdc172 583#$d_tcgetpgrp HAS_TCGETPGRP /**/
aaacdc8b 584
88fdc172
SB
585/* HAS_TCSETPGRP:
586 * This symbol, if defined, indicates that the tcsetpgrp routine is
587 * available to set foreground process group ID.
a22e52b9 588 */
88fdc172 589#$d_tcsetpgrp HAS_TCSETPGRP /**/
a22e52b9 590
88fdc172
SB
591/* HAS_TRUNCATE:
592 * This symbol, if defined, indicates that the truncate routine is
593 * available to truncate files.
5ff3f7a4 594 */
88fdc172 595#$d_truncate HAS_TRUNCATE /**/
5ff3f7a4 596
88fdc172
SB
597/* HAS_TZNAME:
598 * This symbol, if defined, indicates that the tzname[] array is
599 * available to access timezone names.
5ff3f7a4 600 */
88fdc172 601#$d_tzname HAS_TZNAME /**/
5ff3f7a4 602
88fdc172
SB
603/* HAS_UMASK:
604 * This symbol, if defined, indicates that the umask routine is
605 * available to set and get the value of the file creation mask.
5ff3f7a4 606 */
88fdc172 607#$d_umask HAS_UMASK /**/
5ff3f7a4 608
88fdc172
SB
609/* HAS_USLEEP:
610 * This symbol, if defined, indicates that the usleep routine is
611 * available to let the process sleep on a sub-second accuracy.
5ff3f7a4 612 */
88fdc172 613#$d_usleep HAS_USLEEP /**/
5ff3f7a4 614
88fdc172
SB
615/* HAS_WAIT4:
616 * This symbol, if defined, indicates that wait4() exists.
8e07c86e 617 */
88fdc172 618#$d_wait4 HAS_WAIT4 /**/
8e07c86e 619
88fdc172
SB
620/* HAS_WAITPID:
621 * This symbol, if defined, indicates that the waitpid routine is
622 * available to wait for child process.
1aef975c 623 */
88fdc172 624#$d_waitpid HAS_WAITPID /**/
85e6fe83 625
88fdc172
SB
626/* HAS_WCSTOMBS:
627 * This symbol, if defined, indicates that the wcstombs routine is
628 * available to convert wide character strings to multibyte strings.
bccf77a5 629 */
88fdc172 630#$d_wcstombs HAS_WCSTOMBS /**/
dfe9444c 631
88fdc172
SB
632/* HAS_WCTOMB:
633 * This symbol, if defined, indicates that the wctomb routine is available
634 * to covert a wide character to a multibyte.
bccf77a5 635 */
88fdc172 636#$d_wctomb HAS_WCTOMB /**/
bccf77a5 637
88fdc172
SB
638/* I_ARPA_INET:
639 * This symbol, if defined, indicates to the C program that it should
640 * include <arpa/inet.h> to get inet_addr and friends declarations.
ff935051 641 */
88fdc172 642#$i_arpainet I_ARPA_INET /**/
ff935051 643
88fdc172
SB
644/* I_DBM:
645 * This symbol, if defined, indicates that <dbm.h> exists and should
646 * be included.
ff935051 647 */
88fdc172
SB
648/* I_RPCSVC_DBM:
649 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
650 * should be included.
10bc17b6 651 */
88fdc172
SB
652#$i_dbm I_DBM /**/
653#$i_rpcsvcdbm I_RPCSVC_DBM /**/
10bc17b6 654
88fdc172
SB
655/* I_DLFCN:
656 * This symbol, if defined, indicates that <dlfcn.h> exists and should
657 * be included.
78a7c709 658 */
88fdc172 659#$i_dlfcn I_DLFCN /**/
78a7c709 660
88fdc172
SB
661/* I_FCNTL:
662 * This manifest constant tells the C program to include <fcntl.h>.
c7aff470 663 */
88fdc172 664#$i_fcntl I_FCNTL /**/
44b94491 665
88fdc172
SB
666/* I_FLOAT:
667 * This symbol, if defined, indicates to the C program that it should
668 * include <float.h> to get definition of symbols like DBL_MAX or
669 * DBL_MIN, i.e. machine dependent floating point values.
c7aff470 670 */
88fdc172 671#$i_float I_FLOAT /**/
c7aff470 672
13cfc98d
MB
673/* I_GDBM:
674 * This symbol, if defined, indicates that <gdbm.h> exists and should
675 * be included.
676 */
677#$i_gdbm I_GDBM /**/
678
88fdc172
SB
679/* I_LIMITS:
680 * This symbol, if defined, indicates to the C program that it should
681 * include <limits.h> to get definition of symbols like WORD_BIT or
682 * LONG_MAX, i.e. machine dependant limitations.
c7aff470 683 */
88fdc172 684#$i_limits I_LIMITS /**/
c7aff470 685
88fdc172
SB
686/* I_LOCALE:
687 * This symbol, if defined, indicates to the C program that it should
688 * include <locale.h>.
a845a0d4 689 */
88fdc172 690#$i_locale I_LOCALE /**/
a845a0d4 691
88fdc172
SB
692/* I_MATH:
693 * This symbol, if defined, indicates to the C program that it should
694 * include <math.h>.
a845a0d4 695 */
88fdc172 696#$i_math I_MATH /**/
a845a0d4 697
88fdc172
SB
698/* I_MEMORY:
699 * This symbol, if defined, indicates to the C program that it should
700 * include <memory.h>.
a845a0d4 701 */
88fdc172
SB
702#$i_memory I_MEMORY /**/
703
88fdc172
SB
704/* I_NETINET_IN:
705 * This symbol, if defined, indicates to the C program that it should
706 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
a845a0d4 707 */
88fdc172
SB
708#$i_niin I_NETINET_IN /**/
709
710/* I_SFIO:
711 * This symbol, if defined, indicates to the C program that it should
712 * include <sfio.h>.
a845a0d4 713 */
88fdc172
SB
714#$i_sfio I_SFIO /**/
715
716/* I_STDDEF:
717 * This symbol, if defined, indicates that <stddef.h> exists and should
718 * be included.
a845a0d4 719 */
88fdc172
SB
720#$i_stddef I_STDDEF /**/
721
722/* I_STDLIB:
723 * This symbol, if defined, indicates that <stdlib.h> exists and should
724 * be included.
a845a0d4 725 */
88fdc172
SB
726#$i_stdlib I_STDLIB /**/
727
728/* I_STRING:
729 * This symbol, if defined, indicates to the C program that it should
730 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
a845a0d4 731 */
88fdc172
SB
732#$i_string I_STRING /**/
733
734/* I_SYS_DIR:
735 * This symbol, if defined, indicates to the C program that it should
736 * include <sys/dir.h>.
a845a0d4 737 */
88fdc172
SB
738#$i_sysdir I_SYS_DIR /**/
739
740/* I_SYS_FILE:
741 * This symbol, if defined, indicates to the C program that it should
742 * include <sys/file.h> to get definition of R_OK and friends.
a845a0d4 743 */
88fdc172 744#$i_sysfile I_SYS_FILE /**/
a845a0d4 745
88fdc172
SB
746/* I_SYS_IOCTL:
747 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
748 * be included. Otherwise, include <sgtty.h> or <termio.h>.
a845a0d4 749 */
88fdc172
SB
750/* I_SYS_SOCKIO:
751 * This symbol, if defined, indicates the <sys/sockio.h> should be included
752 * to get socket ioctl options, like SIOCATMARK.
a845a0d4 753 */
88fdc172
SB
754#$i_sysioctl I_SYS_IOCTL /**/
755#$i_syssockio I_SYS_SOCKIO /**/
756
757/* I_SYS_NDIR:
758 * This symbol, if defined, indicates to the C program that it should
759 * include <sys/ndir.h>.
a845a0d4 760 */
88fdc172 761#$i_sysndir I_SYS_NDIR /**/
a845a0d4 762
88fdc172
SB
763/* I_SYS_PARAM:
764 * This symbol, if defined, indicates to the C program that it should
765 * include <sys/param.h>.
a845a0d4 766 */
88fdc172
SB
767#$i_sysparam I_SYS_PARAM /**/
768
216dac04
MB
769/* I_SYS_POLL:
770 * This symbol, if defined, indicates that the program may include
771 * <sys/poll.h>. When I_POLL is also defined, it's probably safest
772 * to only include <poll.h>.
773 */
774#$i_syspoll I_SYS_POLL /**/
775
88fdc172
SB
776/* I_SYS_RESOURCE:
777 * This symbol, if defined, indicates to the C program that it should
778 * include <sys/resource.h>.
a845a0d4 779 */
88fdc172 780#$i_sysresrc I_SYS_RESOURCE /**/
a845a0d4 781
88fdc172
SB
782/* I_SYS_SELECT:
783 * This symbol, if defined, indicates to the C program that it should
784 * include <sys/select.h> in order to get definition of struct timeval.
a845a0d4 785 */
88fdc172 786#$i_sysselct I_SYS_SELECT /**/
a845a0d4 787
88fdc172 788/* I_SYS_STAT:
a845a0d4 789 * This symbol, if defined, indicates to the C program that it should
88fdc172 790 * include <sys/stat.h>.
a845a0d4 791 */
88fdc172
SB
792#$i_sysstat I_SYS_STAT /**/
793
794/* I_SYS_TIMES:
a845a0d4 795 * This symbol, if defined, indicates to the C program that it should
88fdc172 796 * include <sys/times.h>.
a845a0d4 797 */
88fdc172
SB
798#$i_systimes I_SYS_TIMES /**/
799
800/* I_SYS_TYPES:
a845a0d4 801 * This symbol, if defined, indicates to the C program that it should
88fdc172 802 * include <sys/types.h>.
a845a0d4 803 */
88fdc172
SB
804#$i_systypes I_SYS_TYPES /**/
805
806/* I_SYS_UN:
807 * This symbol, if defined, indicates to the C program that it should
808 * include <sys/un.h> to get UNIX domain socket definitions.
a845a0d4 809 */
88fdc172
SB
810#$i_sysun I_SYS_UN /**/
811
812/* I_SYS_WAIT:
813 * This symbol, if defined, indicates to the C program that it should
814 * include <sys/wait.h>.
a845a0d4 815 */
88fdc172 816#$i_syswait I_SYS_WAIT /**/
a845a0d4 817
88fdc172
SB
818/* I_TERMIO:
819 * This symbol, if defined, indicates that the program should include
820 * <termio.h> rather than <sgtty.h>. There are also differences in
821 * the ioctl() calls that depend on the value of this symbol.
a845a0d4 822 */
88fdc172
SB
823/* I_TERMIOS:
824 * This symbol, if defined, indicates that the program should include
825 * the POSIX termios.h rather than sgtty.h or termio.h.
826 * There are also differences in the ioctl() calls that depend on the
827 * value of this symbol.
a845a0d4 828 */
88fdc172
SB
829/* I_SGTTY:
830 * This symbol, if defined, indicates that the program should include
831 * <sgtty.h> rather than <termio.h>. There are also differences in
832 * the ioctl() calls that depend on the value of this symbol.
a845a0d4 833 */
88fdc172
SB
834#$i_termio I_TERMIO /**/
835#$i_termios I_TERMIOS /**/
836#$i_sgtty I_SGTTY /**/
837
838/* I_UNISTD:
839 * This symbol, if defined, indicates to the C program that it should
840 * include <unistd.h>.
a845a0d4 841 */
88fdc172 842#$i_unistd I_UNISTD /**/
a845a0d4 843
88fdc172
SB
844/* I_UTIME:
845 * This symbol, if defined, indicates to the C program that it should
846 * include <utime.h>.
a845a0d4 847 */
88fdc172 848#$i_utime I_UTIME /**/
a845a0d4 849
88fdc172
SB
850/* I_VALUES:
851 * This symbol, if defined, indicates to the C program that it should
852 * include <values.h> to get definition of symbols like MINFLOAT or
853 * MAXLONG, i.e. machine dependant limitations. Probably, you
854 * should use <limits.h> instead, if it is available.
a845a0d4 855 */
88fdc172
SB
856#$i_values I_VALUES /**/
857
858/* I_VFORK:
859 * This symbol, if defined, indicates to the C program that it should
860 * include vfork.h.
a845a0d4 861 */
88fdc172
SB
862#$i_vfork I_VFORK /**/
863
ed140128
AD
864/* INTSIZE:
865 * This symbol contains the value of sizeof(int) so that the C
866 * preprocessor can make decisions based on it.
a845a0d4 867 */
ed140128
AD
868/* LONGSIZE:
869 * This symbol contains the value of sizeof(long) so that the C
870 * preprocessor can make decisions based on it.
a845a0d4 871 */
ed140128
AD
872/* SHORTSIZE:
873 * This symbol contains the value of sizeof(short) so that the C
874 * preprocessor can make decisions based on it.
a845a0d4 875 */
ed140128
AD
876#define INTSIZE $intsize /**/
877#define LONGSIZE $longsize /**/
878#define SHORTSIZE $shortsize /**/
a845a0d4 879
ed140128
AD
880/* MULTIARCH:
881 * This symbol, if defined, signifies that the build
882 * process will produce some binary files that are going to be
883 * used in a cross-platform environment. This is the case for
884 * example with the NeXT "fat" binaries that contain executables
885 * for several CPUs.
a845a0d4 886 */
ed140128 887#$multiarch MULTIARCH /**/
a845a0d4 888
ed140128
AD
889/* HAS_QUAD:
890 * This symbol, if defined, tells that there's a 64-bit integer type,
891 * Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one
892 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T.
eaf812ae 893 */
ed140128
AD
894#$d_quad HAS_QUAD /**/
895#ifdef HAS_QUAD
896# define Quad_t $quadtype /**/
897# define Uquad_t $uquadtype /**/
898# define QUADKIND $quadkind /**/
899# define QUAD_IS_INT 1
900# define QUAD_IS_LONG 2
901# define QUAD_IS_LONG_LONG 3
902# define QUAD_IS_INT64_T 4
eaf812ae
MB
903#endif
904
08c92000
MB
905/* OSNAME:
906 * This symbol contains the name of the operating system, as determined
907 * by Configure. You shouldn't rely on it too much; the specific
908 * feature tests from Configure are generally more reliable.
909 */
910/* OSVERS:
911 * This symbol contains the version of the operating system, as determined
912 * by Configure. You shouldn't rely on it too much; the specific
913 * feature tests from Configure are generally more reliable.
914 */
915#define OSNAME "$osname" /**/
916#define OSVERS "$osvers" /**/
917
08c92000
MB
918/* ARCHLIB:
919 * This variable, if defined, holds the name of the directory in
920 * which the user wants to put architecture-dependent public
921 * library files for $package. It is most often a local directory
922 * such as /usr/local/lib. Programs using this variable must be
923 * prepared to deal with filename expansion. If ARCHLIB is the
924 * same as PRIVLIB, it is not defined, since presumably the
925 * program already searches PRIVLIB.
926 */
927/* ARCHLIB_EXP:
928 * This symbol contains the ~name expanded version of ARCHLIB, to be used
929 * in programs that are not prepared to deal with ~ expansion at run-time.
930 */
931#$d_archlib ARCHLIB "$archlib" /**/
932#$d_archlib ARCHLIB_EXP "$archlibexp" /**/
933
934/* ARCHNAME:
935 * This symbol holds a string representing the architecture name.
936 * It may be used to construct an architecture-dependant pathname
937 * where library files may be held under a private library, for
938 * instance.
939 */
940#define ARCHNAME "$archname" /**/
941
08c92000
MB
942/* BIN:
943 * This symbol holds the path of the bin directory where the package will
944 * be installed. Program must be prepared to deal with ~name substitution.
945 */
946/* BIN_EXP:
947 * This symbol is the filename expanded version of the BIN symbol, for
948 * programs that do not want to deal with that at run-time.
949 */
f3f1a2d8
MB
950/* PERL_RELOCATABLE_INC:
951 * This symbol, if defined, indicates that we'd like to relocate entries
952 * in @INC at run time based on the location of the perl binary.
953 */
08c92000
MB
954#define BIN "$bin" /**/
955#define BIN_EXP "$binexp" /**/
f3f1a2d8 956#define PERL_RELOCATABLE_INC "$userelocatableinc" /**/
08c92000 957
08c92000
MB
958/* CAT2:
959 * This macro concatenates 2 tokens together.
960 */
961/* STRINGIFY:
962 * This macro surrounds its token with double quotes.
963 */
964#if $cpp_stuff == 1
965#define CAT2(a,b) a/**/b
966#define STRINGIFY(a) "a"
08c92000
MB
967#endif
968#if $cpp_stuff == 42
34f1896b 969#define PeRl_CaTiFy(a, b) a ## b
08c92000 970#define PeRl_StGiFy(a) #a
08c92000
MB
971#define CAT2(a,b) PeRl_CaTiFy(a,b)
972#define StGiFy(a) PeRl_StGiFy(a)
973#define STRINGIFY(a) PeRl_StGiFy(a)
974#endif
975#if $cpp_stuff != 1 && $cpp_stuff != 42
4137585d 976#include "Bletch: How does this C preprocessor concatenate tokens?"
08c92000
MB
977#endif
978
979/* CPPSTDIN:
980 * This symbol contains the first part of the string which will invoke
981 * the C preprocessor on the standard input and produce to standard
982 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
983 * call a wrapper. See CPPRUN.
984 */
985/* CPPMINUS:
986 * This symbol contains the second part of the string which will invoke
987 * the C preprocessor on the standard input and produce to standard
988 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
989 * to specify standard input, otherwise the value is "".
990 */
991/* CPPRUN:
992 * This symbol contains the string which will invoke a C preprocessor on
993 * the standard input and produce to standard output. It needs to end
994 * with CPPLAST, after all other preprocessor flags have been specified.
995 * The main difference with CPPSTDIN is that this program will never be a
996 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
997 * available directly to the user. Note that it may well be different from
998 * the preprocessor used to compile the C program.
999 */
1000/* CPPLAST:
1001 * This symbol is intended to be used along with CPPRUN in the same manner
1002 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1003 */
1004#define CPPSTDIN "$cppstdin"
1005#define CPPMINUS "$cppminus"
1006#define CPPRUN "$cpprun"
1007#define CPPLAST "$cpplast"
1008
08c92000
MB
1009/* HAS_ACCESS:
1010 * This manifest constant lets the C program know that the access()
1011 * system call is available to check for accessibility using real UID/GID.
1012 * (always present on UNIX.)
1013 */
1014#$d_access HAS_ACCESS /**/
1015
ed140128
AD
1016/* HAS_ACCESSX:
1017 * This symbol, if defined, indicates that the accessx routine is
1018 * available to do extended access checks.
eaf812ae 1019 */
ed140128 1020#$d_accessx HAS_ACCESSX /**/
eaf812ae 1021
08c92000
MB
1022/* HAS_ASCTIME_R:
1023 * This symbol, if defined, indicates that the asctime_r routine
1024 * is available to asctime re-entrantly.
1025 */
1026/* ASCTIME_R_PROTO:
1027 * This symbol encodes the prototype of asctime_r.
1028 * It is zero if d_asctime_r is undef, and one of the
1029 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_asctime_r
1030 * is defined.
1031 */
1032#$d_asctime_r HAS_ASCTIME_R /**/
1033#define ASCTIME_R_PROTO $asctime_r_proto /**/
1034
eaf812ae
MB
1035/* HASATTRIBUTE_FORMAT:
1036 * Can we handle GCC attribute for checking printf-style formats
1037 */
dcb594bc
MB
1038/* PRINTF_FORMAT_NULL_OK:
1039 * Allows __printf__ format to be null when checking printf-style
1040 */
eaf812ae
MB
1041/* HASATTRIBUTE_MALLOC:
1042 * Can we handle GCC attribute for malloc-style functions.
1043 */
1044/* HASATTRIBUTE_NONNULL:
1045 * Can we handle GCC attribute for nonnull function parms.
1046 */
1047/* HASATTRIBUTE_NORETURN:
1048 * Can we handle GCC attribute for functions that do not return
1049 */
1050/* HASATTRIBUTE_PURE:
1051 * Can we handle GCC attribute for pure functions
1052 */
1053/* HASATTRIBUTE_UNUSED:
1054 * Can we handle GCC attribute for unused variables and arguments
1055 */
1056/* HASATTRIBUTE_WARN_UNUSED_RESULT:
1057 * Can we handle GCC attribute for warning on unused results
1058 */
1059#$d_attribute_format HASATTRIBUTE_FORMAT /**/
dcb594bc 1060#$d_printf_format_null PRINTF_FORMAT_NULL_OK /**/
eaf812ae
MB
1061#$d_attribute_noreturn HASATTRIBUTE_NORETURN /**/
1062#$d_attribute_malloc HASATTRIBUTE_MALLOC /**/
1063#$d_attribute_nonnull HASATTRIBUTE_NONNULL /**/
1064#$d_attribute_pure HASATTRIBUTE_PURE /**/
1065#$d_attribute_unused HASATTRIBUTE_UNUSED /**/
1066#$d_attribute_warn_unused_result HASATTRIBUTE_WARN_UNUSED_RESULT /**/
1067
f244a502
JH
1068/* HASCONST:
1069 * This symbol, if defined, indicates that this C compiler knows about
1070 * the const type. There is no need to actually test for that symbol
1071 * within your programs. The mere use of the "const" keyword will
1072 * trigger the necessary tests.
1073 */
1074#$d_const HASCONST /**/
1075#ifndef HASCONST
1076#define const
1077#endif
1078
eaf812ae
MB
1079/* HAS_CRYPT:
1080 * This symbol, if defined, indicates that the crypt routine is available
1081 * to encrypt passwords and the like.
1082 */
1083#$d_crypt HAS_CRYPT /**/
1084
08c92000
MB
1085/* HAS_CRYPT_R:
1086 * This symbol, if defined, indicates that the crypt_r routine
1087 * is available to crypt re-entrantly.
a845a0d4 1088 */
08c92000
MB
1089/* CRYPT_R_PROTO:
1090 * This symbol encodes the prototype of crypt_r.
1091 * It is zero if d_crypt_r is undef, and one of the
1092 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_crypt_r
1093 * is defined.
a845a0d4 1094 */
08c92000
MB
1095#$d_crypt_r HAS_CRYPT_R /**/
1096#define CRYPT_R_PROTO $crypt_r_proto /**/
a845a0d4 1097
08c92000
MB
1098/* HAS_CSH:
1099 * This symbol, if defined, indicates that the C-shell exists.
a845a0d4 1100 */
08c92000
MB
1101/* CSH:
1102 * This symbol, if defined, contains the full pathname of csh.
88fdc172 1103 */
08c92000
MB
1104#$d_csh HAS_CSH /**/
1105#ifdef HAS_CSH
1106#define CSH "$full_csh" /**/
1107#endif
a845a0d4 1108
eaf812ae
MB
1109/* HAS_CTERMID_R:
1110 * This symbol, if defined, indicates that the ctermid_r routine
1111 * is available to ctermid re-entrantly.
1112 */
1113/* CTERMID_R_PROTO:
1114 * This symbol encodes the prototype of ctermid_r.
1115 * It is zero if d_ctermid_r is undef, and one of the
1116 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctermid_r
1117 * is defined.
1118 */
1119#$d_ctermid_r HAS_CTERMID_R /**/
1120#define CTERMID_R_PROTO $ctermid_r_proto /**/
1121
08c92000
MB
1122/* HAS_CTIME_R:
1123 * This symbol, if defined, indicates that the ctime_r routine
1124 * is available to ctime re-entrantly.
a845a0d4 1125 */
08c92000
MB
1126/* CTIME_R_PROTO:
1127 * This symbol encodes the prototype of ctime_r.
1128 * It is zero if d_ctime_r is undef, and one of the
1129 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctime_r
1130 * is defined.
a845a0d4 1131 */
08c92000
MB
1132#$d_ctime_r HAS_CTIME_R /**/
1133#define CTIME_R_PROTO $ctime_r_proto /**/
a845a0d4 1134
ed140128
AD
1135/* SETUID_SCRIPTS_ARE_SECURE_NOW:
1136 * This symbol, if defined, indicates that the bug that prevents
1137 * setuid scripts from being secure is not present in this kernel.
eaf812ae
MB
1138 */
1139/* DOSUID:
1140 * This symbol, if defined, indicates that the C program should
1141 * check the script that it is executing for setuid/setgid bits, and
1142 * attempt to emulate setuid/setgid on systems that have disabled
1143 * setuid #! scripts because the kernel can't do it securely.
1144 * It is up to the package designer to make sure that this emulation
1145 * is done securely. Among other things, it should do an fstat on
1146 * the script it just opened to make sure it really is a setuid/setgid
1147 * script, it should make sure the arguments passed correspond exactly
1148 * to the argument on the #! line, and it should not trust any
1149 * subprocesses to which it must pass the filename rather than the
1150 * file descriptor of the script to be executed.
1151 */
1152#$d_suidsafe SETUID_SCRIPTS_ARE_SECURE_NOW /**/
1153#$d_dosuid DOSUID /**/
1154
08c92000
MB
1155/* HAS_DRAND48_R:
1156 * This symbol, if defined, indicates that the drand48_r routine
1157 * is available to drand48 re-entrantly.
a845a0d4 1158 */
08c92000
MB
1159/* DRAND48_R_PROTO:
1160 * This symbol encodes the prototype of drand48_r.
1161 * It is zero if d_drand48_r is undef, and one of the
1162 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_drand48_r
1163 * is defined.
1164 */
1165#$d_drand48_r HAS_DRAND48_R /**/
1166#define DRAND48_R_PROTO $drand48_r_proto /**/
a845a0d4 1167
08c92000
MB
1168/* HAS_DRAND48_PROTO:
1169 * This symbol, if defined, indicates that the system provides
1170 * a prototype for the drand48() function. Otherwise, it is up
1171 * to the program to supply one. A good guess is
1172 * extern double drand48(void);
88fdc172 1173 */
08c92000 1174#$d_drand48proto HAS_DRAND48_PROTO /**/
88fdc172 1175
ed140128
AD
1176/* HAS_EACCESS:
1177 * This symbol, if defined, indicates that the eaccess routine is
1178 * available to do extended access checks.
1179 */
1180#$d_eaccess HAS_EACCESS /**/
1181
08c92000
MB
1182/* HAS_ENDGRENT:
1183 * This symbol, if defined, indicates that the getgrent routine is
1184 * available for finalizing sequential access of the group database.
88fdc172 1185 */
08c92000
MB
1186#$d_endgrent HAS_ENDGRENT /**/
1187
1188/* HAS_ENDGRENT_R:
1189 * This symbol, if defined, indicates that the endgrent_r routine
1190 * is available to endgrent re-entrantly.
88fdc172 1191 */
08c92000
MB
1192/* ENDGRENT_R_PROTO:
1193 * This symbol encodes the prototype of endgrent_r.
1194 * It is zero if d_endgrent_r is undef, and one of the
1195 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endgrent_r
1196 * is defined.
88fdc172 1197 */
08c92000
MB
1198#$d_endgrent_r HAS_ENDGRENT_R /**/
1199#define ENDGRENT_R_PROTO $endgrent_r_proto /**/
1200
1201/* HAS_ENDHOSTENT:
1202 * This symbol, if defined, indicates that the endhostent() routine is
1203 * available to close whatever was being used for host queries.
88fdc172 1204 */
08c92000 1205#$d_endhent HAS_ENDHOSTENT /**/
88fdc172 1206
eaf812ae
MB
1207/* HAS_ENDHOSTENT_R:
1208 * This symbol, if defined, indicates that the endhostent_r routine
1209 * is available to endhostent re-entrantly.
1210 */
1211/* ENDHOSTENT_R_PROTO:
1212 * This symbol encodes the prototype of endhostent_r.
1213 * It is zero if d_endhostent_r is undef, and one of the
1214 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endhostent_r
1215 * is defined.
1216 */
1217#$d_endhostent_r HAS_ENDHOSTENT_R /**/
1218#define ENDHOSTENT_R_PROTO $endhostent_r_proto /**/
1219
08c92000
MB
1220/* HAS_ENDNETENT:
1221 * This symbol, if defined, indicates that the endnetent() routine is
1222 * available to close whatever was being used for network queries.
88fdc172 1223 */
08c92000
MB
1224#$d_endnent HAS_ENDNETENT /**/
1225
eaf812ae
MB
1226/* HAS_ENDNETENT_R:
1227 * This symbol, if defined, indicates that the endnetent_r routine
1228 * is available to endnetent re-entrantly.
1229 */
1230/* ENDNETENT_R_PROTO:
1231 * This symbol encodes the prototype of endnetent_r.
1232 * It is zero if d_endnetent_r is undef, and one of the
1233 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endnetent_r
1234 * is defined.
1235 */
1236#$d_endnetent_r HAS_ENDNETENT_R /**/
1237#define ENDNETENT_R_PROTO $endnetent_r_proto /**/
1238
08c92000
MB
1239/* HAS_ENDPROTOENT:
1240 * This symbol, if defined, indicates that the endprotoent() routine is
1241 * available to close whatever was being used for protocol queries.
88fdc172 1242 */
08c92000
MB
1243#$d_endpent HAS_ENDPROTOENT /**/
1244
eaf812ae
MB
1245/* HAS_ENDPROTOENT_R:
1246 * This symbol, if defined, indicates that the endprotoent_r routine
1247 * is available to endprotoent re-entrantly.
1248 */
1249/* ENDPROTOENT_R_PROTO:
1250 * This symbol encodes the prototype of endprotoent_r.
1251 * It is zero if d_endprotoent_r is undef, and one of the
1252 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endprotoent_r
1253 * is defined.
1254 */
1255#$d_endprotoent_r HAS_ENDPROTOENT_R /**/
1256#define ENDPROTOENT_R_PROTO $endprotoent_r_proto /**/
1257
08c92000
MB
1258/* HAS_ENDPWENT:
1259 * This symbol, if defined, indicates that the getgrent routine is
1260 * available for finalizing sequential access of the passwd database.
88fdc172 1261 */
08c92000
MB
1262#$d_endpwent HAS_ENDPWENT /**/
1263
1264/* HAS_ENDPWENT_R:
1265 * This symbol, if defined, indicates that the endpwent_r routine
1266 * is available to endpwent re-entrantly.
88fdc172 1267 */
08c92000
MB
1268/* ENDPWENT_R_PROTO:
1269 * This symbol encodes the prototype of endpwent_r.
1270 * It is zero if d_endpwent_r is undef, and one of the
1271 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endpwent_r
1272 * is defined.
88fdc172 1273 */
08c92000
MB
1274#$d_endpwent_r HAS_ENDPWENT_R /**/
1275#define ENDPWENT_R_PROTO $endpwent_r_proto /**/
1276
1277/* HAS_ENDSERVENT:
1278 * This symbol, if defined, indicates that the endservent() routine is
1279 * available to close whatever was being used for service queries.
a845a0d4 1280 */
08c92000
MB
1281#$d_endsent HAS_ENDSERVENT /**/
1282
eaf812ae
MB
1283/* HAS_ENDSERVENT_R:
1284 * This symbol, if defined, indicates that the endservent_r routine
1285 * is available to endservent re-entrantly.
1286 */
1287/* ENDSERVENT_R_PROTO:
1288 * This symbol encodes the prototype of endservent_r.
1289 * It is zero if d_endservent_r is undef, and one of the
1290 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endservent_r
1291 * is defined.
1292 */
1293#$d_endservent_r HAS_ENDSERVENT_R /**/
1294#define ENDSERVENT_R_PROTO $endservent_r_proto /**/
1295
08c92000
MB
1296/* FLEXFILENAMES:
1297 * This symbol, if defined, indicates that the system supports filenames
1298 * longer than 14 characters.
a845a0d4 1299 */
08c92000 1300#$d_flexfnam FLEXFILENAMES /**/
a845a0d4 1301
08c92000
MB
1302/* HAS_GETGRENT:
1303 * This symbol, if defined, indicates that the getgrent routine is
1304 * available for sequential access of the group database.
a845a0d4 1305 */
08c92000 1306#$d_getgrent HAS_GETGRENT /**/
a845a0d4 1307
08c92000
MB
1308/* HAS_GETGRENT_R:
1309 * This symbol, if defined, indicates that the getgrent_r routine
1310 * is available to getgrent re-entrantly.
a845a0d4 1311 */
08c92000
MB
1312/* GETGRENT_R_PROTO:
1313 * This symbol encodes the prototype of getgrent_r.
1314 * It is zero if d_getgrent_r is undef, and one of the
1315 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrent_r
1316 * is defined.
1317 */
1318#$d_getgrent_r HAS_GETGRENT_R /**/
1319#define GETGRENT_R_PROTO $getgrent_r_proto /**/
a845a0d4 1320
08c92000
MB
1321/* HAS_GETGRGID_R:
1322 * This symbol, if defined, indicates that the getgrgid_r routine
1323 * is available to getgrgid re-entrantly.
a845a0d4 1324 */
08c92000
MB
1325/* GETGRGID_R_PROTO:
1326 * This symbol encodes the prototype of getgrgid_r.
1327 * It is zero if d_getgrgid_r is undef, and one of the
1328 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrgid_r
1329 * is defined.
a845a0d4 1330 */
08c92000
MB
1331#$d_getgrgid_r HAS_GETGRGID_R /**/
1332#define GETGRGID_R_PROTO $getgrgid_r_proto /**/
a845a0d4 1333
08c92000
MB
1334/* HAS_GETGRNAM_R:
1335 * This symbol, if defined, indicates that the getgrnam_r routine
1336 * is available to getgrnam re-entrantly.
a845a0d4 1337 */
08c92000
MB
1338/* GETGRNAM_R_PROTO:
1339 * This symbol encodes the prototype of getgrnam_r.
1340 * It is zero if d_getgrnam_r is undef, and one of the
1341 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrnam_r
1342 * is defined.
a845a0d4 1343 */
08c92000
MB
1344#$d_getgrnam_r HAS_GETGRNAM_R /**/
1345#define GETGRNAM_R_PROTO $getgrnam_r_proto /**/
a845a0d4 1346
08c92000
MB
1347/* HAS_GETHOSTBYADDR:
1348 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1349 * available to look up hosts by their IP addresses.
a845a0d4 1350 */
08c92000 1351#$d_gethbyaddr HAS_GETHOSTBYADDR /**/
a845a0d4 1352
08c92000
MB
1353/* HAS_GETHOSTBYNAME:
1354 * This symbol, if defined, indicates that the gethostbyname() routine is
1355 * available to look up host names in some data base or other.
a845a0d4 1356 */
08c92000 1357#$d_gethbyname HAS_GETHOSTBYNAME /**/
a845a0d4 1358
08c92000
MB
1359/* HAS_GETHOSTENT:
1360 * This symbol, if defined, indicates that the gethostent() routine is
1361 * available to look up host names in some data base or another.
a845a0d4 1362 */
08c92000 1363#$d_gethent HAS_GETHOSTENT /**/
a845a0d4 1364
08c92000
MB
1365/* HAS_GETHOSTNAME:
1366 * This symbol, if defined, indicates that the C program may use the
1367 * gethostname() routine to derive the host name. See also HAS_UNAME
1368 * and PHOSTNAME.
9cdaf1c3 1369 */
08c92000
MB
1370/* HAS_UNAME:
1371 * This symbol, if defined, indicates that the C program may use the
1372 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1373 * and PHOSTNAME.
9cdaf1c3 1374 */
08c92000
MB
1375/* PHOSTNAME:
1376 * This symbol, if defined, indicates the command to feed to the
1377 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1378 * and HAS_UNAME. Note that the command uses a fully qualified path,
1379 * so that it is safe even if used by a process with super-user
1380 * privileges.
a845a0d4 1381 */
08c92000
MB
1382/* HAS_PHOSTNAME:
1383 * This symbol, if defined, indicates that the C program may use the
1384 * contents of PHOSTNAME as a command to feed to the popen() routine
1385 * to derive the host name.
a845a0d4 1386 */
08c92000
MB
1387#$d_gethname HAS_GETHOSTNAME /**/
1388#$d_uname HAS_UNAME /**/
1389#$d_phostname HAS_PHOSTNAME /**/
1390#ifdef HAS_PHOSTNAME
1391#define PHOSTNAME "$aphostname" /* How to get the host name */
1392#endif
a845a0d4 1393
eaf812ae
MB
1394/* HAS_GETHOSTBYADDR_R:
1395 * This symbol, if defined, indicates that the gethostbyaddr_r routine
1396 * is available to gethostbyaddr re-entrantly.
a845a0d4 1397 */
eaf812ae
MB
1398/* GETHOSTBYADDR_R_PROTO:
1399 * This symbol encodes the prototype of gethostbyaddr_r.
1400 * It is zero if d_gethostbyaddr_r is undef, and one of the
1401 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyaddr_r
1402 * is defined.
a845a0d4 1403 */
eaf812ae
MB
1404#$d_gethostbyaddr_r HAS_GETHOSTBYADDR_R /**/
1405#define GETHOSTBYADDR_R_PROTO $gethostbyaddr_r_proto /**/
08c92000 1406
eaf812ae
MB
1407/* HAS_GETHOSTBYNAME_R:
1408 * This symbol, if defined, indicates that the gethostbyname_r routine
1409 * is available to gethostbyname re-entrantly.
a845a0d4 1410 */
eaf812ae
MB
1411/* GETHOSTBYNAME_R_PROTO:
1412 * This symbol encodes the prototype of gethostbyname_r.
1413 * It is zero if d_gethostbyname_r is undef, and one of the
1414 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyname_r
08c92000 1415 * is defined.
a845a0d4 1416 */
eaf812ae
MB
1417#$d_gethostbyname_r HAS_GETHOSTBYNAME_R /**/
1418#define GETHOSTBYNAME_R_PROTO $gethostbyname_r_proto /**/
1419
1420/* HAS_GETHOSTENT_R:
1421 * This symbol, if defined, indicates that the gethostent_r routine
1422 * is available to gethostent re-entrantly.
1423 */
1424/* GETHOSTENT_R_PROTO:
1425 * This symbol encodes the prototype of gethostent_r.
1426 * It is zero if d_gethostent_r is undef, and one of the
1427 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostent_r
1428 * is defined.
1429 */
1430#$d_gethostent_r HAS_GETHOSTENT_R /**/
1431#define GETHOSTENT_R_PROTO $gethostent_r_proto /**/
1432
1433/* HAS_GETHOST_PROTOS:
1434 * This symbol, if defined, indicates that <netdb.h> includes
1435 * prototypes for gethostent(), gethostbyname(), and
1436 * gethostbyaddr(). Otherwise, it is up to the program to guess
1437 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1438 */
1439#$d_gethostprotos HAS_GETHOST_PROTOS /**/
1440
eaf812ae
MB
1441/* HAS_GETLOGIN_R:
1442 * This symbol, if defined, indicates that the getlogin_r routine
1443 * is available to getlogin re-entrantly.
1444 */
1445/* GETLOGIN_R_PROTO:
1446 * This symbol encodes the prototype of getlogin_r.
1447 * It is zero if d_getlogin_r is undef, and one of the
1448 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getlogin_r
1449 * is defined.
1450 */
1451#$d_getlogin_r HAS_GETLOGIN_R /**/
1452#define GETLOGIN_R_PROTO $getlogin_r_proto /**/
1453
08c92000
MB
1454/* HAS_GETNETBYADDR:
1455 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1456 * available to look up networks by their IP addresses.
a845a0d4 1457 */
08c92000
MB
1458#$d_getnbyaddr HAS_GETNETBYADDR /**/
1459
1460/* HAS_GETNETBYNAME:
1461 * This symbol, if defined, indicates that the getnetbyname() routine is
1462 * available to look up networks by their names.
a845a0d4 1463 */
08c92000 1464#$d_getnbyname HAS_GETNETBYNAME /**/
a845a0d4 1465
08c92000
MB
1466/* HAS_GETNETENT:
1467 * This symbol, if defined, indicates that the getnetent() routine is
1468 * available to look up network names in some data base or another.
a845a0d4 1469 */
08c92000
MB
1470#$d_getnent HAS_GETNETENT /**/
1471
eaf812ae
MB
1472/* HAS_GETNETBYADDR_R:
1473 * This symbol, if defined, indicates that the getnetbyaddr_r routine
1474 * is available to getnetbyaddr re-entrantly.
1475 */
1476/* GETNETBYADDR_R_PROTO:
1477 * This symbol encodes the prototype of getnetbyaddr_r.
1478 * It is zero if d_getnetbyaddr_r is undef, and one of the
1479 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyaddr_r
1480 * is defined.
1481 */
1482#$d_getnetbyaddr_r HAS_GETNETBYADDR_R /**/
1483#define GETNETBYADDR_R_PROTO $getnetbyaddr_r_proto /**/
1484
1485/* HAS_GETNETBYNAME_R:
1486 * This symbol, if defined, indicates that the getnetbyname_r routine
1487 * is available to getnetbyname re-entrantly.
1488 */
1489/* GETNETBYNAME_R_PROTO:
1490 * This symbol encodes the prototype of getnetbyname_r.
1491 * It is zero if d_getnetbyname_r is undef, and one of the
1492 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyname_r
1493 * is defined.
1494 */
1495#$d_getnetbyname_r HAS_GETNETBYNAME_R /**/
1496#define GETNETBYNAME_R_PROTO $getnetbyname_r_proto /**/
1497
1498/* HAS_GETNETENT_R:
1499 * This symbol, if defined, indicates that the getnetent_r routine
1500 * is available to getnetent re-entrantly.
1501 */
1502/* GETNETENT_R_PROTO:
1503 * This symbol encodes the prototype of getnetent_r.
1504 * It is zero if d_getnetent_r is undef, and one of the
1505 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetent_r
1506 * is defined.
1507 */
1508#$d_getnetent_r HAS_GETNETENT_R /**/
1509#define GETNETENT_R_PROTO $getnetent_r_proto /**/
1510
08c92000
MB
1511/* HAS_GETNET_PROTOS:
1512 * This symbol, if defined, indicates that <netdb.h> includes
1513 * prototypes for getnetent(), getnetbyname(), and
1514 * getnetbyaddr(). Otherwise, it is up to the program to guess
1515 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
a845a0d4 1516 */
08c92000 1517#$d_getnetprotos HAS_GETNET_PROTOS /**/
a845a0d4 1518
08c92000
MB
1519/* HAS_GETPROTOENT:
1520 * This symbol, if defined, indicates that the getprotoent() routine is
1521 * available to look up protocols in some data base or another.
a845a0d4 1522 */
08c92000 1523#$d_getpent HAS_GETPROTOENT /**/
a845a0d4 1524
08c92000
MB
1525/* HAS_GETPGRP:
1526 * This symbol, if defined, indicates that the getpgrp routine is
1527 * available to get the current process group.
a845a0d4 1528 */
08c92000
MB
1529/* USE_BSD_GETPGRP:
1530 * This symbol, if defined, indicates that getpgrp needs one
1531 * arguments whereas USG one needs none.
a845a0d4 1532 */
08c92000
MB
1533#$d_getpgrp HAS_GETPGRP /**/
1534#$d_bsdgetpgrp USE_BSD_GETPGRP /**/
1535
1536/* HAS_GETPROTOBYNAME:
1537 * This symbol, if defined, indicates that the getprotobyname()
1538 * routine is available to look up protocols by their name.
a845a0d4 1539 */
08c92000
MB
1540/* HAS_GETPROTOBYNUMBER:
1541 * This symbol, if defined, indicates that the getprotobynumber()
1542 * routine is available to look up protocols by their number.
a845a0d4 1543 */
08c92000
MB
1544#$d_getpbyname HAS_GETPROTOBYNAME /**/
1545#$d_getpbynumber HAS_GETPROTOBYNUMBER /**/
a845a0d4 1546
eaf812ae
MB
1547/* HAS_GETPROTOBYNAME_R:
1548 * This symbol, if defined, indicates that the getprotobyname_r routine
1549 * is available to getprotobyname re-entrantly.
1550 */
1551/* GETPROTOBYNAME_R_PROTO:
1552 * This symbol encodes the prototype of getprotobyname_r.
1553 * It is zero if d_getprotobyname_r is undef, and one of the
1554 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobyname_r
1555 * is defined.
1556 */
1557#$d_getprotobyname_r HAS_GETPROTOBYNAME_R /**/
1558#define GETPROTOBYNAME_R_PROTO $getprotobyname_r_proto /**/
1559
1560/* HAS_GETPROTOBYNUMBER_R:
1561 * This symbol, if defined, indicates that the getprotobynumber_r routine
1562 * is available to getprotobynumber re-entrantly.
1563 */
1564/* GETPROTOBYNUMBER_R_PROTO:
1565 * This symbol encodes the prototype of getprotobynumber_r.
1566 * It is zero if d_getprotobynumber_r is undef, and one of the
1567 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobynumber_r
1568 * is defined.
1569 */
1570#$d_getprotobynumber_r HAS_GETPROTOBYNUMBER_R /**/
1571#define GETPROTOBYNUMBER_R_PROTO $getprotobynumber_r_proto /**/
1572
1573/* HAS_GETPROTOENT_R:
1574 * This symbol, if defined, indicates that the getprotoent_r routine
1575 * is available to getprotoent re-entrantly.
1576 */
1577/* GETPROTOENT_R_PROTO:
1578 * This symbol encodes the prototype of getprotoent_r.
1579 * It is zero if d_getprotoent_r is undef, and one of the
1580 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotoent_r
1581 * is defined.
1582 */
1583#$d_getprotoent_r HAS_GETPROTOENT_R /**/
1584#define GETPROTOENT_R_PROTO $getprotoent_r_proto /**/
1585
08c92000
MB
1586/* HAS_GETPROTO_PROTOS:
1587 * This symbol, if defined, indicates that <netdb.h> includes
1588 * prototypes for getprotoent(), getprotobyname(), and
1589 * getprotobyaddr(). Otherwise, it is up to the program to guess
1590 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
a845a0d4 1591 */
08c92000 1592#$d_getprotoprotos HAS_GETPROTO_PROTOS /**/
a845a0d4 1593
08c92000
MB
1594/* HAS_GETPWENT:
1595 * This symbol, if defined, indicates that the getpwent routine is
1596 * available for sequential access of the passwd database.
1597 * If this is not available, the older getpw() function may be available.
a845a0d4 1598 */
08c92000 1599#$d_getpwent HAS_GETPWENT /**/
a845a0d4 1600
08c92000
MB
1601/* HAS_GETPWENT_R:
1602 * This symbol, if defined, indicates that the getpwent_r routine
1603 * is available to getpwent re-entrantly.
a845a0d4 1604 */
08c92000
MB
1605/* GETPWENT_R_PROTO:
1606 * This symbol encodes the prototype of getpwent_r.
1607 * It is zero if d_getpwent_r is undef, and one of the
1608 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwent_r
1609 * is defined.
a845a0d4 1610 */
08c92000
MB
1611#$d_getpwent_r HAS_GETPWENT_R /**/
1612#define GETPWENT_R_PROTO $getpwent_r_proto /**/
a845a0d4 1613
08c92000
MB
1614/* HAS_GETPWNAM_R:
1615 * This symbol, if defined, indicates that the getpwnam_r routine
1616 * is available to getpwnam re-entrantly.
a845a0d4 1617 */
08c92000
MB
1618/* GETPWNAM_R_PROTO:
1619 * This symbol encodes the prototype of getpwnam_r.
1620 * It is zero if d_getpwnam_r is undef, and one of the
1621 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwnam_r
1622 * is defined.
a845a0d4 1623 */
08c92000
MB
1624#$d_getpwnam_r HAS_GETPWNAM_R /**/
1625#define GETPWNAM_R_PROTO $getpwnam_r_proto /**/
a845a0d4 1626
08c92000
MB
1627/* HAS_GETPWUID_R:
1628 * This symbol, if defined, indicates that the getpwuid_r routine
1629 * is available to getpwuid re-entrantly.
10bc17b6 1630 */
08c92000
MB
1631/* GETPWUID_R_PROTO:
1632 * This symbol encodes the prototype of getpwuid_r.
1633 * It is zero if d_getpwuid_r is undef, and one of the
1634 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r
1635 * is defined.
a845a0d4 1636 */
08c92000
MB
1637#$d_getpwuid_r HAS_GETPWUID_R /**/
1638#define GETPWUID_R_PROTO $getpwuid_r_proto /**/
a845a0d4 1639
08c92000
MB
1640/* HAS_GETSERVENT:
1641 * This symbol, if defined, indicates that the getservent() routine is
1642 * available to look up network services in some data base or another.
a845a0d4 1643 */
08c92000 1644#$d_getsent HAS_GETSERVENT /**/
a845a0d4 1645
eaf812ae
MB
1646/* HAS_GETSERVBYNAME_R:
1647 * This symbol, if defined, indicates that the getservbyname_r routine
1648 * is available to getservbyname re-entrantly.
1649 */
1650/* GETSERVBYNAME_R_PROTO:
1651 * This symbol encodes the prototype of getservbyname_r.
1652 * It is zero if d_getservbyname_r is undef, and one of the
1653 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyname_r
1654 * is defined.
1655 */
1656#$d_getservbyname_r HAS_GETSERVBYNAME_R /**/
1657#define GETSERVBYNAME_R_PROTO $getservbyname_r_proto /**/
1658
1659/* HAS_GETSERVBYPORT_R:
1660 * This symbol, if defined, indicates that the getservbyport_r routine
1661 * is available to getservbyport re-entrantly.
1662 */
1663/* GETSERVBYPORT_R_PROTO:
1664 * This symbol encodes the prototype of getservbyport_r.
1665 * It is zero if d_getservbyport_r is undef, and one of the
1666 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyport_r
1667 * is defined.
1668 */
1669#$d_getservbyport_r HAS_GETSERVBYPORT_R /**/
1670#define GETSERVBYPORT_R_PROTO $getservbyport_r_proto /**/
1671
1672/* HAS_GETSERVENT_R:
1673 * This symbol, if defined, indicates that the getservent_r routine
1674 * is available to getservent re-entrantly.
1675 */
1676/* GETSERVENT_R_PROTO:
1677 * This symbol encodes the prototype of getservent_r.
1678 * It is zero if d_getservent_r is undef, and one of the
1679 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservent_r
1680 * is defined.
1681 */
1682#$d_getservent_r HAS_GETSERVENT_R /**/
1683#define GETSERVENT_R_PROTO $getservent_r_proto /**/
1684
08c92000
MB
1685/* HAS_GETSERV_PROTOS:
1686 * This symbol, if defined, indicates that <netdb.h> includes
1687 * prototypes for getservent(), getservbyname(), and
1688 * getservbyaddr(). Otherwise, it is up to the program to guess
1689 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
a845a0d4 1690 */
08c92000 1691#$d_getservprotos HAS_GETSERV_PROTOS /**/
a845a0d4 1692
08c92000
MB
1693/* HAS_GETSPNAM_R:
1694 * This symbol, if defined, indicates that the getspnam_r routine
1695 * is available to getspnam re-entrantly.
a845a0d4 1696 */
08c92000
MB
1697/* GETSPNAM_R_PROTO:
1698 * This symbol encodes the prototype of getspnam_r.
1699 * It is zero if d_getspnam_r is undef, and one of the
1700 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getspnam_r
1701 * is defined.
a845a0d4 1702 */
08c92000
MB
1703#$d_getspnam_r HAS_GETSPNAM_R /**/
1704#define GETSPNAM_R_PROTO $getspnam_r_proto /**/
a845a0d4
JH
1705
1706/* HAS_GETSERVBYNAME:
1707 * This symbol, if defined, indicates that the getservbyname()
1708 * routine is available to look up services by their name.
1709 */
1710/* HAS_GETSERVBYPORT:
1711 * This symbol, if defined, indicates that the getservbyport()
1712 * routine is available to look up services by their port.
1713 */
1714#$d_getsbyname HAS_GETSERVBYNAME /**/
1715#$d_getsbyport HAS_GETSERVBYPORT /**/
1716
08c92000
MB
1717/* HAS_GMTIME_R:
1718 * This symbol, if defined, indicates that the gmtime_r routine
1719 * is available to gmtime re-entrantly.
1720 */
1721/* GMTIME_R_PROTO:
1722 * This symbol encodes the prototype of gmtime_r.
1723 * It is zero if d_gmtime_r is undef, and one of the
1724 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gmtime_r
1725 * is defined.
1726 */
1727#$d_gmtime_r HAS_GMTIME_R /**/
1728#define GMTIME_R_PROTO $gmtime_r_proto /**/
1729
a845a0d4
JH
1730/* HAS_HTONL:
1731 * This symbol, if defined, indicates that the htonl() routine (and
1732 * friends htons() ntohl() ntohs()) are available to do network
1733 * order byte swapping.
1734 */
1735/* HAS_HTONS:
1736 * This symbol, if defined, indicates that the htons() routine (and
1737 * friends htonl() ntohl() ntohs()) are available to do network
1738 * order byte swapping.
1739 */
1740/* HAS_NTOHL:
1741 * This symbol, if defined, indicates that the ntohl() routine (and
1742 * friends htonl() htons() ntohs()) are available to do network
1743 * order byte swapping.
1744 */
1745/* HAS_NTOHS:
1746 * This symbol, if defined, indicates that the ntohs() routine (and
1747 * friends htonl() htons() ntohl()) are available to do network
1748 * order byte swapping.
1749 */
1750#$d_htonl HAS_HTONL /**/
1751#$d_htonl HAS_HTONS /**/
1752#$d_htonl HAS_NTOHL /**/
1753#$d_htonl HAS_NTOHS /**/
1754
08c92000
MB
1755/* HAS_LOCALTIME_R:
1756 * This symbol, if defined, indicates that the localtime_r routine
1757 * is available to localtime re-entrantly.
1758 */
f025e94b
MB
1759/* LOCALTIME_R_NEEDS_TZSET:
1760 * Many libc's localtime_r implementations do not call tzset,
1761 * making them differ from localtime(), and making timezone
47d847ba 1762 * changes using \$ENV{TZ} without explicitly calling tzset
f025e94b
MB
1763 * impossible. This symbol makes us call tzset before localtime_r
1764 */
8572b25d
BH
1765#$d_localtime_r_needs_tzset LOCALTIME_R_NEEDS_TZSET /**/
1766#ifdef LOCALTIME_R_NEEDS_TZSET
1767#define L_R_TZSET tzset(),
1768#else
1769#define L_R_TZSET
1770#endif
1771
08c92000
MB
1772/* LOCALTIME_R_PROTO:
1773 * This symbol encodes the prototype of localtime_r.
1774 * It is zero if d_localtime_r is undef, and one of the
1775 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r
1776 * is defined.
1777 */
1778#$d_localtime_r HAS_LOCALTIME_R /**/
1779#define LOCALTIME_R_PROTO $localtime_r_proto /**/
1780
1781/* HAS_LONG_DOUBLE:
1782 * This symbol will be defined if the C compiler supports long
1783 * doubles.
1784 */
1785/* LONG_DOUBLESIZE:
c0bacbef 1786 * This symbol contains the size of a long double, so that the
08c92000
MB
1787 * C preprocessor can make decisions based on it. It is only
1788 * defined if the system supports long doubles.
1789 */
1790#$d_longdbl HAS_LONG_DOUBLE /**/
1791#ifdef HAS_LONG_DOUBLE
1792#define LONG_DOUBLESIZE $longdblsize /**/
1793#endif
1794
1795/* HAS_LONG_LONG:
1796 * This symbol will be defined if the C compiler supports long long.
1797 */
1798/* LONGLONGSIZE:
c0bacbef 1799 * This symbol contains the size of a long long, so that the
08c92000
MB
1800 * C preprocessor can make decisions based on it. It is only
1801 * defined if the system supports long long.
a845a0d4
JH
1802 */
1803#$d_longlong HAS_LONG_LONG /**/
1804#ifdef HAS_LONG_LONG
1805#define LONGLONGSIZE $longlongsize /**/
1806#endif
1807
08c92000
MB
1808/* HAS_LSEEK_PROTO:
1809 * This symbol, if defined, indicates that the system provides
1810 * a prototype for the lseek() function. Otherwise, it is up
1811 * to the program to supply one. A good guess is
1812 * extern off_t lseek(int, off_t, int);
1813 */
1814#$d_lseekproto HAS_LSEEK_PROTO /**/
1815
a845a0d4
JH
1816/* HAS_MEMCHR:
1817 * This symbol, if defined, indicates that the memchr routine is available
1818 * to locate characters within a C string.
1819 */
1820#$d_memchr HAS_MEMCHR /**/
1821
1822/* HAS_MKSTEMP:
1823 * This symbol, if defined, indicates that the mkstemp routine is
1824 * available to exclusively create and open a uniquely named
1825 * temporary file.
1826 */
1827#$d_mkstemp HAS_MKSTEMP /**/
1828
1829/* HAS_MMAP:
1830 * This symbol, if defined, indicates that the mmap system call is
1831 * available to map a file into memory.
1832 */
1833/* Mmap_t:
1834 * This symbol holds the return type of the mmap() system call
1835 * (and simultaneously the type of the first argument).
8f42a9ec 1836 * Usually set to 'void *' or 'caddr_t'.
a845a0d4
JH
1837 */
1838#$d_mmap HAS_MMAP /**/
1839#define Mmap_t $mmaptype /**/
1840
1841/* HAS_MSG:
1842 * This symbol, if defined, indicates that the entire msg*(2) library is
1843 * supported (IPC mechanism based on message queues).
1844 */
1845#$d_msg HAS_MSG /**/
1846
f244a502
JH
1847/* HAS_POLL:
1848 * This symbol, if defined, indicates that the poll routine is
776a38e3
MB
1849 * available to poll active file descriptors. Please check I_POLL and
1850 * I_SYS_POLL to know which header should be included as well.
f244a502
JH
1851 */
1852#$d_poll HAS_POLL /**/
1853
08c92000
MB
1854/* OLD_PTHREAD_CREATE_JOINABLE:
1855 * This symbol, if defined, indicates how to create pthread
1856 * in joinable (aka undetached) state. NOTE: not defined
1857 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
1858 * (the new version of the constant).
1859 * If defined, known values are PTHREAD_CREATE_UNDETACHED
1860 * and __UNDETACHED.
a845a0d4 1861 */
08c92000 1862#$d_old_pthread_create_joinable OLD_PTHREAD_CREATE_JOINABLE $old_pthread_create_joinable /**/
a845a0d4 1863
eaf812ae
MB
1864/* HAS_PTHREAD_ATFORK:
1865 * This symbol, if defined, indicates that the pthread_atfork routine
1866 * is available to setup fork handlers.
1867 */
1868#$d_pthread_atfork HAS_PTHREAD_ATFORK /**/
1869
08c92000 1870/* HAS_PTHREAD_YIELD:
c0bacbef 1871 * This symbol, if defined, indicates that the pthread_yield
08c92000
MB
1872 * routine is available to yield the execution of the current
1873 * thread. sched_yield is preferable to pthread_yield.
a845a0d4 1874 */
08c92000
MB
1875/* SCHED_YIELD:
1876 * This symbol defines the way to yield the execution of
1877 * the current thread. Known ways are sched_yield,
1878 * pthread_yield, and pthread_yield with NULL.
a845a0d4 1879 */
08c92000
MB
1880/* HAS_SCHED_YIELD:
1881 * This symbol, if defined, indicates that the sched_yield
1882 * routine is available to yield the execution of the current
1883 * thread. sched_yield is preferable to pthread_yield.
1884 */
1885#$d_pthread_yield HAS_PTHREAD_YIELD /**/
1886#define SCHED_YIELD $sched_yield /**/
1887#$d_sched_yield HAS_SCHED_YIELD /**/
a845a0d4 1888
08c92000
MB
1889/* HAS_RANDOM_R:
1890 * This symbol, if defined, indicates that the random_r routine
1891 * is available to random re-entrantly.
a845a0d4 1892 */
08c92000
MB
1893/* RANDOM_R_PROTO:
1894 * This symbol encodes the prototype of random_r.
1895 * It is zero if d_random_r is undef, and one of the
1896 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r
1897 * is defined.
a845a0d4 1898 */
08c92000
MB
1899#$d_random_r HAS_RANDOM_R /**/
1900#define RANDOM_R_PROTO $random_r_proto /**/
a845a0d4 1901
eaf812ae
MB
1902/* HAS_READDIR64_R:
1903 * This symbol, if defined, indicates that the readdir64_r routine
1904 * is available to readdir64 re-entrantly.
1905 */
1906/* READDIR64_R_PROTO:
1907 * This symbol encodes the prototype of readdir64_r.
1908 * It is zero if d_readdir64_r is undef, and one of the
1909 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir64_r
1910 * is defined.
1911 */
1912#$d_readdir64_r HAS_READDIR64_R /**/
1913#define READDIR64_R_PROTO $readdir64_r_proto /**/
1914
08c92000
MB
1915/* HAS_READDIR_R:
1916 * This symbol, if defined, indicates that the readdir_r routine
1917 * is available to readdir re-entrantly.
a845a0d4 1918 */
08c92000
MB
1919/* READDIR_R_PROTO:
1920 * This symbol encodes the prototype of readdir_r.
1921 * It is zero if d_readdir_r is undef, and one of the
1922 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r
1923 * is defined.
1924 */
1925#$d_readdir_r HAS_READDIR_R /**/
1926#define READDIR_R_PROTO $readdir_r_proto /**/
a845a0d4 1927
08c92000
MB
1928/* HAS_SEM:
1929 * This symbol, if defined, indicates that the entire sem*(2) library is
1930 * supported.
1931 */
1932#$d_sem HAS_SEM /**/
1933
08c92000
MB
1934/* HAS_SETGRENT:
1935 * This symbol, if defined, indicates that the setgrent routine is
1936 * available for initializing sequential access of the group database.
1937 */
1938#$d_setgrent HAS_SETGRENT /**/
1939
1940/* HAS_SETGRENT_R:
1941 * This symbol, if defined, indicates that the setgrent_r routine
1942 * is available to setgrent re-entrantly.
1943 */
1944/* SETGRENT_R_PROTO:
1945 * This symbol encodes the prototype of setgrent_r.
1946 * It is zero if d_setgrent_r is undef, and one of the
1947 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r
1948 * is defined.
1949 */
1950#$d_setgrent_r HAS_SETGRENT_R /**/
1951#define SETGRENT_R_PROTO $setgrent_r_proto /**/
1952
1953/* HAS_SETGROUPS:
1954 * This symbol, if defined, indicates that the setgroups() routine is
1955 * available to set the list of process groups. If unavailable, multiple
1956 * groups are probably not supported.
1957 */
1958#$d_setgrps HAS_SETGROUPS /**/
1959
1960/* HAS_SETHOSTENT:
1961 * This symbol, if defined, indicates that the sethostent() routine is
1962 * available.
1963 */
1964#$d_sethent HAS_SETHOSTENT /**/
1965
eaf812ae
MB
1966/* HAS_SETHOSTENT_R:
1967 * This symbol, if defined, indicates that the sethostent_r routine
1968 * is available to sethostent re-entrantly.
1969 */
1970/* SETHOSTENT_R_PROTO:
1971 * This symbol encodes the prototype of sethostent_r.
1972 * It is zero if d_sethostent_r is undef, and one of the
1973 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_sethostent_r
1974 * is defined.
1975 */
1976#$d_sethostent_r HAS_SETHOSTENT_R /**/
1977#define SETHOSTENT_R_PROTO $sethostent_r_proto /**/
1978
eaf812ae
MB
1979/* HAS_SETLOCALE_R:
1980 * This symbol, if defined, indicates that the setlocale_r routine
1981 * is available to setlocale re-entrantly.
1982 */
1983/* SETLOCALE_R_PROTO:
1984 * This symbol encodes the prototype of setlocale_r.
1985 * It is zero if d_setlocale_r is undef, and one of the
1986 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setlocale_r
1987 * is defined.
1988 */
1989#$d_setlocale_r HAS_SETLOCALE_R /**/
1990#define SETLOCALE_R_PROTO $setlocale_r_proto /**/
1991
08c92000
MB
1992/* HAS_SETNETENT:
1993 * This symbol, if defined, indicates that the setnetent() routine is
1994 * available.
1995 */
1996#$d_setnent HAS_SETNETENT /**/
1997
eaf812ae
MB
1998/* HAS_SETNETENT_R:
1999 * This symbol, if defined, indicates that the setnetent_r routine
2000 * is available to setnetent re-entrantly.
2001 */
2002/* SETNETENT_R_PROTO:
2003 * This symbol encodes the prototype of setnetent_r.
2004 * It is zero if d_setnetent_r is undef, and one of the
2005 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setnetent_r
2006 * is defined.
2007 */
2008#$d_setnetent_r HAS_SETNETENT_R /**/
2009#define SETNETENT_R_PROTO $setnetent_r_proto /**/
2010
2011/* HAS_SETPROTOENT:
2012 * This symbol, if defined, indicates that the setprotoent() routine is
2013 * available.
2014 */
2015#$d_setpent HAS_SETPROTOENT /**/
08c92000
MB
2016
2017/* HAS_SETPGRP:
2018 * This symbol, if defined, indicates that the setpgrp routine is
2019 * available to set the current process group.
2020 */
2021/* USE_BSD_SETPGRP:
2022 * This symbol, if defined, indicates that setpgrp needs two
2023 * arguments whereas USG one needs none. See also HAS_SETPGID
2024 * for a POSIX interface.
2025 */
2026#$d_setpgrp HAS_SETPGRP /**/
2027#$d_bsdsetpgrp USE_BSD_SETPGRP /**/
2028
eaf812ae
MB
2029/* HAS_SETPROTOENT_R:
2030 * This symbol, if defined, indicates that the setprotoent_r routine
2031 * is available to setprotoent re-entrantly.
2032 */
2033/* SETPROTOENT_R_PROTO:
2034 * This symbol encodes the prototype of setprotoent_r.
2035 * It is zero if d_setprotoent_r is undef, and one of the
2036 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setprotoent_r
2037 * is defined.
2038 */
2039#$d_setprotoent_r HAS_SETPROTOENT_R /**/
2040#define SETPROTOENT_R_PROTO $setprotoent_r_proto /**/
2041
08c92000
MB
2042/* HAS_SETPWENT:
2043 * This symbol, if defined, indicates that the setpwent routine is
2044 * available for initializing sequential access of the passwd database.
2045 */
2046#$d_setpwent HAS_SETPWENT /**/
2047
2048/* HAS_SETPWENT_R:
2049 * This symbol, if defined, indicates that the setpwent_r routine
2050 * is available to setpwent re-entrantly.
2051 */
2052/* SETPWENT_R_PROTO:
2053 * This symbol encodes the prototype of setpwent_r.
2054 * It is zero if d_setpwent_r is undef, and one of the
2055 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r
2056 * is defined.
2057 */
2058#$d_setpwent_r HAS_SETPWENT_R /**/
2059#define SETPWENT_R_PROTO $setpwent_r_proto /**/
2060
2061/* HAS_SETSERVENT:
2062 * This symbol, if defined, indicates that the setservent() routine is
2063 * available.
2064 */
2065#$d_setsent HAS_SETSERVENT /**/
2066
eaf812ae
MB
2067/* HAS_SETSERVENT_R:
2068 * This symbol, if defined, indicates that the setservent_r routine
2069 * is available to setservent re-entrantly.
2070 */
2071/* SETSERVENT_R_PROTO:
2072 * This symbol encodes the prototype of setservent_r.
2073 * It is zero if d_setservent_r is undef, and one of the
2074 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setservent_r
2075 * is defined.
2076 */
2077#$d_setservent_r HAS_SETSERVENT_R /**/
2078#define SETSERVENT_R_PROTO $setservent_r_proto /**/
2079
08c92000
MB
2080/* HAS_SETVBUF:
2081 * This symbol, if defined, indicates that the setvbuf routine is
2082 * available to change buffering on an open stdio stream.
2083 * to a line-buffered mode.
2084 */
2085#$d_setvbuf HAS_SETVBUF /**/
2086
08c92000
MB
2087/* HAS_SHM:
2088 * This symbol, if defined, indicates that the entire shm*(2) library is
2089 * supported.
2090 */
2091#$d_shm HAS_SHM /**/
2092
eaf812ae
MB
2093/* Shmat_t:
2094 * This symbol holds the return type of the shmat() system call.
2095 * Usually set to 'void *' or 'char *'.
2096 */
2097/* HAS_SHMAT_PROTOTYPE:
2098 * This symbol, if defined, indicates that the sys/shm.h includes
2099 * a prototype for shmat(). Otherwise, it is up to the program to
2100 * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess,
2101 * but not always right so it should be emitted by the program only
2102 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
2103 */
2104#define Shmat_t $shmattype /**/
2105#$d_shmatprototype HAS_SHMAT_PROTOTYPE /**/
2106
a845a0d4
JH
2107/* HAS_SOCKET:
2108 * This symbol, if defined, indicates that the BSD socket interface is
2109 * supported.
2110 */
2111/* HAS_SOCKETPAIR:
2112 * This symbol, if defined, indicates that the BSD socketpair() call is
2113 * supported.
2114 */
2115/* HAS_MSG_CTRUNC:
2116 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
2117 * Checking just with #ifdef might not be enough because this symbol
2118 * has been known to be an enum.
2119 */
2120/* HAS_MSG_DONTROUTE:
2121 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
2122 * Checking just with #ifdef might not be enough because this symbol
2123 * has been known to be an enum.
2124 */
2125/* HAS_MSG_OOB:
2126 * This symbol, if defined, indicates that the MSG_OOB is supported.
2127 * Checking just with #ifdef might not be enough because this symbol
2128 * has been known to be an enum.
10bc17b6 2129 */
a845a0d4
JH
2130/* HAS_MSG_PEEK:
2131 * This symbol, if defined, indicates that the MSG_PEEK is supported.
2132 * Checking just with #ifdef might not be enough because this symbol
2133 * has been known to be an enum.
c7aff470 2134 */
a845a0d4
JH
2135/* HAS_MSG_PROXY:
2136 * This symbol, if defined, indicates that the MSG_PROXY is supported.
2137 * Checking just with #ifdef might not be enough because this symbol
2138 * has been known to be an enum.
b363b713 2139 */
a845a0d4
JH
2140/* HAS_SCM_RIGHTS:
2141 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
2142 * Checking just with #ifdef might not be enough because this symbol
2143 * has been known to be an enum.
a7fea17f 2144 */
a845a0d4
JH
2145#$d_socket HAS_SOCKET /**/
2146#$d_sockpair HAS_SOCKETPAIR /**/
2147#$d_msg_ctrunc HAS_MSG_CTRUNC /**/
2148#$d_msg_dontroute HAS_MSG_DONTROUTE /**/
2149#$d_msg_oob HAS_MSG_OOB /**/
2150#$d_msg_peek HAS_MSG_PEEK /**/
2151#$d_msg_proxy HAS_MSG_PROXY /**/
2152#$d_scm_rights HAS_SCM_RIGHTS /**/
44b94491 2153
08c92000
MB
2154/* HAS_SRAND48_R:
2155 * This symbol, if defined, indicates that the srand48_r routine
2156 * is available to srand48 re-entrantly.
2157 */
2158/* SRAND48_R_PROTO:
2159 * This symbol encodes the prototype of srand48_r.
2160 * It is zero if d_srand48_r is undef, and one of the
2161 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r
2162 * is defined.
2163 */
2164#$d_srand48_r HAS_SRAND48_R /**/
2165#define SRAND48_R_PROTO $srand48_r_proto /**/
2166
2167/* HAS_SRANDOM_R:
2168 * This symbol, if defined, indicates that the srandom_r routine
2169 * is available to srandom re-entrantly.
2170 */
2171/* SRANDOM_R_PROTO:
2172 * This symbol encodes the prototype of srandom_r.
2173 * It is zero if d_srandom_r is undef, and one of the
2174 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srandom_r
2175 * is defined.
2176 */
2177#$d_srandom_r HAS_SRANDOM_R /**/
2178#define SRANDOM_R_PROTO $srandom_r_proto /**/
2179
a845a0d4
JH
2180/* USE_STAT_BLOCKS:
2181 * This symbol is defined if this system has a stat structure declaring
2182 * st_blksize and st_blocks.
a33c94aa 2183 */
a845a0d4
JH
2184#ifndef USE_STAT_BLOCKS
2185#$d_statblks USE_STAT_BLOCKS /**/
2186#endif
44b94491 2187
43dddb59
MB
2188/* USE_STRUCT_COPY:
2189 * This symbol, if defined, indicates that this C compiler knows how
2190 * to copy structures. If undefined, you'll need to use a block copy
2191 * routine of some sort instead.
2192 */
2193#$d_strctcpy USE_STRUCT_COPY /**/
2194
08c92000
MB
2195/* HAS_STRERROR:
2196 * This symbol, if defined, indicates that the strerror routine is
2197 * available to translate error numbers to strings. See the writeup
2198 * of Strerror() in this file before you try to define your own.
2199 */
2200/* HAS_SYS_ERRLIST:
2201 * This symbol, if defined, indicates that the sys_errlist array is
2202 * available to translate error numbers to strings. The extern int
2203 * sys_nerr gives the size of that table.
2204 */
2205/* Strerror:
2206 * This preprocessor symbol is defined as a macro if strerror() is
2207 * not available to translate error numbers to strings but sys_errlist[]
2208 * array is there.
2209 */
2210#$d_strerror HAS_STRERROR /**/
2211#$d_syserrlst HAS_SYS_ERRLIST /**/
2212#define Strerror(e) $d_strerrm
2213
2214/* HAS_STRERROR_R:
2215 * This symbol, if defined, indicates that the strerror_r routine
2216 * is available to strerror re-entrantly.
2217 */
2218/* STRERROR_R_PROTO:
2219 * This symbol encodes the prototype of strerror_r.
2220 * It is zero if d_strerror_r is undef, and one of the
2221 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r
2222 * is defined.
2223 */
2224#$d_strerror_r HAS_STRERROR_R /**/
2225#define STRERROR_R_PROTO $strerror_r_proto /**/
2226
ed140128
AD
2227/* HAS_STRTOUL:
2228 * This symbol, if defined, indicates that the strtoul routine is
2229 * available to provide conversion of strings to unsigned long.
eaf812ae 2230 */
ed140128 2231#$d_strtoul HAS_STRTOUL /**/
eaf812ae 2232
ed140128
AD
2233/* HAS_TIME:
2234 * This symbol, if defined, indicates that the time() routine exists.
eaf812ae 2235 */
ed140128
AD
2236/* Time_t:
2237 * This symbol holds the type returned by time(). It can be long,
2238 * or time_t on BSD sites (in which case <sys/types.h> should be
2239 * included).
eaf812ae 2240 */
ed140128
AD
2241#$d_time HAS_TIME /**/
2242#define Time_t $timetype /* Time type */
eaf812ae 2243
ed140128
AD
2244/* HAS_TIMES:
2245 * This symbol, if defined, indicates that the times() routine exists.
2246 * Note that this became obsolete on some systems (SUNOS), which now
2247 * use getrusage(). It may be necessary to include <sys/times.h>.
08c92000 2248 */
ed140128 2249#$d_times HAS_TIMES /**/
08c92000
MB
2250
2251/* HAS_TMPNAM_R:
2252 * This symbol, if defined, indicates that the tmpnam_r routine
2253 * is available to tmpnam re-entrantly.
2254 */
2255/* TMPNAM_R_PROTO:
2256 * This symbol encodes the prototype of tmpnam_r.
2257 * It is zero if d_tmpnam_r is undef, and one of the
2258 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_tmpnam_r
2259 * is defined.
2260 */
2261#$d_tmpnam_r HAS_TMPNAM_R /**/
2262#define TMPNAM_R_PROTO $tmpnam_r_proto /**/
2263
eaf812ae
MB
2264/* HAS_TTYNAME_R:
2265 * This symbol, if defined, indicates that the ttyname_r routine
2266 * is available to ttyname re-entrantly.
2267 */
2268/* TTYNAME_R_PROTO:
2269 * This symbol encodes the prototype of ttyname_r.
2270 * It is zero if d_ttyname_r is undef, and one of the
2271 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ttyname_r
2272 * is defined.
2273 */
2274#$d_ttyname_r HAS_TTYNAME_R /**/
2275#define TTYNAME_R_PROTO $ttyname_r_proto /**/
2276
08c92000 2277/* HAS_UNION_SEMUN:
a845a0d4
JH
2278 * This symbol, if defined, indicates that the union semun is
2279 * defined by including <sys/sem.h>. If not, the user code
2280 * probably needs to define it as:
2281 * union semun {
2282 * int val;
2283 * struct semid_ds *buf;
2284 * unsigned short *array;
2285 * }
758a5d79 2286 */
a845a0d4
JH
2287/* USE_SEMCTL_SEMUN:
2288 * This symbol, if defined, indicates that union semun is
2289 * used for semctl IPC_STAT.
758a5d79 2290 */
a845a0d4
JH
2291/* USE_SEMCTL_SEMID_DS:
2292 * This symbol, if defined, indicates that struct semid_ds * is
2293 * used for semctl IPC_STAT.
c7aff470 2294 */
a845a0d4
JH
2295#$d_union_semun HAS_UNION_SEMUN /**/
2296#$d_semctl_semun USE_SEMCTL_SEMUN /**/
2297#$d_semctl_semid_ds USE_SEMCTL_SEMID_DS /**/
c7aff470 2298
a845a0d4
JH
2299/* HAS_VFORK:
2300 * This symbol, if defined, indicates that vfork() exists.
c5f05a91 2301 */
a845a0d4 2302#$d_vfork HAS_VFORK /**/
c5f05a91 2303
233e16ce
MB
2304/* HAS_PSEUDOFORK:
2305 * This symbol, if defined, indicates that an emulation of the
2306 * fork routine is available.
2307 */
2308#$d_pseudofork HAS_PSEUDOFORK /**/
2309
a845a0d4
JH
2310/* Signal_t:
2311 * This symbol's value is either "void" or "int", corresponding to the
2312 * appropriate return type of a signal handler. Thus, you can declare
2313 * a signal handler using "Signal_t (*handler)()", and define the
2314 * handler using "Signal_t handler(sig)".
a3540c92 2315 */
a845a0d4 2316#define Signal_t $signal_t /* Signal handler's return type */
a3540c92 2317
43dddb59
MB
2318/* HASVOLATILE:
2319 * This symbol, if defined, indicates that this C compiler knows about
2320 * the volatile declaration.
2321 */
2322#$d_volatile HASVOLATILE /**/
2323#ifndef HASVOLATILE
2324#define volatile
2325#endif
2326
08c92000
MB
2327/* Fpos_t:
2328 * This symbol holds the type used to declare file positions in libc.
2329 * It can be fpos_t, long, uint, etc... It may be necessary to include
2330 * <sys/types.h> to get any typedef'ed information.
2331 */
2332#define Fpos_t $fpostype /* File position type */
2333
2334/* Gid_t_f:
2335 * This symbol defines the format string used for printing a Gid_t.
2336 */
2337#define Gid_t_f $gidformat /**/
2338
2339/* Gid_t_sign:
2340 * This symbol holds the signedess of a Gid_t.
2341 * 1 for unsigned, -1 for signed.
2342 */
2343#define Gid_t_sign $gidsign /* GID sign */
2344
2345/* Gid_t_size:
2346 * This symbol holds the size of a Gid_t in bytes.
2347 */
2348#define Gid_t_size $gidsize /* GID size */
2349
2350/* Gid_t:
2351 * This symbol holds the return type of getgid() and the type of
2352 * argument to setrgid() and related functions. Typically,
2353 * it is the type of group ids in the kernel. It can be int, ushort,
2354 * gid_t, etc... It may be necessary to include <sys/types.h> to get
2355 * any typedef'ed information.
2356 */
2357#define Gid_t $gidtype /* Type for getgid(), etc... */
2358
2359/* Groups_t:
2360 * This symbol holds the type used for the second argument to
2361 * getgroups() and setgroups(). Usually, this is the same as
2362 * gidtype (gid_t) , but sometimes it isn't.
c0bacbef
MB
2363 * It can be int, ushort, gid_t, etc...
2364 * It may be necessary to include <sys/types.h> to get any
08c92000
MB
2365 * typedef'ed information. This is only required if you have
2366 * getgroups() or setgroups()..
2367 */
2368#if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
2369#define Groups_t $groupstype /* Type for 2nd arg to [sg]etgroups() */
2370#endif
2371
43dddb59
MB
2372/* I_DIRENT:
2373 * This symbol, if defined, indicates to the C program that it should
2374 * include <dirent.h>. Using this symbol also triggers the definition
2375 * of the Direntry_t define which ends up being 'struct dirent' or
2376 * 'struct direct' depending on the availability of <dirent.h>.
2377 */
2378/* DIRNAMLEN:
2379 * This symbol, if defined, indicates to the C program that the length
2380 * of directory entry names is provided by a d_namlen field. Otherwise
2381 * you need to do strlen() on the d_name field.
2382 */
2383/* Direntry_t:
2384 * This symbol is set to 'struct direct' or 'struct dirent' depending on
2385 * whether dirent is available or not. You should use this pseudo type to
2386 * portably declare your directory entries.
2387 */
2388#$i_dirent I_DIRENT /**/
2389#$d_dirnamlen DIRNAMLEN /**/
2390#define Direntry_t $direntrytype
2391
08c92000
MB
2392/* I_GRP:
2393 * This symbol, if defined, indicates to the C program that it should
2394 * include <grp.h>.
2395 */
2396/* GRPASSWD:
2397 * This symbol, if defined, indicates to the C program that struct group
2398 * in <grp.h> contains gr_passwd.
2399 */
2400#$i_grp I_GRP /**/
2401#$d_grpasswd GRPASSWD /**/
2402
08c92000
MB
2403/* I_MACH_CTHREADS:
2404 * This symbol, if defined, indicates to the C program that it should
2405 * include <mach/cthreads.h>.
2406 */
2407#$i_machcthr I_MACH_CTHREADS /**/
2408
eaf812ae
MB
2409/* I_NDBM:
2410 * This symbol, if defined, indicates that <ndbm.h> exists and should
2411 * be included.
2412 */
2413#$i_ndbm I_NDBM /**/
2414
08c92000
MB
2415/* I_NETDB:
2416 * This symbol, if defined, indicates that <netdb.h> exists and
2417 * should be included.
2418 */
2419#$i_netdb I_NETDB /**/
2420
c0bacbef
MB
2421/* I_NET_ERRNO:
2422 * This symbol, if defined, indicates that <net/errno.h> exists and
2423 * should be included.
2424 */
2425#$i_neterrno I_NET_ERRNO /**/
2426
08c92000
MB
2427/* I_PTHREAD:
2428 * This symbol, if defined, indicates to the C program that it should
2429 * include <pthread.h>.
2430 */
2431#$i_pthread I_PTHREAD /**/
2432
2433/* I_PWD:
a845a0d4
JH
2434 * This symbol, if defined, indicates to the C program that it should
2435 * include <pwd.h>.
a33c94aa 2436 */
a845a0d4
JH
2437/* PWQUOTA:
2438 * This symbol, if defined, indicates to the C program that struct passwd
2439 * contains pw_quota.
49dabb45 2440 */
a845a0d4
JH
2441/* PWAGE:
2442 * This symbol, if defined, indicates to the C program that struct passwd
2443 * contains pw_age.
3813c136 2444 */
a845a0d4
JH
2445/* PWCHANGE:
2446 * This symbol, if defined, indicates to the C program that struct passwd
2447 * contains pw_change.
1acc7ade 2448 */
a845a0d4
JH
2449/* PWCLASS:
2450 * This symbol, if defined, indicates to the C program that struct passwd
2451 * contains pw_class.
a33c94aa 2452 */
a845a0d4
JH
2453/* PWEXPIRE:
2454 * This symbol, if defined, indicates to the C program that struct passwd
2455 * contains pw_expire.
10bc17b6 2456 */
a845a0d4
JH
2457/* PWCOMMENT:
2458 * This symbol, if defined, indicates to the C program that struct passwd
2459 * contains pw_comment.
10bc17b6 2460 */
a845a0d4
JH
2461/* PWGECOS:
2462 * This symbol, if defined, indicates to the C program that struct passwd
2463 * contains pw_gecos.
10bc17b6 2464 */
a845a0d4
JH
2465/* PWPASSWD:
2466 * This symbol, if defined, indicates to the C program that struct passwd
2467 * contains pw_passwd.
10bc17b6 2468 */
a845a0d4
JH
2469#$i_pwd I_PWD /**/
2470#$d_pwquota PWQUOTA /**/
2471#$d_pwage PWAGE /**/
2472#$d_pwchange PWCHANGE /**/
2473#$d_pwclass PWCLASS /**/
2474#$d_pwexpire PWEXPIRE /**/
2475#$d_pwcomment PWCOMMENT /**/
2476#$d_pwgecos PWGECOS /**/
2477#$d_pwpasswd PWPASSWD /**/
10bc17b6 2478
ed140128
AD
2479/* I_SYS_ACCESS:
2480 * This symbol, if defined, indicates to the C program that it should
2481 * include <sys/access.h>.
10bc17b6 2482 */
ed140128 2483#$i_sysaccess I_SYS_ACCESS /**/
08c92000 2484
ed140128
AD
2485/* I_SYS_SECURITY:
2486 * This symbol, if defined, indicates to the C program that it should
2487 * include <sys/security.h>.
a33c94aa 2488 */
ed140128 2489#$i_syssecrt I_SYS_SECURITY /**/
a33c94aa 2490
08c92000
MB
2491/* I_SYSUIO:
2492 * This symbol, if defined, indicates that <sys/uio.h> exists and
2493 * should be included.
4e0554ec 2494 */
08c92000 2495#$i_sysuio I_SYSUIO /**/
4e0554ec 2496
eaf812ae
MB
2497/* I_STDARG:
2498 * This symbol, if defined, indicates that <stdarg.h> exists and should
2499 * be included.
2500 */
2501/* I_VARARGS:
2502 * This symbol, if defined, indicates to the C program that it should
2503 * include <varargs.h>.
2504 */
2505#$i_stdarg I_STDARG /**/
2506#$i_varargs I_VARARGS /**/
2507
08c92000
MB
2508/* PERL_INC_VERSION_LIST:
2509 * This variable specifies the list of subdirectories in over
2510 * which perl.c:incpush() and lib/lib.pm will automatically
2511 * search when adding directories to @INC, in a format suitable
2512 * for a C initialization string. See the inc_version_list entry
2513 * in Porting/Glossary for more details.
36adc09b 2514 */
c95d0e17 2515#$d_inc_version_list PERL_INC_VERSION_LIST $inc_version_list_init /**/
36adc09b 2516
08c92000
MB
2517/* INSTALL_USR_BIN_PERL:
2518 * This symbol, if defined, indicates that Perl is to be installed
2519 * also as /usr/bin/perl.
a33c94aa 2520 */
08c92000 2521#$installusrbinperl INSTALL_USR_BIN_PERL /**/
a33c94aa 2522
08c92000
MB
2523/* Off_t:
2524 * This symbol holds the type used to declare offsets in the kernel.
2525 * It can be int, long, off_t, etc... It may be necessary to include
2526 * <sys/types.h> to get any typedef'ed information.
a33c94aa 2527 */
08c92000
MB
2528/* LSEEKSIZE:
2529 * This symbol holds the number of bytes used by the Off_t.
15b61c98 2530 */
08c92000
MB
2531/* Off_t_size:
2532 * This symbol holds the number of bytes used by the Off_t.
a33c94aa 2533 */
08c92000
MB
2534#define Off_t $lseektype /* <offset> type */
2535#define LSEEKSIZE $lseeksize /* <offset> size */
2536#define Off_t_size $lseeksize /* <offset> size */
a33c94aa 2537
08c92000
MB
2538/* Free_t:
2539 * This variable contains the return type of free(). It is usually
2540 * void, but occasionally int.
3813c136 2541 */
08c92000
MB
2542/* Malloc_t:
2543 * This symbol is the type of pointer returned by malloc and realloc.
2544 */
2545#define Malloc_t $malloctype /**/
2546#define Free_t $freetype /**/
a845a0d4 2547
08c92000
MB
2548/* PERL_MALLOC_WRAP:
2549 * This symbol, if defined, indicates that we'd like malloc wrap checks.
a33c94aa 2550 */
dc750f2e 2551#$usemallocwrap PERL_MALLOC_WRAP /**/
a33c94aa 2552
08c92000
MB
2553/* MYMALLOC:
2554 * This symbol, if defined, indicates that we're using our own malloc.
10bc17b6 2555 */
08c92000 2556#$d_mymalloc MYMALLOC /**/
a845a0d4 2557
08c92000 2558/* Mode_t:
c0bacbef 2559 * This symbol holds the type used to declare file modes
08c92000
MB
2560 * for systems calls. It is usually mode_t, but may be
2561 * int or unsigned short. It may be necessary to include <sys/types.h>
2562 * to get any typedef'ed information.
44b94491 2563 */
08c92000 2564#define Mode_t $modetype /* file mode parameter for system calls */
78a7c709 2565
08c92000
MB
2566/* Netdb_host_t:
2567 * This symbol holds the type used for the 1st argument
2568 * to gethostbyaddr().
44b94491 2569 */
08c92000
MB
2570/* Netdb_hlen_t:
2571 * This symbol holds the type used for the 2nd argument
2572 * to gethostbyaddr().
44b94491 2573 */
08c92000
MB
2574/* Netdb_name_t:
2575 * This symbol holds the type used for the argument to
2576 * gethostbyname().
78a7c709 2577 */
08c92000
MB
2578/* Netdb_net_t:
2579 * This symbol holds the type used for the 1st argument to
2580 * getnetbyaddr().
a33c94aa 2581 */
08c92000
MB
2582#define Netdb_host_t $netdb_host_type /**/
2583#define Netdb_hlen_t $netdb_hlen_type /**/
2584#define Netdb_name_t $netdb_name_type /**/
2585#define Netdb_net_t $netdb_net_type /**/
a33c94aa 2586
08c92000
MB
2587/* PERL_OTHERLIBDIRS:
2588 * This variable contains a colon-separated set of paths for the perl
2589 * binary to search for additional library files or modules.
2590 * These directories will be tacked to the end of @INC.
2591 * Perl will automatically search below each path for version-
2592 * and architecture-specific directories. See PERL_INC_VERSION_LIST
2593 * for more details.
a33c94aa 2594 */
08c92000 2595#$d_perl_otherlibdirs PERL_OTHERLIBDIRS "$otherlibdirs" /**/
a33c94aa 2596
ed140128
AD
2597/* Pid_t:
2598 * This symbol holds the type used to declare process ids in the kernel.
2599 * It can be int, uint, pid_t, etc... It may be necessary to include
2600 * <sys/types.h> to get any typedef'ed information.
253687a9 2601 */
ed140128 2602#define Pid_t $pidtype /* PID type */
253687a9 2603
ed140128
AD
2604/* PRIVLIB:
2605 * This symbol contains the name of the private library for this package.
2606 * The library is private in the sense that it needn't be in anyone's
2607 * execution path, but it should be accessible by the world. The program
2608 * should be prepared to do ~ expansion.
a33c94aa 2609 */
ed140128
AD
2610/* PRIVLIB_EXP:
2611 * This symbol contains the ~name expanded version of PRIVLIB, to be used
2612 * in programs that are not prepared to deal with ~ expansion at run-time.
10bc17b6 2613 */
ed140128
AD
2614#define PRIVLIB "$privlib" /**/
2615#define PRIVLIB_EXP "$privlibexp" /**/
2616
2617/* CAN_PROTOTYPE:
2618 * If defined, this macro indicates that the C compiler can handle
2619 * function prototypes.
10bc17b6 2620 */
ed140128
AD
2621/* _:
2622 * This macro is used to declare function parameters for folks who want
2623 * to make declarations with prototypes using a different style than
2624 * the above macros. Use double parentheses. For example:
2625 *
2626 * int main _((int argc, char *argv[]));
a33c94aa 2627 */
ed140128
AD
2628#$prototype CAN_PROTOTYPE /**/
2629#ifdef CAN_PROTOTYPE
2630#define _(args) args
2631#else
2632#define _(args) ()
2633#endif
2634
2635/* Select_fd_set_t:
2636 * This symbol holds the type used for the 2nd, 3rd, and 4th
2637 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
c0bacbef 2638 * is defined, and 'int *' otherwise. This is only useful if you
ed140128 2639 * have select(), of course.
dfe9444c 2640 */
ed140128
AD
2641#define Select_fd_set_t $selecttype /**/
2642
2643/* SH_PATH:
2644 * This symbol contains the full pathname to the shell used on this
2645 * on this system to execute Bourne shell scripts. Usually, this will be
2646 * /bin/sh, though it's possible that some systems will have /bin/ksh,
2647 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
2648 * D:/bin/sh.exe.
36adc09b 2649 */
ed140128
AD
2650#define SH_PATH "$sh" /**/
2651
2652/* SIG_NAME:
2653 * This symbol contains a list of signal names in order of
2654 * signal number. This is intended
2655 * to be used as a static array initialization, like this:
2656 * char *sig_name[] = { SIG_NAME };
2657 * The signals in the list are separated with commas, and each signal
2658 * is surrounded by double quotes. There is no leading SIG in the signal
2659 * name, i.e. SIGQUIT is known as "QUIT".
2660 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
2661 * etc., where nn is the actual signal number (e.g. NUM37).
2662 * The signal number for sig_name[i] is stored in sig_num[i].
2663 * The last element is 0 to terminate the list with a NULL. This
2664 * corresponds to the 0 at the end of the sig_name_init list.
2665 * Note that this variable is initialized from the sig_name_init,
2666 * not from sig_name (which is unused).
2667 */
2668/* SIG_NUM:
2669 * This symbol contains a list of signal numbers, in the same order as the
2670 * SIG_NAME list. It is suitable for static array initialization, as in:
2671 * int sig_num[] = { SIG_NUM };
2672 * The signals in the list are separated with commas, and the indices
2673 * within that list and the SIG_NAME list match, so it's easy to compute
2674 * the signal name from a number or vice versa at the price of a small
c0bacbef 2675 * dynamic linear lookup.
ed140128
AD
2676 * Duplicates are allowed, but are moved to the end of the list.
2677 * The signal number corresponding to sig_name[i] is sig_number[i].
c0bacbef 2678 * if (i < NSIG) then sig_number[i] == i.
ed140128
AD
2679 * The last element is 0, corresponding to the 0 at the end of
2680 * the sig_name_init list.
2681 * Note that this variable is initialized from the sig_num_init,
2682 * not from sig_num (which is unused).
2683 */
2684/* SIG_SIZE:
2685 * This variable contains the number of elements of the SIG_NAME
2686 * and SIG_NUM arrays, excluding the final NULL entry.
2687 */
2688#define SIG_NAME $sig_name_init /**/
2689#define SIG_NUM $sig_num_init /**/
2690#define SIG_SIZE $sig_size /**/
2691
2692/* SITEARCH:
2693 * This symbol contains the name of the private library for this package.
2694 * The library is private in the sense that it needn't be in anyone's
2695 * execution path, but it should be accessible by the world. The program
2696 * should be prepared to do ~ expansion.
2697 * The standard distribution will put nothing in this directory.
2698 * After perl has been installed, users may install their own local
2699 * architecture-dependent modules in this directory with
2700 * MakeMaker Makefile.PL
2701 * or equivalent. See INSTALL for details.
2702 */
2703/* SITEARCH_EXP:
2704 * This symbol contains the ~name expanded version of SITEARCH, to be used
2705 * in programs that are not prepared to deal with ~ expansion at run-time.
2706 */
2707#$d_sitearch SITEARCH "$sitearch" /**/
2708#$d_sitearch SITEARCH_EXP "$sitearchexp" /**/
2709
2710/* SITELIB:
2711 * This symbol contains the name of the private library for this package.
2712 * The library is private in the sense that it needn't be in anyone's
2713 * execution path, but it should be accessible by the world. The program
2714 * should be prepared to do ~ expansion.
2715 * The standard distribution will put nothing in this directory.
2716 * After perl has been installed, users may install their own local
2717 * architecture-independent modules in this directory with
2718 * MakeMaker Makefile.PL
2719 * or equivalent. See INSTALL for details.
2720 */
2721/* SITELIB_EXP:
2722 * This symbol contains the ~name expanded version of SITELIB, to be used
2723 * in programs that are not prepared to deal with ~ expansion at run-time.
2724 */
2725/* SITELIB_STEM:
2726 * This define is SITELIB_EXP with any trailing version-specific component
2727 * removed. The elements in inc_version_list (inc_version_list.U) can
2728 * be tacked onto this variable to generate a list of directories to search.
2729 */
2730#define SITELIB "$sitelib" /**/
2731#define SITELIB_EXP "$sitelibexp" /**/
2732#define SITELIB_STEM "$sitelib_stem" /**/
2733
2734/* Size_t_size:
2735 * This symbol holds the size of a Size_t in bytes.
2736 */
2737#define Size_t_size $sizesize /* */
2738
2739/* Size_t:
2740 * This symbol holds the type used to declare length parameters
2741 * for string functions. It is usually size_t, but may be
2742 * unsigned long, int, etc. It may be necessary to include
2743 * <sys/types.h> to get any typedef'ed information.
2744 */
2745#define Size_t $sizetype /* length paramater for string functions */
2746
2747/* Sock_size_t:
2748 * This symbol holds the type used for the size argument of
2749 * various socket calls (just the base type, not the pointer-to).
2750 */
2751#define Sock_size_t $socksizetype /**/
2752
2753/* STDCHAR:
2754 * This symbol is defined to be the type of char used in stdio.h.
2755 * It has the values "unsigned char" or "char".
2756 */
2757#define STDCHAR $stdchar /**/
2758
2759/* Uid_t_f:
2760 * This symbol defines the format string used for printing a Uid_t.
2761 */
2762#define Uid_t_f $uidformat /**/
2763
2764/* Uid_t_sign:
2765 * This symbol holds the signedess of a Uid_t.
2766 * 1 for unsigned, -1 for signed.
2767 */
2768#define Uid_t_sign $uidsign /* UID sign */
2769
2770/* Uid_t_size:
2771 * This symbol holds the size of a Uid_t in bytes.
2772 */
2773#define Uid_t_size $uidsize /* UID size */
2774
2775/* Uid_t:
2776 * This symbol holds the type used to declare user ids in the kernel.
2777 * It can be int, ushort, uid_t, etc... It may be necessary to include
2778 * <sys/types.h> to get any typedef'ed information.
2779 */
2780#define Uid_t $uidtype /* UID type */
2781
2782/* USE_ITHREADS:
2783 * This symbol, if defined, indicates that Perl should be built to
2784 * use the interpreter-based threading implementation.
2785 */
2786/* USE_5005THREADS:
2787 * This symbol, if defined, indicates that Perl should be built to
2788 * use the 5.005-based threading implementation.
2789 * Only valid up to 5.8.x.
2790 */
2791/* OLD_PTHREADS_API:
2792 * This symbol, if defined, indicates that Perl should
2793 * be built to use the old draft POSIX threads API.
2794 */
2795/* USE_REENTRANT_API:
2796 * This symbol, if defined, indicates that Perl should
2797 * try to use the various _r versions of library functions.
2798 * This is extremely experimental.
2799 */
2800#$use5005threads USE_5005THREADS /**/
2801#$useithreads USE_ITHREADS /**/
2802#if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
2803#define USE_THREADS /* until src is revised*/
2804#endif
2805#$d_oldpthreads OLD_PTHREADS_API /**/
2806#$usereentrant USE_REENTRANT_API /**/
2807
2808/* PERL_VENDORARCH:
2809 * If defined, this symbol contains the name of a private library.
2810 * The library is private in the sense that it needn't be in anyone's
2811 * execution path, but it should be accessible by the world.
2812 * It may have a ~ on the front.
2813 * The standard distribution will put nothing in this directory.
2814 * Vendors who distribute perl may wish to place their own
2815 * architecture-dependent modules and extensions in this directory with
2816 * MakeMaker Makefile.PL INSTALLDIRS=vendor
2817 * or equivalent. See INSTALL for details.
2818 */
2819/* PERL_VENDORARCH_EXP:
2820 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
2821 * in programs that are not prepared to deal with ~ expansion at run-time.
2822 */
2823#$d_vendorarch PERL_VENDORARCH "$vendorarch" /**/
2824#$d_vendorarch PERL_VENDORARCH_EXP "$vendorarchexp" /**/
2825
2826/* PERL_VENDORLIB_EXP:
2827 * This symbol contains the ~name expanded version of VENDORLIB, to be used
2828 * in programs that are not prepared to deal with ~ expansion at run-time.
2829 */
2830/* PERL_VENDORLIB_STEM:
2831 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component
2832 * removed. The elements in inc_version_list (inc_version_list.U) can
2833 * be tacked onto this variable to generate a list of directories to search.
2834 */
2835#$d_vendorlib PERL_VENDORLIB_EXP "$vendorlibexp" /**/
2836#$d_vendorlib PERL_VENDORLIB_STEM "$vendorlib_stem" /**/
2837
2838/* VOIDFLAGS:
2839 * This symbol indicates how much support of the void type is given by this
2840 * compiler. What various bits mean:
2841 *
2842 * 1 = supports declaration of void
2843 * 2 = supports arrays of pointers to functions returning void
2844 * 4 = supports comparisons between pointers to void functions and
2845 * addresses of void functions
2846 * 8 = suports declaration of generic void pointers
2847 *
2848 * The package designer should define VOIDUSED to indicate the requirements
2849 * of the package. This can be done either by #defining VOIDUSED before
2850 * including config.h, or by defining defvoidused in Myinit.U. If the
2851 * latter approach is taken, only those flags will be tested. If the
2852 * level of void support necessary is not present, defines void to int.
2853 */
2854#ifndef VOIDUSED
2855#define VOIDUSED $defvoidused
2856#endif
2857#define VOIDFLAGS $voidflags
2858#if (VOIDFLAGS & VOIDUSED) != VOIDUSED
2859#define void int /* is void to be avoided? */
2860#define M_VOID /* Xenix strikes again */
2861#endif
2862
2863/* USE_CROSS_COMPILE:
2864 * This symbol, if defined, indicates that Perl is being cross-compiled.
2865 */
2866/* PERL_TARGETARCH:
2867 * This symbol, if defined, indicates the target architecture
2868 * Perl has been cross-compiled to. Undefined if not a cross-compile.
2869 */
2870#ifndef USE_CROSS_COMPILE
2871#$usecrosscompile USE_CROSS_COMPILE /**/
2872#define PERL_TARGETARCH "$targetarch" /**/
2873#endif
2874
2875/* MEM_ALIGNBYTES:
2876 * This symbol contains the number of bytes required to align a
2877 * double, or a long double when applicable. Usual values are 2,
2878 * 4 and 8. The default is eight, for safety.
2879 */
2880#if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
2881# define MEM_ALIGNBYTES 8
2882#else
2883#define MEM_ALIGNBYTES $alignbytes
2884#endif
2885
2886/* BYTEORDER:
2887 * This symbol holds the hexadecimal constant defined in byteorder,
2888 * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc...
2889 * If the compiler supports cross-compiling or multiple-architecture
2890 * binaries (eg. on NeXT systems), use compiler-defined macros to
2891 * determine the byte order.
2892 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
2893 * Binaries (MAB) on either big endian or little endian machines.
2894 * The endian-ness is available at compile-time. This only matters
c0bacbef 2895 * for perl, where the config.h can be generated and installed on
ed140128
AD
2896 * one system, and used by a different architecture to build an
2897 * extension. Older versions of NeXT that might not have
2898 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
c0bacbef 2899 * so the default case (for NeXT) is big endian to catch them.
ed140128
AD
2900 * This might matter for NeXT 3.0.
2901 */
2902#if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
2903# ifdef __LITTLE_ENDIAN__
2904# if LONGSIZE == 4
2905# define BYTEORDER 0x1234
2906# else
2907# if LONGSIZE == 8
2908# define BYTEORDER 0x12345678
2909# endif
2910# endif
2911# else
2912# ifdef __BIG_ENDIAN__
2913# if LONGSIZE == 4
2914# define BYTEORDER 0x4321
2915# else
2916# if LONGSIZE == 8
2917# define BYTEORDER 0x87654321
2918# endif
2919# endif
2920# endif
2921# endif
2922# if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
2923# define BYTEORDER 0x4321
2924# endif
2925#else
2926#define BYTEORDER 0x$byteorder /* large digits for MSB */
2927#endif /* NeXT */
2928
2929/* CASTI32:
2930 * This symbol is defined if the C compiler can cast negative
2931 * or large floating point numbers to 32-bit ints.
2932 */
2933#$d_casti32 CASTI32 /**/
2934
2935/* CASTNEGFLOAT:
2936 * This symbol is defined if the C compiler can cast negative
2937 * numbers to unsigned longs, ints and shorts.
2938 */
2939/* CASTFLAGS:
2940 * This symbol contains flags that say what difficulties the compiler
2941 * has casting odd floating values to unsigned long:
2942 * 0 = ok
2943 * 1 = couldn't cast < 0
2944 * 2 = couldn't cast >= 0x80000000
2945 * 4 = couldn't cast in argument expression list
2946 */
2947#$d_castneg CASTNEGFLOAT /**/
2948#define CASTFLAGS $castflags /**/
2949
2950/* VOID_CLOSEDIR:
2951 * This symbol, if defined, indicates that the closedir() routine
2952 * does not return a value.
2953 */
2954#$d_void_closedir VOID_CLOSEDIR /**/
2955
2956/* HAS_FD_SET:
2957 * This symbol, when defined, indicates presence of the fd_set typedef
2958 * in <sys/types.h>
2959 */
2960#$d_fd_set HAS_FD_SET /**/
2961
2962/* Gconvert:
2963 * This preprocessor macro is defined to convert a floating point
2964 * number to a string without a trailing decimal point. This
2965 * emulates the behavior of sprintf("%g"), but is sometimes much more
2966 * efficient. If gconvert() is not available, but gcvt() drops the
2967 * trailing decimal point, then gcvt() is used. If all else fails,
2968 * a macro using sprintf("%g") is used. Arguments for the Gconvert
2969 * macro are: value, number of digits, whether trailing zeros should
2970 * be retained, and the output buffer.
2971 * The usual values are:
2972 * d_Gconvert='gconvert((x),(n),(t),(b))'
2973 * d_Gconvert='gcvt((x),(n),(b))'
2974 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
2975 * The last two assume trailing zeros should not be kept.
2976 */
2977#define Gconvert(x,n,t,b) $d_Gconvert
2978
2979/* HAS_GETPAGESIZE:
2980 * This symbol, if defined, indicates that the getpagesize system call
2981 * is available to get system page size, which is the granularity of
2982 * many memory management calls.
2983 */
2984#$d_getpagsz HAS_GETPAGESIZE /**/
2985
2986/* HAS_GNULIBC:
c0bacbef 2987 * This symbol, if defined, indicates to the C program that
ed140128
AD
2988 * the GNU C library is being used. A better check is to use
2989 * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc.
2990 */
2991#$d_gnulibc HAS_GNULIBC /**/
2992#if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
2993# define _GNU_SOURCE
2994#endif
34f1896b 2995
ed140128 2996/* HAS_ISASCII:
c0bacbef 2997 * This manifest constant lets the C program know that isascii
ed140128
AD
2998 * is available.
2999 */
3000#$d_isascii HAS_ISASCII /**/
3001
3002/* HAS_LCHOWN:
3003 * This symbol, if defined, indicates that the lchown routine is
3004 * available to operate on a symbolic link (instead of following the
3005 * link).
3006 */
3007#$d_lchown HAS_LCHOWN /**/
3008
3009/* HAS_OPEN3:
3010 * This manifest constant lets the C program know that the three
3011 * argument form of open(2) is available.
3012 */
3013#$d_open3 HAS_OPEN3 /**/
3014
3015/* HAS_SAFE_BCOPY:
3016 * This symbol, if defined, indicates that the bcopy routine is available
3017 * to copy potentially overlapping memory blocks. Normally, you should
3018 * probably use memmove() or memcpy(). If neither is defined, roll your
3019 * own version.
3020 */
3021#$d_safebcpy HAS_SAFE_BCOPY /**/
3022
3023/* HAS_SAFE_MEMCPY:
3024 * This symbol, if defined, indicates that the memcpy routine is available
3025 * to copy potentially overlapping memory blocks. If you need to
3026 * copy overlapping memory blocks, you should check HAS_MEMMOVE and
3027 * use memmove() instead, if available.
3028 */
3029#$d_safemcpy HAS_SAFE_MEMCPY /**/
3030
3031/* HAS_SANE_MEMCMP:
3032 * This symbol, if defined, indicates that the memcmp routine is available
3033 * and can be used to compare relative magnitudes of chars with their high
3034 * bits set. If it is not defined, roll your own version.
3035 */
3036#$d_sanemcmp HAS_SANE_MEMCMP /**/
3037
3038/* HAS_SIGACTION:
3039 * This symbol, if defined, indicates that Vr4's sigaction() routine
3040 * is available.
3041 */
3042#$d_sigaction HAS_SIGACTION /**/
3043
3044/* HAS_SIGSETJMP:
3045 * This variable indicates to the C program that the sigsetjmp()
3046 * routine is available to save the calling process's registers
3047 * and stack environment for later use by siglongjmp(), and
3048 * to optionally save the process's signal mask. See
3049 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
3050 */
3051/* Sigjmp_buf:
3052 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
3053 */
3054/* Sigsetjmp:
3055 * This macro is used in the same way as sigsetjmp(), but will invoke
3056 * traditional setjmp() if sigsetjmp isn't available.
3057 * See HAS_SIGSETJMP.
3058 */
3059/* Siglongjmp:
3060 * This macro is used in the same way as siglongjmp(), but will invoke
3061 * traditional longjmp() if siglongjmp isn't available.
3062 * See HAS_SIGSETJMP.
3063 */
3064#$d_sigsetjmp HAS_SIGSETJMP /**/
3065#ifdef HAS_SIGSETJMP
3066#define Sigjmp_buf sigjmp_buf
3067#define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
3068#define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
3069#else
3070#define Sigjmp_buf jmp_buf
3071#define Sigsetjmp(buf,save_mask) setjmp((buf))
3072#define Siglongjmp(buf,retval) longjmp((buf),(retval))
3073#endif
3074
3075/* USE_STDIO_PTR:
3076 * This symbol is defined if the _ptr and _cnt fields (or similar)
3077 * of the stdio FILE structure can be used to access the stdio buffer
3078 * for a file handle. If this is defined, then the FILE_ptr(fp)
3079 * and FILE_cnt(fp) macros will also be defined and should be used
3080 * to access these fields.
3081 */
3082/* FILE_ptr:
3083 * This macro is used to access the _ptr field (or equivalent) of the
3084 * FILE structure pointed to by its argument. This macro will always be
3085 * defined if USE_STDIO_PTR is defined.
3086 */
3087/* STDIO_PTR_LVALUE:
3088 * This symbol is defined if the FILE_ptr macro can be used as an
3089 * lvalue.
3090 */
3091/* FILE_cnt:
3092 * This macro is used to access the _cnt field (or equivalent) of the
3093 * FILE structure pointed to by its argument. This macro will always be
3094 * defined if USE_STDIO_PTR is defined.
3095 */
3096/* STDIO_CNT_LVALUE:
3097 * This symbol is defined if the FILE_cnt macro can be used as an
3098 * lvalue.
3099 */
3100/* STDIO_PTR_LVAL_SETS_CNT:
3101 * This symbol is defined if using the FILE_ptr macro as an lvalue
3102 * to increase the pointer by n has the side effect of decreasing the
3103 * value of File_cnt(fp) by n.
3104 */
3105/* STDIO_PTR_LVAL_NOCHANGE_CNT:
3106 * This symbol is defined if using the FILE_ptr macro as an lvalue
3107 * to increase the pointer by n leaves File_cnt(fp) unchanged.
3108 */
3109#$d_stdstdio USE_STDIO_PTR /**/
3110#ifdef USE_STDIO_PTR
3111#define FILE_ptr(fp) $stdio_ptr
3112#$d_stdio_ptr_lval STDIO_PTR_LVALUE /**/
3113#define FILE_cnt(fp) $stdio_cnt
3114#$d_stdio_cnt_lval STDIO_CNT_LVALUE /**/
3115#$d_stdio_ptr_lval_sets_cnt STDIO_PTR_LVAL_SETS_CNT /**/
3116#$d_stdio_ptr_lval_nochange_cnt STDIO_PTR_LVAL_NOCHANGE_CNT /**/
3117#endif
3118
3119/* USE_STDIO_BASE:
3120 * This symbol is defined if the _base field (or similar) of the
3121 * stdio FILE structure can be used to access the stdio buffer for
3122 * a file handle. If this is defined, then the FILE_base(fp) macro
3123 * will also be defined and should be used to access this field.
3124 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
3125 * to determine the number of bytes in the buffer. USE_STDIO_BASE
3126 * will never be defined unless USE_STDIO_PTR is.
3127 */
3128/* FILE_base:
3129 * This macro is used to access the _base field (or equivalent) of the
3130 * FILE structure pointed to by its argument. This macro will always be
3131 * defined if USE_STDIO_BASE is defined.
3132 */
3133/* FILE_bufsiz:
3134 * This macro is used to determine the number of bytes in the I/O
3135 * buffer pointed to by _base field (or equivalent) of the FILE
3136 * structure pointed to its argument. This macro will always be defined
3137 * if USE_STDIO_BASE is defined.
3138 */
3139#$d_stdiobase USE_STDIO_BASE /**/
3140#ifdef USE_STDIO_BASE
3141#define FILE_base(fp) $stdio_base
3142#define FILE_bufsiz(fp) $stdio_bufsiz
3143#endif
3144
3145/* HAS_VPRINTF:
3146 * This symbol, if defined, indicates that the vprintf routine is available
3147 * to printf with a pointer to an argument list. If unavailable, you
3148 * may need to write your own, probably in terms of _doprnt().
3149 */
3150/* USE_CHAR_VSPRINTF:
3151 * This symbol is defined if this system has vsprintf() returning type
3152 * (char*). The trend seems to be to declare it as "int vsprintf()". It
3153 * is up to the package author to declare vsprintf correctly based on the
3154 * symbol.
3155 */
3156#$d_vprintf HAS_VPRINTF /**/
3157#$d_charvspr USE_CHAR_VSPRINTF /**/
3158
3159/* DOUBLESIZE:
3160 * This symbol contains the size of a double, so that the C preprocessor
3161 * can make decisions based on it.
3162 */
3163#define DOUBLESIZE $doublesize /**/
3164
3165/* I_TIME:
3166 * This symbol, if defined, indicates to the C program that it should
3167 * include <time.h>.
3168 */
3169/* I_SYS_TIME:
3170 * This symbol, if defined, indicates to the C program that it should
3171 * include <sys/time.h>.
3172 */
3173/* I_SYS_TIME_KERNEL:
3174 * This symbol, if defined, indicates to the C program that it should
3175 * include <sys/time.h> with KERNEL defined.
3176 */
3177/* HAS_TM_TM_ZONE:
3178 * This symbol, if defined, indicates to the C program that
3179 * the struct tm has a tm_zone field.
3180 */
3181/* HAS_TM_TM_GMTOFF:
3182 * This symbol, if defined, indicates to the C program that
3183 * the struct tm has a tm_gmtoff field.
3184 */
3185#$i_time I_TIME /**/
3186#$i_systime I_SYS_TIME /**/
3187#$i_systimek I_SYS_TIME_KERNEL /**/
3188#$d_tm_tm_zone HAS_TM_TM_ZONE /**/
3189#$d_tm_tm_gmtoff HAS_TM_TM_GMTOFF /**/
3190
3191/* VAL_O_NONBLOCK:
3192 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
3193 * non-blocking I/O for the file descriptor. Note that there is no way
3194 * back, i.e. you cannot turn it blocking again this way. If you wish to
3195 * alternatively switch between blocking and non-blocking, use the
3196 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
3197 */
3198/* VAL_EAGAIN:
3199 * This symbol holds the errno error code set by read() when no data was
3200 * present on the non-blocking file descriptor.
3201 */
3202/* RD_NODATA:
3203 * This symbol holds the return code from read() when no data is present
3204 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
3205 * not defined, then you can't distinguish between no data and EOF by
3206 * issuing a read(). You'll have to find another way to tell for sure!
3207 */
3208/* EOF_NONBLOCK:
3209 * This symbol, if defined, indicates to the C program that a read() on
3210 * a non-blocking file descriptor will return 0 on EOF, and not the value
3211 * held in RD_NODATA (-1 usually, in that case!).
3212 */
3213#define VAL_O_NONBLOCK $o_nonblock
3214#define VAL_EAGAIN $eagain
3215#define RD_NODATA $rd_nodata
3216#$d_eofnblk EOF_NONBLOCK
3217
3218/* PTRSIZE:
3219 * This symbol contains the size of a pointer, so that the C preprocessor
3220 * can make decisions based on it. It will be sizeof(void *) if
3221 * the compiler supports (void *); otherwise it will be
3222 * sizeof(char *).
3223 */
3224#define PTRSIZE $ptrsize /**/
3225
3226/* Drand01:
3227 * This macro is to be used to generate uniformly distributed
3228 * random numbers over the range [0., 1.[. You may have to supply
3229 * an 'extern double drand48();' in your program since SunOS 4.1.3
3230 * doesn't provide you with anything relevant in its headers.
3231 * See HAS_DRAND48_PROTO.
3232 */
3233/* Rand_seed_t:
3234 * This symbol defines the type of the argument of the
3235 * random seed function.
3236 */
3237/* seedDrand01:
3238 * This symbol defines the macro to be used in seeding the
3239 * random number generator (see Drand01).
3240 */
3241/* RANDBITS:
3242 * This symbol indicates how many bits are produced by the
3243 * function used to generate normalized random numbers.
3244 * Values include 15, 16, 31, and 48.
3245 */
3246#define Drand01() $drand01 /**/
3247#define Rand_seed_t $randseedtype /**/
3248#define seedDrand01(x) $seedfunc((Rand_seed_t)x) /**/
3249#define RANDBITS $randbits /**/
3250
3251/* SSize_t:
3252 * This symbol holds the type used by functions that return
3253 * a count of bytes or an error condition. It must be a signed type.
3254 * It is usually ssize_t, but may be long or int, etc.
3255 * It may be necessary to include <sys/types.h> or <unistd.h>
3256 * to get any typedef'ed information.
3257 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
3258 */
3259#define SSize_t $ssizetype /* signed count of bytes */
3260
3261/* EBCDIC:
3262 * This symbol, if defined, indicates that this system uses
3263 * EBCDIC encoding.
3264 */
3265#$ebcdic EBCDIC /**/
3266
3267/* HAS_ATOLF:
3268 * This symbol, if defined, indicates that the atolf routine is
3269 * available to convert strings into long doubles.
3270 */
3271#$d_atolf HAS_ATOLF /**/
3272
3273/* HAS_ATOLL:
3274 * This symbol, if defined, indicates that the atoll routine is
3275 * available to convert strings into long longs.
3276 */
3277#$d_atoll HAS_ATOLL /**/
3278
3279/* HAS__FWALK:
3280 * This symbol, if defined, indicates that the _fwalk system call is
3281 * available to apply a function to all the file handles.
3282 */
3283#$d__fwalk HAS__FWALK /**/
3284
3285/* HAS_AINTL:
3286 * This symbol, if defined, indicates that the aintl routine is
3287 * available. If copysignl is also present we can emulate modfl.
3288 */
3289#$d_aintl HAS_AINTL /**/
3290
3291/* HAS_BUILTIN_CHOOSE_EXPR:
3292 * Can we handle GCC builtin for compile-time ternary-like expressions
3293 */
3294/* HAS_BUILTIN_EXPECT:
3295 * Can we handle GCC builtin for telling that certain values are more
3296 * likely
3297 */
3298#$d_builtin_expect HAS_BUILTIN_EXPECT /**/
3299#$d_builtin_choose_expr HAS_BUILTIN_CHOOSE_EXPR /**/
3300
3301/* HAS_C99_VARIADIC_MACROS:
3302 * If defined, the compiler supports C99 variadic macros.
3303 */
3304#$d_c99_variadic_macros HAS_C99_VARIADIC_MACROS /**/
3305
3306/* HAS_CLASS:
3307 * This symbol, if defined, indicates that the class routine is
3308 * available to classify doubles. Available for example in AIX.
3309 * The returned values are defined in <float.h> and are:
3310 *
3311 * FP_PLUS_NORM Positive normalized, nonzero
3312 * FP_MINUS_NORM Negative normalized, nonzero
3313 * FP_PLUS_DENORM Positive denormalized, nonzero
3314 * FP_MINUS_DENORM Negative denormalized, nonzero
3315 * FP_PLUS_ZERO +0.0
3316 * FP_MINUS_ZERO -0.0
3317 * FP_PLUS_INF +INF
3318 * FP_MINUS_INF -INF
3319 * FP_NANS Signaling Not a Number (NaNS)
3320 * FP_NANQ Quiet Not a Number (NaNQ)
3321 */
3322#$d_class HAS_CLASS /**/
3323
3324/* HAS_CLEARENV:
3325 * This symbol, if defined, indicates that the clearenv () routine is
3326 * available for use.
3327 */
3328#$d_clearenv HAS_CLEARENV /**/
3329
3330/* HAS_STRUCT_CMSGHDR:
3331 * This symbol, if defined, indicates that the struct cmsghdr
3332 * is supported.
3333 */
3334#$d_cmsghdr_s HAS_STRUCT_CMSGHDR /**/
3335
3336/* HAS_COPYSIGNL:
3337 * This symbol, if defined, indicates that the copysignl routine is
3338 * available. If aintl is also present we can emulate modfl.
3339 */
3340#$d_copysignl HAS_COPYSIGNL /**/
3341
3342/* USE_CPLUSPLUS:
3343 * This symbol, if defined, indicates that a C++ compiler was
3344 * used to compiled Perl and will be used to compile extensions.
3345 */
3346#$d_cplusplus USE_CPLUSPLUS /**/
3347
3348/* HAS_DBMINIT_PROTO:
3349 * This symbol, if defined, indicates that the system provides
3350 * a prototype for the dbminit() function. Otherwise, it is up
3351 * to the program to supply one. A good guess is
3352 * extern int dbminit(char *);
3353 */
3354#$d_dbminitproto HAS_DBMINIT_PROTO /**/
3355
3356/* HAS_DIR_DD_FD:
3357 * This symbol, if defined, indicates that the the DIR* dirstream
3358 * structure contains a member variable named dd_fd.
3359 */
3360#$d_dir_dd_fd HAS_DIR_DD_FD /**/
3361
3362/* HAS_DIRFD:
3363 * This manifest constant lets the C program know that dirfd
3364 * is available.
3365 */
3366#$d_dirfd HAS_DIRFD /**/
3367
3368/* DLSYM_NEEDS_UNDERSCORE:
3369 * This symbol, if defined, indicates that we need to prepend an
3370 * underscore to the symbol name before calling dlsym(). This only
3371 * makes sense if you *have* dlsym, which we will presume is the
3372 * case if you're using dl_dlopen.xs.
3373 */
3374#$d_dlsymun DLSYM_NEEDS_UNDERSCORE /**/
3375
3376/* HAS_FAST_STDIO:
3377 * This symbol, if defined, indicates that the "fast stdio"
3378 * is available to manipulate the stdio buffers directly.
3379 */
3380#$d_faststdio HAS_FAST_STDIO /**/
3381
3382/* HAS_FCHDIR:
3383 * This symbol, if defined, indicates that the fchdir routine is
3384 * available to change directory using a file descriptor.
3385 */
3386#$d_fchdir HAS_FCHDIR /**/
3387
3388/* FCNTL_CAN_LOCK:
3389 * This symbol, if defined, indicates that fcntl() can be used
3390 * for file locking. Normally on Unix systems this is defined.
3391 * It may be undefined on VMS.
3392 */
3393#$d_fcntl_can_lock FCNTL_CAN_LOCK /**/
3394
3395/* HAS_FINITE:
3396 * This symbol, if defined, indicates that the finite routine is
3397 * available to check whether a double is finite (non-infinity non-NaN).
3398 */
3399#$d_finite HAS_FINITE /**/
3400
3401/* HAS_FINITEL:
3402 * This symbol, if defined, indicates that the finitel routine is
3403 * available to check whether a long double is finite
3404 * (non-infinity non-NaN).
3405 */
3406#$d_finitel HAS_FINITEL /**/
3407
3408/* HAS_FLOCK_PROTO:
3409 * This symbol, if defined, indicates that the system provides
3410 * a prototype for the flock() function. Otherwise, it is up
3411 * to the program to supply one. A good guess is
3412 * extern int flock(int, int);
3413 */
3414#$d_flockproto HAS_FLOCK_PROTO /**/
3415
3416/* HAS_FP_CLASS:
3417 * This symbol, if defined, indicates that the fp_class routine is
3418 * available to classify doubles. Available for example in Digital UNIX.
3419 * The returned values are defined in <math.h> and are:
3420 *
3421 * FP_SNAN Signaling NaN (Not-a-Number)
3422 * FP_QNAN Quiet NaN (Not-a-Number)
3423 * FP_POS_INF +infinity
3424 * FP_NEG_INF -infinity
3425 * FP_POS_NORM Positive normalized
3426 * FP_NEG_NORM Negative normalized
3427 * FP_POS_DENORM Positive denormalized
3428 * FP_NEG_DENORM Negative denormalized
3429 * FP_POS_ZERO +0.0 (positive zero)
3430 * FP_NEG_ZERO -0.0 (negative zero)
3431 */
3432#$d_fp_class HAS_FP_CLASS /**/
3433
3434/* HAS_FPCLASS:
3435 * This symbol, if defined, indicates that the fpclass routine is
3436 * available to classify doubles. Available for example in Solaris/SVR4.
3437 * The returned values are defined in <ieeefp.h> and are:
3438 *
3439 * FP_SNAN signaling NaN
3440 * FP_QNAN quiet NaN
3441 * FP_NINF negative infinity
3442 * FP_PINF positive infinity
3443 * FP_NDENORM negative denormalized non-zero
3444 * FP_PDENORM positive denormalized non-zero
3445 * FP_NZERO negative zero
3446 * FP_PZERO positive zero
3447 * FP_NNORM negative normalized non-zero
3448 * FP_PNORM positive normalized non-zero
3449 */
3450#$d_fpclass HAS_FPCLASS /**/
3451
3452/* HAS_FPCLASSIFY:
3453 * This symbol, if defined, indicates that the fpclassify routine is
3454 * available to classify doubles. Available for example in HP-UX.
3455 * The returned values are defined in <math.h> and are
3456 *
3457 * FP_NORMAL Normalized
3458 * FP_ZERO Zero
3459 * FP_INFINITE Infinity
3460 * FP_SUBNORMAL Denormalized
3461 * FP_NAN NaN
3462 *
3463 */
3464#$d_fpclassify HAS_FPCLASSIFY /**/
3465
3466/* HAS_FPCLASSL:
3467 * This symbol, if defined, indicates that the fpclassl routine is
3468 * available to classify long doubles. Available for example in IRIX.
3469 * The returned values are defined in <ieeefp.h> and are:
3470 *
3471 * FP_SNAN signaling NaN
3472 * FP_QNAN quiet NaN
3473 * FP_NINF negative infinity
3474 * FP_PINF positive infinity
3475 * FP_NDENORM negative denormalized non-zero
3476 * FP_PDENORM positive denormalized non-zero
3477 * FP_NZERO negative zero
3478 * FP_PZERO positive zero
3479 * FP_NNORM negative normalized non-zero
3480 * FP_PNORM positive normalized non-zero
3481 */
3482#$d_fpclassl HAS_FPCLASSL /**/
3483
3484/* HAS_FPOS64_T:
3485 * This symbol will be defined if the C compiler supports fpos64_t.
3486 */
3487#$d_fpos64_t HAS_FPOS64_T /**/
3488
3489/* HAS_FREXPL:
3490 * This symbol, if defined, indicates that the frexpl routine is
3491 * available to break a long double floating-point number into
3492 * a normalized fraction and an integral power of 2.
3493 */
3494#$d_frexpl HAS_FREXPL /**/
3495
3496/* HAS_STRUCT_FS_DATA:
3497 * This symbol, if defined, indicates that the struct fs_data
3498 * to do statfs() is supported.
3499 */
3500#$d_fs_data_s HAS_STRUCT_FS_DATA /**/
3501
3502/* HAS_FSEEKO:
3503 * This symbol, if defined, indicates that the fseeko routine is
3504 * available to fseek beyond 32 bits (useful for ILP32 hosts).
3505 */
3506#$d_fseeko HAS_FSEEKO /**/
3507
3508/* HAS_FSTATFS:
3509 * This symbol, if defined, indicates that the fstatfs routine is
3510 * available to stat filesystems by file descriptors.
3511 */
3512#$d_fstatfs HAS_FSTATFS /**/
3513
3514/* HAS_FSYNC:
3515 * This symbol, if defined, indicates that the fsync routine is
3516 * available to write a file's modified data and attributes to
3517 * permanent storage.
3518 */
3519#$d_fsync HAS_FSYNC /**/
3520
3521/* HAS_FTELLO:
3522 * This symbol, if defined, indicates that the ftello routine is
3523 * available to ftell beyond 32 bits (useful for ILP32 hosts).
3524 */
3525#$d_ftello HAS_FTELLO /**/
3526
3527/* HAS_FUTIMES:
3528 * This symbol, if defined, indicates that the futimes routine is
3529 * available to change file descriptor time stamps with struct timevals.
3530 */
3531#$d_futimes HAS_FUTIMES /**/
3532
3533/* HAS_GETCWD:
3534 * This symbol, if defined, indicates that the getcwd routine is
3535 * available to get the current working directory.
3536 */
3537#$d_getcwd HAS_GETCWD /**/
3538
3539/* HAS_GETESPWNAM:
3540 * This symbol, if defined, indicates that the getespwnam system call is
3541 * available to retrieve enchanced (shadow) password entries by name.
3542 */
3543#$d_getespwnam HAS_GETESPWNAM /**/
3544
3545/* HAS_GETFSSTAT:
3546 * This symbol, if defined, indicates that the getfsstat routine is
3547 * available to stat filesystems in bulk.
3548 */
3549#$d_getfsstat HAS_GETFSSTAT /**/
3550
3551/* HAS_GETITIMER:
3552 * This symbol, if defined, indicates that the getitimer routine is
3553 * available to return interval timers.
3554 */
3555#$d_getitimer HAS_GETITIMER /**/
3556
3557/* HAS_GETMNT:
3558 * This symbol, if defined, indicates that the getmnt routine is
3559 * available to get filesystem mount info by filename.
3560 */
3561#$d_getmnt HAS_GETMNT /**/
3562
3563/* HAS_GETMNTENT:
3564 * This symbol, if defined, indicates that the getmntent routine is
3565 * available to iterate through mounted file systems to get their info.
3566 */
3567#$d_getmntent HAS_GETMNTENT /**/
3568
3569/* HAS_GETPRPWNAM:
3570 * This symbol, if defined, indicates that the getprpwnam system call is
3571 * available to retrieve protected (shadow) password entries by name.
3572 */
3573#$d_getprpwnam HAS_GETPRPWNAM /**/
3574
3575/* HAS_GETSPNAM:
3576 * This symbol, if defined, indicates that the getspnam system call is
3577 * available to retrieve SysV shadow password entries by name.
3578 */
3579#$d_getspnam HAS_GETSPNAM /**/
3580
3581/* HAS_HASMNTOPT:
3582 * This symbol, if defined, indicates that the hasmntopt routine is
3583 * available to query the mount options of file systems.
3584 */
3585#$d_hasmntopt HAS_HASMNTOPT /**/
3586
3587/* HAS_ILOGBL:
3588 * This symbol, if defined, indicates that the ilogbl routine is
3589 * available. If scalbnl is also present we can emulate frexpl.
3590 */
3591#$d_ilogbl HAS_ILOGBL /**/
3592
3593/* HAS_INT64_T:
3594 * This symbol will defined if the C compiler supports int64_t.
3595 * Usually the <inttypes.h> needs to be included, but sometimes
3596 * <sys/types.h> is enough.
3597 */
3598#$d_int64_t HAS_INT64_T /**/
3599
3600/* HAS_ISFINITE:
3601 * This symbol, if defined, indicates that the isfinite routine is
3602 * available to check whether a double is finite (non-infinity non-NaN).
3603 */
3604#$d_isfinite HAS_ISFINITE /**/
3605
3606/* HAS_ISINF:
3607 * This symbol, if defined, indicates that the isinf routine is
3608 * available to check whether a double is an infinity.
3609 */
3610#$d_isinf HAS_ISINF /**/
3611
3612/* HAS_ISNAN:
3613 * This symbol, if defined, indicates that the isnan routine is
3614 * available to check whether a double is a NaN.
3615 */
3616#$d_isnan HAS_ISNAN /**/
3617
3618/* HAS_ISNANL:
3619 * This symbol, if defined, indicates that the isnanl routine is
3620 * available to check whether a long double is a NaN.
3621 */
3622#$d_isnanl HAS_ISNANL /**/
3623
3624/* HAS_LDBL_DIG:
3625 * This symbol, if defined, indicates that this system's <float.h>
3626 * or <limits.h> defines the symbol LDBL_DIG, which is the number
3627 * of significant digits in a long double precision number. Unlike
3628 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
3629 */
3630#$d_ldbl_dig HAS_LDBL_DIG /* */
3631
3632/* LIBM_LIB_VERSION:
3633 * This symbol, if defined, indicates that libm exports _LIB_VERSION
3634 * and that math.h defines the enum to manipulate it.
3635 */
3636#$d_libm_lib_version LIBM_LIB_VERSION /**/
3637
3638/* HAS_MADVISE:
3639 * This symbol, if defined, indicates that the madvise system call is
3640 * available to map a file into memory.
3641 */
3642#$d_madvise HAS_MADVISE /**/
3643
3644/* HAS_MALLOC_SIZE:
3645 * This symbol, if defined, indicates that the malloc_size
3646 * routine is available for use.
3647 */
3648#$d_malloc_size HAS_MALLOC_SIZE /**/
3649
3650/* HAS_MALLOC_GOOD_SIZE:
3651 * This symbol, if defined, indicates that the malloc_good_size
3652 * routine is available for use.
3653 */
3654#$d_malloc_good_size HAS_MALLOC_GOOD_SIZE /**/
3655
3656/* HAS_MKDTEMP:
3657 * This symbol, if defined, indicates that the mkdtemp routine is
3658 * available to exclusively create a uniquely named temporary directory.
3659 */
3660#$d_mkdtemp HAS_MKDTEMP /**/
3661
3662/* HAS_MKSTEMPS:
3663 * This symbol, if defined, indicates that the mkstemps routine is
3664 * available to excluslvely create and open a uniquely named
3665 * (with a suffix) temporary file.
3666 */
3667#$d_mkstemps HAS_MKSTEMPS /**/
3668
3669/* HAS_MODFL:
3670 * This symbol, if defined, indicates that the modfl routine is
3671 * available to split a long double x into a fractional part f and
3672 * an integer part i such that |f| < 1.0 and (f + i) = x.
3673 */
3674/* HAS_MODFL_PROTO:
3675 * This symbol, if defined, indicates that the system provides
3676 * a prototype for the modfl() function. Otherwise, it is up
3677 * to the program to supply one.
3678 */
3679/* HAS_MODFL_POW32_BUG:
3680 * This symbol, if defined, indicates that the modfl routine is
3681 * broken for long doubles >= pow(2, 32).
3682 * For example from 4294967303.150000 one would get 4294967302.000000
3683 * and 1.150000. The bug has been seen in certain versions of glibc,
3684 * release 2.2.2 is known to be okay.
3685 */
3686#$d_modfl HAS_MODFL /**/
3687#$d_modflproto HAS_MODFL_PROTO /**/
3688#$d_modfl_pow32_bug HAS_MODFL_POW32_BUG /**/
3689
3690/* HAS_MPROTECT:
3691 * This symbol, if defined, indicates that the mprotect system call is
3692 * available to modify the access protection of a memory mapped file.
3693 */
3694#$d_mprotect HAS_MPROTECT /**/
3695
3696/* HAS_STRUCT_MSGHDR:
3697 * This symbol, if defined, indicates that the struct msghdr
3698 * is supported.
3699 */
3700#$d_msghdr_s HAS_STRUCT_MSGHDR /**/
3701
3702/* HAS_NL_LANGINFO:
3703 * This symbol, if defined, indicates that the nl_langinfo routine is
3704 * available to return local data. You will also need <langinfo.h>
3705 * and therefore I_LANGINFO.
3706 */
3707#$d_nl_langinfo HAS_NL_LANGINFO /**/
3708
3709/* HAS_OFF64_T:
3710 * This symbol will be defined if the C compiler supports off64_t.
3711 */
3712#$d_off64_t HAS_OFF64_T /**/
3713
3714/* HAS_PROCSELFEXE:
3715 * This symbol is defined if PROCSELFEXE_PATH is a symlink
3716 * to the absolute pathname of the executing program.
3717 */
3718/* PROCSELFEXE_PATH:
3719 * If HAS_PROCSELFEXE is defined this symbol is the filename
3720 * of the symbolic link pointing to the absolute pathname of
3721 * the executing program.
3722 */
3723#$d_procselfexe HAS_PROCSELFEXE /**/
3724#if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH)
3725#define PROCSELFEXE_PATH $procselfexe /**/
3726#endif
3727
3728/* HAS_PTHREAD_ATTR_SETSCOPE:
3729 * This symbol, if defined, indicates that the pthread_attr_setscope
3730 * system call is available to set the contention scope attribute of
3731 * a thread attribute object.
3732 */
3733#$d_pthread_attr_setscope HAS_PTHREAD_ATTR_SETSCOPE /**/
3734
3735/* HAS_READV:
3736 * This symbol, if defined, indicates that the readv routine is
3737 * available to do gather reads. You will also need <sys/uio.h>
3738 * and there I_SYSUIO.
3739 */
3740#$d_readv HAS_READV /**/
3741
3742/* HAS_RECVMSG:
3743 * This symbol, if defined, indicates that the recvmsg routine is
3744 * available to send structured socket messages.
3745 */
3746#$d_recvmsg HAS_RECVMSG /**/
3747
3748/* HAS_SBRK_PROTO:
3749 * This symbol, if defined, indicates that the system provides
3750 * a prototype for the sbrk() function. Otherwise, it is up
3751 * to the program to supply one. Good guesses are
3752 * extern void* sbrk(int);
3753 * extern void* sbrk(size_t);
3754 */
3755#$d_sbrkproto HAS_SBRK_PROTO /**/
3756
3757/* HAS_SCALBNL:
3758 * This symbol, if defined, indicates that the scalbnl routine is
3759 * available. If ilogbl is also present we can emulate frexpl.
3760 */
3761#$d_scalbnl HAS_SCALBNL /**/
3762
3763/* HAS_SENDMSG:
3764 * This symbol, if defined, indicates that the sendmsg routine is
3765 * available to send structured socket messages.
3766 */
3767#$d_sendmsg HAS_SENDMSG /**/
3768
3769/* HAS_SETITIMER:
3770 * This symbol, if defined, indicates that the setitimer routine is
3771 * available to set interval timers.
3772 */
3773#$d_setitimer HAS_SETITIMER /**/
3774
3775/* HAS_SETPROCTITLE:
3776 * This symbol, if defined, indicates that the setproctitle routine is
3777 * available to set process title.
3778 */
3779#$d_setproctitle HAS_SETPROCTITLE /**/
3780
3781/* USE_SFIO:
3782 * This symbol, if defined, indicates that sfio should
3783 * be used.
3784 */
3785#$d_sfio USE_SFIO /**/
3786
3787/* HAS_SIGNBIT:
3788 * This symbol, if defined, indicates that the signbit routine is
3789 * available to check if the given number has the sign bit set.
3790 * This should include correct testing of -0.0. This will only be set
3791 * if the signbit() routine is safe to use with the NV type used internally
3792 * in perl. Users should call Perl_signbit(), which will be #defined to
3793 * the system's signbit() function or macro if this symbol is defined.
3794 */
3795#$d_signbit HAS_SIGNBIT /**/
3796
3797/* HAS_SIGPROCMASK:
3798 * This symbol, if defined, indicates that the sigprocmask
3799 * system call is available to examine or change the signal mask
3800 * of the calling process.
3801 */
3802#$d_sigprocmask HAS_SIGPROCMASK /**/
3803
3804/* USE_SITECUSTOMIZE:
3805 * This symbol, if defined, indicates that sitecustomize should
3806 * be used.
3807 */
3808#ifndef USE_SITECUSTOMIZE
3809#$usesitecustomize USE_SITECUSTOMIZE /**/
3810#endif
3811
3812/* HAS_SNPRINTF:
3813 * This symbol, if defined, indicates that the snprintf () library
3814 * function is available for use.
3815 */
3816/* HAS_VSNPRINTF:
3817 * This symbol, if defined, indicates that the vsnprintf () library
3818 * function is available for use.
3819 */
3820#$d_snprintf HAS_SNPRINTF /**/
3821#$d_vsnprintf HAS_VSNPRINTF /**/
3822
3823/* HAS_SOCKATMARK:
3824 * This symbol, if defined, indicates that the sockatmark routine is
3825 * available to test whether a socket is at the out-of-band mark.
3826 */
3827#$d_sockatmark HAS_SOCKATMARK /**/
3828
3829/* HAS_SOCKATMARK_PROTO:
3830 * This symbol, if defined, indicates that the system provides
3831 * a prototype for the sockatmark() function. Otherwise, it is up
3832 * to the program to supply one. A good guess is
3833 * extern int sockatmark(int);
3834 */
3835#$d_sockatmarkproto HAS_SOCKATMARK_PROTO /**/
3836
3837/* HAS_SOCKS5_INIT:
3838 * This symbol, if defined, indicates that the socks5_init routine is
3839 * available to initialize SOCKS 5.
3840 */
3841#$d_socks5_init HAS_SOCKS5_INIT /**/
3842
3843/* SPRINTF_RETURNS_STRLEN:
3844 * This variable defines whether sprintf returns the length of the string
3845 * (as per the ANSI spec). Some C libraries retain compatibility with
3846 * pre-ANSI C and return a pointer to the passed in buffer; for these
3847 * this variable will be undef.
3848 */
3849#$d_sprintf_returns_strlen SPRINTF_RETURNS_STRLEN /**/
3850
3851/* HAS_SQRTL:
3852 * This symbol, if defined, indicates that the sqrtl routine is
3853 * available to do long double square roots.
3854 */
3855#$d_sqrtl HAS_SQRTL /**/
3856
3857/* HAS_SETRESGID_PROTO:
3858 * This symbol, if defined, indicates that the system provides
3859 * a prototype for the setresgid() function. Otherwise, it is up
3860 * to the program to supply one. Good guesses are
3861 * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid);
3862 */
3863#$d_sresgproto HAS_SETRESGID_PROTO /**/
3864
3865/* HAS_SETRESUID_PROTO:
3866 * This symbol, if defined, indicates that the system provides
3867 * a prototype for the setresuid() function. Otherwise, it is up
3868 * to the program to supply one. Good guesses are
3869 * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid);
3870 */
3871#$d_sresuproto HAS_SETRESUID_PROTO /**/
3872
3873/* HAS_STRUCT_STATFS_F_FLAGS:
3874 * This symbol, if defined, indicates that the struct statfs
3875 * does have the f_flags member containing the mount flags of
3876 * the filesystem containing the file.
3877 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
3878 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
3879 * have statfs() and struct statfs, they have ustat() and getmnt()
3880 * with struct ustat and struct fs_data.
3881 */
3882#$d_statfs_f_flags HAS_STRUCT_STATFS_F_FLAGS /**/
3883
3884/* HAS_STRUCT_STATFS:
3885 * This symbol, if defined, indicates that the struct statfs
3886 * to do statfs() is supported.
3887 */
3888#$d_statfs_s HAS_STRUCT_STATFS /**/
3889
3890/* HAS_FSTATVFS:
3891 * This symbol, if defined, indicates that the fstatvfs routine is
3892 * available to stat filesystems by file descriptors.
3893 */
3894#$d_fstatvfs HAS_FSTATVFS /**/
3895
3896/* HAS_STRFTIME:
3897 * This symbol, if defined, indicates that the strftime routine is
3898 * available to do time formatting.
3899 */
3900#$d_strftime HAS_STRFTIME /**/
3901
3902/* HAS_STRLCAT:
3903 * This symbol, if defined, indicates that the strlcat () routine is
3904 * available to do string concatenation.
3905 */
3906#$d_strlcat HAS_STRLCAT /**/
3907
3908/* HAS_STRLCPY:
3909 * This symbol, if defined, indicates that the strlcpy () routine is
3910 * available to do string copying.
3911 */
3912#$d_strlcpy HAS_STRLCPY /**/
3913
3914/* HAS_STRTOLD:
3915 * This symbol, if defined, indicates that the strtold routine is
3916 * available to convert strings to long doubles.
3917 */
3918#$d_strtold HAS_STRTOLD /**/
3919
3920/* HAS_STRTOLL:
3921 * This symbol, if defined, indicates that the strtoll routine is
3922 * available to convert strings to long longs.
3923 */
3924#$d_strtoll HAS_STRTOLL /**/
3925
3926/* HAS_STRTOQ:
3927 * This symbol, if defined, indicates that the strtoq routine is
3928 * available to convert strings to long longs (quads).
3929 */
3930#$d_strtoq HAS_STRTOQ /**/
3931
3932/* HAS_STRTOULL:
3933 * This symbol, if defined, indicates that the strtoull routine is
3934 * available to convert strings to unsigned long longs.
3935 */
3936#$d_strtoull HAS_STRTOULL /**/
3937
3938/* HAS_STRTOUQ:
3939 * This symbol, if defined, indicates that the strtouq routine is
3940 * available to convert strings to unsigned long longs (quads).
3941 */
3942#$d_strtouq HAS_STRTOUQ /**/
3943
3944<