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