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