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