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