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