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