A placeholder.
[p5sagit/p5-mst-13.2.git] / config_h.SH
CommitLineData
12ae5dfc 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 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 18 ;;
19esac
20case "$0" in
21*/*) cd `expr X$0 : 'X\(.*\)/'` ;;
8d063cd8 22esac
12ae5dfc 23echo "Extracting $CONFIG_H (with variable substitutions)"
24sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-def!#undef!'
2304df62 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 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 35 */
36
dfe9444c 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 45#ifndef _config_h_
46#define _config_h_
47
dfe9444c 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
a0d0e21e 53/* HAS_ALARM:
54 * This symbol, if defined, indicates that the alarm routine is
55 * available.
56 */
57#$d_alarm HAS_ALARM /**/
58
b4eb6b3d 59/* HASATTRIBUTE:
60 * This symbol indicates the C compiler can check for function attributes,
61 * such as printf formats. This is normally only supported by GNU cc.
62 */
63#$d_attribut HASATTRIBUTE /**/
64#ifndef HASATTRIBUTE
65#define __attribute__(_arg_)
66#endif
67
2304df62 68/* HAS_BCMP:
69 * This symbol is defined if the bcmp() routine is available to
70 * compare blocks of memory.
a687059c 71 */
2304df62 72#$d_bcmp HAS_BCMP /**/
a687059c 73
2304df62 74/* HAS_BCOPY:
75 * This symbol is defined if the bcopy() routine is available to
76 * copy blocks of memory.
c51b80d1 77 */
2304df62 78#$d_bcopy HAS_BCOPY /**/
c51b80d1 79
2304df62 80/* HAS_BZERO:
81 * This symbol is defined if the bzero() routine is available to
82 * set a memory block to 0.
0d3e774c 83 */
2304df62 84#$d_bzero HAS_BZERO /**/
0d3e774c 85
a0d0e21e 86/* HAS_CHOWN:
87 * This symbol, if defined, indicates that the chown routine is
88 * available.
89 */
90#$d_chown HAS_CHOWN /**/
91
92/* HAS_CHROOT:
93 * This symbol, if defined, indicates that the chroot routine is
94 * available.
95 */
96#$d_chroot HAS_CHROOT /**/
97
2304df62 98/* HAS_CHSIZE:
87250799 99 * This symbol, if defined, indicates that the chsize routine is available
100 * to truncate files. You might need a -lx to get this routine.
101 */
fe14fcc3 102#$d_chsize HAS_CHSIZE /**/
87250799 103
b4eb6b3d 104/* HASCONST:
105 * This symbol, if defined, indicates that this C compiler knows about
106 * the const type. There is no need to actually test for that symbol
107 * within your programs. The mere use of the "const" keyword will
108 * trigger the necessary tests.
109 */
110#$d_const HASCONST /**/
111#ifndef HASCONST
112#define const
113#endif
114
2304df62 115/* HAS_CRYPT:
2e1b3b7e 116 * This symbol, if defined, indicates that the crypt routine is available
117 * to encrypt passwords and the like.
118 */
2304df62 119#$d_crypt HAS_CRYPT /**/
2e1b3b7e 120
a0d0e21e 121/* HAS_CUSERID:
122 * This symbol, if defined, indicates that the cuserid routine is
123 * available to get character login names.
13281fa4 124 */
a0d0e21e 125#$d_cuserid HAS_CUSERID /**/
126
127/* HAS_DBL_DIG:
128 * This symbol, if defined, indicates that this system's <float.h>
129 * or <limits.h> defines the symbol DBL_DIG, which is the number
130 * of significant digits in a double precision number. If this
131 * symbol is not defined, a guess of 15 is usually pretty good.
132 */
133#$d_dbl_dig HAS_DBL_DIG /* */
134
135/* HAS_DIFFTIME:
136 * This symbol, if defined, indicates that the difftime routine is
137 * available.
138 */
139#$d_difftime HAS_DIFFTIME /**/
13281fa4 140
ecfc5424 141/* HAS_DLERROR:
142 * This symbol, if defined, indicates that the dlerror routine is
143 * available to return a string describing the last error that
144 * occurred from a call to dlopen(), dlclose() or dlsym().
145 */
146#$d_dlerror HAS_DLERROR /**/
147
dfe9444c 148/* SETUID_SCRIPTS_ARE_SECURE_NOW:
149 * This symbol, if defined, indicates that the bug that prevents
150 * setuid scripts from being secure is not present in this kernel.
151 */
152/* DOSUID:
153 * This symbol, if defined, indicates that the C program should
154 * check the script that it is executing for setuid/setgid bits, and
155 * attempt to emulate setuid/setgid on systems that have disabled
156 * setuid #! scripts because the kernel can't do it securely.
157 * It is up to the package designer to make sure that this emulation
158 * is done securely. Among other things, it should do an fstat on
159 * the script it just opened to make sure it really is a setuid/setgid
160 * script, it should make sure the arguments passed correspond exactly
161 * to the argument on the #! line, and it should not trust any
162 * subprocesses to which it must pass the filename rather than the
163 * file descriptor of the script to be executed.
164 */
165#$d_suidsafe SETUID_SCRIPTS_ARE_SECURE_NOW /**/
166#$d_dosuid DOSUID /**/
167
2304df62 168/* HAS_DUP2:
169 * This symbol, if defined, indicates that the dup2 routine is
170 * available to duplicate file descriptors.
a687059c 171 */
2304df62 172#$d_dup2 HAS_DUP2 /**/
a687059c 173
2304df62 174/* HAS_FCHMOD:
378cc40b 175 * This symbol, if defined, indicates that the fchmod routine is available
176 * to change mode of opened files. If unavailable, use chmod().
177 */
2304df62 178#$d_fchmod HAS_FCHMOD /**/
378cc40b 179
2304df62 180/* HAS_FCHOWN:
378cc40b 181 * This symbol, if defined, indicates that the fchown routine is available
182 * to change ownership of opened files. If unavailable, use chown().
183 */
2304df62 184#$d_fchown HAS_FCHOWN /**/
378cc40b 185
2304df62 186/* HAS_FCNTL:
fe14fcc3 187 * This symbol, if defined, indicates to the C program that
188 * the fcntl() function exists.
a687059c 189 */
2304df62 190#$d_fcntl HAS_FCNTL /**/
a687059c 191
a0d0e21e 192/* HAS_FGETPOS:
193 * This symbol, if defined, indicates that the fgetpos routine is
194 * available to get the file position indicator, similar to ftell().
195 */
196#$d_fgetpos HAS_FGETPOS /**/
197
2304df62 198/* HAS_FLOCK:
199 * This symbol, if defined, indicates that the flock routine is
a687059c 200 * available to do file locking.
201 */
2304df62 202#$d_flock HAS_FLOCK /**/
a687059c 203
a0d0e21e 204/* HAS_FORK:
205 * This symbol, if defined, indicates that the fork routine is
206 * available.
207 */
208#$d_fork HAS_FORK /**/
209
210/* HAS_FSETPOS:
211 * This symbol, if defined, indicates that the fsetpos routine is
212 * available to set the file position indicator, similar to fseek().
213 */
214#$d_fsetpos HAS_FSETPOS /**/
215
5f05dabc 216/* HAS_GETTIMEOFDAY:
217 * This symbol, if defined, indicates that the gettimeofday() system
218 * call is available for a sub-second accuracy clock. Usually, the file
219 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
220 * The type "Timeval" should be used to refer to "struct timeval".
221 */
222#$d_gettimeod HAS_GETTIMEOFDAY /**/
b4eb6b3d 223#ifdef HAS_GETTIMEOFDAY
224#define Timeval struct timeval /* Structure used by gettimeofday() */
225#endif
5f05dabc 226
2304df62 227/* HAS_GETGROUPS:
378cc40b 228 * This symbol, if defined, indicates that the getgroups() routine is
229 * available to get the list of process groups. If unavailable, multiple
230 * groups are probably not supported.
231 */
2304df62 232#$d_getgrps HAS_GETGROUPS /**/
378cc40b 233
a0d0e21e 234/* HAS_GETLOGIN:
235 * This symbol, if defined, indicates that the getlogin routine is
236 * available to get the login name.
237 */
238#$d_getlogin HAS_GETLOGIN /**/
239
dfe9444c 240/* HAS_GETPGID:
241 * This symbol, if defined, indicates to the C program that
242 * the getpgid(pid) function is available to get the
243 * process group id.
244 */
245#$d_getpgid HAS_GETPGID /**/
246
2304df62 247/* HAS_GETPGRP2:
d8f2e4cc 248 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
249 * routine is available to get the current process group.
250 */
2304df62 251#$d_getpgrp2 HAS_GETPGRP2 /**/
d8f2e4cc 252
a0d0e21e 253/* HAS_GETPPID:
254 * This symbol, if defined, indicates that the getppid routine is
255 * available to get the parent process ID.
256 */
257#$d_getppid HAS_GETPPID /**/
258
2304df62 259/* HAS_GETPRIORITY:
260 * This symbol, if defined, indicates that the getpriority routine is
a687059c 261 * available to get a process's priority.
262 */
2304df62 263#$d_getprior HAS_GETPRIORITY /**/
a687059c 264
dfe9444c 265/* HAS_INET_ATON:
266 * This symbol, if defined, indicates to the C program that the
267 * inet_aton() function is available to parse IP address "dotted-quad"
268 * strings.
ecfc5424 269 */
dfe9444c 270#$d_inetaton HAS_INET_ATON /**/
ecfc5424 271
2304df62 272/* HAS_KILLPG:
378cc40b 273 * This symbol, if defined, indicates that the killpg routine is available
274 * to kill process groups. If unavailable, you probably should use kill
275 * with a negative process number.
276 */
2304df62 277#$d_killpg HAS_KILLPG /**/
378cc40b 278
2304df62 279/* HAS_LINK:
280 * This symbol, if defined, indicates that the link routine is
281 * available to create hard links.
0d3e774c 282 */
2304df62 283#$d_link HAS_LINK /**/
0d3e774c 284
ecfc5424 285/* HAS_LOCALECONV:
286 * This symbol, if defined, indicates that the localeconv routine is
287 * available for numeric and monetary formatting conventions.
288 */
289#$d_locconv HAS_LOCALECONV /**/
290
a0d0e21e 291/* HAS_LOCKF:
292 * This symbol, if defined, indicates that the lockf routine is
293 * available to do file locking.
294 */
295#$d_lockf HAS_LOCKF /**/
296
2304df62 297/* HAS_LSTAT:
298 * This symbol, if defined, indicates that the lstat routine is
299 * available to do file stats on symbolic links.
a687059c 300 */
2304df62 301#$d_lstat HAS_LSTAT /**/
a687059c 302
a0d0e21e 303/* HAS_MBLEN:
304 * This symbol, if defined, indicates that the mblen routine is available
305 * to find the number of bytes in a multibye character.
306 */
307#$d_mblen HAS_MBLEN /**/
308
309/* HAS_MBSTOWCS:
310 * This symbol, if defined, indicates that the mbstowcs routine is
311 * available to covert a multibyte string into a wide character string.
312 */
313#$d_mbstowcs HAS_MBSTOWCS /**/
314
315/* HAS_MBTOWC:
316 * This symbol, if defined, indicates that the mbtowc routine is available
317 * to covert a multibyte to a wide character.
318 */
319#$d_mbtowc HAS_MBTOWC /**/
320
2304df62 321/* HAS_MEMCMP:
322 * This symbol, if defined, indicates that the memcmp routine is available
323 * to compare blocks of memory.
378cc40b 324 */
2304df62 325#$d_memcmp HAS_MEMCMP /**/
326
327/* HAS_MEMCPY:
9f971974 328 * This symbol, if defined, indicates that the memcpy routine is available
2304df62 329 * to copy blocks of memory.
9f971974 330 */
2304df62 331#$d_memcpy HAS_MEMCPY /**/
9f971974 332
2304df62 333/* HAS_MEMMOVE:
9f971974 334 * This symbol, if defined, indicates that the memmove routine is available
2304df62 335 * to copy potentially overlapping blocks of memory. This should be used
336 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
337 * own version.
9f971974 338 */
2304df62 339#$d_memmove HAS_MEMMOVE /**/
9f971974 340
2304df62 341/* HAS_MEMSET:
9f971974 342 * This symbol, if defined, indicates that the memset routine is available
2304df62 343 * to set blocks of memory.
9f971974 344 */
2304df62 345#$d_memset HAS_MEMSET /**/
378cc40b 346
2304df62 347/* HAS_MKDIR:
a687059c 348 * This symbol, if defined, indicates that the mkdir routine is available
349 * to create directories. Otherwise you should fork off a new process to
350 * exec /bin/mkdir.
351 */
2304df62 352#$d_mkdir HAS_MKDIR /**/
fe14fcc3 353
ecfc5424 354/* HAS_MKFIFO:
355 * This symbol, if defined, indicates that the mkfifo routine is
356 * available to create FIFOs. Otherwise, mknod should be able to
357 * do it for you. However, if mkfifo is there, mknod might require
358 * super-user privileges which mkfifo will not.
359 */
360#$d_mkfifo HAS_MKFIFO /**/
361
a0d0e21e 362/* HAS_MKTIME:
363 * This symbol, if defined, indicates that the mktime routine is
364 * available.
365 */
366#$d_mktime HAS_MKTIME /**/
367
fe749a9f 368/* HAS_MSYNC:
369 * This symbol, if defined, indicates that the msync system call is
370 * available to synchronize a mapped file.
371 */
372#$d_msync HAS_MSYNC /**/
373
374/* HAS_MUNMAP:
375 * This symbol, if defined, indicates that the munmap system call is
376 * available to unmap a region, usually mapped by mmap().
377 */
378#$d_munmap HAS_MUNMAP /**/
379
a0d0e21e 380/* HAS_NICE:
381 * This symbol, if defined, indicates that the nice routine is
382 * available.
fe14fcc3 383 */
a0d0e21e 384#$d_nice HAS_NICE /**/
a687059c 385
ecfc5424 386/* HAS_PATHCONF:
387 * This symbol, if defined, indicates that pathconf() is available
388 * to determine file-system related limits and options associated
389 * with a given filename.
390 */
391/* HAS_FPATHCONF:
392 * This symbol, if defined, indicates that pathconf() is available
393 * to determine file-system related limits and options associated
394 * with a given open file descriptor.
395 */
396#$d_pathconf HAS_PATHCONF /**/
397#$d_fpathconf HAS_FPATHCONF /**/
398
a0d0e21e 399/* HAS_PAUSE:
400 * This symbol, if defined, indicates that the pause routine is
401 * available to suspend a process until a signal is received.
a687059c 402 */
a0d0e21e 403#$d_pause HAS_PAUSE /**/
a687059c 404
a0d0e21e 405/* HAS_PIPE:
406 * This symbol, if defined, indicates that the pipe routine is
407 * available to create an inter-process channel.
fe14fcc3 408 */
a0d0e21e 409#$d_pipe HAS_PIPE /**/
410
8e07c86e 411/* HAS_POLL:
412 * This symbol, if defined, indicates that the poll routine is
dfe9444c 413 * available to poll active file descriptors. You may safely
414 * include <poll.h> when this symbol is defined.
8e07c86e 415 */
416#$d_poll HAS_POLL /**/
417
a0d0e21e 418/* HAS_READDIR:
419 * This symbol, if defined, indicates that the readdir routine is
420 * available to read directory entries. You may have to include
421 * <dirent.h>. See I_DIRENT.
422 */
423#$d_readdir HAS_READDIR /**/
424
425/* HAS_SEEKDIR:
426 * This symbol, if defined, indicates that the seekdir routine is
427 * available. You may have to include <dirent.h>. See I_DIRENT.
428 */
429#$d_seekdir HAS_SEEKDIR /**/
430
431/* HAS_TELLDIR:
432 * This symbol, if defined, indicates that the telldir routine is
433 * available. You may have to include <dirent.h>. See I_DIRENT.
434 */
435#$d_telldir HAS_TELLDIR /**/
436
437/* HAS_REWINDDIR:
438 * This symbol, if defined, indicates that the rewinddir routine is
439 * available. You may have to include <dirent.h>. See I_DIRENT.
440 */
441#$d_rewinddir HAS_REWINDDIR /**/
442
443/* HAS_READLINK:
444 * This symbol, if defined, indicates that the readlink routine is
445 * available to read the value of a symbolic link.
446 */
447#$d_readlink HAS_READLINK /**/
fe14fcc3 448
2304df62 449/* HAS_RENAME:
378cc40b 450 * This symbol, if defined, indicates that the rename routine is available
451 * to rename files. Otherwise you should do the unlink(), link(), unlink()
452 * trick.
453 */
2304df62 454#$d_rename HAS_RENAME /**/
378cc40b 455
2304df62 456/* HAS_RMDIR:
457 * This symbol, if defined, indicates that the rmdir routine is
458 * available to remove directories. Otherwise you should fork off a
459 * new process to exec /bin/rmdir.
9f971974 460 */
2304df62 461#$d_rmdir HAS_RMDIR /**/
9f971974 462
2304df62 463/* HAS_SELECT:
464 * This symbol, if defined, indicates that the select routine is
465 * available to select active file descriptors. If the timeout field
466 * is used, <sys/time.h> may need to be included.
fe14fcc3 467 */
2304df62 468#$d_select HAS_SELECT /**/
a687059c 469
2304df62 470/* HAS_SETEGID:
378cc40b 471 * This symbol, if defined, indicates that the setegid routine is available
472 * to change the effective gid of the current program.
473 */
2304df62 474#$d_setegid HAS_SETEGID /**/
378cc40b 475
2304df62 476/* HAS_SETEUID:
378cc40b 477 * This symbol, if defined, indicates that the seteuid routine is available
478 * to change the effective uid of the current program.
479 */
2304df62 480#$d_seteuid HAS_SETEUID /**/
481
a0d0e21e 482/* HAS_SETLINEBUF:
483 * This symbol, if defined, indicates that the setlinebuf routine is
484 * available to change stderr or stdout from block-buffered or unbuffered
485 * to a line-buffered mode.
486 */
487#$d_setlinebuf HAS_SETLINEBUF /**/
488
489/* HAS_SETLOCALE:
490 * This symbol, if defined, indicates that the setlocale routine is
491 * available to handle locale-specific ctype implementations.
492 */
493#$d_setlocale HAS_SETLOCALE /**/
494
dfe9444c 495/* HAS_SETPGID:
496 * This symbol, if defined, indicates that the setpgid(pid, gpid)
497 * routine is available to set process group ID.
498 */
499#$d_setpgid HAS_SETPGID /**/
500
2304df62 501/* HAS_SETPGRP2:
d8f2e4cc 502 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
503 * routine is available to set the current process group.
504 */
2304df62 505#$d_setpgrp2 HAS_SETPGRP2 /**/
d8f2e4cc 506
2304df62 507/* HAS_SETPRIORITY:
508 * This symbol, if defined, indicates that the setpriority routine is
a687059c 509 * available to set a process's priority.
510 */
2304df62 511#$d_setprior HAS_SETPRIORITY /**/
a687059c 512
2304df62 513/* HAS_SETREGID:
a687059c 514 * This symbol, if defined, indicates that the setregid routine is
2304df62 515 * available to change the real and effective gid of the current
516 * process.
a687059c 517 */
2304df62 518/* HAS_SETRESGID:
a687059c 519 * This symbol, if defined, indicates that the setresgid routine is
520 * available to change the real, effective and saved gid of the current
2304df62 521 * process.
a687059c 522 */
2304df62 523#$d_setregid HAS_SETREGID /**/
524#$d_setresgid HAS_SETRESGID /**/
a687059c 525
2304df62 526/* HAS_SETREUID:
a687059c 527 * This symbol, if defined, indicates that the setreuid routine is
2304df62 528 * available to change the real and effective uid of the current
529 * process.
a687059c 530 */
2304df62 531/* HAS_SETRESUID:
a687059c 532 * This symbol, if defined, indicates that the setresuid routine is
533 * available to change the real, effective and saved uid of the current
2304df62 534 * process.
a687059c 535 */
2304df62 536#$d_setreuid HAS_SETREUID /**/
537#$d_setresuid HAS_SETRESUID /**/
a687059c 538
2304df62 539/* HAS_SETRGID:
378cc40b 540 * This symbol, if defined, indicates that the setrgid routine is available
541 * to change the real gid of the current program.
542 */
2304df62 543#$d_setrgid HAS_SETRGID /**/
378cc40b 544
2304df62 545/* HAS_SETRUID:
378cc40b 546 * This symbol, if defined, indicates that the setruid routine is available
547 * to change the real uid of the current program.
548 */
2304df62 549#$d_setruid HAS_SETRUID /**/
550
551/* HAS_SETSID:
552 * This symbol, if defined, indicates that the setsid routine is
553 * available to set the process group ID.
554 */
555#$d_setsid HAS_SETSID /**/
fe14fcc3 556
a0d0e21e 557/* Shmat_t:
558 * This symbol holds the return type of the shmat() system call.
559 * Usually set to 'void *' or 'char *'.
fe14fcc3 560 */
a0d0e21e 561/* HAS_SHMAT_PROTOTYPE:
562 * This symbol, if defined, indicates that the sys/shm.h includes
563 * a prototype for shmat(). Otherwise, it is up to the program to
b0ca4213 564 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
a0d0e21e 565 * but not always right so it should be emitted by the program only
566 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
fe14fcc3 567 */
a0d0e21e 568#define Shmat_t $shmattype /**/
569#$d_shmatprototype HAS_SHMAT_PROTOTYPE /**/
fe14fcc3 570
dfe9444c 571/* HAS_STRCHR:
572 * This symbol is defined to indicate that the strchr()/strrchr()
573 * functions are available for string searching. If not, try the
574 * index()/rindex() pair.
16d20bd9 575 */
dfe9444c 576/* HAS_INDEX:
577 * This symbol is defined to indicate that the index()/rindex()
578 * functions are available for string searching.
c2960299 579 */
dfe9444c 580#$d_strchr HAS_STRCHR /**/
581#$d_index HAS_INDEX /**/
582
583/* HAS_STRCOLL:
584 * This symbol, if defined, indicates that the strcoll routine is
585 * available to compare strings using collating information.
16d20bd9 586 */
dfe9444c 587#$d_strcoll HAS_STRCOLL /**/
588
589/* USE_STRUCT_COPY:
590 * This symbol, if defined, indicates that this C compiler knows how
591 * to copy structures. If undefined, you'll need to use a block copy
592 * routine of some sort instead.
c2960299 593 */
dfe9444c 594#$d_strctcpy USE_STRUCT_COPY /**/
8d063cd8 595
a89d8a78 596/* HAS_STRTOD:
597 * This symbol, if defined, indicates that the strtod routine is
5f05dabc 598 * available to provide better numeric string conversion than atof().
a89d8a78 599 */
600#$d_strtod HAS_STRTOD /**/
601
602/* HAS_STRTOL:
5f05dabc 603 * This symbol, if defined, indicates that the strtol routine is available
604 * to provide better numeric string conversion than atoi() and friends.
a89d8a78 605 */
606#$d_strtol HAS_STRTOL /**/
607
a0d0e21e 608/* HAS_STRXFRM:
609 * This symbol, if defined, indicates that the strxfrm() routine is
610 * available to transform strings.
611 */
612#$d_strxfrm HAS_STRXFRM /**/
613
2304df62 614/* HAS_SYMLINK:
2e1b3b7e 615 * This symbol, if defined, indicates that the symlink routine is available
616 * to create symbolic links.
617 */
2304df62 618#$d_symlink HAS_SYMLINK /**/
2e1b3b7e 619
2304df62 620/* HAS_SYSCALL:
621 * This symbol, if defined, indicates that the syscall routine is
622 * available to call arbitrary system calls. If undefined, that's tough.
a687059c 623 */
2304df62 624#$d_syscall HAS_SYSCALL /**/
e5d73d77 625
ecfc5424 626/* HAS_SYSCONF:
627 * This symbol, if defined, indicates that sysconf() is available
628 * to determine system related limits and options.
629 */
630#$d_sysconf HAS_SYSCONF /**/
631
2304df62 632/* HAS_SYSTEM:
633 * This symbol, if defined, indicates that the system routine is
634 * available to issue a shell command.
9f971974 635 */
2304df62 636#$d_system HAS_SYSTEM /**/
9f971974 637
a0d0e21e 638/* HAS_TCGETPGRP:
639 * This symbol, if defined, indicates that the tcgetpgrp routine is
640 * available to get foreground process group ID.
85e6fe83 641 */
a0d0e21e 642#$d_tcgetpgrp HAS_TCGETPGRP /**/
643
644/* HAS_TCSETPGRP:
645 * This symbol, if defined, indicates that the tcsetpgrp routine is
646 * available to set foreground process group ID.
647 */
648#$d_tcsetpgrp HAS_TCSETPGRP /**/
85e6fe83 649
2304df62 650/* HAS_TRUNCATE:
87250799 651 * This symbol, if defined, indicates that the truncate routine is
652 * available to truncate files.
653 */
2304df62 654#$d_truncate HAS_TRUNCATE /**/
87250799 655
a0d0e21e 656/* HAS_TZNAME:
657 * This symbol, if defined, indicates that the tzname[] array is
658 * available to access timezone names.
659 */
660#$d_tzname HAS_TZNAME /**/
661
662/* HAS_UMASK:
663 * This symbol, if defined, indicates that the umask routine is
664 * available to set and get the value of the file creation mask.
665 */
666#$d_umask HAS_UMASK /**/
667
4e0554ec 668/* HAS_USLEEP:
669 * This symbol, if defined, indicates that the usleep routine is
670 * available to let the process sleep on a sub-second accuracy.
671 */
672#$d_usleep HAS_USLEEP /**/
673
b4eb6b3d 674/* HASVOLATILE:
675 * This symbol, if defined, indicates that this C compiler knows about
676 * the volatile declaration.
677 */
678#$d_volatile HASVOLATILE /**/
679#ifndef HASVOLATILE
680#define volatile
681#endif
682
2304df62 683/* HAS_WAIT4:
bf38876a 684 * This symbol, if defined, indicates that wait4() exists.
685 */
2304df62 686#$d_wait4 HAS_WAIT4 /**/
bf38876a 687
2304df62 688/* HAS_WAITPID:
689 * This symbol, if defined, indicates that the waitpid routine is
690 * available to wait for child process.
39c3038c 691 */
2304df62 692#$d_waitpid HAS_WAITPID /**/
39c3038c 693
a0d0e21e 694/* HAS_WCSTOMBS:
695 * This symbol, if defined, indicates that the wcstombs routine is
696 * available to convert wide character strings to multibyte strings.
697 */
698#$d_wcstombs HAS_WCSTOMBS /**/
699
700/* HAS_WCTOMB:
701 * This symbol, if defined, indicates that the wctomb routine is available
702 * to covert a wide character to a multibyte.
703 */
704#$d_wctomb HAS_WCTOMB /**/
705
28e8609d 706/* I_ARPA_INET:
5ff3f7a4 707 * This symbol, if defined, indicates to the C program that it should
708 * include <arpa/inet.h> to get inet_addr and friends declarations.
28e8609d 709 */
5ff3f7a4 710#$i_arpainet I_ARPA_INET /**/
28e8609d 711
dfe9444c 712/* I_DBM:
713 * This symbol, if defined, indicates that <dbm.h> exists and should
714 * be included.
232e078e 715 */
dfe9444c 716/* I_RPCSVC_DBM:
717 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
718 * should be included.
232e078e 719 */
dfe9444c 720#$i_dbm I_DBM /**/
721#$i_rpcsvcdbm I_RPCSVC_DBM /**/
232e078e 722
2304df62 723/* I_DIRENT:
724 * This symbol, if defined, indicates to the C program that it should
725 * include <dirent.h>. Using this symbol also triggers the definition
726 * of the Direntry_t define which ends up being 'struct dirent' or
727 * 'struct direct' depending on the availability of <dirent.h>.
1c3d792e 728 */
2304df62 729/* DIRNAMLEN:
730 * This symbol, if defined, indicates to the C program that the length
731 * of directory entry names is provided by a d_namlen field. Otherwise
732 * you need to do strlen() on the d_name field.
733 */
a0d0e21e 734/* Direntry_t:
735 * This symbol is set to 'struct direct' or 'struct dirent' depending on
736 * whether dirent is available or not. You should use this pseudo type to
737 * portably declare your directory entries.
738 */
2304df62 739#$i_dirent I_DIRENT /**/
740#$d_dirnamlen DIRNAMLEN /**/
b4eb6b3d 741#define Direntry_t $direntrytype
a0d0e21e 742
743/* I_DLFCN:
744 * This symbol, if defined, indicates that <dlfcn.h> exists and should
745 * be included.
746 */
747#$i_dlfcn I_DLFCN /**/
1c3d792e 748
2304df62 749/* I_FCNTL:
fe14fcc3 750 * This manifest constant tells the C program to include <fcntl.h>.
a687059c 751 */
2304df62 752#$i_fcntl I_FCNTL /**/
a687059c 753
a0d0e21e 754/* I_FLOAT:
755 * This symbol, if defined, indicates to the C program that it should
756 * include <float.h> to get definition of symbols like DBL_MAX or
757 * DBL_MIN, i.e. machine dependent floating point values.
a687059c 758 */
a0d0e21e 759#$i_float I_FLOAT /**/
a687059c 760
a0d0e21e 761/* I_LIMITS:
762 * This symbol, if defined, indicates to the C program that it should
763 * include <limits.h> to get definition of symbols like WORD_BIT or
764 * LONG_MAX, i.e. machine dependant limitations.
765 */
766#$i_limits I_LIMITS /**/
767
dfe9444c 768/* I_LOCALE:
769 * This symbol, if defined, indicates to the C program that it should
770 * include <locale.h>.
771 */
772#$i_locale I_LOCALE /**/
773
a0d0e21e 774/* I_MATH:
775 * This symbol, if defined, indicates to the C program that it should
776 * include <math.h>.
777 */
778#$i_math I_MATH /**/
779
780/* I_MEMORY:
781 * This symbol, if defined, indicates to the C program that it should
782 * include <memory.h>.
783 */
784#$i_memory I_MEMORY /**/
785
232e078e 786/* I_NDBM:
16d20bd9 787 * This symbol, if defined, indicates that <ndbm.h> exists and should
232e078e 788 * be included.
789 */
790#$i_ndbm I_NDBM /**/
791
ecfc5424 792/* I_NET_ERRNO:
793 * This symbol, if defined, indicates that <net/errno.h> exists and
794 * should be included.
2304df62 795 */
ecfc5424 796#$i_neterrno I_NET_ERRNO /**/
2304df62 797
798/* I_NETINET_IN:
03a14243 799 * This symbol, if defined, indicates to the C program that it should
2304df62 800 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
03a14243 801 */
2304df62 802#$i_niin I_NETINET_IN /**/
03a14243 803
dfe9444c 804/* I_SFIO:
805 * This symbol, if defined, indicates to the C program that it should
806 * include <sfio.h>.
807 */
808#$i_sfio I_SFIO /**/
809
2304df62 810/* I_STDDEF:
811 * This symbol, if defined, indicates that <stddef.h> exists and should
a687059c 812 * be included.
813 */
2304df62 814#$i_stddef I_STDDEF /**/
a687059c 815
a0d0e21e 816/* I_STDLIB:
817 * This symbol, if defined, indicates that <stdlib.h> exists and should
818 * be included.
819 */
820#$i_stdlib I_STDLIB /**/
821
822/* I_STRING:
85e6fe83 823 * This symbol, if defined, indicates to the C program that it should
824 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
825 */
826#$i_string I_STRING /**/
827
2304df62 828/* I_SYS_DIR:
829 * This symbol, if defined, indicates to the C program that it should
830 * include <sys/dir.h>.
d8f2e4cc 831 */
2304df62 832#$i_sysdir I_SYS_DIR /**/
833
834/* I_SYS_FILE:
835 * This symbol, if defined, indicates to the C program that it should
836 * include <sys/file.h> to get definition of R_OK and friends.
d8f2e4cc 837 */
2304df62 838#$i_sysfile I_SYS_FILE /**/
839
840/* I_SYS_IOCTL:
841 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
842 * be included. Otherwise, include <sgtty.h> or <termio.h>.
d8f2e4cc 843 */
49a78c82 844/* I_SYS_SOCKIO:
845 * This symbol, if defined, indicates the <sys/sockio.h> should be included
846 * to get socket ioctl options, like SIOCATMARK.
847 */
2304df62 848#$i_sysioctl I_SYS_IOCTL /**/
49a78c82 849#$i_syssockio I_SYS_SOCKIO /**/
2304df62 850
851/* I_SYS_NDIR:
852 * This symbol, if defined, indicates to the C program that it should
853 * include <sys/ndir.h>.
854 */
855#$i_sysndir I_SYS_NDIR /**/
856
a0d0e21e 857/* I_SYS_PARAM:
858 * This symbol, if defined, indicates to the C program that it should
859 * include <sys/param.h>.
860 */
861#$i_sysparam I_SYS_PARAM /**/
862
e876cf0b 863/* I_SYS_RESOURCE:
864 * This symbol, if defined, indicates to the C program that it should
865 * include <sys/resource.h>.
866 */
867#$i_sysresrc I_SYS_RESOURCE /**/
868
2304df62 869/* I_SYS_SELECT:
870 * This symbol, if defined, indicates to the C program that it should
871 * include <sys/select.h> in order to get definition of struct timeval.
872 */
873#$i_sysselct I_SYS_SELECT /**/
874
dfe9444c 875/* I_SYS_STAT:
876 * This symbol, if defined, indicates to the C program that it should
877 * include <sys/stat.h>.
878 */
879#$i_sysstat I_SYS_STAT /**/
880
a0d0e21e 881/* I_SYS_TIMES:
882 * This symbol, if defined, indicates to the C program that it should
883 * include <sys/times.h>.
884 */
885#$i_systimes I_SYS_TIMES /**/
886
bd89102f 887/* I_SYS_TYPES:
888 * This symbol, if defined, indicates to the C program that it should
889 * include <sys/types.h>.
890 */
891#$i_systypes I_SYS_TYPES /**/
892
25f94b33 893/* I_SYS_UN:
894 * This symbol, if defined, indicates to the C program that it should
895 * include <sys/un.h> to get UNIX domain socket definitions.
896 */
897#$i_sysun I_SYS_UN /**/
898
e876cf0b 899/* I_SYS_WAIT:
900 * This symbol, if defined, indicates to the C program that it should
901 * include <sys/wait.h>.
902 */
903#$i_syswait I_SYS_WAIT /**/
904
a0d0e21e 905/* I_TERMIO:
906 * This symbol, if defined, indicates that the program should include
907 * <termio.h> rather than <sgtty.h>. There are also differences in
908 * the ioctl() calls that depend on the value of this symbol.
909 */
910/* I_TERMIOS:
911 * This symbol, if defined, indicates that the program should include
912 * the POSIX termios.h rather than sgtty.h or termio.h.
913 * There are also differences in the ioctl() calls that depend on the
914 * value of this symbol.
915 */
916/* I_SGTTY:
917 * This symbol, if defined, indicates that the program should include
918 * <sgtty.h> rather than <termio.h>. There are also differences in
919 * the ioctl() calls that depend on the value of this symbol.
920 */
921#$i_termio I_TERMIO /**/
922#$i_termios I_TERMIOS /**/
923#$i_sgtty I_SGTTY /**/
924
85e6fe83 925/* I_UNISTD:
926 * This symbol, if defined, indicates to the C program that it should
927 * include <unistd.h>.
928 */
929#$i_unistd I_UNISTD /**/
d8f2e4cc 930
2304df62 931/* I_UTIME:
d8f2e4cc 932 * This symbol, if defined, indicates to the C program that it should
2304df62 933 * include <utime.h>.
d8f2e4cc 934 */
2304df62 935#$i_utime I_UTIME /**/
d8f2e4cc 936
dfe9444c 937/* I_VALUES:
938 * This symbol, if defined, indicates to the C program that it should
939 * include <values.h> to get definition of symbols like MINFLOAT or
940 * MAXLONG, i.e. machine dependant limitations. Probably, you
941 * should use <limits.h> instead, if it is available.
942 */
943#$i_values I_VALUES /**/
944
e876cf0b 945/* I_STDARG:
946 * This symbol, if defined, indicates that <stdarg.h> exists and should
947 * be included.
948 */
949/* I_VARARGS:
950 * This symbol, if defined, indicates to the C program that it should
951 * include <varargs.h>.
952 */
953#$i_stdarg I_STDARG /**/
954#$i_varargs I_VARARGS /**/
955
a0d0e21e 956/* I_VFORK:
957 * This symbol, if defined, indicates to the C program that it should
958 * include vfork.h.
959 */
960#$i_vfork I_VFORK /**/
a687059c 961
b4eb6b3d 962/* CAN_PROTOTYPE:
963 * If defined, this macro indicates that the C compiler can handle
964 * function prototypes.
965 */
a0d0e21e 966/* _:
967 * This macro is used to declare function parameters for folks who want
968 * to make declarations with prototypes using a different style than
969 * the above macros. Use double parentheses. For example:
970 *
971 * int main _((int argc, char *argv[]));
972 */
b4eb6b3d 973#$prototype CAN_PROTOTYPE /**/
974#ifdef CAN_PROTOTYPE
a0d0e21e 975#define _(args) args
b4eb6b3d 976#else
a0d0e21e 977#define _(args) ()
b4eb6b3d 978#endif
85e6fe83 979
dfe9444c 980/* SH_PATH:
981 * This symbol contains the full pathname to the shell used on this
982 * on this system to execute Bourne shell scripts. Usually, this will be
983 * /bin/sh, though it's possible that some systems will have /bin/ksh,
984 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
985 * D:/bin/sh.exe.
a0d0e21e 986 */
dfe9444c 987#define SH_PATH "$sh" /**/
a0d0e21e 988
aaacdc8b 989/* CROSSCOMPILE:
990 * This symbol, if defined, signifies that we our
991 * build process is a cross-compilation.
992 */
993#$crosscompile CROSSCOMPILE /**/
994
995/* INTSIZE:
996 * This symbol contains the value of sizeof(int) so that the C
997 * preprocessor can make decisions based on it.
998 */
999/* LONGSIZE:
1000 * This symbol contains the value of sizeof(long) so that the C
1001 * preprocessor can make decisions based on it.
1002 */
1003/* SHORTSIZE:
1004 * This symbol contains the value of sizeof(short) so that the C
1005 * preprocessor can make decisions based on it.
1006 */
1007#define INTSIZE $intsize /**/
1008#define LONGSIZE $longsize /**/
1009#define SHORTSIZE $shortsize /**/
1010
1011/* MULTIARCH:
1012 * This symbol, if defined, signifies that the build
1013 * process will produce some binary files that are going to be
1014 * used in a cross-platform environment. This is the case for
1015 * example with the NeXT "fat" binaries that contain executables
1016 * for several CPUs.
1017 */
1018#$multiarch MULTIARCH /**/
1019
de1c2614 1020/* HAS_QUAD:
1021 * This symbol, if defined, tells that there's a 64-bit integer type,
1b8cd678 1022 * Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one
1023 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T.
a22e52b9 1024 */
de1c2614 1025#$d_quad HAS_QUAD /**/
b4eb6b3d 1026#ifdef HAS_QUAD
1027# define Quad_t $quadtype /**/
1028# define Uquad_t $uquadtype /**/
1029# define QUADKIND $quadkind /**/
1030# define QUAD_IS_INT 1
1031# define QUAD_IS_LONG 2
1032# define QUAD_IS_LONG_LONG 3
1033# define QUAD_IS_INT64_T 4
1034#endif
a22e52b9 1035
5ff3f7a4 1036/* HAS_ACCESSX:
1037 * This symbol, if defined, indicates that the accessx routine is
1038 * available to do extended access checks.
1039 */
1040#$d_accessx HAS_ACCESSX /**/
1041
1042/* HAS_EACCESS:
1043 * This symbol, if defined, indicates that the eaccess routine is
1044 * available to do extended access checks.
1045 */
1046#$d_eaccess HAS_EACCESS /**/
1047
1048/* I_SYS_ACCESS:
1049 * This symbol, if defined, indicates to the C program that it should
85ab1d1d 1050 * include <sys/access.h>.
5ff3f7a4 1051 */
1052#$i_sysaccess I_SYS_ACCESS /**/
1053
1054/* I_SYS_SECURITY:
1055 * This symbol, if defined, indicates to the C program that it should
1056 * include <sys/security.h>.
1057 */
1058#$i_syssecrt I_SYS_SECURITY /**/
1059
ff935051 1060/* OSNAME:
1061 * This symbol contains the name of the operating system, as determined
1062 * by Configure. You shouldn't rely on it too much; the specific
1063 * feature tests from Configure are generally more reliable.
1064 */
40a39f85 1065/* OSVERS:
8e9464f1 1066 * This symbol contains the version of the operating system, as determined
1067 * by Configure. You shouldn't rely on it too much; the specific
1068 * feature tests from Configure are generally more reliable.
1069 */
40a39f85 1070#define OSNAME "$osname" /**/
1071#define OSVERS "$osvers" /**/
8e9464f1 1072
dfe9444c 1073/* MEM_ALIGNBYTES:
68c15b6f 1074 * This symbol contains the number of bytes required to align a
87b71857 1075 * double, or a long double when applicable. Usual values are 2,
1076 * 4 and 8. The default is eight, for safety.
5f05dabc 1077 */
b4eb6b3d 1078#if defined(CROSSCOMPILE) || defined(MULTIARCH)
1079# define MEM_ALIGNBYTES 8
1080#else
1081#define MEM_ALIGNBYTES $alignbytes
1082#endif
5f05dabc 1083
ff935051 1084/* ARCHLIB:
1085 * This variable, if defined, holds the name of the directory in
1086 * which the user wants to put architecture-dependent public
1087 * library files for $package. It is most often a local directory
1088 * such as /usr/local/lib. Programs using this variable must be
1089 * prepared to deal with filename expansion. If ARCHLIB is the
1090 * same as PRIVLIB, it is not defined, since presumably the
1091 * program already searches PRIVLIB.
1092 */
1093/* ARCHLIB_EXP:
1094 * This symbol contains the ~name expanded version of ARCHLIB, to be used
1095 * in programs that are not prepared to deal with ~ expansion at run-time.
1096 */
1097#$d_archlib ARCHLIB "$archlib" /**/
1098#$d_archlib ARCHLIB_EXP "$archlibexp" /**/
1099
1100/* ARCHNAME:
1101 * This symbol holds a string representing the architecture name.
1102 * It may be used to construct an architecture-dependant pathname
1103 * where library files may be held under a private library, for
1104 * instance.
1105 */
1106#define ARCHNAME "$archname" /**/
1107
1108/* HAS_ATOLF:
1109 * This symbol, if defined, indicates that the atolf routine is
1110 * available to convert strings into long doubles.
1111 */
1112#$d_atolf HAS_ATOLF /**/
1113
1114/* HAS_ATOLL:
1115 * This symbol, if defined, indicates that the atoll routine is
1116 * available to convert strings into long longs.
1117 */
1118#$d_atoll HAS_ATOLL /**/
1119
1120/* BIN:
1121 * This symbol holds the path of the bin directory where the package will
1122 * be installed. Program must be prepared to deal with ~name substitution.
1123 */
1124/* BIN_EXP:
1125 * This symbol is the filename expanded version of the BIN symbol, for
1126 * programs that do not want to deal with that at run-time.
1127 */
1128#define BIN "$bin" /**/
1129#define BIN_EXP "$binexp" /**/
1130
1131/* PERL_BINCOMPAT_5005:
f78bfc9c 1132 * This symbol, if defined, indicates that this version of Perl should be
ff935051 1133 * binary-compatible with Perl 5.005. This is impossible for builds
1134 * that use features like threads and multiplicity it is always $undef
1135 * for those versions.
1136 */
1137#$d_bincompat5005 PERL_BINCOMPAT_5005 /**/
1138
8e07c86e 1139/* BYTEORDER:
e876cf0b 1140 * This symbol holds the hexadecimal constant defined in byteorder,
8e07c86e 1141 * i.e. 0x1234 or 0x4321, etc...
68c15b6f 1142 * If the compiler supports cross-compiling or multiple-architecture
1143 * binaries (eg. on NeXT systems), use compiler-defined macros to
1144 * determine the byte order.
7bac28a0 1145 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
e876cf0b 1146 * Binaries (MAB) on either big endian or little endian machines.
1147 * The endian-ness is available at compile-time. This only matters
1148 * for perl, where the config.h can be generated and installed on
1149 * one system, and used by a different architecture to build an
1150 * extension. Older versions of NeXT that might not have
1151 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1152 * so the default case (for NeXT) is big endian to catch them.
1153 * This might matter for NeXT 3.0.
8e07c86e 1154 */
b4eb6b3d 1155#if defined(CROSSCOMPILE) || defined(MULTIARCH)
1156# ifdef __LITTLE_ENDIAN__
1157# if LONGSIZE == 4
1158# define BYTEORDER 0x1234
1159# else
1160# if LONGSIZE == 8
1161# define BYTEORDER 0x12345678
1162# endif
1163# endif
1164# else
1165# ifdef __BIG_ENDIAN__
1166# if LONGSIZE == 4
1167# define BYTEORDER 0x4321
1168# else
1169# if LONGSIZE == 8
1170# define BYTEORDER 0x87654321
1171# endif
1172# endif
1173# endif
1174# endif
1175# if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
1176# define BYTEORDER 0x4321
1177# endif
1178#else
1179#define BYTEORDER 0x$byteorder /* large digits for MSB */
1180#endif /* NeXT */
8e07c86e 1181
ff935051 1182/* CAT2:
1183 * This macro catenates 2 tokens together.
1184 */
1185/* STRINGIFY:
1186 * This macro surrounds its token with double quotes.
1187 */
b4eb6b3d 1188#if $cpp_stuff == 1
497711e7 1189#define CAT2(a,b) a/**/b
1190#define STRINGIFY(a) "a"
b4eb6b3d 1191 /* If you can get stringification with catify, tell me how! */
1192#endif
1193#if $cpp_stuff == 42
1194#define PeRl_CaTiFy(a, b) a ## b
1195#define PeRl_StGiFy(a) #a
1196/* the additional level of indirection enables these macros to be
1197 * used as arguments to other macros. See K&R 2nd ed., page 231. */
497711e7 1198#define CAT2(a,b) PeRl_CaTiFy(a,b)
b4eb6b3d 1199#define StGiFy(a) PeRl_StGiFy(a)
497711e7 1200#define STRINGIFY(a) PeRl_StGiFy(a)
b4eb6b3d 1201#endif
1202#if $cpp_stuff != 1 && $cpp_stuff != 42
1203# include "Bletch: How does this C preprocessor catenate tokens?"
1204#endif
ff935051 1205
1206/* CPPSTDIN:
1207 * This symbol contains the first part of the string which will invoke
1208 * the C preprocessor on the standard input and produce to standard
1209 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
1210 * call a wrapper. See CPPRUN.
1211 */
1212/* CPPMINUS:
1213 * This symbol contains the second part of the string which will invoke
1214 * the C preprocessor on the standard input and produce to standard
1215 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
1216 * to specify standard input, otherwise the value is "".
1217 */
1218/* CPPRUN:
1219 * This symbol contains the string which will invoke a C preprocessor on
1220 * the standard input and produce to standard output. It needs to end
1221 * with CPPLAST, after all other preprocessor flags have been specified.
1222 * The main difference with CPPSTDIN is that this program will never be a
1223 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1224 * available directly to the user. Note that it may well be different from
1225 * the preprocessor used to compile the C program.
1226 */
c71a9cee 1227/* CPPLAST:
1228 * This symbol is intended to be used along with CPPRUN in the same manner
1229 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1230 */
ff935051 1231#define CPPSTDIN "$cppstdin"
1232#define CPPMINUS "$cppminus"
1233#define CPPRUN "$cpprun"
c71a9cee 1234#define CPPLAST "$cpplast"
ff935051 1235
a7fea17f 1236/* HAS__FWALK:
1237 * This symbol, if defined, indicates that the _fwalk system call is
1238 * available to apply a function to all the file handles.
1239 */
1240#$d__fwalk HAS__FWALK /**/
1241
ff935051 1242/* HAS_ACCESS:
1243 * This manifest constant lets the C program know that the access()
1244 * system call is available to check for accessibility using real UID/GID.
1245 * (always present on UNIX.)
1246 */
1247#$d_access HAS_ACCESS /**/
1248
dfe9444c 1249/* CASTI32:
1250 * This symbol is defined if the C compiler can cast negative
1251 * or large floating point numbers to 32-bit ints.
1aef975c 1252 */
dfe9444c 1253#$d_casti32 CASTI32 /**/
85e6fe83 1254
dfe9444c 1255/* CASTNEGFLOAT:
1256 * This symbol is defined if the C compiler can cast negative
1257 * numbers to unsigned longs, ints and shorts.
85e6fe83 1258 */
dfe9444c 1259/* CASTFLAGS:
1260 * This symbol contains flags that say what difficulties the compiler
1261 * has casting odd floating values to unsigned long:
1262 * 0 = ok
1263 * 1 = couldn't cast < 0
1264 * 2 = couldn't cast >= 0x80000000
1265 * 4 = couldn't cast in argument expression list
bccf77a5 1266 */
dfe9444c 1267#$d_castneg CASTNEGFLOAT /**/
1268#define CASTFLAGS $castflags /**/
1269
1270/* VOID_CLOSEDIR:
1271 * This symbol, if defined, indicates that the closedir() routine
1272 * does not return a value.
bccf77a5 1273 */
dfe9444c 1274#$d_void_closedir VOID_CLOSEDIR /**/
bccf77a5 1275
4e0554ec 1276/* HAS_STRUCT_CMSGHDR:
1277 * This symbol, if defined, indicates that the struct cmsghdr
1278 * is supported.
1279 */
1280#$d_cmsghdr_s HAS_STRUCT_CMSGHDR /**/
1281
ff935051 1282/* HAS_CSH:
1283 * This symbol, if defined, indicates that the C-shell exists.
1284 */
1285/* CSH:
1286 * This symbol, if defined, contains the full pathname of csh.
1287 */
b4eb6b3d 1288#$d_csh HAS_CSH /**/
1289#ifdef HAS_CSH
1290#define CSH "$full_csh" /**/
1291#endif
ff935051 1292
1293/* DLSYM_NEEDS_UNDERSCORE:
1294 * This symbol, if defined, indicates that we need to prepend an
1295 * underscore to the symbol name before calling dlsym(). This only
1296 * makes sense if you *have* dlsym, which we will presume is the
1297 * case if you're using dl_dlopen.xs.
1298 */
1299#$d_dlsymun DLSYM_NEEDS_UNDERSCORE /**/
1300
1301/* HAS_DRAND48_PROTO:
1302 * This symbol, if defined, indicates that the system provides
1303 * a prototype for the drand48() function. Otherwise, it is up
1304 * to the program to supply one. A good guess is
1305 * extern double drand48 _((void));
1306 */
1307#$d_drand48proto HAS_DRAND48_PROTO /**/
1308
1309/* HAS_ENDGRENT:
1310 * This symbol, if defined, indicates that the getgrent routine is
1311 * available for finalizing sequential access of the group database.
1312 */
1313#$d_endgrent HAS_ENDGRENT /**/
1314
1315/* HAS_ENDHOSTENT:
1316 * This symbol, if defined, indicates that the endhostent() routine is
1317 * available to close whatever was being used for host queries.
1318 */
1319#$d_endhent HAS_ENDHOSTENT /**/
1320
1321/* HAS_ENDNETENT:
1322 * This symbol, if defined, indicates that the endnetent() routine is
1323 * available to close whatever was being used for network queries.
1324 */
1325#$d_endnent HAS_ENDNETENT /**/
1326
1327/* HAS_ENDPROTOENT:
1328 * This symbol, if defined, indicates that the endprotoent() routine is
1329 * available to close whatever was being used for protocol queries.
1330 */
1331#$d_endpent HAS_ENDPROTOENT /**/
1332
1333/* HAS_ENDPWENT:
1334 * This symbol, if defined, indicates that the getgrent routine is
1335 * available for finalizing sequential access of the passwd database.
1336 */
1337#$d_endpwent HAS_ENDPWENT /**/
1338
1339/* HAS_ENDSERVENT:
1340 * This symbol, if defined, indicates that the endservent() routine is
1341 * available to close whatever was being used for service queries.
1342 */
1343#$d_endsent HAS_ENDSERVENT /**/
1344
a7fea17f 1345/* FCNTL_CAN_LOCK:
1346 * This symbol, if defined, indicates that fcntl() can be used
1347 * for file locking. Normally on Unix systems this is defined.
1348 * It may be undefined on VMS.
1349 */
1350#$d_fcntl_can_lock FCNTL_CAN_LOCK /**/
1351
921b2963 1352/* HAS_FD_SET:
1353 * This symbol, when defined, indicates presence of the fd_set typedef
1354 * in <sys/types.h>
1355 */
1356#$d_fd_set HAS_FD_SET /**/
1357
b6592ff0 1358/* FLEXFILENAMES:
1359 * This symbol, if defined, indicates that the system supports filenames
1360 * longer than 14 characters.
1361 */
1362#$d_flexfnam FLEXFILENAMES /**/
1363
c5f05a91 1364/* HAS_FPOS64_T:
1365 * This symbol will be defined if the C compiler supports fpos64_t.
1366 */
1367#$d_fpos64_t HAS_FPOS64_T /**/
1368
a3540c92 1369/* HAS_FREXPL:
1370 * This symbol, if defined, indicates that the frexpl routine is
1371 * available to break a long double floating-point number into
1372 * a normalized fraction and an integral power of 2.
1373 */
1374#$d_frexpl HAS_FREXPL /**/
1375
ff935051 1376/* HAS_STRUCT_FS_DATA:
1377 * This symbol, if defined, indicates that the struct fs_data
1378 * to do statfs() is supported.
1379 */
1380#$d_fs_data_s HAS_STRUCT_FS_DATA /**/
1381
1382/* HAS_FSEEKO:
1383 * This symbol, if defined, indicates that the fseeko routine is
1384 * available to fseek beyond 32 bits (useful for ILP32 hosts).
1385 */
1386#$d_fseeko HAS_FSEEKO /**/
1387
1388/* HAS_FSTATFS:
1389 * This symbol, if defined, indicates that the fstatfs routine is
1390 * available to stat filesystems by file descriptors.
1391 */
1392#$d_fstatfs HAS_FSTATFS /**/
c890dc6c 1393
a7fea17f 1394/* HAS_FSYNC:
1395 * This symbol, if defined, indicates that the fsync routine is
1396 * available to write a file's modified data and attributes to
1397 * permanent storage.
1398 */
1399#$d_fsync HAS_FSYNC /**/
1400
ff935051 1401/* HAS_FTELLO:
1402 * This symbol, if defined, indicates that the ftello routine is
1403 * available to ftell beyond 32 bits (useful for ILP32 hosts).
1404 */
1405#$d_ftello HAS_FTELLO /**/
1406
8e07c86e 1407/* Gconvert:
1408 * This preprocessor macro is defined to convert a floating point
1409 * number to a string without a trailing decimal point. This
1410 * emulates the behavior of sprintf("%g"), but is sometimes much more
1411 * efficient. If gconvert() is not available, but gcvt() drops the
1412 * trailing decimal point, then gcvt() is used. If all else fails,
1413 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1414 * macro are: value, number of digits, whether trailing zeros should
1415 * be retained, and the output buffer.
1416 * Possible values are:
1417 * d_Gconvert='gconvert((x),(n),(t),(b))'
1418 * d_Gconvert='gcvt((x),(n),(b))'
1419 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1420 * The last two assume trailing zeros should not be kept.
1421 */
1422#define Gconvert(x,n,t,b) $d_Gconvert
1423
49dabb45 1424/* HAS_GETCWD:
1425 * This symbol, if defined, indicates that the getcwd routine is
1426 * available to get the current working directory.
1427 */
1428#$d_getcwd HAS_GETCWD /**/
1429
3813c136 1430/* HAS_GETESPWNAM:
1431 * This symbol, if defined, indicates that the getespwnam system call is
1432 * available to retrieve enchanced (shadow) password entries by name.
1433 */
1434#$d_getespwnam HAS_GETESPWNAM /**/
1435
1acc7ade 1436/* HAS_GETFSSTAT:
1437 * This symbol, if defined, indicates that the getfsstat routine is
1438 * available to stat filesystems in bulk.
1439 */
1440#$d_getfsstat HAS_GETFSSTAT /**/
1441
ff935051 1442/* HAS_GETGRENT:
1443 * This symbol, if defined, indicates that the getgrent routine is
1444 * available for sequential access of the group database.
c1b76f5d 1445 */
ff935051 1446#$d_getgrent HAS_GETGRENT /**/
c1b76f5d 1447
ff935051 1448/* HAS_GETHOSTBYADDR:
1449 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1450 * available to look up hosts by their IP addresses.
dd64f1c3 1451 */
ff935051 1452#$d_gethbyaddr HAS_GETHOSTBYADDR /**/
dd64f1c3 1453
ff935051 1454/* HAS_GETHOSTBYNAME:
1455 * This symbol, if defined, indicates that the gethostbyname() routine is
1456 * available to look up host names in some data base or other.
774d564b 1457 */
ff935051 1458#$d_gethbyname HAS_GETHOSTBYNAME /**/
774d564b 1459
ff935051 1460/* HAS_GETHOSTENT:
1461 * This symbol, if defined, indicates that the gethostent() routine is
1462 * available to look up host names in some data base or another.
c1b76f5d 1463 */
ff935051 1464#$d_gethent HAS_GETHOSTENT /**/
c1b76f5d 1465
ff935051 1466/* HAS_GETHOSTNAME:
1467 * This symbol, if defined, indicates that the C program may use the
1468 * gethostname() routine to derive the host name. See also HAS_UNAME
1469 * and PHOSTNAME.
c1b76f5d 1470 */
ff935051 1471/* HAS_UNAME:
1472 * This symbol, if defined, indicates that the C program may use the
1473 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1474 * and PHOSTNAME.
760ac839 1475 */
ff935051 1476/* PHOSTNAME:
1477 * This symbol, if defined, indicates the command to feed to the
1478 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1479 * and HAS_UNAME. Note that the command uses a fully qualified path,
1480 * so that it is safe even if used by a process with super-user
1481 * privileges.
1482 */
c71a9cee 1483/* HAS_PHOSTNAME:
1484 * This symbol, if defined, indicates that the C program may use the
1485 * contents of PHOSTNAME as a command to feed to the popen() routine
1486 * to derive the host name.
1487 */
b4eb6b3d 1488#$d_gethname HAS_GETHOSTNAME /**/
1489#$d_uname HAS_UNAME /**/
1490#$d_phostname HAS_PHOSTNAME /**/
1491#ifdef HAS_PHOSTNAME
1492#define PHOSTNAME "$aphostname" /* How to get the host name */
1493#endif
760ac839 1494
ff935051 1495/* HAS_GETHOST_PROTOS:
1496 * This symbol, if defined, indicates that <netdb.h> includes
1497 * prototypes for gethostent(), gethostbyname(), and
1498 * gethostbyaddr(). Otherwise, it is up to the program to guess
1499 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
52e1cb5e 1500 */
ff935051 1501#$d_gethostprotos HAS_GETHOST_PROTOS /**/
52e1cb5e 1502
4e0554ec 1503/* HAS_GETITIMER:
1504 * This symbol, if defined, indicates that the getitimer routine is
1505 * available to return interval timers.
1506 */
1507#$d_getitimer HAS_GETITIMER /**/
1508
ff935051 1509/* HAS_GETMNT:
1510 * This symbol, if defined, indicates that the getmnt routine is
1511 * available to get filesystem mount info by filename.
921b2963 1512 */
ff935051 1513#$d_getmnt HAS_GETMNT /**/
1514
1515/* HAS_GETMNTENT:
1516 * This symbol, if defined, indicates that the getmntent routine is
1517 * available to iterate through mounted file systems to get their info.
a5f75d66 1518 */
ff935051 1519#$d_getmntent HAS_GETMNTENT /**/
1520
1521/* HAS_GETNETBYADDR:
1522 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1523 * available to look up networks by their IP addresses.
a5f75d66 1524 */
ff935051 1525#$d_getnbyaddr HAS_GETNETBYADDR /**/
1526
1527/* HAS_GETNETBYNAME:
1528 * This symbol, if defined, indicates that the getnetbyname() routine is
1529 * available to look up networks by their names.
a5f75d66 1530 */
ff935051 1531#$d_getnbyname HAS_GETNETBYNAME /**/
a5f75d66 1532
ff935051 1533/* HAS_GETNETENT:
1534 * This symbol, if defined, indicates that the getnetent() routine is
1535 * available to look up network names in some data base or another.
a687059c 1536 */
ff935051 1537#$d_getnent HAS_GETNETENT /**/
1538
1539/* HAS_GETNET_PROTOS:
1540 * This symbol, if defined, indicates that <netdb.h> includes
1541 * prototypes for getnetent(), getnetbyname(), and
1542 * getnetbyaddr(). Otherwise, it is up to the program to guess
1543 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
dfe9444c 1544 */
ff935051 1545#$d_getnetprotos HAS_GETNET_PROTOS /**/
1546
0c0643d0 1547/* HAS_GETPAGESIZE:
1548 * This symbol, if defined, indicates that the getpagesize system call
1549 * is available to get system page size, which is the granularity of
1550 * many memory management calls.
1551 */
1552#$d_getpagsz HAS_GETPAGESIZE /**/
1553
ff935051 1554/* HAS_GETPROTOENT:
1555 * This symbol, if defined, indicates that the getprotoent() routine is
1556 * available to look up protocols in some data base or another.
dfe9444c 1557 */
ff935051 1558#$d_getpent HAS_GETPROTOENT /**/
1559
a7fea17f 1560/* HAS_GETPGRP:
1561 * This symbol, if defined, indicates that the getpgrp routine is
1562 * available to get the current process group.
1563 */
1564/* USE_BSD_GETPGRP:
1565 * This symbol, if defined, indicates that getpgrp needs one
1566 * arguments whereas USG one needs none.
1567 */
1568#$d_getpgrp HAS_GETPGRP /**/
1569#$d_bsdgetpgrp USE_BSD_GETPGRP /**/
1570
ff935051 1571/* HAS_GETPROTOBYNAME:
1572 * This symbol, if defined, indicates that the getprotobyname()
1573 * routine is available to look up protocols by their name.
dfe9444c 1574 */
ff935051 1575/* HAS_GETPROTOBYNUMBER:
1576 * This symbol, if defined, indicates that the getprotobynumber()
1577 * routine is available to look up protocols by their number.
dfe9444c 1578 */
ff935051 1579#$d_getpbyname HAS_GETPROTOBYNAME /**/
1580#$d_getpbynumber HAS_GETPROTOBYNUMBER /**/
a687059c 1581
ff935051 1582/* HAS_GETPROTO_PROTOS:
1583 * This symbol, if defined, indicates that <netdb.h> includes
1584 * prototypes for getprotoent(), getprotobyname(), and
1585 * getprotobyaddr(). Otherwise, it is up to the program to guess
1586 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
8e07c86e 1587 */
ff935051 1588#$d_getprotoprotos HAS_GETPROTO_PROTOS /**/
1589
3813c136 1590/* HAS_GETPRPWNAM:
1591 * This symbol, if defined, indicates that the getprpwnam system call is
1592 * available to retrieve protected (shadow) password entries by name.
1593 */
1594#$d_getprpwnam HAS_GETPRPWNAM /**/
1595
ff935051 1596/* HAS_GETPWENT:
1597 * This symbol, if defined, indicates that the getpwent routine is
1598 * available for sequential access of the passwd database.
1599 * If this is not available, the older getpw() function may be available.
dfe9444c 1600 */
ff935051 1601#$d_getpwent HAS_GETPWENT /**/
8e07c86e 1602
ff935051 1603/* HAS_GETSERVENT:
1604 * This symbol, if defined, indicates that the getservent() routine is
1605 * available to look up network services in some data base or another.
4633a7c4 1606 */
ff935051 1607#$d_getsent HAS_GETSERVENT /**/
1608
1609/* HAS_GETSERV_PROTOS:
1610 * This symbol, if defined, indicates that <netdb.h> includes
1611 * prototypes for getservent(), getservbyname(), and
1612 * getservbyaddr(). Otherwise, it is up to the program to guess
1613 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
dfe9444c 1614 */
ff935051 1615#$d_getservprotos HAS_GETSERV_PROTOS /**/
4633a7c4 1616
ff935051 1617/* HAS_GETSPNAM:
1618 * This symbol, if defined, indicates that the getspnam system call is
1619 * available to retrieve SysV shadow password entries by name.
760ac839 1620 */
ff935051 1621#$d_getspnam HAS_GETSPNAM /**/
1622
1623/* HAS_GETSERVBYNAME:
1624 * This symbol, if defined, indicates that the getservbyname()
1625 * routine is available to look up services by their name.
1aef975c 1626 */
ff935051 1627/* HAS_GETSERVBYPORT:
1628 * This symbol, if defined, indicates that the getservbyport()
1629 * routine is available to look up services by their port.
bccf77a5 1630 */
ff935051 1631#$d_getsbyname HAS_GETSERVBYNAME /**/
1632#$d_getsbyport HAS_GETSERVBYPORT /**/
8e07c86e 1633
ff935051 1634/* HAS_GNULIBC:
1635 * This symbol, if defined, indicates to the C program that
1636 * the GNU C library is being used.
85e6fe83 1637 */
ff935051 1638#$d_gnulibc HAS_GNULIBC /**/
7378db63 1639#if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
1640# define _GNU_SOURCE
1641#endif
ff935051 1642/* HAS_HASMNTOPT:
1643 * This symbol, if defined, indicates that the hasmntopt routine is
1644 * available to query the mount options of file systems.
dfe9444c 1645 */
ff935051 1646#$d_hasmntopt HAS_HASMNTOPT /**/
1647
1648/* HAS_HTONL:
1649 * This symbol, if defined, indicates that the htonl() routine (and
1650 * friends htons() ntohl() ntohs()) are available to do network
1651 * order byte swapping.
dfe9444c 1652 */
ff935051 1653/* HAS_HTONS:
1654 * This symbol, if defined, indicates that the htons() routine (and
1655 * friends htonl() ntohl() ntohs()) are available to do network
1656 * order byte swapping.
dfe9444c 1657 */
ff935051 1658/* HAS_NTOHL:
1659 * This symbol, if defined, indicates that the ntohl() routine (and
1660 * friends htonl() htons() ntohs()) are available to do network
1661 * order byte swapping.
1662 */
1663/* HAS_NTOHS:
1664 * This symbol, if defined, indicates that the ntohs() routine (and
1665 * friends htonl() htons() ntohl()) are available to do network
1666 * order byte swapping.
1667 */
1668#$d_htonl HAS_HTONL /**/
1669#$d_htonl HAS_HTONS /**/
1670#$d_htonl HAS_NTOHL /**/
1671#$d_htonl HAS_NTOHS /**/
85e6fe83 1672
43999f95 1673/* HAS_ICONV:
1674 * This symbol, if defined, indicates that the iconv routine is
1675 * available to do character set conversions.
1676 */
1677#$d_iconv HAS_ICONV /**/
1678
fe749a9f 1679/* HAS_INT64_T:
1680 * This symbol will defined if the C compiler supports int64_t.
1681 * Usually the <inttypes.h> needs to be included, but sometimes
1682 * <sys/types.h> is enough.
1683 */
13b3f787 1684#$d_int64_t HAS_INT64_T /**/
fe749a9f 1685
ff935051 1686/* HAS_ISASCII:
1687 * This manifest constant lets the C program know that isascii
1688 * is available.
693762b4 1689 */
ff935051 1690#$d_isascii HAS_ISASCII /**/
693762b4 1691
a3540c92 1692/* HAS_ISNAN:
1693 * This symbol, if defined, indicates that the isnan routine is
1694 * available to check whether a double is a NaN.
1695 */
1696#$d_isnan HAS_ISNAN /**/
1697
1698/* HAS_ISNANL:
1699 * This symbol, if defined, indicates that the isnanl routine is
1700 * available to check whether a long double is a NaN.
1701 */
1702#$d_isnanl HAS_ISNANL /**/
1703
b6592ff0 1704/* HAS_LCHOWN:
1705 * This symbol, if defined, indicates that the lchown routine is
1706 * available to operate on a symbolic link (instead of following the
1707 * link).
1708 */
1709#$d_lchown HAS_LCHOWN /**/
1710
ff935051 1711/* HAS_LDBL_DIG:
1712 * This symbol, if defined, indicates that this system's <float.h>
1713 * or <limits.h> defines the symbol LDBL_DIG, which is the number
1714 * of significant digits in a long double precision number. Unlike
1715 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
85ab1d1d 1716 */
ff935051 1717#$d_ldbl_dig HAS_LDBL_DIG /* */
1718
1719/* HAS_LONG_DOUBLE:
1720 * This symbol will be defined if the C compiler supports long
1721 * doubles.
85ab1d1d 1722 */
ff935051 1723/* LONG_DOUBLESIZE:
1724 * This symbol contains the size of a long double, so that the
1725 * C preprocessor can make decisions based on it. It is only
1726 * defined if the system supports long doubles.
dfe9444c 1727 */
ff935051 1728#$d_longdbl HAS_LONG_DOUBLE /**/
1729#ifdef HAS_LONG_DOUBLE
1730#define LONG_DOUBLESIZE $longdblsize /**/
1731#endif
dfe9444c 1732
ff935051 1733/* HAS_LONG_LONG:
1734 * This symbol will be defined if the C compiler supports long long.
dfe9444c 1735 */
ff935051 1736/* LONGLONGSIZE:
1737 * This symbol contains the size of a long long, so that the
1738 * C preprocessor can make decisions based on it. It is only
1739 * defined if the system supports long long.
5ff3f7a4 1740 */
ff935051 1741#$d_longlong HAS_LONG_LONG /**/
1742#ifdef HAS_LONG_LONG
1743#define LONGLONGSIZE $longlongsize /**/
1744#endif
5ff3f7a4 1745
1acc7ade 1746/* HAS_LSEEK_PROTO:
1747 * This symbol, if defined, indicates that the system provides
1748 * a prototype for the lseek() function. Otherwise, it is up
1749 * to the program to supply one. A good guess is
1750 * extern off_t lseek(int, off_t, int);
1751 */
1752#$d_lseekproto HAS_LSEEK_PROTO /**/
1753
1e8c3fde 1754/* HAS_MADVISE:
1755 * This symbol, if defined, indicates that the madvise system call is
1756 * available to map a file into memory.
1757 */
1758#$d_madvise HAS_MADVISE /**/
1759
ff935051 1760/* HAS_MEMCHR:
1761 * This symbol, if defined, indicates that the memchr routine is available
1762 * to locate characters within a C string.
dd4e71fd 1763 */
ff935051 1764#$d_memchr HAS_MEMCHR /**/
1765
fe749a9f 1766/* HAS_MKDTEMP:
1767 * This symbol, if defined, indicates that the mkdtemp routine is
1768 * available to exclusively create a uniquely named temporary directory.
1769 */
1770#$d_mkdtemp HAS_MKDTEMP /**/
1771
1772/* HAS_MKSTEMP:
1773 * This symbol, if defined, indicates that the mkstemp routine is
1774 * available to exclusively create and open a uniquely named
1775 * temporary file.
1776 */
1777#$d_mkstemp HAS_MKSTEMP /**/
1778
1779/* HAS_MKSTEMPS:
1780 * This symbol, if defined, indicates that the mkstemps routine is
1781 * available to excluslvely create and open a uniquely named
1782 * (with a suffix) temporary file.
1783 */
1784#$d_mkstemps HAS_MKSTEMPS /**/
1785
87b71857 1786/* HAS_MMAP:
1787 * This symbol, if defined, indicates that the mmap system call is
1788 * available to map a file into memory.
1789 */
fe749a9f 1790/* Mmap_t:
1791 * This symbol holds the return type of the mmap() system call
1792 * (and simultaneously the type of the first argument).
1793 * Usually set to 'void *' or 'cadd_t'.
1794 */
87b71857 1795#$d_mmap HAS_MMAP /**/
fe749a9f 1796#define Mmap_t $mmaptype /**/
1797
3813c136 1798/* HAS_MODFL:
1799 * This symbol, if defined, indicates that the modfl routine is
1800 * available to split a long double x into a fractional part f and
1801 * an integer part i such that |f| < 1.0 and (f + i) = x.
1802 */
e67aeab1 1803/* HAS_MODFL_POW32_BUG:
1804 * This symbol, if defined, indicates that the modfl routine is
1805 * broken for long doubles >= pow(2, 32).
1806 * For example from 4294967303.150000 one would get 4294967302.000000
1807 * and 1.150000. The bug has been seen in certain versions of glibc,
1808 * release 2.2.2 is known to be okay.
1809 */
3813c136 1810#$d_modfl HAS_MODFL /**/
e67aeab1 1811#$d_modfl_pow32_bug HAS_MODFL_POW32_BUG /**/
3813c136 1812
fe749a9f 1813/* HAS_MPROTECT:
1814 * This symbol, if defined, indicates that the mprotect system call is
1815 * available to modify the access protection of a memory mapped file.
1816 */
1817#$d_mprotect HAS_MPROTECT /**/
1818
ff935051 1819/* HAS_MSG:
1820 * This symbol, if defined, indicates that the entire msg*(2) library is
1821 * supported (IPC mechanism based on message queues).
dd4e71fd 1822 */
ff935051 1823#$d_msg HAS_MSG /**/
dd4e71fd 1824
4e0554ec 1825/* HAS_STRUCT_MSGHDR:
1826 * This symbol, if defined, indicates that the struct msghdr
1827 * is supported.
1828 */
1829#$d_msghdr_s HAS_STRUCT_MSGHDR /**/
1830
c5f05a91 1831/* HAS_OFF64_T:
1832 * This symbol will be defined if the C compiler supports off64_t.
1833 */
1834#$d_off64_t HAS_OFF64_T /**/
1835
ff935051 1836/* HAS_OPEN3:
1837 * This manifest constant lets the C program know that the three
1838 * argument form of open(2) is available.
dd4e71fd 1839 */
ff935051 1840#$d_open3 HAS_OPEN3 /**/
1841
1842/* OLD_PTHREAD_CREATE_JOINABLE:
1843 * This symbol, if defined, indicates how to create pthread
1844 * in joinable (aka undetached) state. NOTE: not defined
1845 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
1846 * (the new version of the constant).
1847 * If defined, known values are PTHREAD_CREATE_UNDETACHED
1848 * and __UNDETACHED.
dd4e71fd 1849 */
ff935051 1850#$d_old_pthread_create_joinable OLD_PTHREAD_CREATE_JOINABLE $old_pthread_create_joinable /**/
dd4e71fd 1851
ff935051 1852/* HAS_PTHREAD_YIELD:
1853 * This symbol, if defined, indicates that the pthread_yield
1854 * routine is available to yield the execution of the current
1855 * thread. sched_yield is preferable to pthread_yield.
1856 */
1857/* SCHED_YIELD:
1858 * This symbol defines the way to yield the execution of
1859 * the current thread. Known ways are sched_yield,
1860 * pthread_yield, and pthread_yield with NULL.
1861 */
1862/* HAS_SCHED_YIELD:
1863 * This symbol, if defined, indicates that the sched_yield
1864 * routine is available to yield the execution of the current
1865 * thread. sched_yield is preferable to pthread_yield.
dd4e71fd 1866 */
ff935051 1867#$d_pthread_yield HAS_PTHREAD_YIELD /**/
1868#define SCHED_YIELD $sched_yield /**/
1869#$d_sched_yield HAS_SCHED_YIELD /**/
dd4e71fd 1870
4e0554ec 1871/* HAS_READV:
1872 * This symbol, if defined, indicates that the readv routine is
1873 * available to do gather reads. You will also need <sys/uio.h>
1874 * and there I_SYSUIO.
1875 */
1876#$d_readv HAS_READV /**/
1877
1878/* HAS_RECVMSG:
1879 * This symbol, if defined, indicates that the recvmsg routine is
1880 * available to send structured socket messages.
1881 */
1882#$d_recvmsg HAS_RECVMSG /**/
1883
ff935051 1884/* HAS_SAFE_BCOPY:
1885 * This symbol, if defined, indicates that the bcopy routine is available
1886 * to copy potentially overlapping memory blocks. Otherwise you should
1887 * probably use memmove() or memcpy(). If neither is defined, roll your
1888 * own version.
dd4e71fd 1889 */
ff935051 1890#$d_safebcpy HAS_SAFE_BCOPY /**/
1891
1892/* HAS_SAFE_MEMCPY:
1893 * This symbol, if defined, indicates that the memcpy routine is available
1894 * to copy potentially overlapping memory blocks. Otherwise you should
1895 * probably use memmove() or memcpy(). If neither is defined, roll your
1896 * own version.
dd4e71fd 1897 */
ff935051 1898#$d_safemcpy HAS_SAFE_MEMCPY /**/
dd4e71fd 1899
ff935051 1900/* HAS_SANE_MEMCMP:
1901 * This symbol, if defined, indicates that the memcmp routine is available
1902 * and can be used to compare relative magnitudes of chars with their high
1903 * bits set. If it is not defined, roll your own version.
dd4e71fd 1904 */
ff935051 1905#$d_sanemcmp HAS_SANE_MEMCMP /**/
1906
a7fea17f 1907/* HAS_SBRK_PROTO:
1908 * This symbol, if defined, indicates that the system provides
1909 * a prototype for the sbrk() function. Otherwise, it is up
1910 * to the program to supply one. Good guesses are
1911 * extern void* sbrk _((int));
1912 * extern void* sbrk _((size_t));
1913 */
1914#$d_sbrkproto HAS_SBRK_PROTO /**/
1915
ff935051 1916/* HAS_SEM:
1917 * This symbol, if defined, indicates that the entire sem*(2) library is
1918 * supported.
dd4e71fd 1919 */
ff935051 1920#$d_sem HAS_SEM /**/
dd4e71fd 1921
4e0554ec 1922/* HAS_SENDMSG:
1923 * This symbol, if defined, indicates that the sendmsg routine is
1924 * available to send structured socket messages.
1925 */
1926#$d_sendmsg HAS_SENDMSG /**/
1927
ff935051 1928/* HAS_SETGRENT:
1929 * This symbol, if defined, indicates that the setgrent routine is
1930 * available for initializing sequential access of the group database.
dd4e71fd 1931 */
ff935051 1932#$d_setgrent HAS_SETGRENT /**/
1933
1934/* HAS_SETGROUPS:
1935 * This symbol, if defined, indicates that the setgroups() routine is
1936 * available to set the list of process groups. If unavailable, multiple
1937 * groups are probably not supported.
dd4e71fd 1938 */
ff935051 1939#$d_setgrps HAS_SETGROUPS /**/
dd4e71fd 1940
ff935051 1941/* HAS_SETHOSTENT:
1942 * This symbol, if defined, indicates that the sethostent() routine is
1943 * available.
a3635516 1944 */
ff935051 1945#$d_sethent HAS_SETHOSTENT /**/
a3635516 1946
4e0554ec 1947/* HAS_SETITIMER:
1948 * This symbol, if defined, indicates that the setitimer routine is
1949 * available to set interval timers.
1950 */
1951#$d_setitimer HAS_SETITIMER /**/
1952
ff935051 1953/* HAS_SETNETENT:
1954 * This symbol, if defined, indicates that the setnetent() routine is
1955 * available.
dfe9444c 1956 */
ff935051 1957#$d_setnent HAS_SETNETENT /**/
dfe9444c 1958
ff935051 1959/* HAS_SETPROTOENT:
1960 * This symbol, if defined, indicates that the setprotoent() routine is
1961 * available.
dfe9444c 1962 */
ff935051 1963#$d_setpent HAS_SETPROTOENT /**/
1964
a7fea17f 1965/* HAS_SETPGRP:
1966 * This symbol, if defined, indicates that the setpgrp routine is
1967 * available to set the current process group.
1968 */
1969/* USE_BSD_SETPGRP:
1970 * This symbol, if defined, indicates that setpgrp needs two
1971 * arguments whereas USG one needs none. See also HAS_SETPGID
1972 * for a POSIX interface.
1973 */
1974#$d_setpgrp HAS_SETPGRP /**/
1975#$d_bsdsetpgrp USE_BSD_SETPGRP /**/
1976
0c9177ab 1977/* HAS_SETPROCTITLE:
1978 * This symbol, if defined, indicates that the setproctitle routine is
1979 * available to set process title.
1980 */
1981#$d_setproctitle HAS_SETPROCTITLE /**/
1982
ff935051 1983/* HAS_SETPWENT:
1984 * This symbol, if defined, indicates that the setpwent routine is
1985 * available for initializing sequential access of the passwd database.
dfe9444c 1986 */
ff935051 1987#$d_setpwent HAS_SETPWENT /**/
dfe9444c 1988
ff935051 1989/* HAS_SETSERVENT:
1990 * This symbol, if defined, indicates that the setservent() routine is
1991 * available.
48159a0c 1992 */
ff935051 1993#$d_setsent HAS_SETSERVENT /**/
1cfa4ec7 1994
ff935051 1995/* HAS_SETVBUF:
1996 * This symbol, if defined, indicates that the setvbuf routine is
1997 * available to change buffering on an open stdio stream.
1998 * to a line-buffered mode.
dfe9444c 1999 */
ff935051 2000#$d_setvbuf HAS_SETVBUF /**/
e5c9fcd0 2001
ff935051 2002/* USE_SFIO:
2003 * This symbol, if defined, indicates that sfio should
2004 * be used.
5ff3f7a4 2005 */
ff935051 2006#$d_sfio USE_SFIO /**/
5ff3f7a4 2007
ff935051 2008/* HAS_SHM:
2009 * This symbol, if defined, indicates that the entire shm*(2) library is
2010 * supported.
e5c9fcd0 2011 */
ff935051 2012#$d_shm HAS_SHM /**/
e5c9fcd0 2013
ff935051 2014/* HAS_SIGACTION:
2015 * This symbol, if defined, indicates that Vr4's sigaction() routine
2016 * is available.
e5c9fcd0 2017 */
ff935051 2018#$d_sigaction HAS_SIGACTION /**/
e5c9fcd0 2019
ff935051 2020/* HAS_SIGSETJMP:
2021 * This variable indicates to the C program that the sigsetjmp()
2022 * routine is available to save the calling process's registers
2023 * and stack environment for later use by siglongjmp(), and
2024 * to optionally save the process's signal mask. See
2025 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
e5c9fcd0 2026 */
ff935051 2027/* Sigjmp_buf:
2028 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
5ff3f7a4 2029 */
ff935051 2030/* Sigsetjmp:
2031 * This macro is used in the same way as sigsetjmp(), but will invoke
2032 * traditional setjmp() if sigsetjmp isn't available.
2033 * See HAS_SIGSETJMP.
e5c9fcd0 2034 */
ff935051 2035/* Siglongjmp:
2036 * This macro is used in the same way as siglongjmp(), but will invoke
2037 * traditional longjmp() if siglongjmp isn't available.
2038 * See HAS_SIGSETJMP.
5ff3f7a4 2039 */
b4eb6b3d 2040#$d_sigsetjmp HAS_SIGSETJMP /**/
2041#ifdef HAS_SIGSETJMP
2042#define Sigjmp_buf sigjmp_buf
2043#define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
2044#define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
2045#else
2046#define Sigjmp_buf jmp_buf
2047#define Sigsetjmp(buf,save_mask) setjmp((buf))
2048#define Siglongjmp(buf,retval) longjmp((buf),(retval))
2049#endif
5ff3f7a4 2050
ff935051 2051/* HAS_SOCKET:
2052 * This symbol, if defined, indicates that the BSD socket interface is
2053 * supported.
693762b4 2054 */
ff935051 2055/* HAS_SOCKETPAIR:
2056 * This symbol, if defined, indicates that the BSD socketpair() call is
2057 * supported.
693762b4 2058 */
ff935051 2059/* HAS_MSG_CTRUNC:
2060 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
2061 * Checking just with #ifdef might not be enough because this symbol
2062 * has been known to be an enum.
693762b4 2063 */
ff935051 2064/* HAS_MSG_DONTROUTE:
2065 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
2066 * Checking just with #ifdef might not be enough because this symbol
2067 * has been known to be an enum.
a12fb911 2068 */
ff935051 2069/* HAS_MSG_OOB:
2070 * This symbol, if defined, indicates that the MSG_OOB is supported.
2071 * Checking just with #ifdef might not be enough because this symbol
2072 * has been known to be an enum.
a12fb911 2073 */
ff935051 2074/* HAS_MSG_PEEK:
2075 * This symbol, if defined, indicates that the MSG_PEEK is supported.
2076 * Checking just with #ifdef might not be enough because this symbol
2077 * has been known to be an enum.
a12fb911 2078 */
ff935051 2079/* HAS_MSG_PROXY:
2080 * This symbol, if defined, indicates that the MSG_PROXY is supported.
2081 * Checking just with #ifdef might not be enough because this symbol
2082 * has been known to be an enum.
48159a0c 2083 */
ff935051 2084/* HAS_SCM_RIGHTS:
2085 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
2086 * Checking just with #ifdef might not be enough because this symbol
2087 * has been known to be an enum.
2088 */
2089#$d_socket HAS_SOCKET /**/
2090#$d_sockpair HAS_SOCKETPAIR /**/
2091#$d_msg_ctrunc HAS_MSG_CTRUNC /**/
2092#$d_msg_dontroute HAS_MSG_DONTROUTE /**/
2093#$d_msg_oob HAS_MSG_OOB /**/
2094#$d_msg_peek HAS_MSG_PEEK /**/
2095#$d_msg_proxy HAS_MSG_PROXY /**/
2096#$d_scm_rights HAS_SCM_RIGHTS /**/
a12fb911 2097
1b9c9cf5 2098/* HAS_SOCKS5_INIT:
2099 * This symbol, if defined, indicates that the socks5_init routine is
2100 * available to initialize SOCKS 5.
2101 */
2102#$d_socks5_init HAS_SOCKS5_INIT /**/
2103
ff935051 2104/* HAS_SQRTL:
2105 * This symbol, if defined, indicates that the sqrtl routine is
2106 * available to do long double square roots.
693762b4 2107 */
ff935051 2108#$d_sqrtl HAS_SQRTL /**/
693762b4 2109
ff935051 2110/* USE_STAT_BLOCKS:
2111 * This symbol is defined if this system has a stat structure declaring
2112 * st_blksize and st_blocks.
693762b4 2113 */
b4eb6b3d 2114#ifndef USE_STAT_BLOCKS
2115#$d_statblks USE_STAT_BLOCKS /**/
2116#endif
693762b4 2117
ff935051 2118/* HAS_STRUCT_STATFS_F_FLAGS:
2119 * This symbol, if defined, indicates that the struct statfs
2120 * does have the f_flags member containing the mount flags of
2121 * the filesystem containing the file.
2122 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
2123 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
2124 * have statfs() and struct statfs, they have ustat() and getmnt()
2125 * with struct ustat and struct fs_data.
e5c9fcd0 2126 */
ff935051 2127#$d_statfs_f_flags HAS_STRUCT_STATFS_F_FLAGS /**/
e5c9fcd0 2128
ff935051 2129/* HAS_STRUCT_STATFS:
2130 * This symbol, if defined, indicates that the struct statfs
2131 * to do statfs() is supported.
e5c9fcd0 2132 */
ff935051 2133#$d_statfs_s HAS_STRUCT_STATFS /**/
e5c9fcd0 2134
ff935051 2135/* HAS_FSTATVFS:
2136 * This symbol, if defined, indicates that the fstatvfs routine is
2137 * available to stat filesystems by file descriptors.
693762b4 2138 */
ff935051 2139#$d_fstatvfs HAS_FSTATVFS /**/
de4597cb 2140
b4eb6b3d 2141/* USE_STDIO_PTR:
2142 * This symbol is defined if the _ptr and _cnt fields (or similar)
2143 * of the stdio FILE structure can be used to access the stdio buffer
2144 * for a file handle. If this is defined, then the FILE_ptr(fp)
2145 * and FILE_cnt(fp) macros will also be defined and should be used
2146 * to access these fields.
2147 */
ff935051 2148/* FILE_ptr:
2149 * This macro is used to access the _ptr field (or equivalent) of the
2150 * FILE structure pointed to by its argument. This macro will always be
2151 * defined if USE_STDIO_PTR is defined.
bfb7748a 2152 */
ff935051 2153/* STDIO_PTR_LVALUE:
2154 * This symbol is defined if the FILE_ptr macro can be used as an
2155 * lvalue.
c4f23d77 2156 */
ff935051 2157/* FILE_cnt:
2158 * This macro is used to access the _cnt field (or equivalent) of the
2159 * FILE structure pointed to by its argument. This macro will always be
2160 * defined if USE_STDIO_PTR is defined.
c4f23d77 2161 */
ff935051 2162/* STDIO_CNT_LVALUE:
2163 * This symbol is defined if the FILE_cnt macro can be used as an
2164 * lvalue.
16d20bd9 2165 */
a7ffa9b9 2166/* STDIO_PTR_LVAL_SETS_CNT:
2167 * This symbol is defined if using the FILE_ptr macro as an lvalue
2168 * to increase the pointer by n has the side effect of decreasing the
2169 * value of File_cnt(fp) by n.
2170 */
2171/* STDIO_PTR_LVAL_NOCHANGE_CNT:
2172 * This symbol is defined if using the FILE_ptr macro as an lvalue
2173 * to increase the pointer by n leaves File_cnt(fp) unchanged.
2174 */
b4eb6b3d 2175#$d_stdstdio USE_STDIO_PTR /**/
2176#ifdef USE_STDIO_PTR
ff935051 2177#define FILE_ptr(fp) $stdio_ptr
2178#$d_stdio_ptr_lval STDIO_PTR_LVALUE /**/
2179#define FILE_cnt(fp) $stdio_cnt
2180#$d_stdio_cnt_lval STDIO_CNT_LVALUE /**/
a7ffa9b9 2181#$d_stdio_ptr_lval_sets_cnt STDIO_PTR_LVAL_SETS_CNT /**/
2182#$d_stdio_ptr_lval_nochange_cnt STDIO_PTR_LVAL_NOCHANGE_CNT /**/
b4eb6b3d 2183#endif
16d20bd9 2184
b4eb6b3d 2185/* USE_STDIO_BASE:
2186 * This symbol is defined if the _base field (or similar) of the
2187 * stdio FILE structure can be used to access the stdio buffer for
2188 * a file handle. If this is defined, then the FILE_base(fp) macro
2189 * will also be defined and should be used to access this field.
2190 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
2191 * to determine the number of bytes in the buffer. USE_STDIO_BASE
2192 * will never be defined unless USE_STDIO_PTR is.
2193 */
ff935051 2194/* FILE_base:
2195 * This macro is used to access the _base field (or equivalent) of the
2196 * FILE structure pointed to by its argument. This macro will always be
2197 * defined if USE_STDIO_BASE is defined.
6b8eaf93 2198 */
ff935051 2199/* FILE_bufsiz:
2200 * This macro is used to determine the number of bytes in the I/O
2201 * buffer pointed to by _base field (or equivalent) of the FILE
2202 * structure pointed to its argument. This macro will always be defined
2203 * if USE_STDIO_BASE is defined.
2d4389e4 2204 */
b4eb6b3d 2205#$d_stdiobase USE_STDIO_BASE /**/
2206#ifdef USE_STDIO_BASE
ff935051 2207#define FILE_base(fp) $stdio_base
2208#define FILE_bufsiz(fp) $stdio_bufsiz
b4eb6b3d 2209#endif
2d4389e4 2210
ff935051 2211/* HAS_STRERROR:
2212 * This symbol, if defined, indicates that the strerror routine is
2213 * available to translate error numbers to strings. See the writeup
2214 * of Strerror() in this file before you try to define your own.
f1066039 2215 */
ff935051 2216/* HAS_SYS_ERRLIST:
2217 * This symbol, if defined, indicates that the sys_errlist array is
2218 * available to translate error numbers to strings. The extern int
2219 * sys_nerr gives the size of that table.
dfe9444c 2220 */
ff935051 2221/* Strerror:
2222 * This preprocessor symbol is defined as a macro if strerror() is
2223 * not available to translate error numbers to strings but sys_errlist[]
2224 * array is there.
68d4903c 2225 */
ff935051 2226#$d_strerror HAS_STRERROR /**/
2227#$d_syserrlst HAS_SYS_ERRLIST /**/
2228#define Strerror(e) $d_strerrm
68d4903c 2229
ff935051 2230/* HAS_STRTOLD:
2231 * This symbol, if defined, indicates that the strtold routine is
2232 * available to convert strings to long doubles.
104d25b7 2233 */
ff935051 2234#$d_strtold HAS_STRTOLD /**/
104d25b7 2235
76d49b1c 2236/* HAS_STRTOLL:
2237 * This symbol, if defined, indicates that the strtoll routine is
2238 * available to convert strings to long longs.
2239 */
2240#$d_strtoll HAS_STRTOLL /**/
2241
28e5dec8 2242/* HAS_STRTOQ:
2243 * This symbol, if defined, indicates that the strtoq routine is
2244 * available to convert strings to long longs (quads).
2245 */
2246#$d_strtoq HAS_STRTOQ /**/
2247
a7fea17f 2248/* HAS_STRTOUL:
2249 * This symbol, if defined, indicates that the strtoul routine is
2250 * available to provide conversion of strings to unsigned long.
2251 */
2252#$d_strtoul HAS_STRTOUL /**/
2253
ff935051 2254/* HAS_STRTOULL:
2255 * This symbol, if defined, indicates that the strtoull routine is
2256 * available to convert strings to unsigned long longs.
ad27e871 2257 */
ff935051 2258#$d_strtoull HAS_STRTOULL /**/
ad27e871 2259
ff935051 2260/* HAS_STRTOUQ:
2261 * This symbol, if defined, indicates that the strtouq routine is
2262 * available to convert strings to unsigned long longs (quads).
104d25b7 2263 */
ff935051 2264#$d_strtouq HAS_STRTOUQ /**/
104d25b7 2265
cb86ce0e 2266/* HAS_TELLDIR_PROTO:
2267 * This symbol, if defined, indicates that the system provides
2268 * a prototype for the telldir() function. Otherwise, it is up
2269 * to the program to supply one. A good guess is
b0ca4213 2270 * extern long telldir _((DIR*));
cb86ce0e 2271 */
2272#$d_telldirproto HAS_TELLDIR_PROTO /**/
2273
ff935051 2274/* Time_t:
2275 * This symbol holds the type returned by time(). It can be long,
2276 * or time_t on BSD sites (in which case <sys/types.h> should be
2277 * included).
2278 */
2279#define Time_t $timetype /* Time type */
2280
2281/* HAS_TIMES:
2282 * This symbol, if defined, indicates that the times() routine exists.
2283 * Note that this became obsolete on some systems (SUNOS), which now
2284 * use getrusage(). It may be necessary to include <sys/times.h>.
2285 */
2286#$d_times HAS_TIMES /**/
2287
4e0554ec 2288/* HAS_UALARM:
2289 * This symbol, if defined, indicates that the ualarm routine is
2290 * available to do alarms with microsecond granularity.
2291 */
2292#$d_ualarm HAS_UALARM /**/
2293
ff935051 2294/* HAS_UNION_SEMUN:
2295 * This symbol, if defined, indicates that the union semun is
2296 * defined by including <sys/sem.h>. If not, the user code
2297 * probably needs to define it as:
2298 * union semun {
2299 * int val;
2300 * struct semid_ds *buf;
2301 * unsigned short *array;
2302 * }
2303 */
2304/* USE_SEMCTL_SEMUN:
2305 * This symbol, if defined, indicates that union semun is
2306 * used for semctl IPC_STAT.
2307 */
2308/* USE_SEMCTL_SEMID_DS:
2309 * This symbol, if defined, indicates that struct semid_ds * is
2310 * used for semctl IPC_STAT.
2311 */
2312#$d_union_semun HAS_UNION_SEMUN /**/
2313#$d_semctl_semun USE_SEMCTL_SEMUN /**/
2314#$d_semctl_semid_ds USE_SEMCTL_SEMID_DS /**/
2315
0545a864 2316/* HAS_USTAT:
2317 * This symbol, if defined, indicates that the ustat system call is
2318 * available to query file system statistics by dev_t.
2319 */
2320#$d_ustat HAS_USTAT /**/
2321
ff935051 2322/* HAS_VFORK:
2323 * This symbol, if defined, indicates that vfork() exists.
2324 */
2325#$d_vfork HAS_VFORK /**/
2326
2327/* Signal_t:
2328 * This symbol's value is either "void" or "int", corresponding to the
2329 * appropriate return type of a signal handler. Thus, you can declare
2330 * a signal handler using "Signal_t (*handler)()", and define the
2331 * handler using "Signal_t handler(sig)".
2332 */
2333#define Signal_t $signal_t /* Signal handler's return type */
2334
2335/* HAS_VPRINTF:
2336 * This symbol, if defined, indicates that the vprintf routine is available
2337 * to printf with a pointer to an argument list. If unavailable, you
2338 * may need to write your own, probably in terms of _doprnt().
2339 */
2340/* USE_CHAR_VSPRINTF:
2341 * This symbol is defined if this system has vsprintf() returning type
2342 * (char*). The trend seems to be to declare it as "int vsprintf()". It
2343 * is up to the package author to declare vsprintf correctly based on the
2344 * symbol.
2345 */
2346#$d_vprintf HAS_VPRINTF /**/
2347#$d_charvspr USE_CHAR_VSPRINTF /**/
2348
4e0554ec 2349/* HAS_WRITEV:
2350 * This symbol, if defined, indicates that the writev routine is
2351 * available to do scatter writes.
2352 */
2353#$d_writev HAS_WRITEV /**/
2354
dfe9444c 2355/* USE_DYNAMIC_LOADING:
2356 * This symbol, if defined, indicates that dynamic loading of
2357 * some sort is available.
2358 */
2359#$usedl USE_DYNAMIC_LOADING /**/
2360
ff935051 2361/* DOUBLESIZE:
2362 * This symbol contains the size of a double, so that the C preprocessor
2363 * can make decisions based on it.
2364 */
2365#define DOUBLESIZE $doublesize /**/
2366
2367/* EBCDIC:
2368 * This symbol, if defined, indicates that this system uses
2369 * EBCDIC encoding.
2370 */
2371#$ebcdic EBCDIC /**/
2372
66fe083f 2373/* FFLUSH_NULL:
2374 * This symbol, if defined, tells that fflush(NULL) does flush
2375 * all pending stdio output.
2376 */
767df6a1 2377/* FFLUSH_ALL:
2378 * This symbol, if defined, tells that to flush
2379 * all pending stdio output one must loop through all
a71cd7cd 2380 * the stdio file handles stored in an array and fflush them.
a32a45b6 2381 * Note that if fflushNULL is defined, fflushall will not
2382 * even be probed for and will be left undefined.
767df6a1 2383 */
2384#$fflushNULL FFLUSH_NULL /**/
2385#$fflushall FFLUSH_ALL /**/
66fe083f 2386
ff935051 2387/* Fpos_t:
2388 * This symbol holds the type used to declare file positions in libc.
2389 * It can be fpos_t, long, uint, etc... It may be necessary to include
2390 * <sys/types.h> to get any typedef'ed information.
2391 */
2392#define Fpos_t $fpostype /* File position type */
2393
2394/* Gid_t_f:
2395 * This symbol defines the format string used for printing a Gid_t.
2396 */
2397#define Gid_t_f $gidformat /**/
2398
23dcd6c8 2399/* Gid_t_sign:
2400 * This symbol holds the signedess of a Gid_t.
2401 * 1 for unsigned, -1 for signed.
2402 */
2403#define Gid_t_sign $gidsign /* GID sign */
2404
ff935051 2405/* Gid_t_size:
2406 * This symbol holds the size of a Gid_t in bytes.
2407 */
2408#define Gid_t_size $gidsize /* GID size */
2409
2410/* Gid_t:
2411 * This symbol holds the return type of getgid() and the type of
2412 * argument to setrgid() and related functions. Typically,
2413 * it is the type of group ids in the kernel. It can be int, ushort,
23dcd6c8 2414 * gid_t, etc... It may be necessary to include <sys/types.h> to get
ff935051 2415 * any typedef'ed information.
2416 */
2417#define Gid_t $gidtype /* Type for getgid(), etc... */
2418
2419/* Groups_t:
2420 * This symbol holds the type used for the second argument to
23dcd6c8 2421 * getgroups() and setgroups(). Usually, this is the same as
ff935051 2422 * gidtype (gid_t) , but sometimes it isn't.
23dcd6c8 2423 * It can be int, ushort, gid_t, etc...
ff935051 2424 * It may be necessary to include <sys/types.h> to get any
2425 * typedef'ed information. This is only required if you have
6e78e524 2426 * getgroups() or setgroups()..
ff935051 2427 */
b4eb6b3d 2428#if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
2429#define Groups_t $groupstype /* Type for 2nd arg to [sg]etgroups() */
2430#endif
ff935051 2431
dfe9444c 2432/* DB_Prefix_t:
2433 * This symbol contains the type of the prefix structure element
2434 * in the <db.h> header file. In older versions of DB, it was
2435 * int, while in newer ones it is u_int32_t.
2436 */
2437/* DB_Hash_t:
2438 * This symbol contains the type of the prefix structure element
2439 * in the <db.h> header file. In older versions of DB, it was
2440 * int, while in newer ones it is size_t.
2441 */
640374d0 2442/* DB_VERSION_MAJOR_CFG:
2443 * This symbol, if defined, defines the major version number of
2444 * Berkeley DB found in the <db.h> header when Perl was configured.
2445 */
2446/* DB_VERSION_MINOR_CFG:
2447 * This symbol, if defined, defines the minor version number of
2448 * Berkeley DB found in the <db.h> header when Perl was configured.
2449 * For DB version 1 this is always 0.
2450 */
2451/* DB_VERSION_PATCH_CFG:
2452 * This symbol, if defined, defines the patch version number of
2453 * Berkeley DB found in the <db.h> header when Perl was configured.
2454 * For DB version 1 this is always 0.
2455 */
dfe9444c 2456#define DB_Hash_t $db_hashtype /**/
2457#define DB_Prefix_t $db_prefixtype /**/
640374d0 2458#define DB_VERSION_MAJOR_CFG $db_version_major /**/
2459#define DB_VERSION_MINOR_CFG $db_version_minor /**/
2460#define DB_VERSION_PATCH_CFG $db_version_patch /**/
dfe9444c 2461
ff935051 2462/* I_GRP:
2463 * This symbol, if defined, indicates to the C program that it should
2464 * include <grp.h>.
2465 */
2466/* GRPASSWD:
2467 * This symbol, if defined, indicates to the C program that struct group
2468 * in <grp.h> contains gr_passwd.
2469 */
2470#$i_grp I_GRP /**/
2471#$d_grpasswd GRPASSWD /**/
2472
43999f95 2473/* I_ICONV:
2474 * This symbol, if defined, indicates that <iconv.h> exists and
2475 * should be included.
2476 */
2477#$i_iconv I_ICONV /**/
2478
1acc7ade 2479/* I_IEEEFP:
2480 * This symbol, if defined, indicates that <ieeefp.h> exists and
2481 * should be included.
2482 */
2483#$i_ieeefp I_IEEEFP /**/
2484
5ff3f7a4 2485/* I_INTTYPES:
2486 * This symbol, if defined, indicates to the C program that it should
2487 * include <inttypes.h>.
2488 */
5ff3f7a4 2489#$i_inttypes I_INTTYPES /**/
5ff3f7a4 2490
1b9c9cf5 2491/* I_LIBUTIL:
2492 * This symbol, if defined, indicates that <libutil.h> exists and
2493 * should be included.
2494 */
2495#$i_libutil I_LIBUTIL /**/
2496
ff935051 2497/* I_MACH_CTHREADS:
2498 * This symbol, if defined, indicates to the C program that it should
2499 * include <mach/cthreads.h>.
2500 */
2501#$i_machcthr I_MACH_CTHREADS /**/
2502
e7fb4fcc 2503/* I_MNTENT:
2504 * This symbol, if defined, indicates that <mntent.h> exists and
2505 * should be included.
2506 */
2507#$i_mntent I_MNTENT /**/
2508
ff935051 2509/* I_NETDB:
2510 * This symbol, if defined, indicates that <netdb.h> exists and
2511 * should be included.
2512 */
2513#$i_netdb I_NETDB /**/
2514
9cc6feab 2515/* I_NETINET_TCP:
2516 * This symbol, if defined, indicates to the C program that it should
2517 * include <netinet/tcp.h>.
2518 */
2519#$i_netinettcp I_NETINET_TCP /**/
2520
5b34fd99 2521/* I_POLL:
2522 * This symbol, if defined, indicates that <poll.h> exists and
2523 * should be included.
2524 */
2525#$i_poll I_POLL /**/
2526
3813c136 2527/* I_PROT:
2528 * This symbol, if defined, indicates that <prot.h> exists and
2529 * should be included.
2530 */
2531#$i_prot I_PROT /**/
2532
ff935051 2533/* I_PTHREAD:
2534 * This symbol, if defined, indicates to the C program that it should
2535 * include <pthread.h>.
2536 */
2537#$i_pthread I_PTHREAD /**/
2538
2539/* I_PWD:
2540 * This symbol, if defined, indicates to the C program that it should
2541 * include <pwd.h>.
2542 */
2543/* PWQUOTA:
2544 * This symbol, if defined, indicates to the C program that struct passwd
2545 * contains pw_quota.
2546 */
2547/* PWAGE:
2548 * This symbol, if defined, indicates to the C program that struct passwd
2549 * contains pw_age.
2550 */
2551/* PWCHANGE:
2552 * This symbol, if defined, indicates to the C program that struct passwd
2553 * contains pw_change.
2554 */
2555/* PWCLASS:
2556 * This symbol, if defined, indicates to the C program that struct passwd
2557 * contains pw_class.
2558 */
2559/* PWEXPIRE:
2560 * This symbol, if defined, indicates to the C program that struct passwd
2561 * contains pw_expire.
2562 */
2563/* PWCOMMENT:
2564 * This symbol, if defined, indicates to the C program that struct passwd
2565 * contains pw_comment.
2566 */
2567/* PWGECOS:
2568 * This symbol, if defined, indicates to the C program that struct passwd
2569 * contains pw_gecos.
2570 */
2571/* PWPASSWD:
2572 * This symbol, if defined, indicates to the C program that struct passwd
2573 * contains pw_passwd.
2574 */
2575#$i_pwd I_PWD /**/
2576#$d_pwquota PWQUOTA /**/
2577#$d_pwage PWAGE /**/
2578#$d_pwchange PWCHANGE /**/
2579#$d_pwclass PWCLASS /**/
2580#$d_pwexpire PWEXPIRE /**/
2581#$d_pwcomment PWCOMMENT /**/
2582#$d_pwgecos PWGECOS /**/
2583#$d_pwpasswd PWPASSWD /**/
2584
f1066039 2585/* I_SHADOW:
2586 * This symbol, if defined, indicates that <shadow.h> exists and
2587 * should be included.
2588 */
2589#$i_shadow I_SHADOW /**/
2590
86959918 2591/* I_SOCKS:
2592 * This symbol, if defined, indicates that <socks.h> exists and
2593 * should be included.
2594 */
2595#$i_socks I_SOCKS /**/
2596
923fc586 2597/* I_SUNMATH:
2598 * This symbol, if defined, indicates that <sunmath.h> exists and
2599 * should be included.
2600 */
2601#$i_sunmath I_SUNMATH /**/
2602
ca52efda 2603/* I_SYSLOG:
2604 * This symbol, if defined, indicates that <syslog.h> exists and
2605 * should be included.
2606 */
2607#$i_syslog I_SYSLOG /**/
2608
13b3f787 2609/* I_SYSMODE:
2610 * This symbol, if defined, indicates that <sys/mode.h> exists and
2611 * should be included.
2612 */
2613#$i_sysmode I_SYSMODE /**/
2614
104d25b7 2615/* I_SYS_MOUNT:
2616 * This symbol, if defined, indicates that <sys/mount.h> exists and
2617 * should be included.
2618 */
2619#$i_sysmount I_SYS_MOUNT /**/
2620
0545a864 2621/* I_SYS_STATFS:
2622 * This symbol, if defined, indicates that <sys/statfs.h> exists.
2623 */
2624#$i_sysstatfs I_SYS_STATFS /**/
2625
104d25b7 2626/* I_SYS_STATVFS:
2627 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
2628 * should be included.
2629 */
2630#$i_sysstatvfs I_SYS_STATVFS /**/
2631
ff935051 2632/* I_SYSUIO:
2633 * This symbol, if defined, indicates that <sys/uio.h> exists and
2634 * should be included.
2635 */
2636#$i_sysuio I_SYSUIO /**/
2637
13b3f787 2638/* I_SYSUTSNAME:
2639 * This symbol, if defined, indicates that <sys/utsname.h> exists and
2640 * should be included.
2641 */
2642#$i_sysutsname I_SYSUTSNAME /**/
2643
0545a864 2644/* I_SYS_VFS:
2645 * This symbol, if defined, indicates that <sys/vfs.h> exists and
2646 * should be included.
2647 */
2648#$i_sysvfs I_SYS_VFS /**/
2649
ff935051 2650/* I_TIME:
2651 * This symbol, if defined, indicates to the C program that it should
2652 * include <time.h>.
2653 */
2654/* I_SYS_TIME:
2655 * This symbol, if defined, indicates to the C program that it should
2656 * include <sys/time.h>.
2657 */
2658/* I_SYS_TIME_KERNEL:
2659 * This symbol, if defined, indicates to the C program that it should
2660 * include <sys/time.h> with KERNEL defined.
2661 */
2662#$i_time I_TIME /**/
2663#$i_systime I_SYS_TIME /**/
2664#$i_systimek I_SYS_TIME_KERNEL /**/
2665
0545a864 2666/* I_USTAT:
2667 * This symbol, if defined, indicates that <ustat.h> exists and
2668 * should be included.
2669 */
2670#$i_ustat I_USTAT /**/
2671
ff935051 2672/* PERL_INC_VERSION_LIST:
2673 * This variable specifies the list of subdirectories in over
2674 * which perl.c:incpush() and lib/lib.pm will automatically
2675 * search when adding directories to @INC, in a format suitable
2676 * for a C initialization string. See the inc_version_list entry
2677 * in Porting/Glossary for more details.
2678 */
3a096bf3 2679#define PERL_INC_VERSION_LIST $inc_version_list_init /**/
ff935051 2680
fe749a9f 2681/* INSTALL_USR_BIN_PERL:
2682 * This symbol, if defined, indicates that Perl is to be installed
2683 * also as /usr/bin/perl.
2684 */
2685#$installusrbinperl INSTALL_USR_BIN_PERL /**/
2686
cf2093f6 2687/* PERL_PRIfldbl:
2688 * This symbol, if defined, contains the string used by stdio to
2689 * format long doubles (format 'f') for output.
2690 */
2691/* PERL_PRIgldbl:
2692 * This symbol, if defined, contains the string used by stdio to
2693 * format long doubles (format 'g') for output.
2694 */
c1a7f87b 2695/* PERL_PRIeldbl:
2696 * This symbol, if defined, contains the string used by stdio to
2697 * format long doubles (format 'e') for output.
2698 */
ebd4816b 2699/* PERL_SCNfldbl:
2700 * This symbol, if defined, contains the string used by stdio to
2701 * format long doubles (format 'f') for input.
2702 */
cf2093f6 2703#$d_PRIfldbl PERL_PRIfldbl $sPRIfldbl /**/
2704#$d_PRIgldbl PERL_PRIgldbl $sPRIgldbl /**/
c1a7f87b 2705#$d_PRIeldbl PERL_PRIeldbl $sPRIeldbl /**/
ebd4816b 2706#$d_SCNfldbl PERL_SCNfldbl $sSCNfldbl /**/
cf2093f6 2707
ff935051 2708/* Off_t:
2709 * This symbol holds the type used to declare offsets in the kernel.
2710 * It can be int, long, off_t, etc... It may be necessary to include
2711 * <sys/types.h> to get any typedef'ed information.
2712 */
2713/* LSEEKSIZE:
2714 * This symbol holds the number of bytes used by the Off_t.
2715 */
2716/* Off_t_size:
2717 * This symbol holds the number of bytes used by the Off_t.
2718 */
2719#define Off_t $lseektype /* <offset> type */
2720#define LSEEKSIZE $lseeksize /* <offset> size */
2721#define Off_t_size $lseeksize /* <offset> size */
2722
2723/* Free_t:
2724 * This variable contains the return type of free(). It is usually
2725 * void, but occasionally int.
2726 */
2727/* Malloc_t:
2728 * This symbol is the type of pointer returned by malloc and realloc.
2729 */
2730#define Malloc_t $malloctype /**/
2731#define Free_t $freetype /**/
2732
2733/* MYMALLOC:
2734 * This symbol, if defined, indicates that we're using our own malloc.
2735 */
2736#$d_mymalloc MYMALLOC /**/
2737
2738/* Mode_t:
2739 * This symbol holds the type used to declare file modes
2740 * for systems calls. It is usually mode_t, but may be
2741 * int or unsigned short. It may be necessary to include <sys/types.h>
2742 * to get any typedef'ed information.
2743 */
2744#define Mode_t $modetype /* file mode parameter for system calls */
2745
2746/* VAL_O_NONBLOCK:
2747 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
2748 * non-blocking I/O for the file descriptor. Note that there is no way
2749 * back, i.e. you cannot turn it blocking again this way. If you wish to
2750 * alternatively switch between blocking and non-blocking, use the
2751 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
2752 */
2753/* VAL_EAGAIN:
2754 * This symbol holds the errno error code set by read() when no data was
2755 * present on the non-blocking file descriptor.
2756 */
2757/* RD_NODATA:
2758 * This symbol holds the return code from read() when no data is present
2759 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
2760 * not defined, then you can't distinguish between no data and EOF by
2761 * issuing a read(). You'll have to find another way to tell for sure!
2762 */
2763/* EOF_NONBLOCK:
2764 * This symbol, if defined, indicates to the C program that a read() on
2765 * a non-blocking file descriptor will return 0 on EOF, and not the value
2766 * held in RD_NODATA (-1 usually, in that case!).
2767 */
2768#define VAL_O_NONBLOCK $o_nonblock
2769#define VAL_EAGAIN $eagain
2770#define RD_NODATA $rd_nodata
2771#$d_eofnblk EOF_NONBLOCK
2772
a7fea17f 2773/* NEED_VA_COPY:
2774 * This symbol, if defined, indicates that the system stores
2775 * the variable argument list datatype, va_list, in a format
2776 * that cannot be copied by simple assignment, so that some
2777 * other means must be used when copying is required.
2778 * As such systems vary in their provision (or non-provision)
2779 * of copying mechanisms, handy.h defines a platform-
2780 * independent macro, Perl_va_copy(src, dst), to do the job.
2781 */
2782#$need_va_copy NEED_VA_COPY /**/
2783
ff935051 2784/* Netdb_host_t:
2785 * This symbol holds the type used for the 1st argument
2786 * to gethostbyaddr().
2787 */
2788/* Netdb_hlen_t:
2789 * This symbol holds the type used for the 2nd argument
2790 * to gethostbyaddr().
2791 */
2792/* Netdb_name_t:
2793 * This symbol holds the type used for the argument to
2794 * gethostbyname().
2795 */
2796/* Netdb_net_t:
2797 * This symbol holds the type used for the 1st argument to
2798 * getnetbyaddr().
2799 */
2800#define Netdb_host_t $netdb_host_type /**/
2801#define Netdb_hlen_t $netdb_hlen_type /**/
2802#define Netdb_name_t $netdb_name_type /**/
2803#define Netdb_net_t $netdb_net_type /**/
2804
7cedd6f8 2805/* PERL_OTHERLIBDIRS:
2806 * This variable contains a colon-separated set of paths for the perl
2807 * binary to search for additional library files or modules.
2808 * These directories will be tacked to the end of @INC.
2809 * Perl will automatically search below each path for version-
2810 * and architecture-specific directories. See PERL_INC_VERSION_LIST
2811 * for more details.
2812 */
2813#$d_perl_otherlibdirs PERL_OTHERLIBDIRS "$otherlibdirs" /**/
2814
8175356b 2815/* IVTYPE:
2816 * This symbol defines the C type used for Perl's IV.
cf2093f6 2817 */
8175356b 2818/* UVTYPE:
2819 * This symbol defines the C type used for Perl's UV.
cf2093f6 2820 */
8175356b 2821/* I8TYPE:
2822 * This symbol defines the C type used for Perl's I8.
0f4b6630 2823 */
8175356b 2824/* U8TYPE:
2825 * This symbol defines the C type used for Perl's U8.
2826 */
2827/* I16TYPE:
2828 * This symbol defines the C type used for Perl's I16.
2829 */
2830/* U16TYPE:
2831 * This symbol defines the C type used for Perl's U16.
2832 */
2833/* I32TYPE:
2834 * This symbol defines the C type used for Perl's I32.
2835 */
2836/* U32TYPE:
2837 * This symbol defines the C type used for Perl's U32.
2838 */
2839/* I64TYPE:
2840 * This symbol defines the C type used for Perl's I64.
2841 */
2842/* U64TYPE:
2843 * This symbol defines the C type used for Perl's U64.
2844 */
2845/* NVTYPE:
2846 * This symbol defines the C type used for Perl's NV.
2847 */
2848/* IVSIZE:
2849 * This symbol contains the sizeof(IV).
2850 */
2851/* UVSIZE:
2852 * This symbol contains the sizeof(UV).
2853 */
a22e52b9 2854/* I8SIZE:
2855 * This symbol contains the sizeof(I8).
2856 */
2857/* U8SIZE:
2858 * This symbol contains the sizeof(U8).
2859 */
2860/* I16SIZE:
2861 * This symbol contains the sizeof(I16).
2862 */
2863/* U16SIZE:
2864 * This symbol contains the sizeof(U16).
2865 */
2866/* I32SIZE:
2867 * This symbol contains the sizeof(I32).
2868 */
2869/* U32SIZE:
2870 * This symbol contains the sizeof(U32).
2871 */
2872/* I64SIZE:
2873 * This symbol contains the sizeof(I64).
2874 */
2875/* U64SIZE:
2876 * This symbol contains the sizeof(U64).
2877 */
b6592ff0 2878/* NVSIZE:
2879 * This symbol contains the sizeof(NV).
2880 */
cce08f5b 2881/* NV_PRESERVES_UV:
2882 * This symbol, if defined, indicates that a variable of type NVTYPE
bd026c32 2883 * can preserve all the bits of a variable of type UVTYPE.
cce08f5b 2884 */
d6c14000 2885/* NV_PRESERVES_UV_BITS:
2886 * This symbol contains the number of bits a variable of type NVTYPE
2887 * can preserve of a variable of type UVTYPE.
2888 */
8175356b 2889#define IVTYPE $ivtype /**/
2890#define UVTYPE $uvtype /**/
2891#define I8TYPE $i8type /**/
2892#define U8TYPE $u8type /**/
2893#define I16TYPE $i16type /**/
2894#define U16TYPE $u16type /**/
2895#define I32TYPE $i32type /**/
2896#define U32TYPE $u32type /**/
b4eb6b3d 2897#ifdef HAS_QUAD
2898#define I64TYPE $i64type /**/
2899#define U64TYPE $u64type /**/
2900#endif
8175356b 2901#define NVTYPE $nvtype /**/
2902#define IVSIZE $ivsize /**/
2903#define UVSIZE $uvsize /**/
a22e52b9 2904#define I8SIZE $i8size /**/
2905#define U8SIZE $u8size /**/
2906#define I16SIZE $i16size /**/
2907#define U16SIZE $u16size /**/
2908#define I32SIZE $i32size /**/
2909#define U32SIZE $u32size /**/
b4eb6b3d 2910#ifdef HAS_QUAD
2911#define I64SIZE $i64size /**/
2912#define U64SIZE $u64size /**/
2913#endif
b6592ff0 2914#define NVSIZE $nvsize /**/
78691af5 2915#$d_nv_preserves_uv NV_PRESERVES_UV
d6c14000 2916#define NV_PRESERVES_UV_BITS $d_nv_preserves_uv_bits
8175356b 2917
2918/* IVdf:
2919 * This symbol defines the format string used for printing a Perl IV
2920 * as a signed decimal integer.
2921 */
2922/* UVuf:
2923 * This symbol defines the format string used for printing a Perl UV
2924 * as an unsigned decimal integer.
2925 */
2926/* UVof:
2927 * This symbol defines the format string used for printing a Perl UV
2928 * as an unsigned octal integer.
2929 */
2930/* UVxf:
2931 * This symbol defines the format string used for printing a Perl UV
6b4667fc 2932 * as an unsigned hexadecimal integer in lowercase abcdef.
2933 */
159fae86 2934/* UVXf:
2935 * This symbol defines the format string used for printing a Perl UV
2936 * as an unsigned hexadecimal integer in uppercase ABCDEF.
2937 */
6b4667fc 2938/* NVef:
2939 * This symbol defines the format string used for printing a Perl NV
2940 * using %e-ish floating point format.
2941 */
2942/* NVff:
2943 * This symbol defines the format string used for printing a Perl NV
2944 * using %f-ish floating point format.
2945 */
2946/* NVgf:
2947 * This symbol defines the format string used for printing a Perl NV
2948 * using %g-ish floating point format.
cf2093f6 2949 */
8175356b 2950#define IVdf $ivdformat /**/
2951#define UVuf $uvuformat /**/
2952#define UVof $uvoformat /**/
2953#define UVxf $uvxformat /**/
159fae86 2954#define UVXf $uvXUformat /**/
6b4667fc 2955#define NVef $nveformat /**/
2956#define NVff $nvfformat /**/
2957#define NVgf $nvgformat /**/
cf2093f6 2958
ff935051 2959/* Pid_t:
2960 * This symbol holds the type used to declare process ids in the kernel.
2961 * It can be int, uint, pid_t, etc... It may be necessary to include
2962 * <sys/types.h> to get any typedef'ed information.
2963 */
2964#define Pid_t $pidtype /* PID type */
2965
2966/* PRIVLIB:
2967 * This symbol contains the name of the private library for this package.
2968 * The library is private in the sense that it needn't be in anyone's
2969 * execution path, but it should be accessible by the world. The program
2970 * should be prepared to do ~ expansion.
2971 */
2972/* PRIVLIB_EXP:
2973 * This symbol contains the ~name expanded version of PRIVLIB, to be used
2974 * in programs that are not prepared to deal with ~ expansion at run-time.
2975 */
2976#define PRIVLIB "$privlib" /**/
2977#define PRIVLIB_EXP "$privlibexp" /**/
2978
2979/* PTRSIZE:
2980 * This symbol contains the size of a pointer, so that the C preprocessor
2981 * can make decisions based on it. It will be sizeof(void *) if
2982 * the compiler supports (void *); otherwise it will be
2983 * sizeof(char *).
2984 */
2985#define PTRSIZE $ptrsize /**/
2986
2987/* Drand01:
2988 * This macro is to be used to generate uniformly distributed
2989 * random numbers over the range [0., 1.[. You may have to supply
2990 * an 'extern double drand48();' in your program since SunOS 4.1.3
2991 * doesn't provide you with anything relevant in it's headers.
2992 * See HAS_DRAND48_PROTO.
2993 */
2994/* Rand_seed_t:
2995 * This symbol defines the type of the argument of the
2996 * random seed function.
2997 */
2998/* seedDrand01:
2999 * This symbol defines the macro to be used in seeding the
3000 * random number generator (see Drand01).
3001 */
3002/* RANDBITS:
3003 * This symbol indicates how many bits are produced by the
3004 * function used to generate normalized random numbers.
3005 * Values include 15, 16, 31, and 48.
3006 */
3007#define Drand01() $drand01 /**/
3008#define Rand_seed_t $randseedtype /**/
3009#define seedDrand01(x) $seedfunc((Rand_seed_t)x) /**/
3010#define RANDBITS $randbits /**/
3011
5ff3f7a4 3012/* SELECT_MIN_BITS:
3013 * This symbol holds the minimum number of bits operated by select.
3014 * That is, if you do select(n, ...), how many bits at least will be
3015 * cleared in the masks if some activity is detected. Usually this
3016 * is either n or 32*ceil(n/32), especially many little-endians do
3017 * the latter. This is only useful if you have select(), naturally.
3018 */
ff935051 3019#define SELECT_MIN_BITS $selectminbits /**/
3020
3021/* Select_fd_set_t:
3022 * This symbol holds the type used for the 2nd, 3rd, and 4th
3023 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
3024 * is defined, and 'int *' otherwise. This is only useful if you
3025 * have select(), of course.
3026 */
3027#define Select_fd_set_t $selecttype /**/
3028
3029/* SIG_NAME:
3030 * This symbol contains a list of signal names in order of
3031 * signal number. This is intended
3032 * to be used as a static array initialization, like this:
3033 * char *sig_name[] = { SIG_NAME };
3034 * The signals in the list are separated with commas, and each signal
3035 * is surrounded by double quotes. There is no leading SIG in the signal
3036 * name, i.e. SIGQUIT is known as "QUIT".
3037 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
3038 * etc., where nn is the actual signal number (e.g. NUM37).
3039 * The signal number for sig_name[i] is stored in sig_num[i].
3040 * The last element is 0 to terminate the list with a NULL. This
3041 * corresponds to the 0 at the end of the sig_num list.
3042 */
3043/* SIG_NUM:
3044 * This symbol contains a list of signal numbers, in the same order as the
3045 * SIG_NAME list. It is suitable for static array initialization, as in:
3046 * int sig_num[] = { SIG_NUM };
3047 * The signals in the list are separated with commas, and the indices
3048 * within that list and the SIG_NAME list match, so it's easy to compute
3049 * the signal name from a number or vice versa at the price of a small
3050 * dynamic linear lookup.
3051 * Duplicates are allowed, but are moved to the end of the list.
3052 * The signal number corresponding to sig_name[i] is sig_number[i].
3053 * if (i < NSIG) then sig_number[i] == i.
3054 * The last element is 0, corresponding to the 0 at the end of
3055 * the sig_name list.
3056 */
76d3c696 3057/* SIG_SIZE:
3058 * This variable contains the number of elements of the sig_name
bbbf5d77 3059 * and sig_num arrays, excluding the final NULL entry.
76d3c696 3060 */
ff935051 3061#define SIG_NAME $sig_name_init /**/
3062#define SIG_NUM $sig_num_init /**/
76d3c696 3063#define SIG_SIZE $sig_size /**/
ff935051 3064
3065/* SITEARCH:
3066 * This symbol contains the name of the private library for this package.
3067 * The library is private in the sense that it needn't be in anyone's
3068 * execution path, but it should be accessible by the world. The program
3069 * should be prepared to do ~ expansion.
3070 * The standard distribution will put nothing in this directory.
3071 * After perl has been installed, users may install their own local
3072 * architecture-dependent modules in this directory with
3073 * MakeMaker Makefile.PL
3074 * or equivalent. See INSTALL for details.
3075 */
3076/* SITEARCH_EXP:
3077 * This symbol contains the ~name expanded version of SITEARCH, to be used
3078 * in programs that are not prepared to deal with ~ expansion at run-time.
3079 */
3080#define SITEARCH "$sitearch" /**/
3081#define SITEARCH_EXP "$sitearchexp" /**/
3082
3083/* SITELIB:
3084 * This symbol contains the name of the private library for this package.
3085 * The library is private in the sense that it needn't be in anyone's
3086 * execution path, but it should be accessible by the world. The program
3087 * should be prepared to do ~ expansion.
3088 * The standard distribution will put nothing in this directory.
3089 * After perl has been installed, users may install their own local
3090 * architecture-independent modules in this directory with
3091 * MakeMaker Makefile.PL
3092 * or equivalent. See INSTALL for details.
3093 */
3094/* SITELIB_EXP:
3095 * This symbol contains the ~name expanded version of SITELIB, to be used
3096 * in programs that are not prepared to deal with ~ expansion at run-time.
3097 */
526fdc24 3098/* SITELIB_STEM:
3099 * This define is SITELIB_EXP with any trailing version-specific component
3100 * removed. The elements in inc_version_list (inc_version_list.U) can
3101 * be tacked onto this variable to generate a list of directories to search.
3102 */
ff935051 3103#define SITELIB "$sitelib" /**/
3104#define SITELIB_EXP "$sitelibexp" /**/
526fdc24 3105#define SITELIB_STEM "$sitelib_stem" /**/
ff935051 3106
a13ea748 3107/* Size_t_size:
3108 * This symbol holds the size of a Size_t in bytes.
3109 */
3110#define Size_t_size $sizesize /* */
3111
ff935051 3112/* Size_t:
3113 * This symbol holds the type used to declare length parameters
3114 * for string functions. It is usually size_t, but may be
3115 * unsigned long, int, etc. It may be necessary to include
3116 * <sys/types.h> to get any typedef'ed information.
3117 */
3118#define Size_t $sizetype /* length paramater for string functions */
3119
1acc7ade 3120/* Sock_size_t:
3121 * This symbol holds the type used for the size argument of
3122 * various socket calls (just the base type, not the pointer-to).
3123 */
3124#define Sock_size_t $socksizetype /**/
3125
ff935051 3126/* SSize_t:
3127 * This symbol holds the type used by functions that return
3128 * a count of bytes or an error condition. It must be a signed type.
3129 * It is usually ssize_t, but may be long or int, etc.
3130 * It may be necessary to include <sys/types.h> or <unistd.h>
3131 * to get any typedef'ed information.
3132 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
3133 */
3134#define SSize_t $ssizetype /* signed count of bytes */
5ff3f7a4 3135
568ef1f6 3136/* STARTPERL:
3137 * This variable contains the string to put in front of a perl
3138 * script to make sure (one hopes) that it runs with perl and not
3139 * some shell.
3140 */
3141#define STARTPERL "$startperl" /**/
3142
a7fea17f 3143/* STDCHAR:
3144 * This symbol is defined to be the type of char used in stdio.h.
3145 * It has the values "unsigned char" or "char".
3146 */
3147#define STDCHAR $stdchar /**/
3148
ed39a0f2 3149/* HAS_STDIO_STREAM_ARRAY:
3150 * This symbol, if defined, tells that there is an array
3151 * holding the stdio streams.
3152 */
767df6a1 3153/* STDIO_STREAM_ARRAY:
ed39a0f2 3154 * This symbol tells the name of the array holding the stdio streams.
3155 * Usual values include _iob, __iob, and __sF.
767df6a1 3156 */
ed39a0f2 3157#$d_stdio_stream_array HAS_STDIO_STREAM_ARRAY /**/
767df6a1 3158#define STDIO_STREAM_ARRAY $stdio_stream_array
3159
ff935051 3160/* Uid_t_f:
3161 * This symbol defines the format string used for printing a Uid_t.
cf2093f6 3162 */
ff935051 3163#define Uid_t_f $uidformat /**/
3164
23dcd6c8 3165/* Uid_t_sign:
3166 * This symbol holds the signedess of a Uid_t.
3167 * 1 for unsigned, -1 for signed.
3168 */
3169#define Uid_t_sign $uidsign /* UID sign */
3170
ff935051 3171/* Uid_t_size:
3172 * This symbol holds the size of a Uid_t in bytes.
3173 */
3174#define Uid_t_size $uidsize /* UID size */
3175
3176/* Uid_t:
3177 * This symbol holds the type used to declare user ids in the kernel.
3178 * It can be int, ushort, uid_t, etc... It may be necessary to include
3179 * <sys/types.h> to get any typedef'ed information.
3180 */
3181#define Uid_t $uidtype /* UID type */
cf2093f6 3182
10cc9d2a 3183/* USE_64_BIT_INT:
bd9b35c9 3184 * This symbol, if defined, indicates that 64-bit integers should
3185 * be used when available. If not defined, the native integers
49c10eea 3186 * will be employed (be they 32 or 64 bits). The minimal possible
3187 * 64-bitness is used, just enough to get 64-bit integers into Perl.
3188 * This may mean using for example "long longs", while your memory
3189 * may still be limited to 2 gigabytes.
5ff3f7a4 3190 */
10cc9d2a 3191/* USE_64_BIT_ALL:
3192 * This symbol, if defined, indicates that 64-bit integers should
3193 * be used when available. If not defined, the native integers
3194 * will be used (be they 32 or 64 bits). The maximal possible
3195 * 64-bitness is employed: LP64 or ILP64, meaning that you will
3196 * be able to use more than 2 gigabytes of memory. This mode is
3197 * even more binary incompatible than USE_64_BIT_INT. You may not
3198 * be able to run the resulting executable in a 32-bit CPU at all or
3199 * you may need at least to reboot your OS to 64-bit mode.
3200 */
b4eb6b3d 3201#ifndef USE_64_BIT_INT
3202#$use64bitint USE_64_BIT_INT /**/
3203#endif
3204
3205#ifndef USE_64_BIT_ALL
3206#$use64bitall USE_64_BIT_ALL /**/
3207#endif
49c10eea 3208
09458382 3209/* USE_LARGE_FILES:
3210 * This symbol, if defined, indicates that large file support
c890dc6c 3211 * should be used when available.
09458382 3212 */
b4eb6b3d 3213#ifndef USE_LARGE_FILES
3214#$uselargefiles USE_LARGE_FILES /**/
3215#endif
09458382 3216
b0ce926a 3217/* USE_LONG_DOUBLE:
3218 * This symbol, if defined, indicates that long doubles should
3219 * be used when available.
3220 */
b4eb6b3d 3221#ifndef USE_LONG_DOUBLE
3222#$uselongdouble USE_LONG_DOUBLE /**/
3223#endif
d7d93a81 3224
c71a9cee 3225/* USE_MORE_BITS:
3226 * This symbol, if defined, indicates that 64-bit interfaces and
3227 * long doubles should be used when available.
3228 */
b4eb6b3d 3229#ifndef USE_MORE_BITS
3230#$usemorebits USE_MORE_BITS /**/
3231#endif
b0ce926a 3232
104d25b7 3233/* MULTIPLICITY:
3234 * This symbol, if defined, indicates that Perl should
3235 * be built to use multiplicity.
3236 */
b4eb6b3d 3237#ifndef MULTIPLICITY
3238#$usemultiplicity MULTIPLICITY /**/
3239#endif
104d25b7 3240
e876cf0b 3241/* USE_PERLIO:
3242 * This symbol, if defined, indicates that the PerlIO abstraction should
3243 * be used throughout. If not defined, stdio should be
3244 * used in a fully backward compatible manner.
3245 */
b4eb6b3d 3246#ifndef USE_PERLIO
3247#$useperlio USE_PERLIO /**/
3248#endif
e876cf0b 3249
29209bc5 3250/* USE_SOCKS:
3251 * This symbol, if defined, indicates that Perl should
3252 * be built to use socks.
3253 */
d7d93a81 3254#ifndef USE_SOCKS
29209bc5 3255#$usesocks USE_SOCKS /**/
d7d93a81 3256#endif
29209bc5 3257
aaacdc8b 3258/* USE_ITHREADS:
3259 * This symbol, if defined, indicates that Perl should be built to
3260 * use the interpreter-based threading implementation.
3261 */
3262/* USE_5005THREADS:
3263 * This symbol, if defined, indicates that Perl should be built to
3264 * use the 5.005-based threading implementation.
dfe9444c 3265 */
693762b4 3266/* OLD_PTHREADS_API:
3267 * This symbol, if defined, indicates that Perl should
3268 * be built to use the old draft POSIX threads API.
3269 */
9514c62b 3270/* USE_REENTRANT_API:
3271 * This symbol, if defined, indicates that Perl should
3272 * try to use the various _r versions of library functions.
3273 * This is extremely experimental.
3274 */
aaacdc8b 3275#$use5005threads USE_5005THREADS /**/
3276#$useithreads USE_ITHREADS /**/
b4eb6b3d 3277#if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
3278#define USE_THREADS /* until src is revised*/
3279#endif
693762b4 3280#$d_oldpthreads OLD_PTHREADS_API /**/
9514c62b 3281#$usereentrant USE_REENTRANT_API /**/
8e07c86e 3282
1acc7ade 3283/* PERL_VENDORARCH:
3284 * If defined, this symbol contains the name of a private library.
3285 * The library is private in the sense that it needn't be in anyone's
3286 * execution path, but it should be accessible by the world.
3287 * It may have a ~ on the front.
3288 * The standard distribution will put nothing in this directory.
3289 * Vendors who distribute perl may wish to place their own
3290 * architecture-dependent modules and extensions in this directory with
3291 * MakeMaker Makefile.PL INSTALLDIRS=vendor
3292 * or equivalent. See INSTALL for details.
3293 */
526fdc24 3294/* PERL_VENDORARCH_EXP:
3295 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
3296 * in programs that are not prepared to deal with ~ expansion at run-time.
3297 */
1acc7ade 3298#$d_vendorarch PERL_VENDORARCH "$vendorarch" /**/
526fdc24 3299#$d_vendorarch PERL_VENDORARCH_EXP "$vendorarchexp" /**/
3300
ff935051 3301/* PERL_VENDORLIB_EXP:
3302 * This symbol contains the ~name expanded version of VENDORLIB, to be used
3303 * in programs that are not prepared to deal with ~ expansion at run-time.
887d2938 3304 */
526fdc24 3305/* PERL_VENDORLIB_STEM:
3306 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component
3307 * removed. The elements in inc_version_list (inc_version_list.U) can
3308 * be tacked onto this variable to generate a list of directories to search.
3309 */
ff935051 3310#$d_vendorlib PERL_VENDORLIB_EXP "$vendorlibexp" /**/
526fdc24 3311#$d_vendorlib PERL_VENDORLIB_STEM "$vendorlib_stem" /**/
887d2938 3312
b4eb6b3d 3313/* VOIDFLAGS:
3314 * This symbol indicates how much support of the void type is given by this
3315 * compiler. What various bits mean:
3316 *
3317 * 1 = supports declaration of void
3318 * 2 = supports arrays of pointers to functions returning void
3319 * 4 = supports comparisons between pointers to void functions and
3320 * addresses of void functions
3321 * 8 = suports declaration of generic void pointers
3322 *
3323 * The package designer should define VOIDUSED to indicate the requirements
3324 * of the package. This can be done either by #defining VOIDUSED before
3325 * including config.h, or by defining defvoidused in Myinit.U. If the
3326 * latter approach is taken, only those flags will be tested. If the
3327 * level of void support necessary is not present, defines void to int.
3328 */
3329#ifndef VOIDUSED
3330#define VOIDUSED $defvoidused
3331#endif
3332#define VOIDFLAGS $voidflags
3333#if (VOIDFLAGS & VOIDUSED) != VOIDUSED
3334#define void int /* is void to be avoided? */
3335#define M_VOID /* Xenix strikes again */
3336#endif
3337
fe749a9f 3338/* PERL_XS_APIVERSION:
3339 * This variable contains the version of the oldest perl binary
3340 * compatible with the present perl. perl.c:incpush() and
3341 * lib/lib.pm will automatically search in $sitearch for older
3342 * directories across major versions back to xs_apiversion.
3343 * This is only useful if you have a perl library directory tree
3344 * structured like the default one.
3345 * See INSTALL for how this works.
3346 * The versioned site_perl directory was introduced in 5.005,
3347 * so that is the lowest possible value.
3348 * Since this can depend on compile time options (such as
3349 * bincompat) it is set by Configure. Other non-default sources
3350 * of potential incompatibility, such as multiplicity, threads,
3351 * debugging, 64bits, sfio, etc., are not checked for currently,
3352 * though in principle we could go snooping around in old
3353 * Config.pm files.
3354 */
3355/* PERL_PM_APIVERSION:
3356 * This variable contains the version of the oldest perl
3357 * compatible with the present perl. (That is, pure perl modules
3358 * written for pm_apiversion will still work for the current
3359 * version). perl.c:incpush() and lib/lib.pm will automatically
3360 * search in $sitelib for older directories across major versions
3361 * back to pm_apiversion. This is only useful if you have a perl
3362 * library directory tree structured like the default one. The
3363 * versioned site_perl library was introduced in 5.005, so that's
3364 * the default setting for this variable. It's hard to imagine
3365 * it changing before Perl6. It is included here for symmetry
3366 * with xs_apiveprsion -- the searching algorithms will
3367 * (presumably) be similar.
3368 * See the INSTALL file for how this works.
3369 */
3370#define PERL_XS_APIVERSION "$xs_apiversion"
3371#define PERL_PM_APIVERSION "$pm_apiversion"
3372
2ef53570 3373/* HAS_DBMINIT_PROTO:
3374 * This symbol, if defined, indicates that the system provides
3375 * a prototype for the dbminit() function. Otherwise, it is up
3376 * to the program to supply one. A good guess is
3377 * extern int dbminit(char *);
3378 */
3379#$d_dbminitproto HAS_DBMINIT_PROTO /**/
3380
3381/* HAS_FLOCK_PROTO:
3382 * This symbol, if defined, indicates that the system provides
3383 * a prototype for the flock() function. Otherwise, it is up
3384 * to the program to supply one. A good guess is
3385 * extern int flock(int, int);
3386 */
3387#$d_flockproto HAS_FLOCK_PROTO /**/
3388
640374d0 3389/* HAS_REALPATH:
3390 * This symbol, if defined, indicates that the realpath routine is
3391 * available to do resolve paths.
3392 */
3393#$d_realpath HAS_REALPATH /**/
3394
983dbef6 3395/* HAS_SIGPROCMASK:
3396 * This symbol, if defined, indicates that the sigprocmask
3397 * system call is available to examine or change the signal mask
3398 * of the calling process.
3399 */
3400#$d_sigprocmask HAS_SIGPROCMASK /**/
3401
49a78c82 3402/* HAS_SOCKATMARK:
3403 * This symbol, if defined, indicates that the sockatmark routine is
3404 * available to test whether a socket is at the out-of-band mark.
3405 */
3406#$d_sockatmark HAS_SOCKATMARK /**/
3407
2ef53570 3408/* HAS_SOCKATMARK_PROTO:
3409 * This symbol, if defined, indicates that the system provides
3410 * a prototype for the sockatmark() function. Otherwise, it is up
3411 * to the program to supply one. A good guess is
3412 * extern int sockatmark _((int));
3413 */
3414#$d_sockatmarkproto HAS_SOCKATMARK_PROTO /**/
3415
eef837ea 3416/* HAS_SETRESGID_PROTO:
3417 * This symbol, if defined, indicates that the system provides
3418 * a prototype for the setresgid() function. Otherwise, it is up
3419 * to the program to supply one. Good guesses are
3420 * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid);
3421 */
3422#$d_sresgproto HAS_SETRESGID_PROTO /**/
3423
640374d0 3424/* HAS_SETRESUID_PROTO:
3425 * This symbol, if defined, indicates that the system provides
3426 * a prototype for the setresuid() function. Otherwise, it is up
3427 * to the program to supply one. Good guesses are
3428 * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid);
3429 */
3430#$d_sresuproto HAS_SETRESUID_PROTO /**/
3431
b3c85772 3432/* HAS_STRFTIME:
3433 * This symbol, if defined, indicates that the strftime routine is
3434 * available to do time formatting.
3435 */
3436#$d_strftime HAS_STRFTIME /**/
3437
2ef53570 3438/* HAS_SYSCALL_PROTO:
3439 * This symbol, if defined, indicates that the system provides
3440 * a prototype for the syscall() function. Otherwise, it is up
3441 * to the program to supply one. Good guesses are
3442 * extern int syscall(int, ...);
3443 * extern int syscall(long, ...);
3444 */
3445#$d_syscallproto HAS_SYSCALL_PROTO /**/
3446
4e0554ec 3447/* U32_ALIGNMENT_REQUIRED:
3448 * This symbol, if defined, indicates that you must access
3449 * character data through U32-aligned pointers.
3450 */
3451#$d_u32align U32_ALIGNMENT_REQUIRED /**/
3452
2ef53570 3453/* HAS_USLEEP_PROTO:
3454 * This symbol, if defined, indicates that the system provides
3455 * a prototype for the usleep() function. Otherwise, it is up
3456 * to the program to supply one. A good guess is
3457 * extern int usleep(useconds_t);
3458 */
3459#$d_usleepproto HAS_USLEEP_PROTO /**/
3460
fe14fcc3 3461#endif
8d063cd8 3462!GROK!THIS!