This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
New valgrind suppressions.
[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
703/* I_NET_ERRNO:
704 * This symbol, if defined, indicates that <net/errno.h> exists and
705 * should be included.
a845a0d4 706 */
88fdc172 707#$i_neterrno I_NET_ERRNO /**/
a845a0d4 708
88fdc172
SB
709/* I_NETINET_IN:
710 * This symbol, if defined, indicates to the C program that it should
711 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
a845a0d4 712 */
88fdc172
SB
713#$i_niin I_NETINET_IN /**/
714
715/* I_SFIO:
716 * This symbol, if defined, indicates to the C program that it should
717 * include <sfio.h>.
a845a0d4 718 */
88fdc172
SB
719#$i_sfio I_SFIO /**/
720
721/* I_STDDEF:
722 * This symbol, if defined, indicates that <stddef.h> exists and should
723 * be included.
a845a0d4 724 */
88fdc172
SB
725#$i_stddef I_STDDEF /**/
726
727/* I_STDLIB:
728 * This symbol, if defined, indicates that <stdlib.h> exists and should
729 * be included.
a845a0d4 730 */
88fdc172
SB
731#$i_stdlib I_STDLIB /**/
732
733/* I_STRING:
734 * This symbol, if defined, indicates to the C program that it should
735 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
a845a0d4 736 */
88fdc172
SB
737#$i_string I_STRING /**/
738
739/* I_SYS_DIR:
740 * This symbol, if defined, indicates to the C program that it should
741 * include <sys/dir.h>.
a845a0d4 742 */
88fdc172
SB
743#$i_sysdir I_SYS_DIR /**/
744
745/* I_SYS_FILE:
746 * This symbol, if defined, indicates to the C program that it should
747 * include <sys/file.h> to get definition of R_OK and friends.
a845a0d4 748 */
88fdc172 749#$i_sysfile I_SYS_FILE /**/
a845a0d4 750
88fdc172
SB
751/* I_SYS_IOCTL:
752 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
753 * be included. Otherwise, include <sgtty.h> or <termio.h>.
a845a0d4 754 */
88fdc172
SB
755/* I_SYS_SOCKIO:
756 * This symbol, if defined, indicates the <sys/sockio.h> should be included
757 * to get socket ioctl options, like SIOCATMARK.
a845a0d4 758 */
88fdc172
SB
759#$i_sysioctl I_SYS_IOCTL /**/
760#$i_syssockio I_SYS_SOCKIO /**/
761
762/* I_SYS_NDIR:
763 * This symbol, if defined, indicates to the C program that it should
764 * include <sys/ndir.h>.
a845a0d4 765 */
88fdc172 766#$i_sysndir I_SYS_NDIR /**/
a845a0d4 767
88fdc172
SB
768/* I_SYS_PARAM:
769 * This symbol, if defined, indicates to the C program that it should
770 * include <sys/param.h>.
a845a0d4 771 */
88fdc172
SB
772#$i_sysparam I_SYS_PARAM /**/
773
774/* I_SYS_RESOURCE:
775 * This symbol, if defined, indicates to the C program that it should
776 * include <sys/resource.h>.
a845a0d4 777 */
88fdc172 778#$i_sysresrc I_SYS_RESOURCE /**/
a845a0d4 779
88fdc172
SB
780/* I_SYS_SELECT:
781 * This symbol, if defined, indicates to the C program that it should
782 * include <sys/select.h> in order to get definition of struct timeval.
a845a0d4 783 */
88fdc172 784#$i_sysselct I_SYS_SELECT /**/
a845a0d4 785
88fdc172 786/* I_SYS_STAT:
a845a0d4 787 * This symbol, if defined, indicates to the C program that it should
88fdc172 788 * include <sys/stat.h>.
a845a0d4 789 */
88fdc172
SB
790#$i_sysstat I_SYS_STAT /**/
791
792/* I_SYS_TIMES:
a845a0d4 793 * This symbol, if defined, indicates to the C program that it should
88fdc172 794 * include <sys/times.h>.
a845a0d4 795 */
88fdc172
SB
796#$i_systimes I_SYS_TIMES /**/
797
798/* I_SYS_TYPES:
a845a0d4 799 * This symbol, if defined, indicates to the C program that it should
88fdc172 800 * include <sys/types.h>.
a845a0d4 801 */
88fdc172
SB
802#$i_systypes I_SYS_TYPES /**/
803
804/* I_SYS_UN:
805 * This symbol, if defined, indicates to the C program that it should
806 * include <sys/un.h> to get UNIX domain socket definitions.
a845a0d4 807 */
88fdc172
SB
808#$i_sysun I_SYS_UN /**/
809
810/* I_SYS_WAIT:
811 * This symbol, if defined, indicates to the C program that it should
812 * include <sys/wait.h>.
a845a0d4 813 */
88fdc172 814#$i_syswait I_SYS_WAIT /**/
a845a0d4 815
88fdc172
SB
816/* I_TERMIO:
817 * This symbol, if defined, indicates that the program should include
818 * <termio.h> rather than <sgtty.h>. There are also differences in
819 * the ioctl() calls that depend on the value of this symbol.
a845a0d4 820 */
88fdc172
SB
821/* I_TERMIOS:
822 * This symbol, if defined, indicates that the program should include
823 * the POSIX termios.h rather than sgtty.h or termio.h.
824 * There are also differences in the ioctl() calls that depend on the
825 * value of this symbol.
a845a0d4 826 */
88fdc172
SB
827/* I_SGTTY:
828 * This symbol, if defined, indicates that the program should include
829 * <sgtty.h> rather than <termio.h>. There are also differences in
830 * the ioctl() calls that depend on the value of this symbol.
a845a0d4 831 */
88fdc172
SB
832#$i_termio I_TERMIO /**/
833#$i_termios I_TERMIOS /**/
834#$i_sgtty I_SGTTY /**/
835
836/* I_UNISTD:
837 * This symbol, if defined, indicates to the C program that it should
838 * include <unistd.h>.
a845a0d4 839 */
88fdc172 840#$i_unistd I_UNISTD /**/
a845a0d4 841
88fdc172
SB
842/* I_UTIME:
843 * This symbol, if defined, indicates to the C program that it should
844 * include <utime.h>.
a845a0d4 845 */
88fdc172 846#$i_utime I_UTIME /**/
a845a0d4 847
88fdc172
SB
848/* I_VALUES:
849 * This symbol, if defined, indicates to the C program that it should
850 * include <values.h> to get definition of symbols like MINFLOAT or
851 * MAXLONG, i.e. machine dependant limitations. Probably, you
852 * should use <limits.h> instead, if it is available.
a845a0d4 853 */
88fdc172
SB
854#$i_values I_VALUES /**/
855
856/* I_VFORK:
857 * This symbol, if defined, indicates to the C program that it should
858 * include vfork.h.
a845a0d4 859 */
88fdc172
SB
860#$i_vfork I_VFORK /**/
861
ed140128
AD
862/* INTSIZE:
863 * This symbol contains the value of sizeof(int) so that the C
864 * preprocessor can make decisions based on it.
a845a0d4 865 */
ed140128
AD
866/* LONGSIZE:
867 * This symbol contains the value of sizeof(long) so that the C
868 * preprocessor can make decisions based on it.
a845a0d4 869 */
ed140128
AD
870/* SHORTSIZE:
871 * This symbol contains the value of sizeof(short) so that the C
872 * preprocessor can make decisions based on it.
a845a0d4 873 */
ed140128
AD
874#define INTSIZE $intsize /**/
875#define LONGSIZE $longsize /**/
876#define SHORTSIZE $shortsize /**/
a845a0d4 877
ed140128
AD
878/* MULTIARCH:
879 * This symbol, if defined, signifies that the build
880 * process will produce some binary files that are going to be
881 * used in a cross-platform environment. This is the case for
882 * example with the NeXT "fat" binaries that contain executables
883 * for several CPUs.
a845a0d4 884 */
ed140128 885#$multiarch MULTIARCH /**/
a845a0d4 886
ed140128
AD
887/* HAS_QUAD:
888 * This symbol, if defined, tells that there's a 64-bit integer type,
889 * Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one
890 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T.
eaf812ae 891 */
ed140128
AD
892#$d_quad HAS_QUAD /**/
893#ifdef HAS_QUAD
894# define Quad_t $quadtype /**/
895# define Uquad_t $uquadtype /**/
896# define QUADKIND $quadkind /**/
897# define QUAD_IS_INT 1
898# define QUAD_IS_LONG 2
899# define QUAD_IS_LONG_LONG 3
900# define QUAD_IS_INT64_T 4
eaf812ae
MB
901#endif
902
08c92000
MB
903/* OSNAME:
904 * This symbol contains the name of the operating system, as determined
905 * by Configure. You shouldn't rely on it too much; the specific
906 * feature tests from Configure are generally more reliable.
907 */
908/* OSVERS:
909 * This symbol contains the version of the operating system, as determined
910 * by Configure. You shouldn't rely on it too much; the specific
911 * feature tests from Configure are generally more reliable.
912 */
913#define OSNAME "$osname" /**/
914#define OSVERS "$osvers" /**/
915
08c92000
MB
916/* ARCHLIB:
917 * This variable, if defined, holds the name of the directory in
918 * which the user wants to put architecture-dependent public
919 * library files for $package. It is most often a local directory
920 * such as /usr/local/lib. Programs using this variable must be
921 * prepared to deal with filename expansion. If ARCHLIB is the
922 * same as PRIVLIB, it is not defined, since presumably the
923 * program already searches PRIVLIB.
924 */
925/* ARCHLIB_EXP:
926 * This symbol contains the ~name expanded version of ARCHLIB, to be used
927 * in programs that are not prepared to deal with ~ expansion at run-time.
928 */
929#$d_archlib ARCHLIB "$archlib" /**/
930#$d_archlib ARCHLIB_EXP "$archlibexp" /**/
931
932/* ARCHNAME:
933 * This symbol holds a string representing the architecture name.
934 * It may be used to construct an architecture-dependant pathname
935 * where library files may be held under a private library, for
936 * instance.
937 */
938#define ARCHNAME "$archname" /**/
939
08c92000
MB
940/* BIN:
941 * This symbol holds the path of the bin directory where the package will
942 * be installed. Program must be prepared to deal with ~name substitution.
943 */
944/* BIN_EXP:
945 * This symbol is the filename expanded version of the BIN symbol, for
946 * programs that do not want to deal with that at run-time.
947 */
f3f1a2d8
MB
948/* PERL_RELOCATABLE_INC:
949 * This symbol, if defined, indicates that we'd like to relocate entries
950 * in @INC at run time based on the location of the perl binary.
951 */
08c92000
MB
952#define BIN "$bin" /**/
953#define BIN_EXP "$binexp" /**/
f3f1a2d8 954#define PERL_RELOCATABLE_INC "$userelocatableinc" /**/
08c92000 955
08c92000
MB
956/* CAT2:
957 * This macro concatenates 2 tokens together.
958 */
959/* STRINGIFY:
960 * This macro surrounds its token with double quotes.
961 */
962#if $cpp_stuff == 1
963#define CAT2(a,b) a/**/b
964#define STRINGIFY(a) "a"
965 /* If you can get stringification with catify, tell me how! */
966#endif
967#if $cpp_stuff == 42
968#define PeRl_CaTiFy(a, b) a ## b
969#define PeRl_StGiFy(a) #a
970/* the additional level of indirection enables these macros to be
971 * used as arguments to other macros. See K&R 2nd ed., page 231. */
972#define CAT2(a,b) PeRl_CaTiFy(a,b)
973#define StGiFy(a) PeRl_StGiFy(a)
974#define STRINGIFY(a) PeRl_StGiFy(a)
975#endif
976#if $cpp_stuff != 1 && $cpp_stuff != 42
977# include "Bletch: How does this C preprocessor concatenate tokens?"
978#endif
979
980/* CPPSTDIN:
981 * This symbol contains the first part of the string which will invoke
982 * the C preprocessor on the standard input and produce to standard
983 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
984 * call a wrapper. See CPPRUN.
985 */
986/* CPPMINUS:
987 * This symbol contains the second part of the string which will invoke
988 * the C preprocessor on the standard input and produce to standard
989 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
990 * to specify standard input, otherwise the value is "".
991 */
992/* CPPRUN:
993 * This symbol contains the string which will invoke a C preprocessor on
994 * the standard input and produce to standard output. It needs to end
995 * with CPPLAST, after all other preprocessor flags have been specified.
996 * The main difference with CPPSTDIN is that this program will never be a
997 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
998 * available directly to the user. Note that it may well be different from
999 * the preprocessor used to compile the C program.
1000 */
1001/* CPPLAST:
1002 * This symbol is intended to be used along with CPPRUN in the same manner
1003 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1004 */
1005#define CPPSTDIN "$cppstdin"
1006#define CPPMINUS "$cppminus"
1007#define CPPRUN "$cpprun"
1008#define CPPLAST "$cpplast"
1009
08c92000
MB
1010/* HAS_ACCESS:
1011 * This manifest constant lets the C program know that the access()
1012 * system call is available to check for accessibility using real UID/GID.
1013 * (always present on UNIX.)
1014 */
1015#$d_access HAS_ACCESS /**/
1016
ed140128
AD
1017/* HAS_ACCESSX:
1018 * This symbol, if defined, indicates that the accessx routine is
1019 * available to do extended access checks.
eaf812ae 1020 */
ed140128 1021#$d_accessx HAS_ACCESSX /**/
eaf812ae 1022
08c92000
MB
1023/* HAS_ASCTIME_R:
1024 * This symbol, if defined, indicates that the asctime_r routine
1025 * is available to asctime re-entrantly.
1026 */
1027/* ASCTIME_R_PROTO:
1028 * This symbol encodes the prototype of asctime_r.
1029 * It is zero if d_asctime_r is undef, and one of the
1030 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_asctime_r
1031 * is defined.
1032 */
1033#$d_asctime_r HAS_ASCTIME_R /**/
1034#define ASCTIME_R_PROTO $asctime_r_proto /**/
1035
eaf812ae
MB
1036/* HASATTRIBUTE_FORMAT:
1037 * Can we handle GCC attribute for checking printf-style formats
1038 */
dcb594bc
MB
1039/* PRINTF_FORMAT_NULL_OK:
1040 * Allows __printf__ format to be null when checking printf-style
1041 */
eaf812ae
MB
1042/* HASATTRIBUTE_MALLOC:
1043 * Can we handle GCC attribute for malloc-style functions.
1044 */
1045/* HASATTRIBUTE_NONNULL:
1046 * Can we handle GCC attribute for nonnull function parms.
1047 */
1048/* HASATTRIBUTE_NORETURN:
1049 * Can we handle GCC attribute for functions that do not return
1050 */
1051/* HASATTRIBUTE_PURE:
1052 * Can we handle GCC attribute for pure functions
1053 */
1054/* HASATTRIBUTE_UNUSED:
1055 * Can we handle GCC attribute for unused variables and arguments
1056 */
1057/* HASATTRIBUTE_WARN_UNUSED_RESULT:
1058 * Can we handle GCC attribute for warning on unused results
1059 */
1060#$d_attribute_format HASATTRIBUTE_FORMAT /**/
dcb594bc 1061#$d_printf_format_null PRINTF_FORMAT_NULL_OK /**/
eaf812ae
MB
1062#$d_attribute_noreturn HASATTRIBUTE_NORETURN /**/
1063#$d_attribute_malloc HASATTRIBUTE_MALLOC /**/
1064#$d_attribute_nonnull HASATTRIBUTE_NONNULL /**/
1065#$d_attribute_pure HASATTRIBUTE_PURE /**/
1066#$d_attribute_unused HASATTRIBUTE_UNUSED /**/
1067#$d_attribute_warn_unused_result HASATTRIBUTE_WARN_UNUSED_RESULT /**/
1068
f244a502
JH
1069/* HASCONST:
1070 * This symbol, if defined, indicates that this C compiler knows about
1071 * the const type. There is no need to actually test for that symbol
1072 * within your programs. The mere use of the "const" keyword will
1073 * trigger the necessary tests.
1074 */
1075#$d_const HASCONST /**/
1076#ifndef HASCONST
1077#define const
1078#endif
1079
eaf812ae
MB
1080/* HAS_CRYPT:
1081 * This symbol, if defined, indicates that the crypt routine is available
1082 * to encrypt passwords and the like.
1083 */
1084#$d_crypt HAS_CRYPT /**/
1085
08c92000
MB
1086/* HAS_CRYPT_R:
1087 * This symbol, if defined, indicates that the crypt_r routine
1088 * is available to crypt re-entrantly.
a845a0d4 1089 */
08c92000
MB
1090/* CRYPT_R_PROTO:
1091 * This symbol encodes the prototype of crypt_r.
1092 * It is zero if d_crypt_r is undef, and one of the
1093 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_crypt_r
1094 * is defined.
a845a0d4 1095 */
08c92000
MB
1096#$d_crypt_r HAS_CRYPT_R /**/
1097#define CRYPT_R_PROTO $crypt_r_proto /**/
a845a0d4 1098
08c92000
MB
1099/* HAS_CSH:
1100 * This symbol, if defined, indicates that the C-shell exists.
a845a0d4 1101 */
08c92000
MB
1102/* CSH:
1103 * This symbol, if defined, contains the full pathname of csh.
88fdc172 1104 */
08c92000
MB
1105#$d_csh HAS_CSH /**/
1106#ifdef HAS_CSH
1107#define CSH "$full_csh" /**/
1108#endif
a845a0d4 1109
eaf812ae
MB
1110/* HAS_CTERMID_R:
1111 * This symbol, if defined, indicates that the ctermid_r routine
1112 * is available to ctermid re-entrantly.
1113 */
1114/* CTERMID_R_PROTO:
1115 * This symbol encodes the prototype of ctermid_r.
1116 * It is zero if d_ctermid_r is undef, and one of the
1117 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctermid_r
1118 * is defined.
1119 */
1120#$d_ctermid_r HAS_CTERMID_R /**/
1121#define CTERMID_R_PROTO $ctermid_r_proto /**/
1122
08c92000
MB
1123/* HAS_CTIME_R:
1124 * This symbol, if defined, indicates that the ctime_r routine
1125 * is available to ctime re-entrantly.
a845a0d4 1126 */
08c92000
MB
1127/* CTIME_R_PROTO:
1128 * This symbol encodes the prototype of ctime_r.
1129 * It is zero if d_ctime_r is undef, and one of the
1130 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctime_r
1131 * is defined.
a845a0d4 1132 */
08c92000
MB
1133#$d_ctime_r HAS_CTIME_R /**/
1134#define CTIME_R_PROTO $ctime_r_proto /**/
a845a0d4 1135
ed140128
AD
1136/* SETUID_SCRIPTS_ARE_SECURE_NOW:
1137 * This symbol, if defined, indicates that the bug that prevents
1138 * setuid scripts from being secure is not present in this kernel.
eaf812ae
MB
1139 */
1140/* DOSUID:
1141 * This symbol, if defined, indicates that the C program should
1142 * check the script that it is executing for setuid/setgid bits, and
1143 * attempt to emulate setuid/setgid on systems that have disabled
1144 * setuid #! scripts because the kernel can't do it securely.
1145 * It is up to the package designer to make sure that this emulation
1146 * is done securely. Among other things, it should do an fstat on
1147 * the script it just opened to make sure it really is a setuid/setgid
1148 * script, it should make sure the arguments passed correspond exactly
1149 * to the argument on the #! line, and it should not trust any
1150 * subprocesses to which it must pass the filename rather than the
1151 * file descriptor of the script to be executed.
1152 */
1153#$d_suidsafe SETUID_SCRIPTS_ARE_SECURE_NOW /**/
1154#$d_dosuid DOSUID /**/
1155
08c92000
MB
1156/* HAS_DRAND48_R:
1157 * This symbol, if defined, indicates that the drand48_r routine
1158 * is available to drand48 re-entrantly.
a845a0d4 1159 */
08c92000
MB
1160/* DRAND48_R_PROTO:
1161 * This symbol encodes the prototype of drand48_r.
1162 * It is zero if d_drand48_r is undef, and one of the
1163 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_drand48_r
1164 * is defined.
1165 */
1166#$d_drand48_r HAS_DRAND48_R /**/
1167#define DRAND48_R_PROTO $drand48_r_proto /**/
a845a0d4 1168
08c92000
MB
1169/* HAS_DRAND48_PROTO:
1170 * This symbol, if defined, indicates that the system provides
1171 * a prototype for the drand48() function. Otherwise, it is up
1172 * to the program to supply one. A good guess is
1173 * extern double drand48(void);
88fdc172 1174 */
08c92000 1175#$d_drand48proto HAS_DRAND48_PROTO /**/
88fdc172 1176
ed140128
AD
1177/* HAS_EACCESS:
1178 * This symbol, if defined, indicates that the eaccess routine is
1179 * available to do extended access checks.
1180 */
1181#$d_eaccess HAS_EACCESS /**/
1182
08c92000
MB
1183/* HAS_ENDGRENT:
1184 * This symbol, if defined, indicates that the getgrent routine is
1185 * available for finalizing sequential access of the group database.
88fdc172 1186 */
08c92000
MB
1187#$d_endgrent HAS_ENDGRENT /**/
1188
1189/* HAS_ENDGRENT_R:
1190 * This symbol, if defined, indicates that the endgrent_r routine
1191 * is available to endgrent re-entrantly.
88fdc172 1192 */
08c92000
MB
1193/* ENDGRENT_R_PROTO:
1194 * This symbol encodes the prototype of endgrent_r.
1195 * It is zero if d_endgrent_r is undef, and one of the
1196 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endgrent_r
1197 * is defined.
88fdc172 1198 */
08c92000
MB
1199#$d_endgrent_r HAS_ENDGRENT_R /**/
1200#define ENDGRENT_R_PROTO $endgrent_r_proto /**/
1201
1202/* HAS_ENDHOSTENT:
1203 * This symbol, if defined, indicates that the endhostent() routine is
1204 * available to close whatever was being used for host queries.
88fdc172 1205 */
08c92000 1206#$d_endhent HAS_ENDHOSTENT /**/
88fdc172 1207
eaf812ae
MB
1208/* HAS_ENDHOSTENT_R:
1209 * This symbol, if defined, indicates that the endhostent_r routine
1210 * is available to endhostent re-entrantly.
1211 */
1212/* ENDHOSTENT_R_PROTO:
1213 * This symbol encodes the prototype of endhostent_r.
1214 * It is zero if d_endhostent_r is undef, and one of the
1215 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endhostent_r
1216 * is defined.
1217 */
1218#$d_endhostent_r HAS_ENDHOSTENT_R /**/
1219#define ENDHOSTENT_R_PROTO $endhostent_r_proto /**/
1220
08c92000
MB
1221/* HAS_ENDNETENT:
1222 * This symbol, if defined, indicates that the endnetent() routine is
1223 * available to close whatever was being used for network queries.
88fdc172 1224 */
08c92000
MB
1225#$d_endnent HAS_ENDNETENT /**/
1226
eaf812ae
MB
1227/* HAS_ENDNETENT_R:
1228 * This symbol, if defined, indicates that the endnetent_r routine
1229 * is available to endnetent re-entrantly.
1230 */
1231/* ENDNETENT_R_PROTO:
1232 * This symbol encodes the prototype of endnetent_r.
1233 * It is zero if d_endnetent_r is undef, and one of the
1234 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endnetent_r
1235 * is defined.
1236 */
1237#$d_endnetent_r HAS_ENDNETENT_R /**/
1238#define ENDNETENT_R_PROTO $endnetent_r_proto /**/
1239
08c92000
MB
1240/* HAS_ENDPROTOENT:
1241 * This symbol, if defined, indicates that the endprotoent() routine is
1242 * available to close whatever was being used for protocol queries.
88fdc172 1243 */
08c92000
MB
1244#$d_endpent HAS_ENDPROTOENT /**/
1245
eaf812ae
MB
1246/* HAS_ENDPROTOENT_R:
1247 * This symbol, if defined, indicates that the endprotoent_r routine
1248 * is available to endprotoent re-entrantly.
1249 */
1250/* ENDPROTOENT_R_PROTO:
1251 * This symbol encodes the prototype of endprotoent_r.
1252 * It is zero if d_endprotoent_r is undef, and one of the
1253 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endprotoent_r
1254 * is defined.
1255 */
1256#$d_endprotoent_r HAS_ENDPROTOENT_R /**/
1257#define ENDPROTOENT_R_PROTO $endprotoent_r_proto /**/
1258
08c92000
MB
1259/* HAS_ENDPWENT:
1260 * This symbol, if defined, indicates that the getgrent routine is
1261 * available for finalizing sequential access of the passwd database.
88fdc172 1262 */
08c92000
MB
1263#$d_endpwent HAS_ENDPWENT /**/
1264
1265/* HAS_ENDPWENT_R:
1266 * This symbol, if defined, indicates that the endpwent_r routine
1267 * is available to endpwent re-entrantly.
88fdc172 1268 */
08c92000
MB
1269/* ENDPWENT_R_PROTO:
1270 * This symbol encodes the prototype of endpwent_r.
1271 * It is zero if d_endpwent_r is undef, and one of the
1272 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endpwent_r
1273 * is defined.
88fdc172 1274 */
08c92000
MB
1275#$d_endpwent_r HAS_ENDPWENT_R /**/
1276#define ENDPWENT_R_PROTO $endpwent_r_proto /**/
1277
1278/* HAS_ENDSERVENT:
1279 * This symbol, if defined, indicates that the endservent() routine is
1280 * available to close whatever was being used for service queries.
a845a0d4 1281 */
08c92000
MB
1282#$d_endsent HAS_ENDSERVENT /**/
1283
eaf812ae
MB
1284/* HAS_ENDSERVENT_R:
1285 * This symbol, if defined, indicates that the endservent_r routine
1286 * is available to endservent re-entrantly.
1287 */
1288/* ENDSERVENT_R_PROTO:
1289 * This symbol encodes the prototype of endservent_r.
1290 * It is zero if d_endservent_r is undef, and one of the
1291 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endservent_r
1292 * is defined.
1293 */
1294#$d_endservent_r HAS_ENDSERVENT_R /**/
1295#define ENDSERVENT_R_PROTO $endservent_r_proto /**/
1296
08c92000
MB
1297/* FLEXFILENAMES:
1298 * This symbol, if defined, indicates that the system supports filenames
1299 * longer than 14 characters.
a845a0d4 1300 */
08c92000 1301#$d_flexfnam FLEXFILENAMES /**/
a845a0d4 1302
08c92000
MB
1303/* HAS_GETGRENT:
1304 * This symbol, if defined, indicates that the getgrent routine is
1305 * available for sequential access of the group database.
a845a0d4 1306 */
08c92000 1307#$d_getgrent HAS_GETGRENT /**/
a845a0d4 1308
08c92000
MB
1309/* HAS_GETGRENT_R:
1310 * This symbol, if defined, indicates that the getgrent_r routine
1311 * is available to getgrent re-entrantly.
a845a0d4 1312 */
08c92000
MB
1313/* GETGRENT_R_PROTO:
1314 * This symbol encodes the prototype of getgrent_r.
1315 * It is zero if d_getgrent_r is undef, and one of the
1316 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrent_r
1317 * is defined.
1318 */
1319#$d_getgrent_r HAS_GETGRENT_R /**/
1320#define GETGRENT_R_PROTO $getgrent_r_proto /**/
a845a0d4 1321
08c92000
MB
1322/* HAS_GETGRGID_R:
1323 * This symbol, if defined, indicates that the getgrgid_r routine
1324 * is available to getgrgid re-entrantly.
a845a0d4 1325 */
08c92000
MB
1326/* GETGRGID_R_PROTO:
1327 * This symbol encodes the prototype of getgrgid_r.
1328 * It is zero if d_getgrgid_r is undef, and one of the
1329 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrgid_r
1330 * is defined.
a845a0d4 1331 */
08c92000
MB
1332#$d_getgrgid_r HAS_GETGRGID_R /**/
1333#define GETGRGID_R_PROTO $getgrgid_r_proto /**/
a845a0d4 1334
08c92000
MB
1335/* HAS_GETGRNAM_R:
1336 * This symbol, if defined, indicates that the getgrnam_r routine
1337 * is available to getgrnam re-entrantly.
a845a0d4 1338 */
08c92000
MB
1339/* GETGRNAM_R_PROTO:
1340 * This symbol encodes the prototype of getgrnam_r.
1341 * It is zero if d_getgrnam_r is undef, and one of the
1342 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrnam_r
1343 * is defined.
a845a0d4 1344 */
08c92000
MB
1345#$d_getgrnam_r HAS_GETGRNAM_R /**/
1346#define GETGRNAM_R_PROTO $getgrnam_r_proto /**/
a845a0d4 1347
08c92000
MB
1348/* HAS_GETHOSTBYADDR:
1349 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1350 * available to look up hosts by their IP addresses.
a845a0d4 1351 */
08c92000 1352#$d_gethbyaddr HAS_GETHOSTBYADDR /**/
a845a0d4 1353
08c92000
MB
1354/* HAS_GETHOSTBYNAME:
1355 * This symbol, if defined, indicates that the gethostbyname() routine is
1356 * available to look up host names in some data base or other.
a845a0d4 1357 */
08c92000 1358#$d_gethbyname HAS_GETHOSTBYNAME /**/
a845a0d4 1359
08c92000
MB
1360/* HAS_GETHOSTENT:
1361 * This symbol, if defined, indicates that the gethostent() routine is
1362 * available to look up host names in some data base or another.
a845a0d4 1363 */
08c92000 1364#$d_gethent HAS_GETHOSTENT /**/
a845a0d4 1365
08c92000
MB
1366/* HAS_GETHOSTNAME:
1367 * This symbol, if defined, indicates that the C program may use the
1368 * gethostname() routine to derive the host name. See also HAS_UNAME
1369 * and PHOSTNAME.
9cdaf1c3 1370 */
08c92000
MB
1371/* HAS_UNAME:
1372 * This symbol, if defined, indicates that the C program may use the
1373 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1374 * and PHOSTNAME.
9cdaf1c3 1375 */
08c92000
MB
1376/* PHOSTNAME:
1377 * This symbol, if defined, indicates the command to feed to the
1378 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1379 * and HAS_UNAME. Note that the command uses a fully qualified path,
1380 * so that it is safe even if used by a process with super-user
1381 * privileges.
a845a0d4 1382 */
08c92000
MB
1383/* HAS_PHOSTNAME:
1384 * This symbol, if defined, indicates that the C program may use the
1385 * contents of PHOSTNAME as a command to feed to the popen() routine
1386 * to derive the host name.
a845a0d4 1387 */
08c92000
MB
1388#$d_gethname HAS_GETHOSTNAME /**/
1389#$d_uname HAS_UNAME /**/
1390#$d_phostname HAS_PHOSTNAME /**/
1391#ifdef HAS_PHOSTNAME
1392#define PHOSTNAME "$aphostname" /* How to get the host name */
1393#endif
a845a0d4 1394
eaf812ae
MB
1395/* HAS_GETHOSTBYADDR_R:
1396 * This symbol, if defined, indicates that the gethostbyaddr_r routine
1397 * is available to gethostbyaddr re-entrantly.
a845a0d4 1398 */
eaf812ae
MB
1399/* GETHOSTBYADDR_R_PROTO:
1400 * This symbol encodes the prototype of gethostbyaddr_r.
1401 * It is zero if d_gethostbyaddr_r is undef, and one of the
1402 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyaddr_r
1403 * is defined.
a845a0d4 1404 */
eaf812ae
MB
1405#$d_gethostbyaddr_r HAS_GETHOSTBYADDR_R /**/
1406#define GETHOSTBYADDR_R_PROTO $gethostbyaddr_r_proto /**/
08c92000 1407
eaf812ae
MB
1408/* HAS_GETHOSTBYNAME_R:
1409 * This symbol, if defined, indicates that the gethostbyname_r routine
1410 * is available to gethostbyname re-entrantly.
a845a0d4 1411 */
eaf812ae
MB
1412/* GETHOSTBYNAME_R_PROTO:
1413 * This symbol encodes the prototype of gethostbyname_r.
1414 * It is zero if d_gethostbyname_r is undef, and one of the
1415 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyname_r
08c92000 1416 * is defined.
a845a0d4 1417 */
eaf812ae
MB
1418#$d_gethostbyname_r HAS_GETHOSTBYNAME_R /**/
1419#define GETHOSTBYNAME_R_PROTO $gethostbyname_r_proto /**/
1420
1421/* HAS_GETHOSTENT_R:
1422 * This symbol, if defined, indicates that the gethostent_r routine
1423 * is available to gethostent re-entrantly.
1424 */
1425/* GETHOSTENT_R_PROTO:
1426 * This symbol encodes the prototype of gethostent_r.
1427 * It is zero if d_gethostent_r is undef, and one of the
1428 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostent_r
1429 * is defined.
1430 */
1431#$d_gethostent_r HAS_GETHOSTENT_R /**/
1432#define GETHOSTENT_R_PROTO $gethostent_r_proto /**/
1433
1434/* HAS_GETHOST_PROTOS:
1435 * This symbol, if defined, indicates that <netdb.h> includes
1436 * prototypes for gethostent(), gethostbyname(), and
1437 * gethostbyaddr(). Otherwise, it is up to the program to guess
1438 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1439 */
1440#$d_gethostprotos HAS_GETHOST_PROTOS /**/
1441
eaf812ae
MB
1442/* HAS_GETLOGIN_R:
1443 * This symbol, if defined, indicates that the getlogin_r routine
1444 * is available to getlogin re-entrantly.
1445 */
1446/* GETLOGIN_R_PROTO:
1447 * This symbol encodes the prototype of getlogin_r.
1448 * It is zero if d_getlogin_r is undef, and one of the
1449 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getlogin_r
1450 * is defined.
1451 */
1452#$d_getlogin_r HAS_GETLOGIN_R /**/
1453#define GETLOGIN_R_PROTO $getlogin_r_proto /**/
1454
08c92000
MB
1455/* HAS_GETNETBYADDR:
1456 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1457 * available to look up networks by their IP addresses.
a845a0d4 1458 */
08c92000
MB
1459#$d_getnbyaddr HAS_GETNETBYADDR /**/
1460
1461/* HAS_GETNETBYNAME:
1462 * This symbol, if defined, indicates that the getnetbyname() routine is
1463 * available to look up networks by their names.
a845a0d4 1464 */
08c92000 1465#$d_getnbyname HAS_GETNETBYNAME /**/
a845a0d4 1466
08c92000
MB
1467/* HAS_GETNETENT:
1468 * This symbol, if defined, indicates that the getnetent() routine is
1469 * available to look up network names in some data base or another.
a845a0d4 1470 */
08c92000
MB
1471#$d_getnent HAS_GETNETENT /**/
1472
eaf812ae
MB
1473/* HAS_GETNETBYADDR_R:
1474 * This symbol, if defined, indicates that the getnetbyaddr_r routine
1475 * is available to getnetbyaddr re-entrantly.
1476 */
1477/* GETNETBYADDR_R_PROTO:
1478 * This symbol encodes the prototype of getnetbyaddr_r.
1479 * It is zero if d_getnetbyaddr_r is undef, and one of the
1480 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyaddr_r
1481 * is defined.
1482 */
1483#$d_getnetbyaddr_r HAS_GETNETBYADDR_R /**/
1484#define GETNETBYADDR_R_PROTO $getnetbyaddr_r_proto /**/
1485
1486/* HAS_GETNETBYNAME_R:
1487 * This symbol, if defined, indicates that the getnetbyname_r routine
1488 * is available to getnetbyname re-entrantly.
1489 */
1490/* GETNETBYNAME_R_PROTO:
1491 * This symbol encodes the prototype of getnetbyname_r.
1492 * It is zero if d_getnetbyname_r is undef, and one of the
1493 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyname_r
1494 * is defined.
1495 */
1496#$d_getnetbyname_r HAS_GETNETBYNAME_R /**/
1497#define GETNETBYNAME_R_PROTO $getnetbyname_r_proto /**/
1498
1499/* HAS_GETNETENT_R:
1500 * This symbol, if defined, indicates that the getnetent_r routine
1501 * is available to getnetent re-entrantly.
1502 */
1503/* GETNETENT_R_PROTO:
1504 * This symbol encodes the prototype of getnetent_r.
1505 * It is zero if d_getnetent_r is undef, and one of the
1506 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetent_r
1507 * is defined.
1508 */
1509#$d_getnetent_r HAS_GETNETENT_R /**/
1510#define GETNETENT_R_PROTO $getnetent_r_proto /**/
1511
08c92000
MB
1512/* HAS_GETNET_PROTOS:
1513 * This symbol, if defined, indicates that <netdb.h> includes
1514 * prototypes for getnetent(), getnetbyname(), and
1515 * getnetbyaddr(). Otherwise, it is up to the program to guess
1516 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
a845a0d4 1517 */
08c92000 1518#$d_getnetprotos HAS_GETNET_PROTOS /**/
a845a0d4 1519
08c92000
MB
1520/* HAS_GETPROTOENT:
1521 * This symbol, if defined, indicates that the getprotoent() routine is
1522 * available to look up protocols in some data base or another.
a845a0d4 1523 */
08c92000 1524#$d_getpent HAS_GETPROTOENT /**/
a845a0d4 1525
08c92000
MB
1526/* HAS_GETPGRP:
1527 * This symbol, if defined, indicates that the getpgrp routine is
1528 * available to get the current process group.
a845a0d4 1529 */
08c92000
MB
1530/* USE_BSD_GETPGRP:
1531 * This symbol, if defined, indicates that getpgrp needs one
1532 * arguments whereas USG one needs none.
a845a0d4 1533 */
08c92000
MB
1534#$d_getpgrp HAS_GETPGRP /**/
1535#$d_bsdgetpgrp USE_BSD_GETPGRP /**/
1536
1537/* HAS_GETPROTOBYNAME:
1538 * This symbol, if defined, indicates that the getprotobyname()
1539 * routine is available to look up protocols by their name.
a845a0d4 1540 */
08c92000
MB
1541/* HAS_GETPROTOBYNUMBER:
1542 * This symbol, if defined, indicates that the getprotobynumber()
1543 * routine is available to look up protocols by their number.
a845a0d4 1544 */
08c92000
MB
1545#$d_getpbyname HAS_GETPROTOBYNAME /**/
1546#$d_getpbynumber HAS_GETPROTOBYNUMBER /**/
a845a0d4 1547
eaf812ae
MB
1548/* HAS_GETPROTOBYNAME_R:
1549 * This symbol, if defined, indicates that the getprotobyname_r routine
1550 * is available to getprotobyname re-entrantly.
1551 */
1552/* GETPROTOBYNAME_R_PROTO:
1553 * This symbol encodes the prototype of getprotobyname_r.
1554 * It is zero if d_getprotobyname_r is undef, and one of the
1555 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobyname_r
1556 * is defined.
1557 */
1558#$d_getprotobyname_r HAS_GETPROTOBYNAME_R /**/
1559#define GETPROTOBYNAME_R_PROTO $getprotobyname_r_proto /**/
1560
1561/* HAS_GETPROTOBYNUMBER_R:
1562 * This symbol, if defined, indicates that the getprotobynumber_r routine
1563 * is available to getprotobynumber re-entrantly.
1564 */
1565/* GETPROTOBYNUMBER_R_PROTO:
1566 * This symbol encodes the prototype of getprotobynumber_r.
1567 * It is zero if d_getprotobynumber_r is undef, and one of the
1568 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobynumber_r
1569 * is defined.
1570 */
1571#$d_getprotobynumber_r HAS_GETPROTOBYNUMBER_R /**/
1572#define GETPROTOBYNUMBER_R_PROTO $getprotobynumber_r_proto /**/
1573
1574/* HAS_GETPROTOENT_R:
1575 * This symbol, if defined, indicates that the getprotoent_r routine
1576 * is available to getprotoent re-entrantly.
1577 */
1578/* GETPROTOENT_R_PROTO:
1579 * This symbol encodes the prototype of getprotoent_r.
1580 * It is zero if d_getprotoent_r is undef, and one of the
1581 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotoent_r
1582 * is defined.
1583 */
1584#$d_getprotoent_r HAS_GETPROTOENT_R /**/
1585#define GETPROTOENT_R_PROTO $getprotoent_r_proto /**/
1586
08c92000
MB
1587/* HAS_GETPROTO_PROTOS:
1588 * This symbol, if defined, indicates that <netdb.h> includes
1589 * prototypes for getprotoent(), getprotobyname(), and
1590 * getprotobyaddr(). Otherwise, it is up to the program to guess
1591 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
a845a0d4 1592 */
08c92000 1593#$d_getprotoprotos HAS_GETPROTO_PROTOS /**/
a845a0d4 1594
08c92000
MB
1595/* HAS_GETPWENT:
1596 * This symbol, if defined, indicates that the getpwent routine is
1597 * available for sequential access of the passwd database.
1598 * If this is not available, the older getpw() function may be available.
a845a0d4 1599 */
08c92000 1600#$d_getpwent HAS_GETPWENT /**/
a845a0d4 1601
08c92000
MB
1602/* HAS_GETPWENT_R:
1603 * This symbol, if defined, indicates that the getpwent_r routine
1604 * is available to getpwent re-entrantly.
a845a0d4 1605 */
08c92000
MB
1606/* GETPWENT_R_PROTO:
1607 * This symbol encodes the prototype of getpwent_r.
1608 * It is zero if d_getpwent_r is undef, and one of the
1609 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwent_r
1610 * is defined.
a845a0d4 1611 */
08c92000
MB
1612#$d_getpwent_r HAS_GETPWENT_R /**/
1613#define GETPWENT_R_PROTO $getpwent_r_proto /**/
a845a0d4 1614
08c92000
MB
1615/* HAS_GETPWNAM_R:
1616 * This symbol, if defined, indicates that the getpwnam_r routine
1617 * is available to getpwnam re-entrantly.
a845a0d4 1618 */
08c92000
MB
1619/* GETPWNAM_R_PROTO:
1620 * This symbol encodes the prototype of getpwnam_r.
1621 * It is zero if d_getpwnam_r is undef, and one of the
1622 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwnam_r
1623 * is defined.
a845a0d4 1624 */
08c92000
MB
1625#$d_getpwnam_r HAS_GETPWNAM_R /**/
1626#define GETPWNAM_R_PROTO $getpwnam_r_proto /**/
a845a0d4 1627
08c92000
MB
1628/* HAS_GETPWUID_R:
1629 * This symbol, if defined, indicates that the getpwuid_r routine
1630 * is available to getpwuid re-entrantly.
10bc17b6 1631 */
08c92000
MB
1632/* GETPWUID_R_PROTO:
1633 * This symbol encodes the prototype of getpwuid_r.
1634 * It is zero if d_getpwuid_r is undef, and one of the
1635 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r
1636 * is defined.
a845a0d4 1637 */
08c92000
MB
1638#$d_getpwuid_r HAS_GETPWUID_R /**/
1639#define GETPWUID_R_PROTO $getpwuid_r_proto /**/
a845a0d4 1640
08c92000
MB
1641/* HAS_GETSERVENT:
1642 * This symbol, if defined, indicates that the getservent() routine is
1643 * available to look up network services in some data base or another.
a845a0d4 1644 */
08c92000 1645#$d_getsent HAS_GETSERVENT /**/
a845a0d4 1646
eaf812ae
MB
1647/* HAS_GETSERVBYNAME_R:
1648 * This symbol, if defined, indicates that the getservbyname_r routine
1649 * is available to getservbyname re-entrantly.
1650 */
1651/* GETSERVBYNAME_R_PROTO:
1652 * This symbol encodes the prototype of getservbyname_r.
1653 * It is zero if d_getservbyname_r is undef, and one of the
1654 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyname_r
1655 * is defined.
1656 */
1657#$d_getservbyname_r HAS_GETSERVBYNAME_R /**/
1658#define GETSERVBYNAME_R_PROTO $getservbyname_r_proto /**/
1659
1660/* HAS_GETSERVBYPORT_R:
1661 * This symbol, if defined, indicates that the getservbyport_r routine
1662 * is available to getservbyport re-entrantly.
1663 */
1664/* GETSERVBYPORT_R_PROTO:
1665 * This symbol encodes the prototype of getservbyport_r.
1666 * It is zero if d_getservbyport_r is undef, and one of the
1667 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyport_r
1668 * is defined.
1669 */
1670#$d_getservbyport_r HAS_GETSERVBYPORT_R /**/
1671#define GETSERVBYPORT_R_PROTO $getservbyport_r_proto /**/
1672
1673/* HAS_GETSERVENT_R:
1674 * This symbol, if defined, indicates that the getservent_r routine
1675 * is available to getservent re-entrantly.
1676 */
1677/* GETSERVENT_R_PROTO:
1678 * This symbol encodes the prototype of getservent_r.
1679 * It is zero if d_getservent_r is undef, and one of the
1680 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservent_r
1681 * is defined.
1682 */
1683#$d_getservent_r HAS_GETSERVENT_R /**/
1684#define GETSERVENT_R_PROTO $getservent_r_proto /**/
1685
08c92000
MB
1686/* HAS_GETSERV_PROTOS:
1687 * This symbol, if defined, indicates that <netdb.h> includes
1688 * prototypes for getservent(), getservbyname(), and
1689 * getservbyaddr(). Otherwise, it is up to the program to guess
1690 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
a845a0d4 1691 */
08c92000 1692#$d_getservprotos HAS_GETSERV_PROTOS /**/
a845a0d4 1693
08c92000
MB
1694/* HAS_GETSPNAM_R:
1695 * This symbol, if defined, indicates that the getspnam_r routine
1696 * is available to getspnam re-entrantly.
a845a0d4 1697 */
08c92000
MB
1698/* GETSPNAM_R_PROTO:
1699 * This symbol encodes the prototype of getspnam_r.
1700 * It is zero if d_getspnam_r is undef, and one of the
1701 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getspnam_r
1702 * is defined.
a845a0d4 1703 */
08c92000
MB
1704#$d_getspnam_r HAS_GETSPNAM_R /**/
1705#define GETSPNAM_R_PROTO $getspnam_r_proto /**/
a845a0d4
JH
1706
1707/* HAS_GETSERVBYNAME:
1708 * This symbol, if defined, indicates that the getservbyname()
1709 * routine is available to look up services by their name.
1710 */
1711/* HAS_GETSERVBYPORT:
1712 * This symbol, if defined, indicates that the getservbyport()
1713 * routine is available to look up services by their port.
1714 */
1715#$d_getsbyname HAS_GETSERVBYNAME /**/
1716#$d_getsbyport HAS_GETSERVBYPORT /**/
1717
08c92000
MB
1718/* HAS_GMTIME_R:
1719 * This symbol, if defined, indicates that the gmtime_r routine
1720 * is available to gmtime re-entrantly.
1721 */
1722/* GMTIME_R_PROTO:
1723 * This symbol encodes the prototype of gmtime_r.
1724 * It is zero if d_gmtime_r is undef, and one of the
1725 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gmtime_r
1726 * is defined.
1727 */
1728#$d_gmtime_r HAS_GMTIME_R /**/
1729#define GMTIME_R_PROTO $gmtime_r_proto /**/
1730
a845a0d4
JH
1731/* HAS_HTONL:
1732 * This symbol, if defined, indicates that the htonl() routine (and
1733 * friends htons() ntohl() ntohs()) are available to do network
1734 * order byte swapping.
1735 */
1736/* HAS_HTONS:
1737 * This symbol, if defined, indicates that the htons() routine (and
1738 * friends htonl() ntohl() ntohs()) are available to do network
1739 * order byte swapping.
1740 */
1741/* HAS_NTOHL:
1742 * This symbol, if defined, indicates that the ntohl() routine (and
1743 * friends htonl() htons() ntohs()) are available to do network
1744 * order byte swapping.
1745 */
1746/* HAS_NTOHS:
1747 * This symbol, if defined, indicates that the ntohs() routine (and
1748 * friends htonl() htons() ntohl()) are available to do network
1749 * order byte swapping.
1750 */
1751#$d_htonl HAS_HTONL /**/
1752#$d_htonl HAS_HTONS /**/
1753#$d_htonl HAS_NTOHL /**/
1754#$d_htonl HAS_NTOHS /**/
1755
08c92000
MB
1756/* HAS_LOCALTIME_R:
1757 * This symbol, if defined, indicates that the localtime_r routine
1758 * is available to localtime re-entrantly.
1759 */
f025e94b
MB
1760/* LOCALTIME_R_NEEDS_TZSET:
1761 * Many libc's localtime_r implementations do not call tzset,
1762 * making them differ from localtime(), and making timezone
1763 * changes using $ENV{TZ} without explicitly calling tzset
1764 * impossible. This symbol makes us call tzset before localtime_r
1765 */
8572b25d
BH
1766#$d_localtime_r_needs_tzset LOCALTIME_R_NEEDS_TZSET /**/
1767#ifdef LOCALTIME_R_NEEDS_TZSET
1768#define L_R_TZSET tzset(),
1769#else
1770#define L_R_TZSET
1771#endif
1772
08c92000
MB
1773/* LOCALTIME_R_PROTO:
1774 * This symbol encodes the prototype of localtime_r.
1775 * It is zero if d_localtime_r is undef, and one of the
1776 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r
1777 * is defined.
1778 */
1779#$d_localtime_r HAS_LOCALTIME_R /**/
1780#define LOCALTIME_R_PROTO $localtime_r_proto /**/
1781
1782/* HAS_LONG_DOUBLE:
1783 * This symbol will be defined if the C compiler supports long
1784 * doubles.
1785 */
1786/* LONG_DOUBLESIZE:
1787 * This symbol contains the size of a long double, so that the
1788 * C preprocessor can make decisions based on it. It is only
1789 * defined if the system supports long doubles.
1790 */
1791#$d_longdbl HAS_LONG_DOUBLE /**/
1792#ifdef HAS_LONG_DOUBLE
1793#define LONG_DOUBLESIZE $longdblsize /**/
1794#endif
1795
1796/* HAS_LONG_LONG:
1797 * This symbol will be defined if the C compiler supports long long.
1798 */
1799/* LONGLONGSIZE:
1800 * This symbol contains the size of a long long, so that the
1801 * C preprocessor can make decisions based on it. It is only
1802 * defined if the system supports long long.
a845a0d4
JH
1803 */
1804#$d_longlong HAS_LONG_LONG /**/
1805#ifdef HAS_LONG_LONG
1806#define LONGLONGSIZE $longlongsize /**/
1807#endif
1808
08c92000
MB
1809/* HAS_LSEEK_PROTO:
1810 * This symbol, if defined, indicates that the system provides
1811 * a prototype for the lseek() function. Otherwise, it is up
1812 * to the program to supply one. A good guess is
1813 * extern off_t lseek(int, off_t, int);
1814 */
1815#$d_lseekproto HAS_LSEEK_PROTO /**/
1816
a845a0d4
JH
1817/* HAS_MEMCHR:
1818 * This symbol, if defined, indicates that the memchr routine is available
1819 * to locate characters within a C string.
1820 */
1821#$d_memchr HAS_MEMCHR /**/
1822
1823/* HAS_MKSTEMP:
1824 * This symbol, if defined, indicates that the mkstemp routine is
1825 * available to exclusively create and open a uniquely named
1826 * temporary file.
1827 */
1828#$d_mkstemp HAS_MKSTEMP /**/
1829
1830/* HAS_MMAP:
1831 * This symbol, if defined, indicates that the mmap system call is
1832 * available to map a file into memory.
1833 */
1834/* Mmap_t:
1835 * This symbol holds the return type of the mmap() system call
1836 * (and simultaneously the type of the first argument).
8f42a9ec 1837 * Usually set to 'void *' or 'caddr_t'.
a845a0d4
JH
1838 */
1839#$d_mmap HAS_MMAP /**/
1840#define Mmap_t $mmaptype /**/
1841
1842/* HAS_MSG:
1843 * This symbol, if defined, indicates that the entire msg*(2) library is
1844 * supported (IPC mechanism based on message queues).
1845 */
1846#$d_msg HAS_MSG /**/
1847
f244a502
JH
1848/* HAS_POLL:
1849 * This symbol, if defined, indicates that the poll routine is
1850 * available to poll active file descriptors. You may safely
1851 * include <poll.h> when both this symbol *and* I_POLL are defined.
1852 */
1853#$d_poll HAS_POLL /**/
1854
08c92000
MB
1855/* OLD_PTHREAD_CREATE_JOINABLE:
1856 * This symbol, if defined, indicates how to create pthread
1857 * in joinable (aka undetached) state. NOTE: not defined
1858 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
1859 * (the new version of the constant).
1860 * If defined, known values are PTHREAD_CREATE_UNDETACHED
1861 * and __UNDETACHED.
a845a0d4 1862 */
08c92000 1863#$d_old_pthread_create_joinable OLD_PTHREAD_CREATE_JOINABLE $old_pthread_create_joinable /**/
a845a0d4 1864
eaf812ae
MB
1865/* HAS_PTHREAD_ATFORK:
1866 * This symbol, if defined, indicates that the pthread_atfork routine
1867 * is available to setup fork handlers.
1868 */
1869#$d_pthread_atfork HAS_PTHREAD_ATFORK /**/
1870
08c92000
MB
1871/* HAS_PTHREAD_YIELD:
1872 * This symbol, if defined, indicates that the pthread_yield
1873 * routine is available to yield the execution of the current
1874 * thread. sched_yield is preferable to pthread_yield.
a845a0d4 1875 */
08c92000
MB
1876/* SCHED_YIELD:
1877 * This symbol defines the way to yield the execution of
1878 * the current thread. Known ways are sched_yield,
1879 * pthread_yield, and pthread_yield with NULL.
a845a0d4 1880 */
08c92000
MB
1881/* HAS_SCHED_YIELD:
1882 * This symbol, if defined, indicates that the sched_yield
1883 * routine is available to yield the execution of the current
1884 * thread. sched_yield is preferable to pthread_yield.
1885 */
1886#$d_pthread_yield HAS_PTHREAD_YIELD /**/
1887#define SCHED_YIELD $sched_yield /**/
1888#$d_sched_yield HAS_SCHED_YIELD /**/
a845a0d4 1889
08c92000
MB
1890/* HAS_RANDOM_R:
1891 * This symbol, if defined, indicates that the random_r routine
1892 * is available to random re-entrantly.
a845a0d4 1893 */
08c92000
MB
1894/* RANDOM_R_PROTO:
1895 * This symbol encodes the prototype of random_r.
1896 * It is zero if d_random_r is undef, and one of the
1897 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r
1898 * is defined.
a845a0d4 1899 */
08c92000
MB
1900#$d_random_r HAS_RANDOM_R /**/
1901#define RANDOM_R_PROTO $random_r_proto /**/
a845a0d4 1902
eaf812ae
MB
1903/* HAS_READDIR64_R:
1904 * This symbol, if defined, indicates that the readdir64_r routine
1905 * is available to readdir64 re-entrantly.
1906 */
1907/* READDIR64_R_PROTO:
1908 * This symbol encodes the prototype of readdir64_r.
1909 * It is zero if d_readdir64_r is undef, and one of the
1910 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir64_r
1911 * is defined.
1912 */
1913#$d_readdir64_r HAS_READDIR64_R /**/
1914#define READDIR64_R_PROTO $readdir64_r_proto /**/
1915
08c92000
MB
1916/* HAS_READDIR_R:
1917 * This symbol, if defined, indicates that the readdir_r routine
1918 * is available to readdir re-entrantly.
a845a0d4 1919 */
08c92000
MB
1920/* READDIR_R_PROTO:
1921 * This symbol encodes the prototype of readdir_r.
1922 * It is zero if d_readdir_r is undef, and one of the
1923 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r
1924 * is defined.
1925 */
1926#$d_readdir_r HAS_READDIR_R /**/
1927#define READDIR_R_PROTO $readdir_r_proto /**/
a845a0d4 1928
08c92000
MB
1929/* HAS_SEM:
1930 * This symbol, if defined, indicates that the entire sem*(2) library is
1931 * supported.
1932 */
1933#$d_sem HAS_SEM /**/
1934
08c92000
MB
1935/* HAS_SETGRENT:
1936 * This symbol, if defined, indicates that the setgrent routine is
1937 * available for initializing sequential access of the group database.
1938 */
1939#$d_setgrent HAS_SETGRENT /**/
1940
1941/* HAS_SETGRENT_R:
1942 * This symbol, if defined, indicates that the setgrent_r routine
1943 * is available to setgrent re-entrantly.
1944 */
1945/* SETGRENT_R_PROTO:
1946 * This symbol encodes the prototype of setgrent_r.
1947 * It is zero if d_setgrent_r is undef, and one of the
1948 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r
1949 * is defined.
1950 */
1951#$d_setgrent_r HAS_SETGRENT_R /**/
1952#define SETGRENT_R_PROTO $setgrent_r_proto /**/
1953
1954/* HAS_SETGROUPS:
1955 * This symbol, if defined, indicates that the setgroups() routine is
1956 * available to set the list of process groups. If unavailable, multiple
1957 * groups are probably not supported.
1958 */
1959#$d_setgrps HAS_SETGROUPS /**/
1960
1961/* HAS_SETHOSTENT:
1962 * This symbol, if defined, indicates that the sethostent() routine is
1963 * available.
1964 */
1965#$d_sethent HAS_SETHOSTENT /**/
1966
eaf812ae
MB
1967/* HAS_SETHOSTENT_R:
1968 * This symbol, if defined, indicates that the sethostent_r routine
1969 * is available to sethostent re-entrantly.
1970 */
1971/* SETHOSTENT_R_PROTO:
1972 * This symbol encodes the prototype of sethostent_r.
1973 * It is zero if d_sethostent_r is undef, and one of the
1974 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_sethostent_r
1975 * is defined.
1976 */
1977#$d_sethostent_r HAS_SETHOSTENT_R /**/
1978#define SETHOSTENT_R_PROTO $sethostent_r_proto /**/
1979
eaf812ae
MB
1980/* HAS_SETLOCALE_R:
1981 * This symbol, if defined, indicates that the setlocale_r routine
1982 * is available to setlocale re-entrantly.
1983 */
1984/* SETLOCALE_R_PROTO:
1985 * This symbol encodes the prototype of setlocale_r.
1986 * It is zero if d_setlocale_r is undef, and one of the
1987 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setlocale_r
1988 * is defined.
1989 */
1990#$d_setlocale_r HAS_SETLOCALE_R /**/
1991#define SETLOCALE_R_PROTO $setlocale_r_proto /**/
1992
08c92000
MB
1993/* HAS_SETNETENT:
1994 * This symbol, if defined, indicates that the setnetent() routine is
1995 * available.
1996 */
1997#$d_setnent HAS_SETNETENT /**/
1998
eaf812ae
MB
1999/* HAS_SETNETENT_R:
2000 * This symbol, if defined, indicates that the setnetent_r routine
2001 * is available to setnetent re-entrantly.
2002 */
2003/* SETNETENT_R_PROTO:
2004 * This symbol encodes the prototype of setnetent_r.
2005 * It is zero if d_setnetent_r is undef, and one of the
2006 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setnetent_r
2007 * is defined.
2008 */
2009#$d_setnetent_r HAS_SETNETENT_R /**/
2010#define SETNETENT_R_PROTO $setnetent_r_proto /**/
2011
2012/* HAS_SETPROTOENT:
2013 * This symbol, if defined, indicates that the setprotoent() routine is
2014 * available.
2015 */
2016#$d_setpent HAS_SETPROTOENT /**/
08c92000
MB
2017
2018/* HAS_SETPGRP:
2019 * This symbol, if defined, indicates that the setpgrp routine is
2020 * available to set the current process group.
2021 */
2022/* USE_BSD_SETPGRP:
2023 * This symbol, if defined, indicates that setpgrp needs two
2024 * arguments whereas USG one needs none. See also HAS_SETPGID
2025 * for a POSIX interface.
2026 */
2027#$d_setpgrp HAS_SETPGRP /**/
2028#$d_bsdsetpgrp USE_BSD_SETPGRP /**/
2029
eaf812ae
MB
2030/* HAS_SETPROTOENT_R:
2031 * This symbol, if defined, indicates that the setprotoent_r routine
2032 * is available to setprotoent re-entrantly.
2033 */
2034/* SETPROTOENT_R_PROTO:
2035 * This symbol encodes the prototype of setprotoent_r.
2036 * It is zero if d_setprotoent_r is undef, and one of the
2037 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setprotoent_r
2038 * is defined.
2039 */
2040#$d_setprotoent_r HAS_SETPROTOENT_R /**/
2041#define SETPROTOENT_R_PROTO $setprotoent_r_proto /**/
2042
08c92000
MB
2043/* HAS_SETPWENT:
2044 * This symbol, if defined, indicates that the setpwent routine is
2045 * available for initializing sequential access of the passwd database.
2046 */
2047#$d_setpwent HAS_SETPWENT /**/
2048
2049/* HAS_SETPWENT_R:
2050 * This symbol, if defined, indicates that the setpwent_r routine
2051 * is available to setpwent re-entrantly.
2052 */
2053/* SETPWENT_R_PROTO:
2054 * This symbol encodes the prototype of setpwent_r.
2055 * It is zero if d_setpwent_r is undef, and one of the
2056 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r
2057 * is defined.
2058 */
2059#$d_setpwent_r HAS_SETPWENT_R /**/
2060#define SETPWENT_R_PROTO $setpwent_r_proto /**/
2061
2062/* HAS_SETSERVENT:
2063 * This symbol, if defined, indicates that the setservent() routine is
2064 * available.
2065 */
2066#$d_setsent HAS_SETSERVENT /**/
2067
eaf812ae
MB
2068/* HAS_SETSERVENT_R:
2069 * This symbol, if defined, indicates that the setservent_r routine
2070 * is available to setservent re-entrantly.
2071 */
2072/* SETSERVENT_R_PROTO:
2073 * This symbol encodes the prototype of setservent_r.
2074 * It is zero if d_setservent_r is undef, and one of the
2075 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setservent_r
2076 * is defined.
2077 */
2078#$d_setservent_r HAS_SETSERVENT_R /**/
2079#define SETSERVENT_R_PROTO $setservent_r_proto /**/
2080
08c92000
MB
2081/* HAS_SETVBUF:
2082 * This symbol, if defined, indicates that the setvbuf routine is
2083 * available to change buffering on an open stdio stream.
2084 * to a line-buffered mode.
2085 */
2086#$d_setvbuf HAS_SETVBUF /**/
2087
08c92000
MB
2088/* HAS_SHM:
2089 * This symbol, if defined, indicates that the entire shm*(2) library is
2090 * supported.
2091 */
2092#$d_shm HAS_SHM /**/
2093
eaf812ae
MB
2094/* Shmat_t:
2095 * This symbol holds the return type of the shmat() system call.
2096 * Usually set to 'void *' or 'char *'.
2097 */
2098/* HAS_SHMAT_PROTOTYPE:
2099 * This symbol, if defined, indicates that the sys/shm.h includes
2100 * a prototype for shmat(). Otherwise, it is up to the program to
2101 * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess,
2102 * but not always right so it should be emitted by the program only
2103 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
2104 */
2105#define Shmat_t $shmattype /**/
2106#$d_shmatprototype HAS_SHMAT_PROTOTYPE /**/
2107
a845a0d4
JH
2108/* HAS_SOCKET:
2109 * This symbol, if defined, indicates that the BSD socket interface is
2110 * supported.
2111 */
2112/* HAS_SOCKETPAIR:
2113 * This symbol, if defined, indicates that the BSD socketpair() call is
2114 * supported.
2115 */
2116/* HAS_MSG_CTRUNC:
2117 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
2118 * Checking just with #ifdef might not be enough because this symbol
2119 * has been known to be an enum.
2120 */
2121/* HAS_MSG_DONTROUTE:
2122 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
2123 * Checking just with #ifdef might not be enough because this symbol
2124 * has been known to be an enum.
2125 */
2126/* HAS_MSG_OOB:
2127 * This symbol, if defined, indicates that the MSG_OOB is supported.
2128 * Checking just with #ifdef might not be enough because this symbol
2129 * has been known to be an enum.
10bc17b6 2130 */
a845a0d4
JH
2131/* HAS_MSG_PEEK:
2132 * This symbol, if defined, indicates that the MSG_PEEK is supported.
2133 * Checking just with #ifdef might not be enough because this symbol
2134 * has been known to be an enum.
c7aff470 2135 */
a845a0d4
JH
2136/* HAS_MSG_PROXY:
2137 * This symbol, if defined, indicates that the MSG_PROXY is supported.
2138 * Checking just with #ifdef might not be enough because this symbol
2139 * has been known to be an enum.
b363b713 2140 */
a845a0d4
JH
2141/* HAS_SCM_RIGHTS:
2142 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
2143 * Checking just with #ifdef might not be enough because this symbol
2144 * has been known to be an enum.
a7fea17f 2145 */
a845a0d4
JH
2146#$d_socket HAS_SOCKET /**/
2147#$d_sockpair HAS_SOCKETPAIR /**/
2148#$d_msg_ctrunc HAS_MSG_CTRUNC /**/
2149#$d_msg_dontroute HAS_MSG_DONTROUTE /**/
2150#$d_msg_oob HAS_MSG_OOB /**/
2151#$d_msg_peek HAS_MSG_PEEK /**/
2152#$d_msg_proxy HAS_MSG_PROXY /**/
2153#$d_scm_rights HAS_SCM_RIGHTS /**/
44b94491 2154
08c92000
MB
2155/* HAS_SRAND48_R:
2156 * This symbol, if defined, indicates that the srand48_r routine
2157 * is available to srand48 re-entrantly.
2158 */
2159/* SRAND48_R_PROTO:
2160 * This symbol encodes the prototype of srand48_r.
2161 * It is zero if d_srand48_r is undef, and one of the
2162 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r
2163 * is defined.
2164 */
2165#$d_srand48_r HAS_SRAND48_R /**/
2166#define SRAND48_R_PROTO $srand48_r_proto /**/
2167
2168/* HAS_SRANDOM_R:
2169 * This symbol, if defined, indicates that the srandom_r routine
2170 * is available to srandom re-entrantly.
2171 */
2172/* SRANDOM_R_PROTO:
2173 * This symbol encodes the prototype of srandom_r.
2174 * It is zero if d_srandom_r is undef, and one of the
2175 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srandom_r
2176 * is defined.
2177 */
2178#$d_srandom_r HAS_SRANDOM_R /**/
2179#define SRANDOM_R_PROTO $srandom_r_proto /**/
2180
a845a0d4
JH
2181/* USE_STAT_BLOCKS:
2182 * This symbol is defined if this system has a stat structure declaring
2183 * st_blksize and st_blocks.
a33c94aa 2184 */
a845a0d4
JH
2185#ifndef USE_STAT_BLOCKS
2186#$d_statblks USE_STAT_BLOCKS /**/
2187#endif
44b94491 2188
43dddb59
MB
2189/* USE_STRUCT_COPY:
2190 * This symbol, if defined, indicates that this C compiler knows how
2191 * to copy structures. If undefined, you'll need to use a block copy
2192 * routine of some sort instead.
2193 */
2194#$d_strctcpy USE_STRUCT_COPY /**/
2195
08c92000
MB
2196/* HAS_STRERROR:
2197 * This symbol, if defined, indicates that the strerror routine is
2198 * available to translate error numbers to strings. See the writeup
2199 * of Strerror() in this file before you try to define your own.
2200 */
2201/* HAS_SYS_ERRLIST:
2202 * This symbol, if defined, indicates that the sys_errlist array is
2203 * available to translate error numbers to strings. The extern int
2204 * sys_nerr gives the size of that table.
2205 */
2206/* Strerror:
2207 * This preprocessor symbol is defined as a macro if strerror() is
2208 * not available to translate error numbers to strings but sys_errlist[]
2209 * array is there.
2210 */
2211#$d_strerror HAS_STRERROR /**/
2212#$d_syserrlst HAS_SYS_ERRLIST /**/
2213#define Strerror(e) $d_strerrm
2214
2215/* HAS_STRERROR_R:
2216 * This symbol, if defined, indicates that the strerror_r routine
2217 * is available to strerror re-entrantly.
2218 */
2219/* STRERROR_R_PROTO:
2220 * This symbol encodes the prototype of strerror_r.
2221 * It is zero if d_strerror_r is undef, and one of the
2222 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r
2223 * is defined.
2224 */
2225#$d_strerror_r HAS_STRERROR_R /**/
2226#define STRERROR_R_PROTO $strerror_r_proto /**/
2227
ed140128
AD
2228/* HAS_STRTOUL:
2229 * This symbol, if defined, indicates that the strtoul routine is
2230 * available to provide conversion of strings to unsigned long.
eaf812ae 2231 */
ed140128 2232#$d_strtoul HAS_STRTOUL /**/
eaf812ae 2233
ed140128
AD
2234/* HAS_TIME:
2235 * This symbol, if defined, indicates that the time() routine exists.
eaf812ae 2236 */
ed140128
AD
2237/* Time_t:
2238 * This symbol holds the type returned by time(). It can be long,
2239 * or time_t on BSD sites (in which case <sys/types.h> should be
2240 * included).
eaf812ae 2241 */
ed140128
AD
2242#$d_time HAS_TIME /**/
2243#define Time_t $timetype /* Time type */
eaf812ae 2244
ed140128
AD
2245/* HAS_TIMES:
2246 * This symbol, if defined, indicates that the times() routine exists.
2247 * Note that this became obsolete on some systems (SUNOS), which now
2248 * use getrusage(). It may be necessary to include <sys/times.h>.
08c92000 2249 */
ed140128 2250#$d_times HAS_TIMES /**/
08c92000
MB
2251
2252/* HAS_TMPNAM_R:
2253 * This symbol, if defined, indicates that the tmpnam_r routine
2254 * is available to tmpnam re-entrantly.
2255 */
2256/* TMPNAM_R_PROTO:
2257 * This symbol encodes the prototype of tmpnam_r.
2258 * It is zero if d_tmpnam_r is undef, and one of the
2259 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_tmpnam_r
2260 * is defined.
2261 */
2262#$d_tmpnam_r HAS_TMPNAM_R /**/
2263#define TMPNAM_R_PROTO $tmpnam_r_proto /**/
2264
eaf812ae
MB
2265/* HAS_TTYNAME_R:
2266 * This symbol, if defined, indicates that the ttyname_r routine
2267 * is available to ttyname re-entrantly.
2268 */
2269/* TTYNAME_R_PROTO:
2270 * This symbol encodes the prototype of ttyname_r.
2271 * It is zero if d_ttyname_r is undef, and one of the
2272 * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ttyname_r
2273 * is defined.
2274 */
2275#$d_ttyname_r HAS_TTYNAME_R /**/
2276#define TTYNAME_R_PROTO $ttyname_r_proto /**/
2277
08c92000 2278/* HAS_UNION_SEMUN:
a845a0d4
JH
2279 * This symbol, if defined, indicates that the union semun is
2280 * defined by including <sys/sem.h>. If not, the user code
2281 * probably needs to define it as:
2282 * union semun {
2283 * int val;
2284 * struct semid_ds *buf;
2285 * unsigned short *array;
2286 * }
758a5d79 2287 */
a845a0d4
JH
2288/* USE_SEMCTL_SEMUN:
2289 * This symbol, if defined, indicates that union semun is
2290 * used for semctl IPC_STAT.
758a5d79 2291 */
a845a0d4
JH
2292/* USE_SEMCTL_SEMID_DS:
2293 * This symbol, if defined, indicates that struct semid_ds * is
2294 * used for semctl IPC_STAT.
c7aff470 2295 */
a845a0d4
JH
2296#$d_union_semun HAS_UNION_SEMUN /**/
2297#$d_semctl_semun USE_SEMCTL_SEMUN /**/
2298#$d_semctl_semid_ds USE_SEMCTL_SEMID_DS /**/
c7aff470 2299
a845a0d4
JH
2300/* HAS_VFORK:
2301 * This symbol, if defined, indicates that vfork() exists.
c5f05a91 2302 */
a845a0d4 2303#$d_vfork HAS_VFORK /**/
c5f05a91 2304
233e16ce
MB
2305/* HAS_PSEUDOFORK:
2306 * This symbol, if defined, indicates that an emulation of the
2307 * fork routine is available.
2308 */
2309#$d_pseudofork HAS_PSEUDOFORK /**/
2310
a845a0d4
JH
2311/* Signal_t:
2312 * This symbol's value is either "void" or "int", corresponding to the
2313 * appropriate return type of a signal handler. Thus, you can declare
2314 * a signal handler using "Signal_t (*handler)()", and define the
2315 * handler using "Signal_t handler(sig)".
a3540c92 2316 */
a845a0d4 2317#define Signal_t $signal_t /* Signal handler's return type */
a3540c92 2318
43dddb59
MB
2319/* HASVOLATILE:
2320 * This symbol, if defined, indicates that this C compiler knows about
2321 * the volatile declaration.
2322 */
2323#$d_volatile HASVOLATILE /**/
2324#ifndef HASVOLATILE
2325#define volatile
2326#endif
2327
08c92000
MB
2328/* Fpos_t:
2329 * This symbol holds the type used to declare file positions in libc.
2330 * It can be fpos_t, long, uint, etc... It may be necessary to include
2331 * <sys/types.h> to get any typedef'ed information.
2332 */
2333#define Fpos_t $fpostype /* File position type */
2334
2335/* Gid_t_f:
2336 * This symbol defines the format string used for printing a Gid_t.
2337 */
2338#define Gid_t_f $gidformat /**/
2339
2340/* Gid_t_sign:
2341 * This symbol holds the signedess of a Gid_t.
2342 * 1 for unsigned, -1 for signed.
2343 */
2344#define Gid_t_sign $gidsign /* GID sign */
2345
2346/* Gid_t_size:
2347 * This symbol holds the size of a Gid_t in bytes.
2348 */
2349#define Gid_t_size $gidsize /* GID size */
2350
2351/* Gid_t:
2352 * This symbol holds the return type of getgid() and the type of
2353 * argument to setrgid() and related functions. Typically,
2354 * it is the type of group ids in the kernel. It can be int, ushort,
2355 * gid_t, etc... It may be necessary to include <sys/types.h> to get
2356 * any typedef'ed information.
2357 */
2358#define Gid_t $gidtype /* Type for getgid(), etc... */
2359
2360/* Groups_t:
2361 * This symbol holds the type used for the second argument to
2362 * getgroups() and setgroups(). Usually, this is the same as
2363 * gidtype (gid_t) , but sometimes it isn't.
2364 * It can be int, ushort, gid_t, etc...
2365 * It may be necessary to include <sys/types.h> to get any
2366 * typedef'ed information. This is only required if you have
2367 * getgroups() or setgroups()..
2368 */
2369#if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
2370#define Groups_t $groupstype /* Type for 2nd arg to [sg]etgroups() */
2371#endif
2372
43dddb59
MB
2373/* I_DIRENT:
2374 * This symbol, if defined, indicates to the C program that it should
2375 * include <dirent.h>. Using this symbol also triggers the definition
2376 * of the Direntry_t define which ends up being 'struct dirent' or
2377 * 'struct direct' depending on the availability of <dirent.h>.
2378 */
2379/* DIRNAMLEN:
2380 * This symbol, if defined, indicates to the C program that the length
2381 * of directory entry names is provided by a d_namlen field. Otherwise
2382 * you need to do strlen() on the d_name field.
2383 */
2384/* Direntry_t:
2385 * This symbol is set to 'struct direct' or 'struct dirent' depending on
2386 * whether dirent is available or not. You should use this pseudo type to
2387 * portably declare your directory entries.
2388 */
2389#$i_dirent I_DIRENT /**/
2390#$d_dirnamlen DIRNAMLEN /**/
2391#define Direntry_t $direntrytype
2392
08c92000
MB
2393/* I_GRP:
2394 * This symbol, if defined, indicates to the C program that it should
2395 * include <grp.h>.
2396 */
2397/* GRPASSWD:
2398 * This symbol, if defined, indicates to the C program that struct group
2399 * in <grp.h> contains gr_passwd.
2400 */
2401#$i_grp I_GRP /**/
2402#$d_grpasswd GRPASSWD /**/
2403
08c92000
MB
2404/* I_MACH_CTHREADS:
2405 * This symbol, if defined, indicates to the C program that it should
2406 * include <mach/cthreads.h>.
2407 */
2408#$i_machcthr I_MACH_CTHREADS /**/
2409
eaf812ae
MB
2410/* I_NDBM:
2411 * This symbol, if defined, indicates that <ndbm.h> exists and should
2412 * be included.
2413 */
2414#$i_ndbm I_NDBM /**/
2415
08c92000
MB
2416/* I_NETDB:
2417 * This symbol, if defined, indicates that <netdb.h> exists and
2418 * should be included.
2419 */
2420#$i_netdb I_NETDB /**/
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
MB
2553/* Mode_t:
2554 * This symbol holds the type used to declare file modes
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
2633 * is defined, and 'int *' otherwise. This is only useful if you
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
2670 * dynamic linear lookup.
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].
2673 * if (i < NSIG) then sig_number[i] == i.
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
2803/* PERL_VENDORARCH:
2804 * If defined, this symbol contains the name of a private library.
2805 * The library is private in the sense that it needn't be in anyone's
2806 * execution path, but it should be accessible by the world.
2807 * It may have a ~ on the front.
2808 * The standard distribution will put nothing in this directory.
2809 * Vendors who distribute perl may wish to place their own
2810 * architecture-dependent modules and extensions in this directory with
2811 * MakeMaker Makefile.PL INSTALLDIRS=vendor
2812 * or equivalent. See INSTALL for details.
2813 */
2814/* PERL_VENDORARCH_EXP:
2815 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
2816 * in programs that are not prepared to deal with ~ expansion at run-time.
2817 */
2818#$d_vendorarch PERL_VENDORARCH "$vendorarch" /**/
2819#$d_vendorarch PERL_VENDORARCH_EXP "$vendorarchexp" /**/
2820
2821/* PERL_VENDORLIB_EXP:
2822 * This symbol contains the ~name expanded version of VENDORLIB, to be used
2823 * in programs that are not prepared to deal with ~ expansion at run-time.
2824 */
2825/* PERL_VENDORLIB_STEM:
2826 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component
2827 * removed. The elements in inc_version_list (inc_version_list.U) can
2828 * be tacked onto this variable to generate a list of directories to search.
2829 */
2830#$d_vendorlib PERL_VENDORLIB_EXP "$vendorlibexp" /**/
2831#$d_vendorlib PERL_VENDORLIB_STEM "$vendorlib_stem" /**/
2832
2833/* VOIDFLAGS:
2834 * This symbol indicates how much support of the void type is given by this
2835 * compiler. What various bits mean:
2836 *
2837 * 1 = supports declaration of void
2838 * 2 = supports arrays of pointers to functions returning void
2839 * 4 = supports comparisons between pointers to void functions and
2840 * addresses of void functions
2841 * 8 = suports declaration of generic void pointers
2842 *
2843 * The package designer should define VOIDUSED to indicate the requirements
2844 * of the package. This can be done either by #defining VOIDUSED before
2845 * including config.h, or by defining defvoidused in Myinit.U. If the
2846 * latter approach is taken, only those flags will be tested. If the
2847 * level of void support necessary is not present, defines void to int.
2848 */
2849#ifndef VOIDUSED
2850#define VOIDUSED $defvoidused
2851#endif
2852#define VOIDFLAGS $voidflags
2853#if (VOIDFLAGS & VOIDUSED) != VOIDUSED
2854#define void int /* is void to be avoided? */
2855#define M_VOID /* Xenix strikes again */
2856#endif
2857
2858/* USE_CROSS_COMPILE:
2859 * This symbol, if defined, indicates that Perl is being cross-compiled.
2860 */
2861/* PERL_TARGETARCH:
2862 * This symbol, if defined, indicates the target architecture
2863 * Perl has been cross-compiled to. Undefined if not a cross-compile.
2864 */
2865#ifndef USE_CROSS_COMPILE
2866#$usecrosscompile USE_CROSS_COMPILE /**/
2867#define PERL_TARGETARCH "$targetarch" /**/
2868#endif
2869
2870/* MEM_ALIGNBYTES:
2871 * This symbol contains the number of bytes required to align a
2872 * double, or a long double when applicable. Usual values are 2,
2873 * 4 and 8. The default is eight, for safety.
2874 */
2875#if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
2876# define MEM_ALIGNBYTES 8
2877#else
2878#define MEM_ALIGNBYTES $alignbytes
2879#endif
2880
2881/* BYTEORDER:
2882 * This symbol holds the hexadecimal constant defined in byteorder,
2883 * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc...
2884 * If the compiler supports cross-compiling or multiple-architecture
2885 * binaries (eg. on NeXT systems), use compiler-defined macros to
2886 * determine the byte order.
2887 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
2888 * Binaries (MAB) on either big endian or little endian machines.
2889 * The endian-ness is available at compile-time. This only matters
2890 * for perl, where the config.h can be generated and installed on
2891 * one system, and used by a different architecture to build an
2892 * extension. Older versions of NeXT that might not have
2893 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
2894 * so the default case (for NeXT) is big endian to catch them.
2895 * This might matter for NeXT 3.0.
2896 */
2897#if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
2898# ifdef __LITTLE_ENDIAN__
2899# if LONGSIZE == 4
2900# define BYTEORDER 0x1234
2901# else
2902# if LONGSIZE == 8
2903# define BYTEORDER 0x12345678
2904# endif
2905# endif
2906# else
2907# ifdef __BIG_ENDIAN__
2908# if LONGSIZE == 4
2909# define BYTEORDER 0x4321
2910# else
2911# if LONGSIZE == 8
2912# define BYTEORDER 0x87654321
2913# endif
2914# endif
2915# endif
2916# endif
2917# if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
2918# define BYTEORDER 0x4321
2919# endif
2920#else
2921#define BYTEORDER 0x$byteorder /* large digits for MSB */
2922#endif /* NeXT */
2923
2924/* CASTI32:
2925 * This symbol is defined if the C compiler can cast negative
2926 * or large floating point numbers to 32-bit ints.
2927 */
2928#$d_casti32 CASTI32 /**/
2929
2930/* CASTNEGFLOAT:
2931 * This symbol is defined if the C compiler can cast negative
2932 * numbers to unsigned longs, ints and shorts.
2933 */
2934/* CASTFLAGS:
2935 * This symbol contains flags that say what difficulties the compiler
2936 * has casting odd floating values to unsigned long:
2937 * 0 = ok
2938 * 1 = couldn't cast < 0
2939 * 2 = couldn't cast >= 0x80000000
2940 * 4 = couldn't cast in argument expression list
2941 */
2942#$d_castneg CASTNEGFLOAT /**/
2943#define CASTFLAGS $castflags /**/
2944
2945/* VOID_CLOSEDIR:
2946 * This symbol, if defined, indicates that the closedir() routine
2947 * does not return a value.
2948 */
2949#$d_void_closedir VOID_CLOSEDIR /**/
2950
2951/* HAS_FD_SET:
2952 * This symbol, when defined, indicates presence of the fd_set typedef
2953 * in <sys/types.h>
2954 */
2955#$d_fd_set HAS_FD_SET /**/
2956
2957/* Gconvert:
2958 * This preprocessor macro is defined to convert a floating point
2959 * number to a string without a trailing decimal point. This
2960 * emulates the behavior of sprintf("%g"), but is sometimes much more
2961 * efficient. If gconvert() is not available, but gcvt() drops the
2962 * trailing decimal point, then gcvt() is used. If all else fails,
2963 * a macro using sprintf("%g") is used. Arguments for the Gconvert
2964 * macro are: value, number of digits, whether trailing zeros should
2965 * be retained, and the output buffer.
2966 * The usual values are:
2967 * d_Gconvert='gconvert((x),(n),(t),(b))'
2968 * d_Gconvert='gcvt((x),(n),(b))'
2969 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
2970 * The last two assume trailing zeros should not be kept.
2971 */
2972#define Gconvert(x,n,t,b) $d_Gconvert
2973
2974/* HAS_GETPAGESIZE:
2975 * This symbol, if defined, indicates that the getpagesize system call
2976 * is available to get system page size, which is the granularity of
2977 * many memory management calls.
2978 */
2979#$d_getpagsz HAS_GETPAGESIZE /**/
2980
2981/* HAS_GNULIBC:
2982 * This symbol, if defined, indicates to the C program that
2983 * the GNU C library is being used. A better check is to use
2984 * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc.
2985 */
2986#$d_gnulibc HAS_GNULIBC /**/
2987#if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
2988# define _GNU_SOURCE
2989#endif
2990/* HAS_ISASCII:
2991 * This manifest constant lets the C program know that isascii
2992 * is available.
2993 */
2994#$d_isascii HAS_ISASCII /**/
2995
2996/* HAS_LCHOWN:
2997 * This symbol, if defined, indicates that the lchown routine is
2998 * available to operate on a symbolic link (instead of following the
2999 * link).
3000 */
3001#$d_lchown HAS_LCHOWN /**/
3002
3003/* HAS_OPEN3:
3004 * This manifest constant lets the C program know that the three
3005 * argument form of open(2) is available.
3006 */
3007#$d_open3 HAS_OPEN3 /**/
3008
3009/* HAS_SAFE_BCOPY:
3010 * This symbol, if defined, indicates that the bcopy routine is available
3011 * to copy potentially overlapping memory blocks. Normally, you should
3012 * probably use memmove() or memcpy(). If neither is defined, roll your
3013 * own version.
3014 */
3015#$d_safebcpy HAS_SAFE_BCOPY /**/
3016
3017/* HAS_SAFE_MEMCPY:
3018 * This symbol, if defined, indicates that the memcpy routine is available
3019 * to copy potentially overlapping memory blocks. If you need to
3020 * copy overlapping memory blocks, you should check HAS_MEMMOVE and
3021 * use memmove() instead, if available.
3022 */
3023#$d_safemcpy HAS_SAFE_MEMCPY /**/
3024
3025/* HAS_SANE_MEMCMP:
3026 * This symbol, if defined, indicates that the memcmp routine is available
3027 * and can be used to compare relative magnitudes of chars with their high
3028 * bits set. If it is not defined, roll your own version.
3029 */
3030#$d_sanemcmp HAS_SANE_MEMCMP /**/
3031
3032/* HAS_SIGACTION:
3033 * This symbol, if defined, indicates that Vr4's sigaction() routine
3034 * is available.
3035 */
3036#$d_sigaction HAS_SIGACTION /**/
3037
3038/* HAS_SIGSETJMP:
3039 * This variable indicates to the C program that the sigsetjmp()
3040 * routine is available to save the calling process's registers
3041 * and stack environment for later use by siglongjmp(), and
3042 * to optionally save the process's signal mask. See
3043 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
3044 */
3045/* Sigjmp_buf:
3046 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
3047 */
3048/* Sigsetjmp:
3049 * This macro is used in the same way as sigsetjmp(), but will invoke
3050 * traditional setjmp() if sigsetjmp isn't available.
3051 * See HAS_SIGSETJMP.
3052 */
3053/* Siglongjmp:
3054 * This macro is used in the same way as siglongjmp(), but will invoke
3055 * traditional longjmp() if siglongjmp isn't available.
3056 * See HAS_SIGSETJMP.
3057 */
3058#$d_sigsetjmp HAS_SIGSETJMP /**/
3059#ifdef HAS_SIGSETJMP
3060#define Sigjmp_buf sigjmp_buf
3061#define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
3062#define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
3063#else
3064#define Sigjmp_buf jmp_buf
3065#define Sigsetjmp(buf,save_mask) setjmp((buf))
3066#define Siglongjmp(buf,retval) longjmp((buf),(retval))
3067#endif
3068
3069/* USE_STDIO_PTR:
3070 * This symbol is defined if the _ptr and _cnt fields (or similar)
3071 * of the stdio FILE structure can be used to access the stdio buffer
3072 * for a file handle. If this is defined, then the FILE_ptr(fp)
3073 * and FILE_cnt(fp) macros will also be defined and should be used
3074 * to access these fields.
3075 */
3076/* FILE_ptr:
3077 * This macro is used to access the _ptr field (or equivalent) of the
3078 * FILE structure pointed to by its argument. This macro will always be
3079 * defined if USE_STDIO_PTR is defined.
3080 */
3081/* STDIO_PTR_LVALUE:
3082 * This symbol is defined if the FILE_ptr macro can be used as an
3083 * lvalue.
3084 */
3085/* FILE_cnt:
3086 * This macro is used to access the _cnt field (or equivalent) of the
3087 * FILE structure pointed to by its argument. This macro will always be
3088 * defined if USE_STDIO_PTR is defined.
3089 */
3090/* STDIO_CNT_LVALUE:
3091 * This symbol is defined if the FILE_cnt macro can be used as an
3092 * lvalue.
3093 */
3094/* STDIO_PTR_LVAL_SETS_CNT:
3095 * This symbol is defined if using the FILE_ptr macro as an lvalue
3096 * to increase the pointer by n has the side effect of decreasing the
3097 * value of File_cnt(fp) by n.
3098 */
3099/* STDIO_PTR_LVAL_NOCHANGE_CNT:
3100 * This symbol is defined if using the FILE_ptr macro as an lvalue
3101 * to increase the pointer by n leaves File_cnt(fp) unchanged.
3102 */
3103#$d_stdstdio USE_STDIO_PTR /**/
3104#ifdef USE_STDIO_PTR
3105#define FILE_ptr(fp) $stdio_ptr
3106#$d_stdio_ptr_lval STDIO_PTR_LVALUE /**/
3107#define FILE_cnt(fp) $stdio_cnt
3108#$d_stdio_cnt_lval STDIO_CNT_LVALUE /**/
3109#$d_stdio_ptr_lval_sets_cnt STDIO_PTR_LVAL_SETS_CNT /**/
3110#$d_stdio_ptr_lval_nochange_cnt STDIO_PTR_LVAL_NOCHANGE_CNT /**/
3111#endif
3112
3113/* USE_STDIO_BASE:
3114 * This symbol is defined if the _base field (or similar) of the
3115 * stdio FILE structure can be used to access the stdio buffer for
3116 * a file handle. If this is defined, then the FILE_base(fp) macro
3117 * will also be defined and should be used to access this field.
3118 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
3119 * to determine the number of bytes in the buffer. USE_STDIO_BASE
3120 * will never be defined unless USE_STDIO_PTR is.
3121 */
3122/* FILE_base:
3123 * This macro is used to access the _base field (or equivalent) of the
3124 * FILE structure pointed to by its argument. This macro will always be
3125 * defined if USE_STDIO_BASE is defined.
3126 */
3127/* FILE_bufsiz:
3128 * This macro is used to determine the number of bytes in the I/O
3129 * buffer pointed to by _base field (or equivalent) of the FILE
3130 * structure pointed to its argument. This macro will always be defined
3131 * if USE_STDIO_BASE is defined.
3132 */
3133#$d_stdiobase USE_STDIO_BASE /**/
3134#ifdef USE_STDIO_BASE
3135#define FILE_base(fp) $stdio_base
3136#define FILE_bufsiz(fp) $stdio_bufsiz
3137#endif
3138
3139/* HAS_VPRINTF:
3140 * This symbol, if defined, indicates that the vprintf routine is available
3141 * to printf with a pointer to an argument list. If unavailable, you
3142 * may need to write your own, probably in terms of _doprnt().
3143 */
3144/* USE_CHAR_VSPRINTF:
3145 * This symbol is defined if this system has vsprintf() returning type
3146 * (char*). The trend seems to be to declare it as "int vsprintf()". It
3147 * is up to the package author to declare vsprintf correctly based on the
3148 * symbol.
3149 */
3150#$d_vprintf HAS_VPRINTF /**/
3151#$d_charvspr USE_CHAR_VSPRINTF /**/
3152
3153/* DOUBLESIZE:
3154 * This symbol contains the size of a double, so that the C preprocessor
3155 * can make decisions based on it.
3156 */
3157#define DOUBLESIZE $doublesize /**/
3158
3159/* I_TIME:
3160 * This symbol, if defined, indicates to the C program that it should
3161 * include <time.h>.
3162 */
3163/* I_SYS_TIME:
3164 * This symbol, if defined, indicates to the C program that it should
3165 * include <sys/time.h>.
3166 */
3167/* I_SYS_TIME_KERNEL:
3168 * This symbol, if defined, indicates to the C program that it should
3169 * include <sys/time.h> with KERNEL defined.
3170 */
3171/* HAS_TM_TM_ZONE:
3172 * This symbol, if defined, indicates to the C program that
3173 * the struct tm has a tm_zone field.
3174 */
3175/* HAS_TM_TM_GMTOFF:
3176 * This symbol, if defined, indicates to the C program that
3177 * the struct tm has a tm_gmtoff field.
3178 */
3179#$i_time I_TIME /**/
3180#$i_systime I_SYS_TIME /**/
3181#$i_systimek I_SYS_TIME_KERNEL /**/
3182#$d_tm_tm_zone HAS_TM_TM_ZONE /**/
3183#$d_tm_tm_gmtoff HAS_TM_TM_GMTOFF /**/
3184
3185/* VAL_O_NONBLOCK:
3186 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
3187 * non-blocking I/O for the file descriptor. Note that there is no way
3188 * back, i.e. you cannot turn it blocking again this way. If you wish to
3189 * alternatively switch between blocking and non-blocking, use the
3190 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
3191 */
3192/* VAL_EAGAIN:
3193 * This symbol holds the errno error code set by read() when no data was
3194 * present on the non-blocking file descriptor.
3195 */
3196/* RD_NODATA:
3197 * This symbol holds the return code from read() when no data is present
3198 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
3199 * not defined, then you can't distinguish between no data and EOF by
3200 * issuing a read(). You'll have to find another way to tell for sure!
3201 */
3202/* EOF_NONBLOCK:
3203 * This symbol, if defined, indicates to the C program that a read() on
3204 * a non-blocking file descriptor will return 0 on EOF, and not the value
3205 * held in RD_NODATA (-1 usually, in that case!).
3206 */
3207#define VAL_O_NONBLOCK $o_nonblock
3208#define VAL_EAGAIN $eagain
3209#define RD_NODATA $rd_nodata
3210#$d_eofnblk EOF_NONBLOCK
3211
3212/* PTRSIZE:
3213 * This symbol contains the size of a pointer, so that the C preprocessor
3214 * can make decisions based on it. It will be sizeof(void *) if
3215 * the compiler supports (void *); otherwise it will be
3216 * sizeof(char *).
3217 */
3218#define PTRSIZE $ptrsize /**/
3219
3220/* Drand01:
3221 * This macro is to be used to generate uniformly distributed
3222 * random numbers over the range [0., 1.[. You may have to supply
3223 * an 'extern double drand48();' in your program since SunOS 4.1.3
3224 * doesn't provide you with anything relevant in its headers.
3225 * See HAS_DRAND48_PROTO.
3226 */
3227/* Rand_seed_t:
3228 * This symbol defines the type of the argument of the
3229 * random seed function.
3230 */
3231/* seedDrand01:
3232 * This symbol defines the macro to be used in seeding the
3233 * random number generator (see Drand01).
3234 */
3235/* RANDBITS:
3236 * This symbol indicates how many bits are produced by the
3237 * function used to generate normalized random numbers.
3238 * Values include 15, 16, 31, and 48.
3239 */
3240#define Drand01() $drand01 /**/
3241#define Rand_seed_t $randseedtype /**/
3242#define seedDrand01(x) $seedfunc((Rand_seed_t)x) /**/
3243#define RANDBITS $randbits /**/
3244
3245/* SSize_t:
3246 * This symbol holds the type used by functions that return
3247 * a count of bytes or an error condition. It must be a signed type.
3248 * It is usually ssize_t, but may be long or int, etc.
3249 * It may be necessary to include <sys/types.h> or <unistd.h>
3250 * to get any typedef'ed information.
3251 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
3252 */
3253#define SSize_t $ssizetype /* signed count of bytes */
3254
3255/* EBCDIC:
3256 * This symbol, if defined, indicates that this system uses
3257 * EBCDIC encoding.
3258 */
3259#$ebcdic EBCDIC /**/
3260
3261/* HAS_ATOLF:
3262 * This symbol, if defined, indicates that the atolf routine is
3263 * available to convert strings into long doubles.
3264 */
3265#$d_atolf HAS_ATOLF /**/
3266
3267/* HAS_ATOLL:
3268 * This symbol, if defined, indicates that the atoll routine is
3269 * available to convert strings into long longs.
3270 */
3271#$d_atoll HAS_ATOLL /**/
3272
3273/* HAS__FWALK:
3274 * This symbol, if defined, indicates that the _fwalk system call is
3275 * available to apply a function to all the file handles.
3276 */
3277#$d__fwalk HAS__FWALK /**/
3278
3279/* HAS_AINTL:
3280 * This symbol, if defined, indicates that the aintl routine is
3281 * available. If copysignl is also present we can emulate modfl.
3282 */
3283#$d_aintl HAS_AINTL /**/
3284
3285/* HAS_BUILTIN_CHOOSE_EXPR:
3286 * Can we handle GCC builtin for compile-time ternary-like expressions
3287 */
3288/* HAS_BUILTIN_EXPECT:
3289 * Can we handle GCC builtin for telling that certain values are more
3290 * likely
3291 */
3292#$d_builtin_expect HAS_BUILTIN_EXPECT /**/
3293#$d_builtin_choose_expr HAS_BUILTIN_CHOOSE_EXPR /**/
3294
3295/* HAS_C99_VARIADIC_MACROS:
3296 * If defined, the compiler supports C99 variadic macros.
3297 */
3298#$d_c99_variadic_macros HAS_C99_VARIADIC_MACROS /**/
3299
3300/* HAS_CLASS:
3301 * This symbol, if defined, indicates that the class routine is
3302 * available to classify doubles. Available for example in AIX.
3303 * The returned values are defined in <float.h> and are:
3304 *
3305 * FP_PLUS_NORM Positive normalized, nonzero
3306 * FP_MINUS_NORM Negative normalized, nonzero
3307 * FP_PLUS_DENORM Positive denormalized, nonzero
3308 * FP_MINUS_DENORM Negative denormalized, nonzero
3309 * FP_PLUS_ZERO +0.0
3310 * FP_MINUS_ZERO -0.0
3311 * FP_PLUS_INF +INF
3312 * FP_MINUS_INF -INF
3313 * FP_NANS Signaling Not a Number (NaNS)
3314 * FP_NANQ Quiet Not a Number (NaNQ)
3315 */
3316#$d_class HAS_CLASS /**/
3317
3318/* HAS_CLEARENV:
3319 * This symbol, if defined, indicates that the clearenv () routine is
3320 * available for use.
3321 */
3322#$d_clearenv HAS_CLEARENV /**/
3323
3324/* HAS_STRUCT_CMSGHDR:
3325 * This symbol, if defined, indicates that the struct cmsghdr
3326 * is supported.
3327 */
3328#$d_cmsghdr_s HAS_STRUCT_CMSGHDR /**/
3329
3330/* HAS_COPYSIGNL:
3331 * This symbol, if defined, indicates that the copysignl routine is
3332 * available. If aintl is also present we can emulate modfl.
3333 */
3334#$d_copysignl HAS_COPYSIGNL /**/
3335
3336/* USE_CPLUSPLUS:
3337 * This symbol, if defined, indicates that a C++ compiler was
3338 * used to compiled Perl and will be used to compile extensions.
3339 */
3340#$d_cplusplus USE_CPLUSPLUS /**/
3341
3342/* HAS_DBMINIT_PROTO:
3343 * This symbol, if defined, indicates that the system provides
3344 * a prototype for the dbminit() function. Otherwise, it is up
3345 * to the program to supply one. A good guess is
3346 * extern int dbminit(char *);
3347 */
3348#$d_dbminitproto HAS_DBMINIT_PROTO /**/
3349
3350/* HAS_DIR_DD_FD:
3351 * This symbol, if defined, indicates that the the DIR* dirstream
3352 * structure contains a member variable named dd_fd.
3353 */
3354#$d_dir_dd_fd HAS_DIR_DD_FD /**/
3355
3356/* HAS_DIRFD:
3357 * This manifest constant lets the C program know that dirfd
3358 * is available.
3359 */
3360#$d_dirfd HAS_DIRFD /**/
3361
3362/* DLSYM_NEEDS_UNDERSCORE:
3363 * This symbol, if defined, indicates that we need to prepend an
3364 * underscore to the symbol name before calling dlsym(). This only
3365 * makes sense if you *have* dlsym, which we will presume is the
3366 * case if you're using dl_dlopen.xs.
3367 */
3368#$d_dlsymun DLSYM_NEEDS_UNDERSCORE /**/
3369
3370/* HAS_FAST_STDIO:
3371 * This symbol, if defined, indicates that the "fast stdio"
3372 * is available to manipulate the stdio buffers directly.
3373 */
3374#$d_faststdio HAS_FAST_STDIO /**/
3375
3376/* HAS_FCHDIR:
3377 * This symbol, if defined, indicates that the fchdir routine is
3378 * available to change directory using a file descriptor.
3379 */
3380#$d_fchdir HAS_FCHDIR /**/
3381
3382/* FCNTL_CAN_LOCK:
3383 * This symbol, if defined, indicates that fcntl() can be used
3384 * for file locking. Normally on Unix systems this is defined.
3385 * It may be undefined on VMS.
3386 */
3387#$d_fcntl_can_lock FCNTL_CAN_LOCK /**/
3388
3389/* HAS_FINITE:
3390 * This symbol, if defined, indicates that the finite routine is
3391 * available to check whether a double is finite (non-infinity non-NaN).
3392 */
3393#$d_finite HAS_FINITE /**/
3394
3395/* HAS_FINITEL:
3396 * This symbol, if defined, indicates that the finitel routine is
3397 * available to check whether a long double is finite
3398 * (non-infinity non-NaN).
3399 */
3400#$d_finitel HAS_FINITEL /**/
3401
3402/* HAS_FLOCK_PROTO:
3403 * This symbol, if defined, indicates that the system provides
3404 * a prototype for the flock() function. Otherwise, it is up
3405 * to the program to supply one. A good guess is
3406 * extern int flock(int, int);
3407 */
3408#$d_flockproto HAS_FLOCK_PROTO /**/
3409
3410/* HAS_FP_CLASS:
3411 * This symbol, if defined, indicates that the fp_class routine is
3412 * available to classify doubles. Available for example in Digital UNIX.
3413 * The returned values are defined in <math.h> and are:
3414 *
3415 * FP_SNAN Signaling NaN (Not-a-Number)
3416 * FP_QNAN Quiet NaN (Not-a-Number)
3417 * FP_POS_INF +infinity
3418 * FP_NEG_INF -infinity
3419 * FP_POS_NORM Positive normalized
3420 * FP_NEG_NORM Negative normalized
3421 * FP_POS_DENORM Positive denormalized
3422 * FP_NEG_DENORM Negative denormalized
3423 * FP_POS_ZERO +0.0 (positive zero)
3424 * FP_NEG_ZERO -0.0 (negative zero)
3425 */
3426#$d_fp_class HAS_FP_CLASS /**/
3427
3428/* HAS_FPCLASS:
3429 * This symbol, if defined, indicates that the fpclass routine is
3430 * available to classify doubles. Available for example in Solaris/SVR4.
3431 * The returned values are defined in <ieeefp.h> and are:
3432 *
3433 * FP_SNAN signaling NaN
3434 * FP_QNAN quiet NaN
3435 * FP_NINF negative infinity
3436 * FP_PINF positive infinity
3437 * FP_NDENORM negative denormalized non-zero
3438 * FP_PDENORM positive denormalized non-zero
3439 * FP_NZERO negative zero
3440 * FP_PZERO positive zero
3441 * FP_NNORM negative normalized non-zero
3442 * FP_PNORM positive normalized non-zero
3443 */
3444#$d_fpclass HAS_FPCLASS /**/
3445
3446/* HAS_FPCLASSIFY:
3447 * This symbol, if defined, indicates that the fpclassify routine is
3448 * available to classify doubles. Available for example in HP-UX.
3449 * The returned values are defined in <math.h> and are
3450 *
3451 * FP_NORMAL Normalized
3452 * FP_ZERO Zero
3453 * FP_INFINITE Infinity
3454 * FP_SUBNORMAL Denormalized
3455 * FP_NAN NaN
3456 *
3457 */
3458#$d_fpclassify HAS_FPCLASSIFY /**/
3459
3460/* HAS_FPCLASSL:
3461 * This symbol, if defined, indicates that the fpclassl routine is
3462 * available to classify long doubles. Available for example in IRIX.
3463 * The returned values are defined in <ieeefp.h> and are:
3464 *
3465 * FP_SNAN signaling NaN
3466 * FP_QNAN quiet NaN
3467 * FP_NINF negative infinity
3468 * FP_PINF positive infinity
3469 * FP_NDENORM negative denormalized non-zero
3470 * FP_PDENORM positive denormalized non-zero
3471 * FP_NZERO negative zero
3472 * FP_PZERO positive zero
3473 * FP_NNORM negative normalized non-zero
3474 * FP_PNORM positive normalized non-zero
3475 */
3476#$d_fpclassl HAS_FPCLASSL /**/
3477
3478/* HAS_FPOS64_T:
3479 * This symbol will be defined if the C compiler supports fpos64_t.
3480 */
3481#$d_fpos64_t HAS_FPOS64_T /**/
3482
3483/* HAS_FREXPL:
3484 * This symbol, if defined, indicates that the frexpl routine is
3485 * available to break a long double floating-point number into
3486 * a normalized fraction and an integral power of 2.
3487 */
3488#$d_frexpl HAS_FREXPL /**/
3489
3490/* HAS_STRUCT_FS_DATA:
3491 * This symbol, if defined, indicates that the struct fs_data
3492 * to do statfs() is supported.
3493 */
3494#$d_fs_data_s HAS_STRUCT_FS_DATA /**/
3495
3496/* HAS_FSEEKO:
3497 * This symbol, if defined, indicates that the fseeko routine is
3498 * available to fseek beyond 32 bits (useful for ILP32 hosts).
3499 */
3500#$d_fseeko HAS_FSEEKO /**/
3501
3502/* HAS_FSTATFS:
3503 * This symbol, if defined, indicates that the fstatfs routine is
3504 * available to stat filesystems by file descriptors.
3505 */
3506#$d_fstatfs HAS_FSTATFS /**/
3507
3508/* HAS_FSYNC:
3509 * This symbol, if defined, indicates that the fsync routine is
3510 * available to write a file's modified data and attributes to
3511 * permanent storage.
3512 */
3513#$d_fsync HAS_FSYNC /**/
3514
3515/* HAS_FTELLO:
3516 * This symbol, if defined, indicates that the ftello routine is
3517 * available to ftell beyond 32 bits (useful for ILP32 hosts).
3518 */
3519#$d_ftello HAS_FTELLO /**/
3520
3521/* HAS_FUTIMES:
3522 * This symbol, if defined, indicates that the futimes routine is
3523 * available to change file descriptor time stamps with struct timevals.
3524 */
3525#$d_futimes HAS_FUTIMES /**/
3526
3527/* HAS_GETCWD:
3528 * This symbol, if defined, indicates that the getcwd routine is
3529 * available to get the current working directory.
3530 */
3531#$d_getcwd HAS_GETCWD /**/
3532
3533/* HAS_GETESPWNAM:
3534 * This symbol, if defined, indicates that the getespwnam system call is
3535 * available to retrieve enchanced (shadow) password entries by name.
3536 */
3537#$d_getespwnam HAS_GETESPWNAM /**/
3538
3539/* HAS_GETFSSTAT:
3540 * This symbol, if defined, indicates that the getfsstat routine is
3541 * available to stat filesystems in bulk.
3542 */
3543#$d_getfsstat HAS_GETFSSTAT /**/
3544
3545/* HAS_GETITIMER:
3546 * This symbol, if defined, indicates that the getitimer routine is
3547 * available to return interval timers.
3548 */
3549#$d_getitimer HAS_GETITIMER /**/
3550
3551/* HAS_GETMNT:
3552 * This symbol, if defined, indicates that the getmnt routine is
3553 * available to get filesystem mount info by filename.
3554 */
3555#$d_getmnt HAS_GETMNT /**/
3556
3557/* HAS_GETMNTENT:
3558 * This symbol, if defined, indicates that the getmntent routine is
3559 * available to iterate through mounted file systems to get their info.
3560 */
3561#$d_getmntent HAS_GETMNTENT /**/
3562
3563/* HAS_GETPRPWNAM:
3564 * This symbol, if defined, indicates that the getprpwnam system call is
3565 * available to retrieve protected (shadow) password entries by name.
3566 */
3567#$d_getprpwnam HAS_GETPRPWNAM /**/
3568
3569/* HAS_GETSPNAM:
3570 * This symbol, if defined, indicates that the getspnam system call is
3571 * available to retrieve SysV shadow password entries by name.
3572 */
3573#$d_getspnam HAS_GETSPNAM /**/
3574
3575/* HAS_HASMNTOPT:
3576 * This symbol, if defined, indicates that the hasmntopt routine is
3577 * available to query the mount options of file systems.
3578 */
3579#$d_hasmntopt HAS_HASMNTOPT /**/
3580
3581/* HAS_ILOGBL:
3582 * This symbol, if defined, indicates that the ilogbl routine is
3583 * available. If scalbnl is also present we can emulate frexpl.
3584 */
3585#$d_ilogbl HAS_ILOGBL /**/
3586
3587/* HAS_INT64_T:
3588 * This symbol will defined if the C compiler supports int64_t.
3589 * Usually the <inttypes.h> needs to be included, but sometimes
3590 * <sys/types.h> is enough.
3591 */
3592#$d_int64_t HAS_INT64_T /**/
3593
3594/* HAS_ISFINITE:
3595 * This symbol, if defined, indicates that the isfinite routine is
3596 * available to check whether a double is finite (non-infinity non-NaN).
3597 */
3598#$d_isfinite HAS_ISFINITE /**/
3599
3600/* HAS_ISINF:
3601 * This symbol, if defined, indicates that the isinf routine is
3602 * available to check whether a double is an infinity.
3603 */
3604#$d_isinf HAS_ISINF /**/
3605
3606/* HAS_ISNAN:
3607 * This symbol, if defined, indicates that the isnan routine is
3608 * available to check whether a double is a NaN.
3609 */
3610#$d_isnan HAS_ISNAN /**/
3611
3612/* HAS_ISNANL:
3613 * This symbol, if defined, indicates that the isnanl routine is
3614 * available to check whether a long double is a NaN.
3615 */
3616#$d_isnanl HAS_ISNANL /**/
3617
3618/* HAS_LDBL_DIG:
3619 * This symbol, if defined, indicates that this system's <float.h>
3620 * or <limits.h> defines the symbol LDBL_DIG, which is the number
3621 * of significant digits in a long double precision number. Unlike
3622 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
3623 */
3624#$d_ldbl_dig HAS_LDBL_DIG /* */
3625
3626/* LIBM_LIB_VERSION:
3627 * This symbol, if defined, indicates that libm exports _LIB_VERSION
3628 * and that math.h defines the enum to manipulate it.
3629 */
3630#$d_libm_lib_version LIBM_LIB_VERSION /**/
3631
3632/* HAS_MADVISE:
3633 * This symbol, if defined, indicates that the madvise system call is
3634 * available to map a file into memory.
3635 */
3636#$d_madvise HAS_MADVISE /**/
3637
3638/* HAS_MALLOC_SIZE:
3639 * This symbol, if defined, indicates that the malloc_size
3640 * routine is available for use.
3641 */
3642#$d_malloc_size HAS_MALLOC_SIZE /**/
3643
3644/* HAS_MALLOC_GOOD_SIZE:
3645 * This symbol, if defined, indicates that the malloc_good_size
3646 * routine is available for use.
3647 */
3648#$d_malloc_good_size HAS_MALLOC_GOOD_SIZE /**/
3649
3650/* HAS_MKDTEMP:
3651 * This symbol, if defined, indicates that the mkdtemp routine is
3652 * available to exclusively create a uniquely named temporary directory.
3653 */
3654#$d_mkdtemp HAS_MKDTEMP /**/
3655
3656/* HAS_MKSTEMPS:
3657 * This symbol, if defined, indicates that the mkstemps routine is
3658 * available to excluslvely create and open a uniquely named
3659 * (with a suffix) temporary file.
3660 */
3661#$d_mkstemps HAS_MKSTEMPS /**/
3662
3663/* HAS_MODFL:
3664 * This symbol, if defined, indicates that the modfl routine is
3665 * available to split a long double x into a fractional part f and
3666 * an integer part i such that |f| < 1.0 and (f + i) = x.
3667 */
3668/* HAS_MODFL_PROTO:
3669 * This symbol, if defined, indicates that the system provides
3670 * a prototype for the modfl() function. Otherwise, it is up
3671 * to the program to supply one.
3672 */
3673/* HAS_MODFL_POW32_BUG:
3674 * This symbol, if defined, indicates that the modfl routine is
3675 * broken for long doubles >= pow(2, 32).
3676 * For example from 4294967303.150000 one would get 4294967302.000000
3677 * and 1.150000. The bug has been seen in certain versions of glibc,
3678 * release 2.2.2 is known to be okay.
3679 */
3680#$d_modfl HAS_MODFL /**/
3681#$d_modflproto HAS_MODFL_PROTO /**/
3682#$d_modfl_pow32_bug HAS_MODFL_POW32_BUG /**/
3683
3684/* HAS_MPROTECT:
3685 * This symbol, if defined, indicates that the mprotect system call is
3686 * available to modify the access protection of a memory mapped file.
3687 */
3688#$d_mprotect HAS_MPROTECT /**/
3689
3690/* HAS_STRUCT_MSGHDR:
3691 * This symbol, if defined, indicates that the struct msghdr
3692 * is supported.
3693 */
3694#$d_msghdr_s HAS_STRUCT_MSGHDR /**/
3695
3696/* HAS_NL_LANGINFO:
3697 * This symbol, if defined, indicates that the nl_langinfo routine is
3698 * available to return local data. You will also need <langinfo.h>
3699 * and therefore I_LANGINFO.
3700 */
3701#$d_nl_langinfo HAS_NL_LANGINFO /**/
3702
3703/* HAS_OFF64_T:
3704 * This symbol will be defined if the C compiler supports off64_t.
3705 */
3706#$d_off64_t HAS_OFF64_T /**/
3707
3708/* HAS_PROCSELFEXE:
3709 * This symbol is defined if PROCSELFEXE_PATH is a symlink
3710 * to the absolute pathname of the executing program.
3711 */
3712/* PROCSELFEXE_PATH:
3713 * If HAS_PROCSELFEXE is defined this symbol is the filename
3714 * of the symbolic link pointing to the absolute pathname of
3715 * the executing program.
3716 */
3717#$d_procselfexe HAS_PROCSELFEXE /**/
3718#if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH)
3719#define PROCSELFEXE_PATH $procselfexe /**/
3720#endif
3721
3722/* HAS_PTHREAD_ATTR_SETSCOPE:
3723 * This symbol, if defined, indicates that the pthread_attr_setscope
3724 * system call is available to set the contention scope attribute of
3725 * a thread attribute object.
3726 */
3727#$d_pthread_attr_setscope HAS_PTHREAD_ATTR_SETSCOPE /**/
3728
3729/* HAS_READV:
3730 * This symbol, if defined, indicates that the readv routine is
3731 * available to do gather reads. You will also need <sys/uio.h>
3732 * and there I_SYSUIO.
3733 */
3734#$d_readv HAS_READV /**/
3735
3736/* HAS_RECVMSG:
3737 * This symbol, if defined, indicates that the recvmsg routine is
3738 * available to send structured socket messages.
3739 */
3740#$d_recvmsg HAS_RECVMSG /**/
3741
3742/* HAS_SBRK_PROTO:
3743 * This symbol, if defined, indicates that the system provides
3744 * a prototype for the sbrk() function. Otherwise, it is up
3745 * to the program to supply one. Good guesses are
3746 * extern void* sbrk(int);
3747 * extern void* sbrk(size_t);
3748 */
3749#$d_sbrkproto HAS_SBRK_PROTO /**/
3750
3751/* HAS_SCALBNL:
3752 * This symbol, if defined, indicates that the scalbnl routine is
3753 * available. If ilogbl is also present we can emulate frexpl.
3754 */
3755#$d_scalbnl HAS_SCALBNL /**/
3756
3757/* HAS_SENDMSG:
3758 * This symbol, if defined, indicates that the sendmsg routine is
3759 * available to send structured socket messages.
3760 */
3761#$d_sendmsg HAS_SENDMSG /**/
3762
3763/* HAS_SETITIMER:
3764 * This symbol, if defined, indicates that the setitimer routine is
3765 * available to set interval timers.
3766 */
3767#$d_setitimer HAS_SETITIMER /**/
3768
3769/* HAS_SETPROCTITLE:
3770 * This symbol, if defined, indicates that the setproctitle routine is
3771 * available to set process title.
3772 */
3773#$d_setproctitle HAS_SETPROCTITLE /**/
3774
3775/* USE_SFIO:
3776 * This symbol, if defined, indicates that sfio should
3777 * be used.
3778 */
3779#$d_sfio USE_SFIO /**/
3780
3781/* HAS_SIGNBIT:
3782 * This symbol, if defined, indicates that the signbit routine is
3783 * available to check if the given number has the sign bit set.
3784 * This should include correct testing of -0.0. This will only be set
3785 * if the signbit() routine is safe to use with the NV type used internally
3786 * in perl. Users should call Perl_signbit(), which will be #defined to
3787 * the system's signbit() function or macro if this symbol is defined.
3788 */
3789#$d_signbit HAS_SIGNBIT /**/
3790
3791/* HAS_SIGPROCMASK:
3792 * This symbol, if defined, indicates that the sigprocmask
3793 * system call is available to examine or change the signal mask
3794 * of the calling process.
3795 */
3796#$d_sigprocmask HAS_SIGPROCMASK /**/
3797
3798/* USE_SITECUSTOMIZE:
3799 * This symbol, if defined, indicates that sitecustomize should
3800 * be used.
3801 */
3802#ifndef USE_SITECUSTOMIZE
3803#$usesitecustomize USE_SITECUSTOMIZE /**/
3804#endif
3805
3806/* HAS_SNPRINTF:
3807 * This symbol, if defined, indicates that the snprintf () library
3808 * function is available for use.
3809 */
3810/* HAS_VSNPRINTF:
3811 * This symbol, if defined, indicates that the vsnprintf () library
3812 * function is available for use.
3813 */
3814#$d_snprintf HAS_SNPRINTF /**/
3815#$d_vsnprintf HAS_VSNPRINTF /**/
3816
3817/* HAS_SOCKATMARK:
3818 * This symbol, if defined, indicates that the sockatmark routine is
3819 * available to test whether a socket is at the out-of-band mark.
3820 */
3821#$d_sockatmark HAS_SOCKATMARK /**/
3822
3823/* HAS_SOCKATMARK_PROTO:
3824 * This symbol, if defined, indicates that the system provides
3825 * a prototype for the sockatmark() function. Otherwise, it is up
3826 * to the program to supply one. A good guess is
3827 * extern int sockatmark(int);
3828 */
3829#$d_sockatmarkproto HAS_SOCKATMARK_PROTO /**/
3830
3831/* HAS_SOCKS5_INIT:
3832 * This symbol, if defined, indicates that the socks5_init routine is
3833 * available to initialize SOCKS 5.
3834 */
3835#$d_socks5_init HAS_SOCKS5_INIT /**/
3836
3837/* SPRINTF_RETURNS_STRLEN:
3838 * This variable defines whether sprintf returns the length of the string
3839 * (as per the ANSI spec). Some C libraries retain compatibility with
3840 * pre-ANSI C and return a pointer to the passed in buffer; for these
3841 * this variable will be undef.
3842 */
3843#$d_sprintf_returns_strlen SPRINTF_RETURNS_STRLEN /**/
3844
3845/* HAS_SQRTL:
3846 * This symbol, if defined, indicates that the sqrtl routine is
3847 * available to do long double square roots.
3848 */
3849#$d_sqrtl HAS_SQRTL /**/
3850
3851/* HAS_SETRESGID_PROTO:
3852 * This symbol, if defined, indicates that the system provides
3853 * a prototype for the setresgid() function. Otherwise, it is up
3854 * to the program to supply one. Good guesses are
3855 * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid);
3856 */
3857#$d_sresgproto HAS_SETRESGID_PROTO /**/
3858
3859/* HAS_SETRESUID_PROTO:
3860 * This symbol, if defined, indicates that the system provides
3861 * a prototype for the setresuid() function. Otherwise, it is up
3862 * to the program to supply one. Good guesses are
3863 * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid);
3864 */
3865#$d_sresuproto HAS_SETRESUID_PROTO /**/
3866
3867/* HAS_STRUCT_STATFS_F_FLAGS:
3868 * This symbol, if defined, indicates that the struct statfs
3869 * does have the f_flags member containing the mount flags of
3870 * the filesystem containing the file.
3871 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
3872 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
3873 * have statfs() and struct statfs, they have ustat() and getmnt()
3874 * with struct ustat and struct fs_data.
3875 */
3876#$d_statfs_f_flags HAS_STRUCT_STATFS_F_FLAGS /**/
3877
3878/* HAS_STRUCT_STATFS:
3879 * This symbol, if defined, indicates that the struct statfs
3880 * to do statfs() is supported.
3881 */
3882#$d_statfs_s HAS_STRUCT_STATFS /**/
3883
3884/* HAS_FSTATVFS:
3885 * This symbol, if defined, indicates that the fstatvfs routine is
3886 * available to stat filesystems by file descriptors.
3887 */
3888#$d_fstatvfs HAS_FSTATVFS /**/
3889
3890/* HAS_STRFTIME:
3891 * This symbol, if defined, indicates that the strftime routine is
3892 * available to do time formatting.
3893 */
3894#$d_strftime HAS_STRFTIME /**/
3895
3896/* HAS_STRLCAT:
3897 * This symbol, if defined, indicates that the strlcat () routine is
3898 * available to do string concatenation.
3899 */
3900#$d_strlcat HAS_STRLCAT /**/
3901
3902/* HAS_STRLCPY:
3903 * This symbol, if defined, indicates that the strlcpy () routine is
3904 * available to do string copying.
3905 */
3906#$d_strlcpy HAS_STRLCPY /**/
3907
3908/* HAS_STRTOLD:
3909 * This symbol, if defined, indicates that the strtold routine is
3910 * available to convert strings to long doubles.
3911 */
3912#$d_strtold HAS_STRTOLD /**/
3913
3914/* HAS_STRTOLL:
3915 * This symbol, if defined, indicates that the strtoll routine is
3916 * available to convert strings to long longs.
3917 */
3918#$d_strtoll HAS_STRTOLL /**/
3919
3920/* HAS_STRTOQ:
3921 * This symbol, if defined, indicates that the strtoq routine is
3922 * available to convert strings to long longs (quads).
3923 */
3924#$d_strtoq HAS_STRTOQ /**/
3925
3926/* HAS_STRTOULL:
3927 * This symbol, if defined, indicates that the strtoull routine is
3928 * available to convert strings to unsigned long longs.
3929 */
3930#$d_strtoull HAS_STRTOULL /**/
3931
3932/* HAS_STRTOUQ:
3933 * This symbol, if defined, indicates that the strtouq routine is
3934 * available to convert strings to unsigned long longs (quads).
3935 */
3936#$d_strtouq HAS_STRTOUQ /**/
3937
3938/* HAS_SYSCALL_PROTO:
3939 * This symbol, if defined, indicates that the system provides
3940 * a prototype for the syscall() function. Otherwise, it is up
3941 * to the program to supply one. Good guesses are
3942 * extern int syscall(int, ...);
3943 * extern int syscall(long, ...);
3944 */
3945#$d_syscallproto HAS_SYSCALL_PROTO /**/
3946
3947/* HAS_TELLDIR_PROTO:
3948 * This symbol, if defined, indicates that the system provides
3949 * a prototype for the telldir() function. Otherwise, it is up
3950 * to the program to supply one. A good guess is
3951 * extern long telldir(DIR*);
3952 */
3953#$d_telldirproto HAS_TELLDIR_PROTO /**/
3954
3955/* U32_ALIGNMENT_REQUIRED:
3956 * This symbol, if defined, indicates that you must access
3957 * character data through U32-aligned pointers.
3958 */
3959#ifndef U32_ALIGNMENT_REQUIRED
3960#$d_u32align U32_ALIGNMENT_REQUIRED /**/
3961#endif
3962
3963/* HAS_UALARM:
3964 * This symbol, if defined, indicates that the ualarm routine is
3965 * available to do alarms with microsecond granularity.
3966 */
3967#$d_ualarm HAS_UALARM /**/
3968
3969/* HAS_UNORDERED:
3970 * This symbol, if defined, indicates that the unordered routine is
3971 * available to check whether two doubles are unordered
3972 * (effectively: whether either of them is NaN)
3973 */
3974#$d_unordered HAS_UNORDERED /**/
3975
3976/* HAS_UNSETENV:
3977 * This symbol, if defined, indicates that the unsetenv () routine is
3978 * available for use.
3979 */
3980#$d_unsetenv HAS_UNSETENV /**/
3981
3982/* HAS_USLEEP_PROTO:
3983 * This symbol, if defined, indicates that the system provides
3984 * a prototype for the usleep() function. Otherwise, it is up
3985 * to the program to supply one. A good guess is
3986 * extern int usleep(useconds_t);
3987 */
3988#$d_usleepproto HAS_USLEEP_PROTO /**/
3989
3990/* HAS_USTAT:
3991 * This symbol, if defined, indicates that the ustat system call is
3992 * available to query file system statistics by dev_t.
3993 */
3994#$d_ustat HAS_USTAT /**/
3995
3996/* HAS_WRITEV:
3997 * This symbol, if defined, indicates that the writev routine is
3998 * available to do scatter writes.
3999 */
4000#$d_writev HAS_WRITEV /**/
4001
4002/* USE_DYNAMIC_LOADING:
4003 * This symbol, if defined, indicates that dynamic loading of
4004 * some sort is available.
4005 */
4006#$usedl USE_DYNAMIC_LOADING /**/
4007
4008/* FFLUSH_NULL:
4009 * This symbol, if defined, tells that fflush(NULL) does flush
4010 * all pending stdio output.
4011 */
4012/* FFLUSH_ALL:
4013 * This symbol, if defined, tells that to flush
4014 * all pending stdio output one must loop through all
4015 * the stdio file handles stored in an array and fflush them.
4016 * Note that if fflushNULL is defined, fflushall will not
4017 * even be probed for and will be left undefined.
4018 */
4019#$fflushNULL FFLUSH_NULL /**/
4020#$fflushall FFLUSH_ALL /**/
4021
4022/* I_CRYPT:
4023 * This symbol, if defined, indicates that <crypt.h> exists and
4024 * should be included.
4025 */
4026#$i_crypt I_CRYPT /**/
4027
4028/* DB_Prefix_t:
4029 * This symbol contains the type of the prefix structure element
4030 * in the <db.h> header file. In older versions of DB, it was
4031 * int, while in newer ones it is u_int32_t.
4032 */
4033/* DB_Hash_t:
4034 * This symbol contains the type of the prefix structure element
4035 * in the <db.h> header file. In older versions of DB, it was
4036 * int, while in newer ones it is size_t.
4037 */
4038/* DB_VERSION_MAJOR_CFG:
4039 * This symbol, if defined, defines the major version number of
4040 * Berkeley DB found in the <db.h> header when Perl was configured.
4041 */
4042/* DB_VERSION_MINOR_CFG:
4043 * This symbol, if defined, defines the minor version number of
4044 * Berkeley DB found in the <db.h> header when Perl was configured.
4045 * For DB version 1 this is always 0.
4046 */
4047/* DB_VERSION_PATCH_CFG:
4048 * This symbol, if defined, defines the patch version number of
4049 * Berkeley DB found in the <db.h> header when Perl was configured.
4050 * For DB version 1 this is always 0.
4051 */
4052#define DB_Hash_t $db_hashtype /**/
4053#define DB_Prefix_t $db_prefixtype /**/
4054#define DB_VERSION_MAJOR_CFG $db_version_major /**/
4055#define DB_VERSION_MINOR_CFG $db_version_minor /**/
4056#define DB_VERSION_PATCH_CFG $db_version_patch /**/
4057
4058/* I_FP:
4059 * This symbol, if defined, indicates that <fp.h> exists and
4060 * should be included.
4061 */
4062#$i_fp I_FP /**/
4063
4064/* I_FP_CLASS:
4065 * This symbol, if defined, indicates that <fp_class.h> exists and
4066 * should be included.
4067 */
4068#$i_fp_class I_FP_CLASS /**/
4069
4070/* I_IEEEFP:
4071 * This symbol, if defined, indicates that <ieeefp.h> exists and
4072 * should be included.
4073 */
4074#$i_ieeefp I_IEEEFP /**/
4075
4076/* I_INTTYPES:
4077 * This symbol, if defined, indicates to the C program that it should
4078 * include <inttypes.h>.
4079 */
4080#$i_inttypes I_INTTYPES /**/
4081
4082/* I_LANGINFO:
4083 * This symbol, if defined, indicates that <langinfo.h> exists and
4084 * should be included.
4085 */
4086#$i_langinfo I_LANGINFO /**/
4087
4088/* I_LIBUTIL:
4089 * This symbol, if defined, indicates that <libutil.h> exists and
4090 * should be included.
4091 */
4092#$i_libutil I_LIBUTIL /**/
4093
4094/* I_MNTENT:
4095 * This symbol, if defined, indicates that <mntent.h> exists and
4096 * should be included.
4097 */
4098#$i_mntent I_MNTENT /**/
4099
4100/* I_NETINET_TCP:
4101 * This symbol, if defined, indicates to the C program that it should
4102 * include <netinet/tcp.h>.
4103 */
4104#$i_netinettcp I_NETINET_TCP /**/
4105
4106/* I_POLL:
4107 * This symbol, if defined, indicates that <poll.h> exists and
4108 * should be included. (see also HAS_POLL)
4109 */
4110#$i_poll I_POLL /**/
4111
4112/* I_PROT:
4113 * This symbol, if defined, indicates that <prot.h> exists and
4114 * should be included.
4115 */
4116#$i_prot I_PROT /**/
4117
4118/* I_SHADOW:
4119 * This symbol, if defined, indicates that <shadow.h> exists and
4120 * should be included.
4121 */
4122#$i_shadow I_SHADOW /**/
4123
4124/* I_SOCKS:
4125 * This symbol, if defined, indicates that <socks.h> exists and
4126 * should be included.
4127 */
4128#$i_socks I_SOCKS /**/
4129
4130/* I_SUNMATH:
4131 * This symbol, if defined, indicates that <sunmath.h> exists and
4132 * should be included.
4133 */
4134#$i_sunmath I_SUNMATH /**/
4135
4136/* I_SYSLOG:
4137 * This symbol, if defined, indicates that <syslog.h> exists and
4138 * should be included.
4139 */
4140#$i_syslog I_SYSLOG /**/
4141
4142/* I_SYSMODE:
4143 * This symbol, if defined, indicates that <sys/mode.h> exists and
4144 * should be included.
4145 */
4146#$i_sysmode I_SYSMODE /**/
4147
4148/* I_SYS_MOUNT:
4149 * This symbol, if defined, indicates that <sys/mount.h> exists and
4150 * should be included.
4151 */
4152#$i_sysmount I_SYS_MOUNT /**/
4153
4154/* I_SYS_STATFS:
4155 * This symbol, if defined, indicates that <sys/statfs.h> exists.
4156 */
4157#$i_sysstatfs I_SYS_STATFS /**/
4158
4159/* I_SYS_STATVFS:
4160 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
4161 * should be included.
4162 */
4163#$i_sysstatvfs I_SYS_STATVFS /**/
4164
4165/* I_SYSUTSNAME:
4166 * This symbol, if defined, indicates that <sys/utsname.h> exists and
4167 * should be included.
4168 */
4169#$i_sysutsname I_SYSUTSNAME /**/
4170
4171/* I_SYS_VFS:
4172 * This symbol, if defined, indicates that <sys/vfs.h> exists and
4173 * should be included.
4174 */
4175#$i_sysvfs I_SYS_VFS /**/
4176
4177/* I_USTAT:
4178 * This symbol, if defined, indicates that <ustat.h> exists and
4179 * should be included.
4180 */
4181#$i_ustat I_USTAT /**/
4182
4183/* PERL_PRIfldbl:
4184 * This symbol, if defined, contains the string used by stdio to
4185 * format long doubles (format 'f') for output.
4186 */
4187/* PERL_PRIgldbl:
4188 * This symbol, if defined, contains the string used by stdio to
4189 * format long doubles (format 'g') for output.
4190 */
4191/* PERL_PRIeldbl:
4192 * This symbol, if defined, contains the string used by stdio to
4193 * format long doubles (format 'e') for output.
4194 */
4195/* PERL_SCNfldbl:
4196 * This symbol, if defined, contains the string used by stdio to
4197 * format long doubles (format 'f') for input.
4198 */
4199#$d_PRIfldbl PERL_PRIfldbl $sPRIfldbl /**/
4200#$d_PRIgldbl PERL_PRIgldbl $sPRIgldbl /**/
4201#$d_PRIeldbl PERL_PRIeldbl $sPRIeldbl /**/
4202#$d_SCNfldbl PERL_SCNfldbl $sSCNfldbl /**/
4203
4204/* PERL_MAD:
4205 * This symbol, if defined, indicates that the Misc Attribution
4206 * Declaration code should be conditionally compiled.
4207 */
4208#$mad PERL_MAD /**/
4209
4210/* NEED_VA_COPY:
4211 * This symbol, if defined, indicates that the system stores
4212 * the variable argument list datatype, va_list, in a format
4213 * that cannot be copied by simple assignment, so that some
4214 * other means must be used when copying is required.
4215 * As such systems vary in their provision (or non-provision)
4216 * of copying mechanisms, handy.h defines a platform-
4217 * independent macro, Perl_va_copy(src, dst), to do the job.
4218 */
4219#$need_va_copy NEED_VA_COPY /**/
4220
4221/* IVTYPE:
4222 * This symbol defines the C type used for Perl's IV.
4223 */
4224/* UVTYPE:
4225 * This symbol defines the C type used for Perl's UV.
4226 */
4227/* I8TYPE:
4228 * This symbol defines the C type used for Perl's I8.
4229 */
4230/* U8TYPE:
4231 * This symbol defines the C type used for Perl's U8.
4232 */
4233/* I16TYPE:
4234 * This symbol defines the C type used for Perl's I16.
4235 */
4236/* U16TYPE:
4237 * This symbol defines the C type used for Perl's U16.
4238 */
4239/* I32TYPE:
4240 * This symbol defines the C type used for Perl's I32.
4241 */
4242/* U32TYPE:
4243 * This symbol defines the C type used for Perl's U32.
4244 */
4245/* I64TYPE:
4246 * This symbol defines the C type used for Perl's I64.
4247 */
4248/* U64TYPE:
4249 * This symbol defines the C type used for Perl's U64.
4250 */
4251/* NVTYPE:
4252 * This symbol defines the C type used for Perl's NV.
fe749a9f 4253 */
08c92000
MB
4254/* IVSIZE:
4255 * This symbol contains the sizeof(IV).
758a5d79 4256 */
08c92000
MB
4257/* UVSIZE:
4258 * This symbol contains the sizeof(UV).
758a5d79 4259 */
08c92000
MB
4260/* I8SIZE:
4261 * This symbol contains the sizeof(I8).
a3540c92 4262 */
08c92000
MB
4263/* U8SIZE:
4264 * This symbol contains the sizeof(U8).
a33c94aa 4265 */
08c92000
MB
4266/* I16SIZE:
4267 * This symbol contains the sizeof(I16).
a33c94aa 4268 */
08c92000
MB
4269/* U16SIZE:
4270 * This symbol contains the sizeof(U16).
1e8c3fde 4271 */
08c92000
MB
4272/* I32SIZE:
4273 * This symbol contains the sizeof(I32).
fe749a9f 4274 */
08c92000
MB
4275/* U32SIZE:
4276 * This symbol contains the sizeof(U32).
fe749a9f 4277 */
08c92000
MB
4278/* I64SIZE:
4279 * This symbol contains the sizeof(I64).
3813c136 4280 */
08c92000
MB
4281/* U64SIZE:
4282 * This symbol contains the sizeof(U64).
51997bc3 4283 */
08c92000
MB
4284/* NVSIZE:
4285 * This symbol contains the sizeof(NV).
e67aeab1 4286 */
08c92000
MB
4287/* NV_PRESERVES_UV:
4288 * This symbol, if defined, indicates that a variable of type NVTYPE
4289 * can preserve all the bits of a variable of type UVTYPE.
fe749a9f 4290 */
08c92000
MB
4291/* NV_PRESERVES_UV_BITS:
4292 * This symbol contains the number of bits a variable of type NVTYPE
4293 * can preserve of a variable of type UVTYPE.
44b94491 4294 */
17f6277d 4295/* NV_ZERO_IS_ALLBITS_ZERO:
ed140128
AD
4296 * This symbol, if defined, indicates that a variable of type NVTYPE
4297 * stores 0.0 in memory as all bits zero.
e5c9fcd0 4298 */
ed140128
AD
4299#define IVTYPE $ivtype /**/
4300#define UVTYPE $uvtype /**/
4301#define I8TYPE $i8type /**/
4302#define U8TYPE $u8type /**/
4303#define I16TYPE $i16type /**/
4304#define U16TYPE $u16type /**/
4305#define I32TYPE $i32type /**/
4306#define U32TYPE $u32type /**/
4307#ifdef HAS_QUAD
4308#define I64TYPE $i64type /**/
4309#define U64TYPE $u64type /**/
4310#endif
4311#define NVTYPE $nvtype /**/
4312#define IVSIZE $ivsize /**/
4313#define UVSIZE $uvsize /**/
4314#define I8SIZE $i8size /**/
4315#define U8SIZE $u8size /**/
4316#define I16SIZE $i16size /**/
4317#define U16SIZE $u16size /**/
4318#define I32SIZE $i32size /**/
4319#define U32SIZE $u32size /**/
4320#ifdef HAS_QUAD
4321#define I64SIZE $i64size /**/
4322#define U64SIZE $u64size /**/
4323#endif
4324#define NVSIZE $nvsize /**/
4325#$d_nv_preserves_uv NV_PRESERVES_UV
4326#define NV_PRESERVES_UV_BITS $nv_preserves_uv_bits
4327#$d_nv_zero_is_allbits_zero NV_ZERO_IS_ALLBITS_ZERO
4328#if UVSIZE == 8
4329# ifdef BYTEORDER
4330# if BYTEORDER == 0x1234
4331# undef BYTEORDER
4332# define BYTEORDER 0x12345678
4333# else
4334# if BYTEORDER == 0x4321
4335# undef BYTEORDER
4336# define BYTEORDER 0x87654321
4337# endif
4338# endif
4339# endif
4340#endif
e5c9fcd0 4341
ed140128
AD
4342/* IVdf:
4343 * This symbol defines the format string used for printing a Perl IV
4344 * as a signed decimal integer.
e5c9fcd0 4345 */
ed140128
AD
4346/* UVuf:
4347 * This symbol defines the format string used for printing a Perl UV
4348 * as an unsigned decimal integer.
693762b4 4349 */
ed140128
AD
4350/* UVof:
4351 * This symbol defines the format string used for printing a Perl UV
4352 * as an unsigned octal integer.
44b94491 4353 */
ed140128
AD
4354/* UVxf:
4355 * This symbol defines the format string used for printing a Perl UV
4356 * as an unsigned hexadecimal integer in lowercase abcdef.
104d25b7 4357 */
ed140128
AD
4358/* UVXf:
4359 * This symbol defines the format string used for printing a Perl UV
4360 * as an unsigned hexadecimal integer in uppercase ABCDEF.
76d49b1c 4361 */
ed140128
AD
4362/* NVef:
4363 * This symbol defines the format string used for printing a Perl NV
4364 * using %e-ish floating point format.
28e5dec8 4365 */
ed140128
AD
4366/* NVff:
4367 * This symbol defines the format string used for printing a Perl NV
4368 * using %f-ish floating point format.
ad27e871 4369 */
ed140128
AD
4370/* NVgf:
4371 * This symbol defines the format string used for printing a Perl NV
4372 * using %g-ish floating point format.
104d25b7 4373 */
ed140128
AD
4374#define IVdf $ivdformat /**/
4375#define UVuf $uvuformat /**/
4376#define UVof $uvoformat /**/
4377#define UVxf $uvxformat /**/
4378#define UVXf $uvXUformat /**/
4379#define NVef $nveformat /**/
4380#define NVff $nvfformat /**/
4381#define NVgf $nvgformat /**/
104d25b7 4382
ed140128
AD
4383/* SELECT_MIN_BITS:
4384 * This symbol holds the minimum number of bits operated by select.
4385 * That is, if you do select(n, ...), how many bits at least will be
4386 * cleared in the masks if some activity is detected. Usually this
4387 * is either n or 32*ceil(n/32), especially many little-endians do
4388 * the latter. This is only useful if you have select(), naturally.
a845a0d4 4389 */
ed140128 4390#define SELECT_MIN_BITS $selectminbits /**/
a845a0d4 4391
08c92000
MB
4392/* STARTPERL:
4393 * This variable contains the string to put in front of a perl
4394 * script to make sure (one hopes) that it runs with perl and not
4395 * some shell.
cb86ce0e 4396 */
08c92000 4397#define STARTPERL "$startperl" /**/
cb86ce0e 4398
08c92000
MB
4399/* HAS_STDIO_STREAM_ARRAY:
4400 * This symbol, if defined, tells that there is an array
4401 * holding the stdio streams.
4e0554ec 4402 */
08c92000
MB
4403/* STDIO_STREAM_ARRAY:
4404 * This symbol tells the name of the array holding the stdio streams.
4405 * Usual values include _iob, __iob, and __sF.
758a5d79 4406 */
08c92000
MB
4407#$d_stdio_stream_array HAS_STDIO_STREAM_ARRAY /**/
4408#define STDIO_STREAM_ARRAY $stdio_stream_array
758a5d79 4409
08c92000
MB
4410/* USE_64_BIT_INT:
4411 * This symbol, if defined, indicates that 64-bit integers should
4412 * be used when available. If not defined, the native integers
4413 * will be employed (be they 32 or 64 bits). The minimal possible
4414 * 64-bitness is used, just enough to get 64-bit integers into Perl.
4415 * This may mean using for example "long longs", while your memory
4416 * may still be limited to 2 gigabytes.
66fe083f 4417 */
08c92000
MB
4418/* USE_64_BIT_ALL:
4419 * This symbol, if defined, indicates that 64-bit integers should
4420 * be used when available. If not defined, the native integers
4421 * will be used (be they 32 or 64 bits). The maximal possible
4422 * 64-bitness is employed: LP64 or ILP64, meaning that you will
4423 * be able to use more than 2 gigabytes of memory. This mode is
4424 * even more binary incompatible than USE_64_BIT_INT. You may not
4425 * be able to run the resulting executable in a 32-bit CPU at all or
4426 * you may need at least to reboot your OS to 64-bit mode.
767df6a1 4427 */
08c92000
MB
4428#ifndef USE_64_BIT_INT
4429#$use64bitint USE_64_BIT_INT /**/
4430#endif
66fe083f 4431
08c92000
MB
4432#ifndef USE_64_BIT_ALL
4433#$use64bitall USE_64_BIT_ALL /**/
4434#endif
a33c94aa 4435
eaf812ae
MB
4436/* USE_FAST_STDIO:
4437 * This symbol, if defined, indicates that Perl should
4438 * be built to use 'fast stdio'.
4439 * Defaults to define in Perls 5.8 and earlier, to undef later.
4440 */
4441#ifndef USE_FAST_STDIO
4442#$usefaststdio USE_FAST_STDIO /**/
4443#endif
4444
08c92000
MB
4445/* USE_LARGE_FILES:
4446 * This symbol, if defined, indicates that large file support
4447 * should be used when available.
640374d0 4448 */
08c92000
MB
4449#ifndef USE_LARGE_FILES
4450#$uselargefiles USE_LARGE_FILES /**/
4451#endif
dfe9444c 4452
08c92000
MB
4453/* USE_LONG_DOUBLE:
4454 * This symbol, if defined, indicates that long doubles should
4455 * be used when available.
a845a0d4 4456 */
08c92000
MB
4457#ifndef USE_LONG_DOUBLE
4458#$uselongdouble USE_LONG_DOUBLE /**/
4459#endif
a845a0d4 4460
08c92000
MB
4461/* USE_MORE_BITS:
4462 * This symbol, if defined, indicates that 64-bit interfaces and
4463 * long doubles should be used when available.
758a5d79 4464 */
08c92000
MB
4465#ifndef USE_MORE_BITS
4466#$usemorebits USE_MORE_BITS /**/
4467#endif
758a5d79 4468
08c92000
MB
4469/* MULTIPLICITY:
4470 * This symbol, if defined, indicates that Perl should
4471 * be built to use multiplicity.
1acc7ade 4472 */
08c92000
MB
4473#ifndef MULTIPLICITY
4474#$usemultiplicity MULTIPLICITY /**/
4475#endif
1acc7ade 4476
08c92000
MB
4477/* USE_PERLIO:
4478 * This symbol, if defined, indicates that the PerlIO abstraction should
4479 * be used throughout. If not defined, stdio should be
4480 * used in a fully backward compatible manner.
5ff3f7a4 4481 */
08c92000
MB
4482#ifndef USE_PERLIO
4483#$useperlio USE_PERLIO /**/
4484#endif
5ff3f7a4 4485
08c92000
MB
4486/* USE_SOCKS:
4487 * This symbol, if defined, indicates that Perl should
4488 * be built to use socks.
a845a0d4 4489 */
08c92000
MB
4490#ifndef USE_SOCKS
4491#$usesocks USE_SOCKS /**/
4492#endif
a845a0d4 4493
fe14fcc3 4494#endif
8d063cd8 4495!GROK!THIS!
43dddb59 4496;;
11e2f395 4497esac