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