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