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