This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
remove =for section (from Johan Vromans)
[perl5.git] / Porting / config_H
CommitLineData
921b2963
JH
1/* This file (config_H) is a sample config.h file. If you are unable
2 to successfully run Configure, copy this file to config.h and
3 edit it to suit your system.
4*/
85e6fe83
LW
5/*
6 * This file was produced by running the config_h.SH script, which
8d063cd8
LW
7 * gets its values from config.sh, which is generally produced by
8 * running Configure.
9 *
10 * Feel free to modify any of this as the need arises. Note, however,
1aef975c
AD
11 * that running config_h.SH again will wipe out any changes you've made.
12 * For a more permanent change edit config.sh and rerun config_h.SH.
85e6fe83 13 *
dfe9444c 14 * $Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $
8d063cd8 15 */
a687059c 16
dfe9444c
AD
17/*
18 * Package name : perl5
11dc3f68 19 * Source directory : .
65f19062 20 * Configuration time: Mon Mar 6 00:00:30 EET 2000
ff935051
JH
21 * Configured by : jhi
22 * Target system : osf1 alpha.hut.fi v4.0 878 alpha
68decaef 23 */
68decaef 24
85e6fe83
LW
25#ifndef _config_h_
26#define _config_h_
fe14fcc3 27
dfe9444c
AD
28/* LOC_SED:
29 * This symbol holds the complete pathname to the sed program.
774d564b 30 */
ff935051 31#define LOC_SED "/usr/bin/sed" /**/
774d564b 32
a0d0e21e
LW
33/* HAS_ALARM:
34 * This symbol, if defined, indicates that the alarm routine is
35 * available.
36 */
37#define HAS_ALARM /**/
a687059c 38
ecfc5424
AD
39/* HASATTRIBUTE:
40 * This symbol indicates the C compiler can check for function attributes,
41 * such as printf formats. This is normally only supported by GNU cc.
42 */
ff935051 43/*#define HASATTRIBUTE / **/
ecfc5424
AD
44#ifndef HASATTRIBUTE
45#define __attribute__(_arg_)
46#endif
47
85e6fe83
LW
48/* HAS_BCMP:
49 * This symbol is defined if the bcmp() routine is available to
50 * compare blocks of memory.
a687059c 51 */
9003a523 52#define HAS_BCMP /**/
a687059c 53
85e6fe83
LW
54/* HAS_BCOPY:
55 * This symbol is defined if the bcopy() routine is available to
56 * copy blocks of memory.
a687059c 57 */
9003a523 58#define HAS_BCOPY /**/
fe14fcc3 59
85e6fe83
LW
60/* HAS_BZERO:
61 * This symbol is defined if the bzero() routine is available to
62 * set a memory block to 0.
fe14fcc3 63 */
9003a523 64#define HAS_BZERO /**/
8d063cd8 65
a0d0e21e
LW
66/* HAS_CHOWN:
67 * This symbol, if defined, indicates that the chown routine is
68 * available.
69 */
70#define HAS_CHOWN /**/
71
72/* HAS_CHROOT:
73 * This symbol, if defined, indicates that the chroot routine is
74 * available.
75 */
76#define HAS_CHROOT /**/
8d063cd8 77
85e6fe83 78/* HAS_CHSIZE:
fe14fcc3
LW
79 * This symbol, if defined, indicates that the chsize routine is available
80 * to truncate files. You might need a -lx to get this routine.
81 */
20e68413 82/*#define HAS_CHSIZE / **/
ecfc5424 83
85e6fe83
LW
84/* HASCONST:
85 * This symbol, if defined, indicates that this C compiler knows about
86 * the const type. There is no need to actually test for that symbol
87 * within your programs. The mere use of the "const" keyword will
88 * trigger the necessary tests.
89 */
4633a7c4 90#define HASCONST /**/
85e6fe83
LW
91#ifndef HASCONST
92#define const
93#endif
fe14fcc3 94
85e6fe83 95/* HAS_CRYPT:
a687059c
LW
96 * This symbol, if defined, indicates that the crypt routine is available
97 * to encrypt passwords and the like.
98 */
85e6fe83 99#define HAS_CRYPT /**/
fe14fcc3 100
a0d0e21e
LW
101/* HAS_CUSERID:
102 * This symbol, if defined, indicates that the cuserid routine is
103 * available to get character login names.
a687059c 104 */
a0d0e21e
LW
105#define HAS_CUSERID /**/
106
107/* HAS_DBL_DIG:
108 * This symbol, if defined, indicates that this system's <float.h>
109 * or <limits.h> defines the symbol DBL_DIG, which is the number
110 * of significant digits in a double precision number. If this
111 * symbol is not defined, a guess of 15 is usually pretty good.
112 */
113#define HAS_DBL_DIG /* */
114
115/* HAS_DIFFTIME:
116 * This symbol, if defined, indicates that the difftime routine is
117 * available.
118 */
119#define HAS_DIFFTIME /**/
a687059c 120
ecfc5424
AD
121/* HAS_DLERROR:
122 * This symbol, if defined, indicates that the dlerror routine is
123 * available to return a string describing the last error that
124 * occurred from a call to dlopen(), dlclose() or dlsym().
125 */
4633a7c4 126#define HAS_DLERROR /**/
ecfc5424 127
dfe9444c
AD
128/* SETUID_SCRIPTS_ARE_SECURE_NOW:
129 * This symbol, if defined, indicates that the bug that prevents
130 * setuid scripts from being secure is not present in this kernel.
131 */
132/* DOSUID:
133 * This symbol, if defined, indicates that the C program should
134 * check the script that it is executing for setuid/setgid bits, and
135 * attempt to emulate setuid/setgid on systems that have disabled
136 * setuid #! scripts because the kernel can't do it securely.
137 * It is up to the package designer to make sure that this emulation
138 * is done securely. Among other things, it should do an fstat on
139 * the script it just opened to make sure it really is a setuid/setgid
140 * script, it should make sure the arguments passed correspond exactly
141 * to the argument on the #! line, and it should not trust any
142 * subprocesses to which it must pass the filename rather than the
143 * file descriptor of the script to be executed.
144 */
921b2963 145/*#define SETUID_SCRIPTS_ARE_SECURE_NOW / **/
dfe9444c
AD
146/*#define DOSUID / **/
147
85e6fe83
LW
148/* HAS_DUP2:
149 * This symbol, if defined, indicates that the dup2 routine is
150 * available to duplicate file descriptors.
a687059c 151 */
85e6fe83 152#define HAS_DUP2 /**/
a687059c 153
85e6fe83 154/* HAS_FCHMOD:
a687059c
LW
155 * This symbol, if defined, indicates that the fchmod routine is available
156 * to change mode of opened files. If unavailable, use chmod().
157 */
4633a7c4 158#define HAS_FCHMOD /**/
a687059c 159
85e6fe83 160/* HAS_FCHOWN:
a687059c
LW
161 * This symbol, if defined, indicates that the fchown routine is available
162 * to change ownership of opened files. If unavailable, use chown().
163 */
4633a7c4 164#define HAS_FCHOWN /**/
a687059c 165
85e6fe83 166/* HAS_FCNTL:
fe14fcc3
LW
167 * This symbol, if defined, indicates to the C program that
168 * the fcntl() function exists.
a687059c 169 */
85e6fe83 170#define HAS_FCNTL /**/
a687059c 171
a0d0e21e
LW
172/* HAS_FGETPOS:
173 * This symbol, if defined, indicates that the fgetpos routine is
174 * available to get the file position indicator, similar to ftell().
175 */
4633a7c4 176#define HAS_FGETPOS /**/
a0d0e21e 177
85e6fe83 178/* FLEXFILENAMES:
fe14fcc3
LW
179 * This symbol, if defined, indicates that the system supports filenames
180 * longer than 14 characters.
181 */
4633a7c4 182#define FLEXFILENAMES /**/
fe14fcc3 183
85e6fe83
LW
184/* HAS_FLOCK:
185 * This symbol, if defined, indicates that the flock routine is
a687059c
LW
186 * available to do file locking.
187 */
921b2963 188#define HAS_FLOCK /**/
a0d0e21e
LW
189
190/* HAS_FORK:
191 * This symbol, if defined, indicates that the fork routine is
192 * available.
193 */
194#define HAS_FORK /**/
195
196/* HAS_FSETPOS:
197 * This symbol, if defined, indicates that the fsetpos routine is
198 * available to set the file position indicator, similar to fseek().
199 */
4633a7c4 200#define HAS_FSETPOS /**/
ecfc5424 201
5f05dabc 202/* HAS_GETTIMEOFDAY:
203 * This symbol, if defined, indicates that the gettimeofday() system
204 * call is available for a sub-second accuracy clock. Usually, the file
205 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
206 * The type "Timeval" should be used to refer to "struct timeval".
207 */
dfe9444c 208#define HAS_GETTIMEOFDAY /**/
5f05dabc 209#ifdef HAS_GETTIMEOFDAY
210#define Timeval struct timeval /* Structure used by gettimeofday() */
211#endif
212
85e6fe83 213/* HAS_GETGROUPS:
a687059c
LW
214 * This symbol, if defined, indicates that the getgroups() routine is
215 * available to get the list of process groups. If unavailable, multiple
216 * groups are probably not supported.
217 */
85e6fe83 218#define HAS_GETGROUPS /**/
a687059c 219
a0d0e21e
LW
220/* HAS_GETLOGIN:
221 * This symbol, if defined, indicates that the getlogin routine is
222 * available to get the login name.
223 */
224#define HAS_GETLOGIN /**/
225
dfe9444c
AD
226/* HAS_GETPGID:
227 * This symbol, if defined, indicates to the C program that
228 * the getpgid(pid) function is available to get the
229 * process group id.
230 */
231#define HAS_GETPGID /**/
232
233/* HAS_GETPGRP:
234 * This symbol, if defined, indicates that the getpgrp routine is
235 * available to get the current process group.
236 */
237/* USE_BSD_GETPGRP:
238 * This symbol, if defined, indicates that getpgrp needs one
239 * arguments whereas USG one needs none.
240 */
241#define HAS_GETPGRP /**/
242/*#define USE_BSD_GETPGRP / **/
243
85e6fe83 244/* HAS_GETPGRP2:
fe14fcc3
LW
245 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
246 * routine is available to get the current process group.
247 */
20e68413 248/*#define HAS_GETPGRP2 / **/
a687059c 249
a0d0e21e
LW
250/* HAS_GETPPID:
251 * This symbol, if defined, indicates that the getppid routine is
252 * available to get the parent process ID.
253 */
254#define HAS_GETPPID /**/
255
85e6fe83
LW
256/* HAS_GETPRIORITY:
257 * This symbol, if defined, indicates that the getpriority routine is
a687059c
LW
258 * available to get a process's priority.
259 */
9003a523 260#define HAS_GETPRIORITY /**/
a0d0e21e 261
dfe9444c
AD
262/* HAS_INET_ATON:
263 * This symbol, if defined, indicates to the C program that the
264 * inet_aton() function is available to parse IP address "dotted-quad"
265 * strings.
ecfc5424 266 */
921b2963 267#define HAS_INET_ATON /**/
ecfc5424 268
85e6fe83 269/* HAS_KILLPG:
a687059c
LW
270 * This symbol, if defined, indicates that the killpg routine is available
271 * to kill process groups. If unavailable, you probably should use kill
272 * with a negative process number.
273 */
9003a523 274#define HAS_KILLPG /**/
a687059c 275
85e6fe83
LW
276/* HAS_LINK:
277 * This symbol, if defined, indicates that the link routine is
278 * available to create hard links.
fe14fcc3 279 */
85e6fe83 280#define HAS_LINK /**/
fe14fcc3 281
ecfc5424
AD
282/* HAS_LOCALECONV:
283 * This symbol, if defined, indicates that the localeconv routine is
284 * available for numeric and monetary formatting conventions.
285 */
286#define HAS_LOCALECONV /**/
287
a0d0e21e
LW
288/* HAS_LOCKF:
289 * This symbol, if defined, indicates that the lockf routine is
290 * available to do file locking.
291 */
292#define HAS_LOCKF /**/
293
85e6fe83
LW
294/* HAS_LSTAT:
295 * This symbol, if defined, indicates that the lstat routine is
296 * available to do file stats on symbolic links.
a687059c 297 */
85e6fe83 298#define HAS_LSTAT /**/
a687059c 299
a0d0e21e
LW
300/* HAS_MBLEN:
301 * This symbol, if defined, indicates that the mblen routine is available
302 * to find the number of bytes in a multibye character.
303 */
4633a7c4 304#define HAS_MBLEN /**/
a0d0e21e
LW
305
306/* HAS_MBSTOWCS:
307 * This symbol, if defined, indicates that the mbstowcs routine is
308 * available to covert a multibyte string into a wide character string.
309 */
4633a7c4 310#define HAS_MBSTOWCS /**/
a0d0e21e
LW
311
312/* HAS_MBTOWC:
313 * This symbol, if defined, indicates that the mbtowc routine is available
314 * to covert a multibyte to a wide character.
315 */
4633a7c4 316#define HAS_MBTOWC /**/
a0d0e21e 317
85e6fe83
LW
318/* HAS_MEMCMP:
319 * This symbol, if defined, indicates that the memcmp routine is available
320 * to compare blocks of memory.
a687059c 321 */
85e6fe83
LW
322#define HAS_MEMCMP /**/
323
324/* HAS_MEMCPY:
68decaef 325 * This symbol, if defined, indicates that the memcpy routine is available
85e6fe83 326 * to copy blocks of memory.
68decaef 327 */
85e6fe83 328#define HAS_MEMCPY /**/
68decaef 329
85e6fe83 330/* HAS_MEMMOVE:
68decaef 331 * This symbol, if defined, indicates that the memmove routine is available
85e6fe83
LW
332 * to copy potentially overlapping blocks of memory. This should be used
333 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
334 * own version.
68decaef 335 */
4633a7c4 336#define HAS_MEMMOVE /**/
68decaef 337
85e6fe83 338/* HAS_MEMSET:
68decaef 339 * This symbol, if defined, indicates that the memset routine is available
85e6fe83 340 * to set blocks of memory.
68decaef 341 */
85e6fe83 342#define HAS_MEMSET /**/
a687059c 343
85e6fe83 344/* HAS_MKDIR:
a687059c
LW
345 * This symbol, if defined, indicates that the mkdir routine is available
346 * to create directories. Otherwise you should fork off a new process to
347 * exec /bin/mkdir.
348 */
85e6fe83 349#define HAS_MKDIR /**/
fe14fcc3 350
ecfc5424
AD
351/* HAS_MKFIFO:
352 * This symbol, if defined, indicates that the mkfifo routine is
353 * available to create FIFOs. Otherwise, mknod should be able to
354 * do it for you. However, if mkfifo is there, mknod might require
355 * super-user privileges which mkfifo will not.
356 */
357#define HAS_MKFIFO /**/
358
a0d0e21e
LW
359/* HAS_MKTIME:
360 * This symbol, if defined, indicates that the mktime routine is
361 * available.
362 */
363#define HAS_MKTIME /**/
364
fe749a9f
JH
365/* HAS_MSYNC:
366 * This symbol, if defined, indicates that the msync system call is
367 * available to synchronize a mapped file.
368 */
369#define HAS_MSYNC /**/
370
371/* HAS_MUNMAP:
372 * This symbol, if defined, indicates that the munmap system call is
373 * available to unmap a region, usually mapped by mmap().
374 */
375#define HAS_MUNMAP /**/
376
a0d0e21e
LW
377/* HAS_NICE:
378 * This symbol, if defined, indicates that the nice routine is
379 * available.
fe14fcc3 380 */
a0d0e21e 381#define HAS_NICE /**/
fe14fcc3 382
ecfc5424
AD
383/* HAS_PATHCONF:
384 * This symbol, if defined, indicates that pathconf() is available
385 * to determine file-system related limits and options associated
386 * with a given filename.
387 */
388/* HAS_FPATHCONF:
389 * This symbol, if defined, indicates that pathconf() is available
390 * to determine file-system related limits and options associated
391 * with a given open file descriptor.
392 */
393#define HAS_PATHCONF /**/
394#define HAS_FPATHCONF /**/
395
a0d0e21e
LW
396/* HAS_PAUSE:
397 * This symbol, if defined, indicates that the pause routine is
398 * available to suspend a process until a signal is received.
a687059c 399 */
a0d0e21e 400#define HAS_PAUSE /**/
fe14fcc3 401
a0d0e21e
LW
402/* HAS_PIPE:
403 * This symbol, if defined, indicates that the pipe routine is
404 * available to create an inter-process channel.
fe14fcc3 405 */
a0d0e21e
LW
406#define HAS_PIPE /**/
407
4633a7c4
LW
408/* HAS_POLL:
409 * This symbol, if defined, indicates that the poll routine is
dfe9444c
AD
410 * available to poll active file descriptors. You may safely
411 * include <poll.h> when this symbol is defined.
4633a7c4
LW
412 */
413#define HAS_POLL /**/
414
a0d0e21e
LW
415/* HAS_READDIR:
416 * This symbol, if defined, indicates that the readdir routine is
417 * available to read directory entries. You may have to include
418 * <dirent.h>. See I_DIRENT.
419 */
420#define HAS_READDIR /**/
421
422/* HAS_SEEKDIR:
423 * This symbol, if defined, indicates that the seekdir routine is
424 * available. You may have to include <dirent.h>. See I_DIRENT.
425 */
426#define HAS_SEEKDIR /**/
427
428/* HAS_TELLDIR:
429 * This symbol, if defined, indicates that the telldir routine is
430 * available. You may have to include <dirent.h>. See I_DIRENT.
431 */
432#define HAS_TELLDIR /**/
433
434/* HAS_REWINDDIR:
435 * This symbol, if defined, indicates that the rewinddir routine is
436 * available. You may have to include <dirent.h>. See I_DIRENT.
437 */
438#define HAS_REWINDDIR /**/
439
440/* HAS_READLINK:
441 * This symbol, if defined, indicates that the readlink routine is
442 * available to read the value of a symbolic link.
443 */
444#define HAS_READLINK /**/
a687059c 445
85e6fe83 446/* HAS_RENAME:
a687059c
LW
447 * This symbol, if defined, indicates that the rename routine is available
448 * to rename files. Otherwise you should do the unlink(), link(), unlink()
449 * trick.
450 */
85e6fe83 451#define HAS_RENAME /**/
a687059c 452
85e6fe83
LW
453/* HAS_RMDIR:
454 * This symbol, if defined, indicates that the rmdir routine is
455 * available to remove directories. Otherwise you should fork off a
456 * new process to exec /bin/rmdir.
68decaef 457 */
85e6fe83 458#define HAS_RMDIR /**/
68decaef 459
85e6fe83
LW
460/* HAS_SELECT:
461 * This symbol, if defined, indicates that the select routine is
462 * available to select active file descriptors. If the timeout field
463 * is used, <sys/time.h> may need to be included.
68decaef 464 */
85e6fe83 465#define HAS_SELECT /**/
68decaef 466
85e6fe83 467/* HAS_SETEGID:
a687059c
LW
468 * This symbol, if defined, indicates that the setegid routine is available
469 * to change the effective gid of the current program.
470 */
85e6fe83 471#define HAS_SETEGID /**/
a687059c 472
85e6fe83 473/* HAS_SETEUID:
a687059c
LW
474 * This symbol, if defined, indicates that the seteuid routine is available
475 * to change the effective uid of the current program.
476 */
85e6fe83
LW
477#define HAS_SETEUID /**/
478
a0d0e21e
LW
479/* HAS_SETLINEBUF:
480 * This symbol, if defined, indicates that the setlinebuf routine is
481 * available to change stderr or stdout from block-buffered or unbuffered
482 * to a line-buffered mode.
483 */
9003a523 484#define HAS_SETLINEBUF /**/
a0d0e21e
LW
485
486/* HAS_SETLOCALE:
487 * This symbol, if defined, indicates that the setlocale routine is
488 * available to handle locale-specific ctype implementations.
489 */
490#define HAS_SETLOCALE /**/
491
dfe9444c
AD
492/* HAS_SETPGID:
493 * This symbol, if defined, indicates that the setpgid(pid, gpid)
494 * routine is available to set process group ID.
495 */
496#define HAS_SETPGID /**/
497
498/* HAS_SETPGRP:
499 * This symbol, if defined, indicates that the setpgrp routine is
500 * available to set the current process group.
501 */
502/* USE_BSD_SETPGRP:
503 * This symbol, if defined, indicates that setpgrp needs two
504 * arguments whereas USG one needs none. See also HAS_SETPGID
505 * for a POSIX interface.
506 */
507#define HAS_SETPGRP /**/
ff935051 508#define USE_BSD_SETPGRP /**/
dfe9444c 509
85e6fe83 510/* HAS_SETPGRP2:
fe14fcc3
LW
511 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
512 * routine is available to set the current process group.
513 */
20e68413 514/*#define HAS_SETPGRP2 / **/
fe14fcc3 515
85e6fe83
LW
516/* HAS_SETPRIORITY:
517 * This symbol, if defined, indicates that the setpriority routine is
a687059c
LW
518 * available to set a process's priority.
519 */
9003a523 520#define HAS_SETPRIORITY /**/
a687059c 521
85e6fe83 522/* HAS_SETREGID:
fe14fcc3 523 * This symbol, if defined, indicates that the setregid routine is
85e6fe83
LW
524 * available to change the real and effective gid of the current
525 * process.
a687059c 526 */
85e6fe83 527/* HAS_SETRESGID:
fe14fcc3
LW
528 * This symbol, if defined, indicates that the setresgid routine is
529 * available to change the real, effective and saved gid of the current
85e6fe83 530 * process.
fe14fcc3 531 */
9003a523 532#define HAS_SETREGID /**/
ff935051 533/*#define HAS_SETRESGID / **/
a687059c 534
85e6fe83 535/* HAS_SETREUID:
fe14fcc3 536 * This symbol, if defined, indicates that the setreuid routine is
85e6fe83
LW
537 * available to change the real and effective uid of the current
538 * process.
fe14fcc3 539 */
85e6fe83 540/* HAS_SETRESUID:
fe14fcc3
LW
541 * This symbol, if defined, indicates that the setresuid routine is
542 * available to change the real, effective and saved uid of the current
85e6fe83 543 * process.
a687059c 544 */
9003a523 545#define HAS_SETREUID /**/
ff935051 546/*#define HAS_SETRESUID / **/
a687059c 547
85e6fe83 548/* HAS_SETRGID:
a687059c
LW
549 * This symbol, if defined, indicates that the setrgid routine is available
550 * to change the real gid of the current program.
551 */
ff935051 552#define HAS_SETRGID /**/
a687059c 553
85e6fe83 554/* HAS_SETRUID:
a687059c
LW
555 * This symbol, if defined, indicates that the setruid routine is available
556 * to change the real uid of the current program.
557 */
ff935051 558#define HAS_SETRUID /**/
fe14fcc3 559
85e6fe83
LW
560/* HAS_SETSID:
561 * This symbol, if defined, indicates that the setsid routine is
562 * available to set the process group ID.
fe14fcc3 563 */
85e6fe83 564#define HAS_SETSID /**/
fe14fcc3 565
a0d0e21e
LW
566/* Shmat_t:
567 * This symbol holds the return type of the shmat() system call.
568 * Usually set to 'void *' or 'char *'.
fe14fcc3 569 */
a0d0e21e
LW
570/* HAS_SHMAT_PROTOTYPE:
571 * This symbol, if defined, indicates that the sys/shm.h includes
572 * a prototype for shmat(). Otherwise, it is up to the program to
86959918 573 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
a0d0e21e
LW
574 * but not always right so it should be emitted by the program only
575 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
fe14fcc3 576 */
4633a7c4
LW
577#define Shmat_t void * /**/
578#define HAS_SHMAT_PROTOTYPE /**/
a687059c 579
a0d0e21e
LW
580/* HAS_STRCHR:
581 * This symbol is defined to indicate that the strchr()/strrchr()
582 * functions are available for string searching. If not, try the
583 * index()/rindex() pair.
584 */
585/* HAS_INDEX:
586 * This symbol is defined to indicate that the index()/rindex()
587 * functions are available for string searching.
588 */
589#define HAS_STRCHR /**/
20e68413 590/*#define HAS_INDEX / **/
a0d0e21e
LW
591
592/* HAS_STRCOLL:
593 * This symbol, if defined, indicates that the strcoll routine is
594 * available to compare strings using collating information.
595 */
596#define HAS_STRCOLL /**/
597
85e6fe83 598/* USE_STRUCT_COPY:
8d063cd8
LW
599 * This symbol, if defined, indicates that this C compiler knows how
600 * to copy structures. If undefined, you'll need to use a block copy
601 * routine of some sort instead.
602 */
85e6fe83 603#define USE_STRUCT_COPY /**/
fe14fcc3 604
55497cff 605/* HAS_STRTOD:
606 * This symbol, if defined, indicates that the strtod routine is
774d564b 607 * available to provide better numeric string conversion than atof().
55497cff 608 */
609#define HAS_STRTOD /**/
610
611/* HAS_STRTOL:
774d564b 612 * This symbol, if defined, indicates that the strtol routine is available
613 * to provide better numeric string conversion than atoi() and friends.
55497cff 614 */
615#define HAS_STRTOL /**/
616
617/* HAS_STRTOUL:
618 * This symbol, if defined, indicates that the strtoul routine is
774d564b 619 * available to provide conversion of strings to unsigned long.
55497cff 620 */
621#define HAS_STRTOUL /**/
622
a0d0e21e
LW
623/* HAS_STRXFRM:
624 * This symbol, if defined, indicates that the strxfrm() routine is
625 * available to transform strings.
626 */
627#define HAS_STRXFRM /**/
628
85e6fe83 629/* HAS_SYMLINK:
a687059c
LW
630 * This symbol, if defined, indicates that the symlink routine is available
631 * to create symbolic links.
632 */
85e6fe83 633#define HAS_SYMLINK /**/
a687059c 634
85e6fe83
LW
635/* HAS_SYSCALL:
636 * This symbol, if defined, indicates that the syscall routine is
637 * available to call arbitrary system calls. If undefined, that's tough.
a687059c 638 */
85e6fe83 639#define HAS_SYSCALL /**/
a687059c 640
ecfc5424
AD
641/* HAS_SYSCONF:
642 * This symbol, if defined, indicates that sysconf() is available
643 * to determine system related limits and options.
644 */
645#define HAS_SYSCONF /**/
646
85e6fe83
LW
647/* HAS_SYSTEM:
648 * This symbol, if defined, indicates that the system routine is
649 * available to issue a shell command.
68decaef 650 */
85e6fe83 651#define HAS_SYSTEM /**/
68decaef 652
a0d0e21e
LW
653/* HAS_TCGETPGRP:
654 * This symbol, if defined, indicates that the tcgetpgrp routine is
655 * available to get foreground process group ID.
656 */
657#define HAS_TCGETPGRP /**/
658
659/* HAS_TCSETPGRP:
660 * This symbol, if defined, indicates that the tcsetpgrp routine is
661 * available to set foreground process group ID.
85e6fe83 662 */
a0d0e21e 663#define HAS_TCSETPGRP /**/
85e6fe83 664
85e6fe83 665/* HAS_TRUNCATE:
fe14fcc3
LW
666 * This symbol, if defined, indicates that the truncate routine is
667 * available to truncate files.
a687059c 668 */
4633a7c4 669#define HAS_TRUNCATE /**/
a0d0e21e
LW
670
671/* HAS_TZNAME:
672 * This symbol, if defined, indicates that the tzname[] array is
673 * available to access timezone names.
674 */
675#define HAS_TZNAME /**/
676
677/* HAS_UMASK:
678 * This symbol, if defined, indicates that the umask routine is
679 * available to set and get the value of the file creation mask.
680 */
681#define HAS_UMASK /**/
a687059c 682
85e6fe83 683/* HASVOLATILE:
fe14fcc3
LW
684 * This symbol, if defined, indicates that this C compiler knows about
685 * the volatile declaration.
686 */
4633a7c4 687#define HASVOLATILE /**/
85e6fe83
LW
688#ifndef HASVOLATILE
689#define volatile
690#endif
fe14fcc3 691
85e6fe83 692/* HAS_WAIT4:
fe14fcc3
LW
693 * This symbol, if defined, indicates that wait4() exists.
694 */
9003a523 695#define HAS_WAIT4 /**/
fe14fcc3 696
85e6fe83
LW
697/* HAS_WAITPID:
698 * This symbol, if defined, indicates that the waitpid routine is
699 * available to wait for child process.
fe14fcc3 700 */
85e6fe83 701#define HAS_WAITPID /**/
fe14fcc3 702
a0d0e21e
LW
703/* HAS_WCSTOMBS:
704 * This symbol, if defined, indicates that the wcstombs routine is
705 * available to convert wide character strings to multibyte strings.
706 */
4633a7c4 707#define HAS_WCSTOMBS /**/
a0d0e21e
LW
708
709/* HAS_WCTOMB:
710 * This symbol, if defined, indicates that the wctomb routine is available
711 * to covert a wide character to a multibyte.
712 */
4633a7c4 713#define HAS_WCTOMB /**/
a0d0e21e 714
93341792 715/* I_ARPA_INET:
327c3667
GS
716 * This symbol, if defined, indicates to the C program that it should
717 * include <arpa/inet.h> to get inet_addr and friends declarations.
93341792 718 */
11dc3f68 719#define I_ARPA_INET /**/
93341792 720
dfe9444c
AD
721/* I_DBM:
722 * This symbol, if defined, indicates that <dbm.h> exists and should
723 * be included.
232e078e 724 */
dfe9444c
AD
725/* I_RPCSVC_DBM:
726 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
727 * should be included.
232e078e 728 */
921b2963
JH
729#define I_DBM /**/
730/*#define I_RPCSVC_DBM / **/
232e078e 731
85e6fe83
LW
732/* I_DIRENT:
733 * This symbol, if defined, indicates to the C program that it should
734 * include <dirent.h>. Using this symbol also triggers the definition
735 * of the Direntry_t define which ends up being 'struct dirent' or
736 * 'struct direct' depending on the availability of <dirent.h>.
737 */
738/* DIRNAMLEN:
739 * This symbol, if defined, indicates to the C program that the length
740 * of directory entry names is provided by a d_namlen field. Otherwise
741 * you need to do strlen() on the d_name field.
2b317908 742 */
a0d0e21e
LW
743/* Direntry_t:
744 * This symbol is set to 'struct direct' or 'struct dirent' depending on
745 * whether dirent is available or not. You should use this pseudo type to
746 * portably declare your directory entries.
747 */
85e6fe83 748#define I_DIRENT /**/
ff935051 749#define DIRNAMLEN /**/
85e6fe83 750#define Direntry_t struct dirent
a0d0e21e
LW
751
752/* I_DLFCN:
753 * This symbol, if defined, indicates that <dlfcn.h> exists and should
754 * be included.
755 */
4633a7c4 756#define I_DLFCN /**/
a687059c 757
85e6fe83 758/* I_FCNTL:
fe14fcc3 759 * This manifest constant tells the C program to include <fcntl.h>.
a687059c 760 */
921b2963 761/*#define I_FCNTL / **/
a687059c 762
a0d0e21e
LW
763/* I_FLOAT:
764 * This symbol, if defined, indicates to the C program that it should
765 * include <float.h> to get definition of symbols like DBL_MAX or
766 * DBL_MIN, i.e. machine dependent floating point values.
a687059c 767 */
a0d0e21e 768#define I_FLOAT /**/
a687059c 769
a0d0e21e
LW
770/* I_LIMITS:
771 * This symbol, if defined, indicates to the C program that it should
772 * include <limits.h> to get definition of symbols like WORD_BIT or
773 * LONG_MAX, i.e. machine dependant limitations.
774 */
775#define I_LIMITS /**/
776
dfe9444c
AD
777/* I_LOCALE:
778 * This symbol, if defined, indicates to the C program that it should
779 * include <locale.h>.
780 */
781#define I_LOCALE /**/
782
a0d0e21e
LW
783/* I_MATH:
784 * This symbol, if defined, indicates to the C program that it should
785 * include <math.h>.
786 */
787#define I_MATH /**/
788
789/* I_MEMORY:
790 * This symbol, if defined, indicates to the C program that it should
791 * include <memory.h>.
792 */
20e68413 793/*#define I_MEMORY / **/
a0d0e21e 794
232e078e 795/* I_NDBM:
16d20bd9 796 * This symbol, if defined, indicates that <ndbm.h> exists and should
232e078e
AD
797 * be included.
798 */
ff935051 799#define I_NDBM /**/
232e078e 800
ecfc5424
AD
801/* I_NET_ERRNO:
802 * This symbol, if defined, indicates that <net/errno.h> exists and
803 * should be included.
fe14fcc3 804 */
20e68413 805/*#define I_NET_ERRNO / **/
fe14fcc3 806
85e6fe83 807/* I_NETINET_IN:
a687059c 808 * This symbol, if defined, indicates to the C program that it should
85e6fe83 809 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
a687059c 810 */
85e6fe83 811#define I_NETINET_IN /**/
85e6fe83 812
dfe9444c
AD
813/* I_SFIO:
814 * This symbol, if defined, indicates to the C program that it should
815 * include <sfio.h>.
816 */
817/*#define I_SFIO / **/
85e6fe83
LW
818
819/* I_STDDEF:
820 * This symbol, if defined, indicates that <stddef.h> exists and should
821 * be included.
fe14fcc3 822 */
85e6fe83
LW
823#define I_STDDEF /**/
824
a0d0e21e
LW
825/* I_STDLIB:
826 * This symbol, if defined, indicates that <stdlib.h> exists and should
827 * be included.
828 */
829#define I_STDLIB /**/
830
85e6fe83
LW
831/* I_STRING:
832 * This symbol, if defined, indicates to the C program that it should
833 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
fe14fcc3 834 */
85e6fe83
LW
835#define I_STRING /**/
836
837/* I_SYS_DIR:
838 * This symbol, if defined, indicates to the C program that it should
839 * include <sys/dir.h>.
fe14fcc3 840 */
921b2963 841#define I_SYS_DIR /**/
a687059c 842
85e6fe83
LW
843/* I_SYS_FILE:
844 * This symbol, if defined, indicates to the C program that it should
845 * include <sys/file.h> to get definition of R_OK and friends.
a687059c 846 */
921b2963 847#define I_SYS_FILE /**/
a687059c 848
85e6fe83
LW
849/* I_SYS_IOCTL:
850 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
851 * be included. Otherwise, include <sgtty.h> or <termio.h>.
a687059c 852 */
85e6fe83 853#define I_SYS_IOCTL /**/
a687059c 854
85e6fe83
LW
855/* I_SYS_NDIR:
856 * This symbol, if defined, indicates to the C program that it should
857 * include <sys/ndir.h>.
fe14fcc3 858 */
20e68413 859/*#define I_SYS_NDIR / **/
85e6fe83 860
a0d0e21e
LW
861/* I_SYS_PARAM:
862 * This symbol, if defined, indicates to the C program that it should
863 * include <sys/param.h>.
864 */
865#define I_SYS_PARAM /**/
866
9003a523 867/* I_SYS_RESOURCE:
868 * This symbol, if defined, indicates to the C program that it should
869 * include <sys/resource.h>.
870 */
871#define I_SYS_RESOURCE /**/
872
85e6fe83
LW
873/* I_SYS_SELECT:
874 * This symbol, if defined, indicates to the C program that it should
875 * include <sys/select.h> in order to get definition of struct timeval.
fe14fcc3 876 */
4633a7c4 877#define I_SYS_SELECT /**/
85e6fe83 878
dfe9444c
AD
879/* I_SYS_STAT:
880 * This symbol, if defined, indicates to the C program that it should
881 * include <sys/stat.h>.
882 */
883#define I_SYS_STAT /**/
884
a0d0e21e 885/* I_SYS_TIMES:
85e6fe83 886 * This symbol, if defined, indicates to the C program that it should
a0d0e21e 887 * include <sys/times.h>.
fe14fcc3 888 */
a0d0e21e
LW
889#define I_SYS_TIMES /**/
890
bd89102f
AD
891/* I_SYS_TYPES:
892 * This symbol, if defined, indicates to the C program that it should
893 * include <sys/types.h>.
894 */
895#define I_SYS_TYPES /**/
896
fbfd4aab 897/* I_SYS_UN:
898 * This symbol, if defined, indicates to the C program that it should
899 * include <sys/un.h> to get UNIX domain socket definitions.
900 */
901#define I_SYS_UN /**/
902
9003a523 903/* I_SYS_WAIT:
904 * This symbol, if defined, indicates to the C program that it should
905 * include <sys/wait.h>.
906 */
907#define I_SYS_WAIT /**/
908
a0d0e21e
LW
909/* I_TERMIO:
910 * This symbol, if defined, indicates that the program should include
911 * <termio.h> rather than <sgtty.h>. There are also differences in
912 * the ioctl() calls that depend on the value of this symbol.
913 */
914/* I_TERMIOS:
915 * This symbol, if defined, indicates that the program should include
916 * the POSIX termios.h rather than sgtty.h or termio.h.
917 * There are also differences in the ioctl() calls that depend on the
918 * value of this symbol.
919 */
920/* I_SGTTY:
921 * This symbol, if defined, indicates that the program should include
922 * <sgtty.h> rather than <termio.h>. There are also differences in
923 * the ioctl() calls that depend on the value of this symbol.
924 */
20e68413 925/*#define I_TERMIO / **/
a0d0e21e 926#define I_TERMIOS /**/
20e68413 927/*#define I_SGTTY / **/
a0d0e21e 928
a0d0e21e
LW
929/* I_UNISTD:
930 * This symbol, if defined, indicates to the C program that it should
931 * include <unistd.h>.
932 */
933#define I_UNISTD /**/
934
85e6fe83 935/* I_UTIME:
a687059c 936 * This symbol, if defined, indicates to the C program that it should
85e6fe83 937 * include <utime.h>.
a687059c 938 */
85e6fe83 939#define I_UTIME /**/
a687059c 940
dfe9444c
AD
941/* I_VALUES:
942 * This symbol, if defined, indicates to the C program that it should
943 * include <values.h> to get definition of symbols like MINFLOAT or
944 * MAXLONG, i.e. machine dependant limitations. Probably, you
945 * should use <limits.h> instead, if it is available.
946 */
947#define I_VALUES /**/
948
9003a523 949/* I_STDARG:
950 * This symbol, if defined, indicates that <stdarg.h> exists and should
951 * be included.
952 */
953/* I_VARARGS:
954 * This symbol, if defined, indicates to the C program that it should
955 * include <varargs.h>.
956 */
957#define I_STDARG /**/
20e68413 958/*#define I_VARARGS / **/
9003a523 959
a0d0e21e
LW
960/* I_VFORK:
961 * This symbol, if defined, indicates to the C program that it should
962 * include vfork.h.
963 */
20e68413 964/*#define I_VFORK / **/
fe14fcc3 965
a0d0e21e
LW
966/* CAN_PROTOTYPE:
967 * If defined, this macro indicates that the C compiler can handle
968 * function prototypes.
969 */
970/* _:
971 * This macro is used to declare function parameters for folks who want
972 * to make declarations with prototypes using a different style than
973 * the above macros. Use double parentheses. For example:
974 *
975 * int main _((int argc, char *argv[]));
976 */
4633a7c4 977#define CAN_PROTOTYPE /**/
a0d0e21e
LW
978#ifdef CAN_PROTOTYPE
979#define _(args) args
980#else
981#define _(args) ()
982#endif
85e6fe83 983
dfe9444c
AD
984/* SH_PATH:
985 * This symbol contains the full pathname to the shell used on this
986 * on this system to execute Bourne shell scripts. Usually, this will be
987 * /bin/sh, though it's possible that some systems will have /bin/ksh,
988 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
989 * D:/bin/sh.exe.
a0d0e21e 990 */
dfe9444c 991#define SH_PATH "/bin/sh" /**/
a0d0e21e 992
85e6fe83
LW
993/* STDCHAR:
994 * This symbol is defined to be the type of char used in stdio.h.
995 * It has the values "unsigned char" or "char".
fe14fcc3 996 */
ff935051 997#define STDCHAR unsigned char /**/
327c3667 998
aaacdc8b
GS
999/* CROSSCOMPILE:
1000 * This symbol, if defined, signifies that we our
1001 * build process is a cross-compilation.
1002 */
1003/*#define CROSSCOMPILE / **/
1004
1005/* INTSIZE:
1006 * This symbol contains the value of sizeof(int) so that the C
1007 * preprocessor can make decisions based on it.
1008 */
1009/* LONGSIZE:
1010 * This symbol contains the value of sizeof(long) so that the C
1011 * preprocessor can make decisions based on it.
1012 */
1013/* SHORTSIZE:
1014 * This symbol contains the value of sizeof(short) so that the C
1015 * preprocessor can make decisions based on it.
de1c2614 1016 */
aaacdc8b 1017#define INTSIZE 4 /**/
ff935051 1018#define LONGSIZE 8 /**/
aaacdc8b
GS
1019#define SHORTSIZE 2 /**/
1020
1021/* MULTIARCH:
1022 * This symbol, if defined, signifies that the build
1023 * process will produce some binary files that are going to be
1024 * used in a cross-platform environment. This is the case for
1025 * example with the NeXT "fat" binaries that contain executables
1026 * for several CPUs.
a22e52b9 1027 */
aaacdc8b
GS
1028/*#define MULTIARCH / **/
1029
1030/* HAS_QUAD:
1031 * This symbol, if defined, tells that there's a 64-bit integer type,
1032 * Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one
1033 * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T.
a22e52b9 1034 */
de1c2614 1035#define HAS_QUAD /**/
e0a10278 1036#ifdef HAS_QUAD
ff935051
JH
1037# define Quad_t long /**/
1038# define Uquad_t unsigned long /**/
1039# define QUADKIND 2 /**/
e0a10278
JH
1040# define QUAD_IS_INT 1
1041# define QUAD_IS_LONG 2
1042# define QUAD_IS_LONG_LONG 3
1043# define QUAD_IS_INT64_T 4
1044#endif
a22e52b9 1045
327c3667
GS
1046/* HAS_ACCESSX:
1047 * This symbol, if defined, indicates that the accessx routine is
1048 * available to do extended access checks.
1049 */
11dc3f68 1050/*#define HAS_ACCESSX / **/
327c3667
GS
1051
1052/* HAS_EACCESS:
1053 * This symbol, if defined, indicates that the eaccess routine is
1054 * available to do extended access checks.
1055 */
11dc3f68 1056/*#define HAS_EACCESS / **/
327c3667
GS
1057
1058/* I_SYS_ACCESS:
1059 * This symbol, if defined, indicates to the C program that it should
921b2963 1060 * include <sys/access.h>.
327c3667 1061 */
ff935051 1062#define I_SYS_ACCESS /**/
327c3667
GS
1063
1064/* I_SYS_SECURITY:
1065 * This symbol, if defined, indicates to the C program that it should
1066 * include <sys/security.h>.
1067 */
ff935051
JH
1068#define I_SYS_SECURITY /**/
1069
1070/* OSNAME:
1071 * This symbol contains the name of the operating system, as determined
1072 * by Configure. You shouldn't rely on it too much; the specific
1073 * feature tests from Configure are generally more reliable.
1074 */
1075#define OSNAME "dec_osf" /**/
af4c28eb 1076
dfe9444c 1077/* MEM_ALIGNBYTES:
af4c28eb 1078 * This symbol contains the number of bytes required to align a
87b71857
JH
1079 * double, or a long double when applicable. Usual values are 2,
1080 * 4 and 8. The default is eight, for safety.
5f05dabc 1081 */
af4c28eb
CS
1082#if defined(CROSSCOMPILE) || defined(MULTIARCH)
1083# define MEM_ALIGNBYTES 8
1084#else
ff935051 1085#define MEM_ALIGNBYTES 8
af4c28eb 1086#endif
5f05dabc 1087
ff935051
JH
1088/* ARCHLIB:
1089 * This variable, if defined, holds the name of the directory in
1090 * which the user wants to put architecture-dependent public
1091 * library files for perl5. It is most often a local directory
1092 * such as /usr/local/lib. Programs using this variable must be
1093 * prepared to deal with filename expansion. If ARCHLIB is the
1094 * same as PRIVLIB, it is not defined, since presumably the
1095 * program already searches PRIVLIB.
1096 */
1097/* ARCHLIB_EXP:
1098 * This symbol contains the ~name expanded version of ARCHLIB, to be used
1099 * in programs that are not prepared to deal with ~ expansion at run-time.
1100 */
65f19062
GS
1101#define ARCHLIB "/opt/perl/lib/5.6.0/alpha-dec_osf-thread-multi" /**/
1102#define ARCHLIB_EXP "/opt/perl/lib/5.6.0/alpha-dec_osf-thread-multi" /**/
ff935051
JH
1103
1104/* ARCHNAME:
1105 * This symbol holds a string representing the architecture name.
1106 * It may be used to construct an architecture-dependant pathname
1107 * where library files may be held under a private library, for
1108 * instance.
1109 */
1110#define ARCHNAME "alpha-dec_osf-thread-multi" /**/
1111
1112/* HAS_ATOLF:
1113 * This symbol, if defined, indicates that the atolf routine is
1114 * available to convert strings into long doubles.
1115 */
1116/*#define HAS_ATOLF / **/
1117
1118/* HAS_ATOLL:
1119 * This symbol, if defined, indicates that the atoll routine is
1120 * available to convert strings into long longs.
1121 */
1122/*#define HAS_ATOLL / **/
1123
1124/* BIN:
1125 * This symbol holds the path of the bin directory where the package will
1126 * be installed. Program must be prepared to deal with ~name substitution.
1127 */
1128/* BIN_EXP:
1129 * This symbol is the filename expanded version of the BIN symbol, for
1130 * programs that do not want to deal with that at run-time.
1131 */
1132#define BIN "/opt/perl/bin" /**/
1133#define BIN_EXP "/opt/perl/bin" /**/
1134
1135/* PERL_BINCOMPAT_5005:
1136 * This symbol, if defined, indicates that Perl 5.006 should be
1137 * binary-compatible with Perl 5.005. This is impossible for builds
1138 * that use features like threads and multiplicity it is always
1139 * for those versions.
1140 */
1141/*#define PERL_BINCOMPAT_5005 / **/
1142
4633a7c4 1143/* BYTEORDER:
9003a523 1144 * This symbol holds the hexadecimal constant defined in byteorder,
4633a7c4 1145 * i.e. 0x1234 or 0x4321, etc...
af4c28eb
CS
1146 * If the compiler supports cross-compiling or multiple-architecture
1147 * binaries (eg. on NeXT systems), use compiler-defined macros to
1148 * determine the byte order.
dfe9444c 1149 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
9003a523 1150 * Binaries (MAB) on either big endian or little endian machines.
1151 * The endian-ness is available at compile-time. This only matters
1152 * for perl, where the config.h can be generated and installed on
1153 * one system, and used by a different architecture to build an
1154 * extension. Older versions of NeXT that might not have
1155 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1156 * so the default case (for NeXT) is big endian to catch them.
1157 * This might matter for NeXT 3.0.
1158 */
af4c28eb
CS
1159#if defined(CROSSCOMPILE) || defined(MULTIARCH)
1160# ifdef __LITTLE_ENDIAN__
1161# if LONGSIZE == 4
1162# define BYTEORDER 0x1234
1163# else
1164# if LONGSIZE == 8
1165# define BYTEORDER 0x12345678
1166# endif
1167# endif
1168# else
1169# ifdef __BIG_ENDIAN__
1170# if LONGSIZE == 4
1171# define BYTEORDER 0x4321
1172# else
1173# if LONGSIZE == 8
1174# define BYTEORDER 0x87654321
1175# endif
1176# endif
1177# endif
1178# endif
1179# if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
1180# define BYTEORDER 0x4321
1181# endif
1182#else
ff935051 1183#define BYTEORDER 0x12345678 /* large digits for MSB */
9003a523 1184#endif /* NeXT */
4633a7c4 1185
ff935051
JH
1186/* CAT2:
1187 * This macro catenates 2 tokens together.
1188 */
1189/* STRINGIFY:
1190 * This macro surrounds its token with double quotes.
1191 */
1192#if 42 == 1
65f19062
GS
1193# define CAT2(a,b) a/**/b
1194# define STRINGIFY(a) "a"
ff935051
JH
1195 /* If you can get stringification with catify, tell me how! */
1196#endif
1197#if 42 == 42
65f19062
GS
1198# define PeRl_CaTiFy(a, b) a ## b
1199# define PeRl_StGiFy(a) #a
1200/* the additional level of indirection enables these macros to be
1201 * used as arguments to other macros. See K&R 2nd ed., page 231. */
1202# define CAT2(a,b) PeRl_CaTiFy(a,b)
1203# define StGiFy(a) PeRl_StGiFy(a)
1204# define STRINGIFY(a) PeRl_StGiFy(a)
ff935051
JH
1205#endif
1206#if 42 != 1 && 42 != 42
1207#include "Bletch: How does this C preprocessor catenate tokens?"
1208#endif
1209
1210/* CPPSTDIN:
1211 * This symbol contains the first part of the string which will invoke
1212 * the C preprocessor on the standard input and produce to standard
1213 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
1214 * call a wrapper. See CPPRUN.
1215 */
1216/* CPPMINUS:
1217 * This symbol contains the second part of the string which will invoke
1218 * the C preprocessor on the standard input and produce to standard
1219 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
1220 * to specify standard input, otherwise the value is "".
1221 */
1222/* CPPRUN:
1223 * This symbol contains the string which will invoke a C preprocessor on
1224 * the standard input and produce to standard output. It needs to end
1225 * with CPPLAST, after all other preprocessor flags have been specified.
1226 * The main difference with CPPSTDIN is that this program will never be a
1227 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1228 * available directly to the user. Note that it may well be different from
1229 * the preprocessor used to compile the C program.
1230 */
78691af5
JH
1231/* CPPLAST:
1232 * This symbol is intended to be used along with CPPRUN in the same manner
1233 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1234 */
ff935051
JH
1235#define CPPSTDIN "cppstdin"
1236#define CPPMINUS ""
1237#define CPPRUN "/usr/bin/cpp"
78691af5 1238#define CPPLAST ""
ff935051
JH
1239
1240/* HAS_ACCESS:
1241 * This manifest constant lets the C program know that the access()
1242 * system call is available to check for accessibility using real UID/GID.
1243 * (always present on UNIX.)
1244 */
1245#define HAS_ACCESS /**/
1246
dfe9444c
AD
1247/* CASTI32:
1248 * This symbol is defined if the C compiler can cast negative
1249 * or large floating point numbers to 32-bit ints.
1aef975c 1250 */
11dc3f68 1251/*#define CASTI32 / **/
1aef975c 1252
dfe9444c
AD
1253/* CASTNEGFLOAT:
1254 * This symbol is defined if the C compiler can cast negative
1255 * numbers to unsigned longs, ints and shorts.
85e6fe83 1256 */
dfe9444c
AD
1257/* CASTFLAGS:
1258 * This symbol contains flags that say what difficulties the compiler
1259 * has casting odd floating values to unsigned long:
1260 * 0 = ok
1261 * 1 = couldn't cast < 0
1262 * 2 = couldn't cast >= 0x80000000
1263 * 4 = couldn't cast in argument expression list
fbfd4aab 1264 */
e5c9fcd0
AD
1265#define CASTNEGFLOAT /**/
1266#define CASTFLAGS 0 /**/
dfe9444c
AD
1267
1268/* VOID_CLOSEDIR:
1269 * This symbol, if defined, indicates that the closedir() routine
1270 * does not return a value.
fbfd4aab 1271 */
dfe9444c 1272/*#define VOID_CLOSEDIR / **/
fbfd4aab 1273
ff935051
JH
1274/* HAS_CSH:
1275 * This symbol, if defined, indicates that the C-shell exists.
1276 */
1277/* CSH:
1278 * This symbol, if defined, contains the full pathname of csh.
1279 */
1280#define HAS_CSH /**/
1281#ifdef HAS_CSH
1282#define CSH "/usr/bin/csh" /**/
1283#endif
1284
1285/* DLSYM_NEEDS_UNDERSCORE:
1286 * This symbol, if defined, indicates that we need to prepend an
1287 * underscore to the symbol name before calling dlsym(). This only
1288 * makes sense if you *have* dlsym, which we will presume is the
1289 * case if you're using dl_dlopen.xs.
1290 */
1291/*#define DLSYM_NEEDS_UNDERSCORE / **/
1292
1293/* HAS_DRAND48_PROTO:
1294 * This symbol, if defined, indicates that the system provides
1295 * a prototype for the drand48() function. Otherwise, it is up
1296 * to the program to supply one. A good guess is
1297 * extern double drand48 _((void));
1298 */
1299#define HAS_DRAND48_PROTO /**/
1300
1301/* HAS_ENDGRENT:
1302 * This symbol, if defined, indicates that the getgrent routine is
1303 * available for finalizing sequential access of the group database.
1304 */
1305#define HAS_ENDGRENT /**/
1306
1307/* HAS_ENDHOSTENT:
1308 * This symbol, if defined, indicates that the endhostent() routine is
1309 * available to close whatever was being used for host queries.
1310 */
1311#define HAS_ENDHOSTENT /**/
1312
1313/* HAS_ENDNETENT:
1314 * This symbol, if defined, indicates that the endnetent() routine is
1315 * available to close whatever was being used for network queries.
1316 */
1317#define HAS_ENDNETENT /**/
1318
1319/* HAS_ENDPROTOENT:
1320 * This symbol, if defined, indicates that the endprotoent() routine is
1321 * available to close whatever was being used for protocol queries.
1322 */
1323#define HAS_ENDPROTOENT /**/
1324
1325/* HAS_ENDPWENT:
1326 * This symbol, if defined, indicates that the getgrent routine is
1327 * available for finalizing sequential access of the passwd database.
1328 */
1329#define HAS_ENDPWENT /**/
1330
1331/* HAS_ENDSERVENT:
1332 * This symbol, if defined, indicates that the endservent() routine is
1333 * available to close whatever was being used for service queries.
1334 */
1335#define HAS_ENDSERVENT /**/
1336
1337/* HAS_ENDSPENT:
1338 * This symbol, if defined, indicates that the endspent system call is
1339 * available to finalize the scan of SysV shadow password entries.
1340 */
1341/*#define HAS_ENDSPENT / **/
1342
921b2963
JH
1343/* HAS_FD_SET:
1344 * This symbol, when defined, indicates presence of the fd_set typedef
1345 * in <sys/types.h>
1346 */
1347#define HAS_FD_SET /**/
1348
c890dc6c
JH
1349/* HAS_FPOS64_T:
1350 * This symbol will be defined if the C compiler supports fpos64_t.
1351 */
1352/*#define HAS_FPOS64_T / **/
1353
ff935051
JH
1354/* HAS_STRUCT_FS_DATA:
1355 * This symbol, if defined, indicates that the struct fs_data
1356 * to do statfs() is supported.
1357 */
1358/*#define HAS_STRUCT_FS_DATA / **/
1359
1360/* HAS_FSEEKO:
1361 * This symbol, if defined, indicates that the fseeko routine is
1362 * available to fseek beyond 32 bits (useful for ILP32 hosts).
1363 */
1364/*#define HAS_FSEEKO / **/
1365
1366/* HAS_FSTATFS:
1367 * This symbol, if defined, indicates that the fstatfs routine is
1368 * available to stat filesystems by file descriptors.
1369 */
1370#define HAS_FSTATFS /**/
c890dc6c 1371
ff935051
JH
1372/* HAS_FTELLO:
1373 * This symbol, if defined, indicates that the ftello routine is
1374 * available to ftell beyond 32 bits (useful for ILP32 hosts).
1375 */
1376/*#define HAS_FTELLO / **/
1377
4633a7c4
LW
1378/* Gconvert:
1379 * This preprocessor macro is defined to convert a floating point
1380 * number to a string without a trailing decimal point. This
1381 * emulates the behavior of sprintf("%g"), but is sometimes much more
1382 * efficient. If gconvert() is not available, but gcvt() drops the
1383 * trailing decimal point, then gcvt() is used. If all else fails,
1384 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1385 * macro are: value, number of digits, whether trailing zeros should
1386 * be retained, and the output buffer.
1387 * Possible values are:
1388 * d_Gconvert='gconvert((x),(n),(t),(b))'
1389 * d_Gconvert='gcvt((x),(n),(b))'
1390 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1391 * The last two assume trailing zeros should not be kept.
1392 */
921b2963 1393#define Gconvert(x,n,t,b) gcvt((x),(n),(b))
4633a7c4 1394
49dabb45
JH
1395/* HAS_GETCWD:
1396 * This symbol, if defined, indicates that the getcwd routine is
1397 * available to get the current working directory.
1398 */
1399#define HAS_GETCWD /**/
1400
ff935051
JH
1401/* HAS_GETGRENT:
1402 * This symbol, if defined, indicates that the getgrent routine is
1403 * available for sequential access of the group database.
d103522a 1404 */
ff935051 1405#define HAS_GETGRENT /**/
d103522a 1406
ff935051
JH
1407/* HAS_GETHOSTBYADDR:
1408 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1409 * available to look up hosts by their IP addresses.
dd64f1c3 1410 */
ff935051 1411#define HAS_GETHOSTBYADDR /**/
dd64f1c3 1412
ff935051
JH
1413/* HAS_GETHOSTBYNAME:
1414 * This symbol, if defined, indicates that the gethostbyname() routine is
1415 * available to look up host names in some data base or other.
774d564b 1416 */
ff935051 1417#define HAS_GETHOSTBYNAME /**/
774d564b 1418
ff935051
JH
1419/* HAS_GETHOSTENT:
1420 * This symbol, if defined, indicates that the gethostent() routine is
1421 * available to look up host names in some data base or another.
d103522a 1422 */
ff935051 1423#define HAS_GETHOSTENT /**/
d103522a 1424
ff935051
JH
1425/* HAS_GETHOSTNAME:
1426 * This symbol, if defined, indicates that the C program may use the
1427 * gethostname() routine to derive the host name. See also HAS_UNAME
1428 * and PHOSTNAME.
d103522a 1429 */
ff935051
JH
1430/* HAS_UNAME:
1431 * This symbol, if defined, indicates that the C program may use the
1432 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1433 * and PHOSTNAME.
af4c28eb
CS
1434 */
1435/* PHOSTNAME:
1436 * This symbol, if defined, indicates the command to feed to the
1437 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1438 * and HAS_UNAME. Note that the command uses a fully qualified path,
1439 * so that it is safe even if used by a process with super-user
1440 * privileges.
1441 */
78691af5
JH
1442/* HAS_PHOSTNAME:
1443 * This symbol, if defined, indicates that the C program may use the
1444 * contents of PHOSTNAME as a command to feed to the popen() routine
1445 * to derive the host name.
1446 */
11dc3f68 1447#define HAS_GETHOSTNAME /**/
af4c28eb 1448#define HAS_UNAME /**/
fe749a9f 1449/*#define HAS_PHOSTNAME / **/
af4c28eb 1450#ifdef HAS_PHOSTNAME
0617aed7 1451#define PHOSTNAME "" /* How to get the host name */
af4c28eb
CS
1452#endif
1453
ff935051
JH
1454/* HAS_GETHOST_PROTOS:
1455 * This symbol, if defined, indicates that <netdb.h> includes
1456 * prototypes for gethostent(), gethostbyname(), and
1457 * gethostbyaddr(). Otherwise, it is up to the program to guess
1458 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1459 */
1460#define HAS_GETHOST_PROTOS /**/
1461
1462/* HAS_GETMNT:
1463 * This symbol, if defined, indicates that the getmnt routine is
1464 * available to get filesystem mount info by filename.
1465 */
1466/*#define HAS_GETMNT / **/
1467
1468/* HAS_GETMNTENT:
1469 * This symbol, if defined, indicates that the getmntent routine is
1470 * available to iterate through mounted file systems to get their info.
1471 */
1472/*#define HAS_GETMNTENT / **/
1473
693762b4
AD
1474/* HAS_GETNETBYADDR:
1475 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1476 * available to look up networks by their IP addresses.
1477 */
11dc3f68 1478#define HAS_GETNETBYADDR /**/
693762b4
AD
1479
1480/* HAS_GETNETBYNAME:
1481 * This symbol, if defined, indicates that the getnetbyname() routine is
1482 * available to look up networks by their names.
1483 */
11dc3f68 1484#define HAS_GETNETBYNAME /**/
693762b4 1485
e5c9fcd0
AD
1486/* HAS_GETNETENT:
1487 * This symbol, if defined, indicates that the getnetent() routine is
1488 * available to look up network names in some data base or another.
1489 */
11dc3f68 1490#define HAS_GETNETENT /**/
e5c9fcd0 1491
ff935051
JH
1492/* HAS_GETNET_PROTOS:
1493 * This symbol, if defined, indicates that <netdb.h> includes
1494 * prototypes for getnetent(), getnetbyname(), and
1495 * getnetbyaddr(). Otherwise, it is up to the program to guess
1496 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1497 */
1498#define HAS_GETNET_PROTOS /**/
1499
e5c9fcd0
AD
1500/* HAS_GETPROTOENT:
1501 * This symbol, if defined, indicates that the getprotoent() routine is
1502 * available to look up protocols in some data base or another.
1503 */
11dc3f68 1504#define HAS_GETPROTOENT /**/
e5c9fcd0 1505
693762b4
AD
1506/* HAS_GETPROTOBYNAME:
1507 * This symbol, if defined, indicates that the getprotobyname()
1508 * routine is available to look up protocols by their name.
1509 */
1510/* HAS_GETPROTOBYNUMBER:
1511 * This symbol, if defined, indicates that the getprotobynumber()
1512 * routine is available to look up protocols by their number.
1513 */
11dc3f68
JH
1514#define HAS_GETPROTOBYNAME /**/
1515#define HAS_GETPROTOBYNUMBER /**/
693762b4 1516
ff935051
JH
1517/* HAS_GETPROTO_PROTOS:
1518 * This symbol, if defined, indicates that <netdb.h> includes
1519 * prototypes for getprotoent(), getprotobyname(), and
1520 * getprotobyaddr(). Otherwise, it is up to the program to guess
1521 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1522 */
1523#define HAS_GETPROTO_PROTOS /**/
1524
327c3667
GS
1525/* HAS_GETPWENT:
1526 * This symbol, if defined, indicates that the getpwent routine is
1527 * available for sequential access of the passwd database.
1528 * If this is not available, the older getpw() function may be available.
1529 */
11dc3f68 1530#define HAS_GETPWENT /**/
327c3667 1531
e5c9fcd0
AD
1532/* HAS_GETSERVENT:
1533 * This symbol, if defined, indicates that the getservent() routine is
1534 * available to look up network services in some data base or another.
1535 */
11dc3f68 1536#define HAS_GETSERVENT /**/
e5c9fcd0 1537
ff935051
JH
1538/* HAS_GETSERV_PROTOS:
1539 * This symbol, if defined, indicates that <netdb.h> includes
1540 * prototypes for getservent(), getservbyname(), and
1541 * getservbyaddr(). Otherwise, it is up to the program to guess
1542 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
1543 */
1544#define HAS_GETSERV_PROTOS /**/
1545
1546/* HAS_GETSPENT:
1547 * This symbol, if defined, indicates that the getspent system call is
1548 * available to retrieve SysV shadow password entries sequentially.
1549 */
1550/*#define HAS_GETSPENT / **/
1551
1552/* HAS_GETSPNAM:
1553 * This symbol, if defined, indicates that the getspnam system call is
1554 * available to retrieve SysV shadow password entries by name.
1555 */
1556/*#define HAS_GETSPNAM / **/
1557
693762b4
AD
1558/* HAS_GETSERVBYNAME:
1559 * This symbol, if defined, indicates that the getservbyname()
1560 * routine is available to look up services by their name.
1561 */
1562/* HAS_GETSERVBYPORT:
1563 * This symbol, if defined, indicates that the getservbyport()
1564 * routine is available to look up services by their port.
1565 */
11dc3f68
JH
1566#define HAS_GETSERVBYNAME /**/
1567#define HAS_GETSERVBYPORT /**/
693762b4 1568
ff935051
JH
1569/* HAS_GNULIBC:
1570 * This symbol, if defined, indicates to the C program that
1571 * the GNU C library is being used.
1572 */
1573/*#define HAS_GNULIBC / **/
cce08f5b
JH
1574#if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
1575# define _GNU_SOURCE
1576#endif
ff935051
JH
1577/* HAS_HASMNTOPT:
1578 * This symbol, if defined, indicates that the hasmntopt routine is
1579 * available to query the mount options of file systems.
1580 */
1581/*#define HAS_HASMNTOPT / **/
1582
327c3667
GS
1583/* HAS_HTONL:
1584 * This symbol, if defined, indicates that the htonl() routine (and
1585 * friends htons() ntohl() ntohs()) are available to do network
1586 * order byte swapping.
1587 */
1588/* HAS_HTONS:
1589 * This symbol, if defined, indicates that the htons() routine (and
1590 * friends htonl() ntohl() ntohs()) are available to do network
1591 * order byte swapping.
1592 */
1593/* HAS_NTOHL:
1594 * This symbol, if defined, indicates that the ntohl() routine (and
1595 * friends htonl() htons() ntohs()) are available to do network
1596 * order byte swapping.
1597 */
1598/* HAS_NTOHS:
1599 * This symbol, if defined, indicates that the ntohs() routine (and
1600 * friends htonl() htons() ntohl()) are available to do network
1601 * order byte swapping.
1602 */
1603#define HAS_HTONL /**/
1604#define HAS_HTONS /**/
1605#define HAS_NTOHL /**/
1606#define HAS_NTOHS /**/
1607
fe749a9f
JH
1608/* HAS_ICONV:
1609 * This symbol, if defined, indicates that the iconv routine is
1610 * available to do character set conversions.
1611 */
792d8dab 1612#define HAS_ICONV /**/
fe749a9f
JH
1613
1614/* HAS_INT64_T:
1615 * This symbol will defined if the C compiler supports int64_t.
1616 * Usually the <inttypes.h> needs to be included, but sometimes
1617 * <sys/types.h> is enough.
1618 */
1619/*#define HAS_INT64_T / **/
1620
ff935051
JH
1621/* HAS_ISASCII:
1622 * This manifest constant lets the C program know that isascii
1623 * is available.
1624 */
1625#define HAS_ISASCII /**/
1626
1627/* HAS_LCHOWN:
1628 * This symbol, if defined, indicates that the lchown routine is
1629 * available to operate on a symbolic link (instead of following the
1630 * link).
1631 */
1632#define HAS_LCHOWN /**/
1633
1634/* HAS_LDBL_DIG:
1635 * This symbol, if defined, indicates that this system's <float.h>
1636 * or <limits.h> defines the symbol LDBL_DIG, which is the number
1637 * of significant digits in a long double precision number. Unlike
1638 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
1639 */
1640#define HAS_LDBL_DIG /* */
1641
e5c9fcd0
AD
1642/* HAS_LONG_DOUBLE:
1643 * This symbol will be defined if the C compiler supports long
1644 * doubles.
1645 */
ff935051
JH
1646/* LONG_DOUBLESIZE:
1647 * This symbol contains the size of a long double, so that the
1648 * C preprocessor can make decisions based on it. It is only
1649 * defined if the system supports long doubles.
1650 */
1651#define HAS_LONG_DOUBLE /**/
1652#ifdef HAS_LONG_DOUBLE
1653#define LONG_DOUBLESIZE 8 /**/
1654#endif
1655
1656/* HAS_LONG_LONG:
1657 * This symbol will be defined if the C compiler supports long long.
1658 */
1659/* LONGLONGSIZE:
1660 * This symbol contains the size of a long long, so that the
1661 * C preprocessor can make decisions based on it. It is only
1662 * defined if the system supports long long.
1663 */
1664#define HAS_LONG_LONG /**/
1665#ifdef HAS_LONG_LONG
1666#define LONGLONGSIZE 8 /**/
1667#endif
1668
792d8dab
JH
1669/* HAS_MADVISE:
1670 * This symbol, if defined, indicates that the madvise system call is
1671 * available to map a file into memory.
1672 */
1673#define HAS_MADVISE /**/
1674
ff935051
JH
1675/* HAS_MEMCHR:
1676 * This symbol, if defined, indicates that the memchr routine is available
1677 * to locate characters within a C string.
1678 */
1679#define HAS_MEMCHR /**/
1680
fe749a9f
JH
1681/* HAS_MKDTEMP:
1682 * This symbol, if defined, indicates that the mkdtemp routine is
1683 * available to exclusively create a uniquely named temporary directory.
1684 */
1685/*#define HAS_MKDTEMP / **/
1686
1687/* HAS_MKSTEMP:
1688 * This symbol, if defined, indicates that the mkstemp routine is
1689 * available to exclusively create and open a uniquely named
1690 * temporary file.
1691 */
1692#define HAS_MKSTEMP /**/
1693
1694/* HAS_MKSTEMPS:
1695 * This symbol, if defined, indicates that the mkstemps routine is
1696 * available to excluslvely create and open a uniquely named
1697 * (with a suffix) temporary file.
1698 */
1699/*#define HAS_MKSTEMPS / **/
1700
87b71857
JH
1701/* HAS_MMAP:
1702 * This symbol, if defined, indicates that the mmap system call is
1703 * available to map a file into memory.
1704 */
fe749a9f
JH
1705/* Mmap_t:
1706 * This symbol holds the return type of the mmap() system call
1707 * (and simultaneously the type of the first argument).
1708 * Usually set to 'void *' or 'cadd_t'.
1709 */
87b71857 1710#define HAS_MMAP /**/
fe749a9f
JH
1711#define Mmap_t void * /**/
1712
1713/* HAS_MPROTECT:
1714 * This symbol, if defined, indicates that the mprotect system call is
1715 * available to modify the access protection of a memory mapped file.
1716 */
1717#define HAS_MPROTECT /**/
1718
ff935051
JH
1719/* HAS_MSG:
1720 * This symbol, if defined, indicates that the entire msg*(2) library is
1721 * supported (IPC mechanism based on message queues).
1722 */
1723#define HAS_MSG /**/
1724
c890dc6c
JH
1725/* HAS_OFF64_T:
1726 * This symbol will be defined if the C compiler supports off64_t.
1727 */
1728/*#define HAS_OFF64_T / **/
1729
ff935051
JH
1730/* HAS_OPEN3:
1731 * This manifest constant lets the C program know that the three
1732 * argument form of open(2) is available.
1733 */
1734#define HAS_OPEN3 /**/
1735
1736/* OLD_PTHREAD_CREATE_JOINABLE:
1737 * This symbol, if defined, indicates how to create pthread
1738 * in joinable (aka undetached) state. NOTE: not defined
1739 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
1740 * (the new version of the constant).
1741 * If defined, known values are PTHREAD_CREATE_UNDETACHED
1742 * and __UNDETACHED.
1743 */
1744/*#define OLD_PTHREAD_CREATE_JOINABLE / **/
1745
1746/* HAS_PTHREAD_YIELD:
1747 * This symbol, if defined, indicates that the pthread_yield
1748 * routine is available to yield the execution of the current
1749 * thread. sched_yield is preferable to pthread_yield.
1750 */
1751/* SCHED_YIELD:
1752 * This symbol defines the way to yield the execution of
1753 * the current thread. Known ways are sched_yield,
1754 * pthread_yield, and pthread_yield with NULL.
1755 */
1756/* HAS_SCHED_YIELD:
1757 * This symbol, if defined, indicates that the sched_yield
1758 * routine is available to yield the execution of the current
1759 * thread. sched_yield is preferable to pthread_yield.
e5c9fcd0 1760 */
ff935051
JH
1761/*#define HAS_PTHREAD_YIELD / **/
1762#define SCHED_YIELD sched_yield() /**/
1763#define HAS_SCHED_YIELD /**/
e5c9fcd0 1764
ff935051
JH
1765/* HAS_SAFE_BCOPY:
1766 * This symbol, if defined, indicates that the bcopy routine is available
1767 * to copy potentially overlapping memory blocks. Otherwise you should
1768 * probably use memmove() or memcpy(). If neither is defined, roll your
1769 * own version.
dc45a647 1770 */
ff935051 1771#define HAS_SAFE_BCOPY /**/
dc45a647 1772
ff935051
JH
1773/* HAS_SAFE_MEMCPY:
1774 * This symbol, if defined, indicates that the memcpy routine is available
1775 * to copy potentially overlapping memory blocks. Otherwise you should
1776 * probably use memmove() or memcpy(). If neither is defined, roll your
1777 * own version.
a71cd7cd 1778 */
ff935051 1779/*#define HAS_SAFE_MEMCPY / **/
a71cd7cd 1780
ff935051
JH
1781/* HAS_SANE_MEMCMP:
1782 * This symbol, if defined, indicates that the memcmp routine is available
1783 * and can be used to compare relative magnitudes of chars with their high
1784 * bits set. If it is not defined, roll your own version.
327c3667 1785 */
ff935051 1786#define HAS_SANE_MEMCMP /**/
327c3667
GS
1787
1788/* HAS_SEM:
1789 * This symbol, if defined, indicates that the entire sem*(2) library is
1790 * supported.
1791 */
1792#define HAS_SEM /**/
1793
1794/* HAS_SETGRENT:
1795 * This symbol, if defined, indicates that the setgrent routine is
1796 * available for initializing sequential access of the group database.
1797 */
11dc3f68 1798#define HAS_SETGRENT /**/
327c3667 1799
dfe9444c
AD
1800/* HAS_SETGROUPS:
1801 * This symbol, if defined, indicates that the setgroups() routine is
1802 * available to set the list of process groups. If unavailable, multiple
1803 * groups are probably not supported.
4633a7c4 1804 */
dfe9444c
AD
1805#define HAS_SETGROUPS /**/
1806
693762b4
AD
1807/* HAS_SETHOSTENT:
1808 * This symbol, if defined, indicates that the sethostent() routine is
1809 * available.
1810 */
11dc3f68 1811#define HAS_SETHOSTENT /**/
693762b4 1812
e5c9fcd0
AD
1813/* HAS_SETNETENT:
1814 * This symbol, if defined, indicates that the setnetent() routine is
1815 * available.
1816 */
11dc3f68 1817#define HAS_SETNETENT /**/
e5c9fcd0
AD
1818
1819/* HAS_SETPROTOENT:
1820 * This symbol, if defined, indicates that the setprotoent() routine is
1821 * available.
1822 */
11dc3f68 1823#define HAS_SETPROTOENT /**/
e5c9fcd0 1824
327c3667
GS
1825/* HAS_SETPWENT:
1826 * This symbol, if defined, indicates that the setpwent routine is
1827 * available for initializing sequential access of the passwd database.
1828 */
11dc3f68 1829#define HAS_SETPWENT /**/
327c3667 1830
e5c9fcd0
AD
1831/* HAS_SETSERVENT:
1832 * This symbol, if defined, indicates that the setservent() routine is
ff935051 1833 * available.
de4597cb 1834 */
ff935051 1835#define HAS_SETSERVENT /**/
de4597cb 1836
ff935051
JH
1837/* HAS_SETSPENT:
1838 * This symbol, if defined, indicates that the setspent system call is
1839 * available to initialize the scan of SysV shadow password entries.
9003a523 1840 */
ff935051
JH
1841/*#define HAS_SETSPENT / **/
1842
1843/* HAS_SETVBUF:
1844 * This symbol, if defined, indicates that the setvbuf routine is
1845 * available to change buffering on an open stdio stream.
1846 * to a line-buffered mode.
16d20bd9 1847 */
ff935051 1848#define HAS_SETVBUF /**/
bfb7748a 1849
ff935051
JH
1850/* USE_SFIO:
1851 * This symbol, if defined, indicates that sfio should
1852 * be used.
bfb7748a 1853 */
ff935051 1854/*#define USE_SFIO / **/
9003a523 1855
ff935051
JH
1856/* HAS_SHM:
1857 * This symbol, if defined, indicates that the entire shm*(2) library is
1858 * supported.
c4f23d77 1859 */
ff935051
JH
1860#define HAS_SHM /**/
1861
1862/* HAS_SIGACTION:
1863 * This symbol, if defined, indicates that Vr4's sigaction() routine
1864 * is available.
c4f23d77 1865 */
ff935051 1866#define HAS_SIGACTION /**/
c4f23d77 1867
ff935051
JH
1868/* HAS_SIGSETJMP:
1869 * This variable indicates to the C program that the sigsetjmp()
1870 * routine is available to save the calling process's registers
1871 * and stack environment for later use by siglongjmp(), and
1872 * to optionally save the process's signal mask. See
1873 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
4633a7c4 1874 */
ff935051
JH
1875/* Sigjmp_buf:
1876 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
1877 */
1878/* Sigsetjmp:
1879 * This macro is used in the same way as sigsetjmp(), but will invoke
1880 * traditional setjmp() if sigsetjmp isn't available.
1881 * See HAS_SIGSETJMP.
1882 */
1883/* Siglongjmp:
1884 * This macro is used in the same way as siglongjmp(), but will invoke
1885 * traditional longjmp() if siglongjmp isn't available.
1886 * See HAS_SIGSETJMP.
1887 */
1888#define HAS_SIGSETJMP /**/
1889#ifdef HAS_SIGSETJMP
1890#define Sigjmp_buf sigjmp_buf
1891#define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1892#define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
1893#else
1894#define Sigjmp_buf jmp_buf
1895#define Sigsetjmp(buf,save_mask) setjmp((buf))
1896#define Siglongjmp(buf,retval) longjmp((buf),(retval))
bfb7748a 1897#endif
fbfd4aab 1898
ff935051
JH
1899/* HAS_SOCKET:
1900 * This symbol, if defined, indicates that the BSD socket interface is
1901 * supported.
8c09e4ca 1902 */
ff935051
JH
1903/* HAS_SOCKETPAIR:
1904 * This symbol, if defined, indicates that the BSD socketpair() call is
1905 * supported.
8c09e4ca 1906 */
ff935051
JH
1907/* HAS_MSG_CTRUNC:
1908 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
1909 * Checking just with #ifdef might not be enough because this symbol
1910 * has been known to be an enum.
d71b2b6b 1911 */
ff935051
JH
1912/* HAS_MSG_DONTROUTE:
1913 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
1914 * Checking just with #ifdef might not be enough because this symbol
1915 * has been known to be an enum.
1916 */
1917/* HAS_MSG_OOB:
1918 * This symbol, if defined, indicates that the MSG_OOB is supported.
1919 * Checking just with #ifdef might not be enough because this symbol
1920 * has been known to be an enum.
1921 */
1922/* HAS_MSG_PEEK:
1923 * This symbol, if defined, indicates that the MSG_PEEK is supported.
1924 * Checking just with #ifdef might not be enough because this symbol
1925 * has been known to be an enum.
1926 */
1927/* HAS_MSG_PROXY:
1928 * This symbol, if defined, indicates that the MSG_PROXY is supported.
1929 * Checking just with #ifdef might not be enough because this symbol
1930 * has been known to be an enum.
1931 */
1932/* HAS_SCM_RIGHTS:
1933 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
1934 * Checking just with #ifdef might not be enough because this symbol
1935 * has been known to be an enum.
1936 */
1937#define HAS_SOCKET /**/
1938#define HAS_SOCKETPAIR /**/
1939#define HAS_MSG_CTRUNC /**/
1940#define HAS_MSG_DONTROUTE /**/
1941#define HAS_MSG_OOB /**/
1942#define HAS_MSG_PEEK /**/
1943/*#define HAS_MSG_PROXY / **/
1944#define HAS_SCM_RIGHTS /**/
d71b2b6b 1945
ff935051
JH
1946/* HAS_SQRTL:
1947 * This symbol, if defined, indicates that the sqrtl routine is
1948 * available to do long double square roots.
dfe9444c 1949 */
ff935051 1950#define HAS_SQRTL /**/
dfe9444c 1951
ff935051
JH
1952/* USE_STAT_BLOCKS:
1953 * This symbol is defined if this system has a stat structure declaring
1954 * st_blksize and st_blocks.
86959918 1955 */
ff935051
JH
1956#ifndef USE_STAT_BLOCKS
1957#define USE_STAT_BLOCKS /**/
1958#endif
86959918 1959
ff935051
JH
1960/* HAS_STRUCT_STATFS_F_FLAGS:
1961 * This symbol, if defined, indicates that the struct statfs
1962 * does have the f_flags member containing the mount flags of
1963 * the filesystem containing the file.
1964 * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3),
1965 * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not
1966 * have statfs() and struct statfs, they have ustat() and getmnt()
1967 * with struct ustat and struct fs_data.
ad27e871 1968 */
ff935051 1969#define HAS_STRUCT_STATFS_F_FLAGS /**/
ad27e871 1970
ff935051
JH
1971/* HAS_STRUCT_STATFS:
1972 * This symbol, if defined, indicates that the struct statfs
1973 * to do statfs() is supported.
327c3667 1974 */
ff935051 1975#define HAS_STRUCT_STATFS /**/
327c3667 1976
ff935051
JH
1977/* HAS_FSTATVFS:
1978 * This symbol, if defined, indicates that the fstatvfs routine is
0545a864
JH
1979 * available to stat filesystems by file descriptors.
1980 */
ff935051 1981#define HAS_FSTATVFS /**/
327c3667 1982
ff935051
JH
1983/* USE_STDIO_PTR:
1984 * This symbol is defined if the _ptr and _cnt fields (or similar)
1985 * of the stdio FILE structure can be used to access the stdio buffer
1986 * for a file handle. If this is defined, then the FILE_ptr(fp)
1987 * and FILE_cnt(fp) macros will also be defined and should be used
1988 * to access these fields.
ad27e871 1989 */
ff935051
JH
1990/* FILE_ptr:
1991 * This macro is used to access the _ptr field (or equivalent) of the
1992 * FILE structure pointed to by its argument. This macro will always be
1993 * defined if USE_STDIO_PTR is defined.
ccc7f9b3 1994 */
ff935051
JH
1995/* STDIO_PTR_LVALUE:
1996 * This symbol is defined if the FILE_ptr macro can be used as an
1997 * lvalue.
86959918 1998 */
ff935051
JH
1999/* FILE_cnt:
2000 * This macro is used to access the _cnt field (or equivalent) of the
2001 * FILE structure pointed to by its argument. This macro will always be
2002 * defined if USE_STDIO_PTR is defined.
86959918 2003 */
ff935051
JH
2004/* STDIO_CNT_LVALUE:
2005 * This symbol is defined if the FILE_cnt macro can be used as an
2006 * lvalue.
ccc7f9b3 2007 */
ff935051
JH
2008#define USE_STDIO_PTR /**/
2009#ifdef USE_STDIO_PTR
2010#define FILE_ptr(fp) ((fp)->_ptr)
2011#define STDIO_PTR_LVALUE /**/
2012#define FILE_cnt(fp) ((fp)->_cnt)
2013#define STDIO_CNT_LVALUE /**/
2014#endif
ccc7f9b3 2015
ff935051
JH
2016/* USE_STDIO_BASE:
2017 * This symbol is defined if the _base field (or similar) of the
2018 * stdio FILE structure can be used to access the stdio buffer for
2019 * a file handle. If this is defined, then the FILE_base(fp) macro
2020 * will also be defined and should be used to access this field.
2021 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
2022 * to determine the number of bytes in the buffer. USE_STDIO_BASE
2023 * will never be defined unless USE_STDIO_PTR is.
e0a10278 2024 */
ff935051
JH
2025/* FILE_base:
2026 * This macro is used to access the _base field (or equivalent) of the
2027 * FILE structure pointed to by its argument. This macro will always be
2028 * defined if USE_STDIO_BASE is defined.
ca24dfc6 2029 */
ff935051
JH
2030/* FILE_bufsiz:
2031 * This macro is used to determine the number of bytes in the I/O
2032 * buffer pointed to by _base field (or equivalent) of the FILE
2033 * structure pointed to its argument. This macro will always be defined
2034 * if USE_STDIO_BASE is defined.
86959918 2035 */
ff935051
JH
2036#define USE_STDIO_BASE /**/
2037#ifdef USE_STDIO_BASE
2038#define FILE_base(fp) ((fp)->_base)
2039#define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base)
2040#endif
86959918 2041
ff935051
JH
2042/* HAS_STRERROR:
2043 * This symbol, if defined, indicates that the strerror routine is
2044 * available to translate error numbers to strings. See the writeup
2045 * of Strerror() in this file before you try to define your own.
dfe9444c 2046 */
ff935051
JH
2047/* HAS_SYS_ERRLIST:
2048 * This symbol, if defined, indicates that the sys_errlist array is
2049 * available to translate error numbers to strings. The extern int
2050 * sys_nerr gives the size of that table.
68d4903c 2051 */
ff935051
JH
2052/* Strerror:
2053 * This preprocessor symbol is defined as a macro if strerror() is
2054 * not available to translate error numbers to strings but sys_errlist[]
2055 * array is there.
2056 */
2057#define HAS_STRERROR /**/
2058#define HAS_SYS_ERRLIST /**/
2059#define Strerror(e) strerror(e)
68d4903c 2060
ff935051
JH
2061/* HAS_STRTOLD:
2062 * This symbol, if defined, indicates that the strtold routine is
2063 * available to convert strings to long doubles.
ff49bff8 2064 */
ff935051 2065/*#define HAS_STRTOLD / **/
ff49bff8 2066
76d49b1c
JH
2067/* HAS_STRTOLL:
2068 * This symbol, if defined, indicates that the strtoll routine is
2069 * available to convert strings to long longs.
2070 */
2071/*#define HAS_STRTOLL / **/
2072
ff935051
JH
2073/* HAS_STRTOULL:
2074 * This symbol, if defined, indicates that the strtoull routine is
2075 * available to convert strings to unsigned long longs.
ad27e871 2076 */
ff935051 2077/*#define HAS_STRTOULL / **/
ad27e871 2078
ff935051
JH
2079/* HAS_STRTOUQ:
2080 * This symbol, if defined, indicates that the strtouq routine is
2081 * available to convert strings to unsigned long longs (quads).
ff49bff8 2082 */
ff935051 2083/*#define HAS_STRTOUQ / **/
ff49bff8
JH
2084
2085/* HAS_TELLDIR_PROTO:
2086 * This symbol, if defined, indicates that the system provides
2087 * a prototype for the telldir() function. Otherwise, it is up
2088 * to the program to supply one. A good guess is
86959918 2089 * extern long telldir _((DIR*));
ff49bff8 2090 */
11dc3f68 2091#define HAS_TELLDIR_PROTO /**/
ff49bff8 2092
ff935051
JH
2093/* Time_t:
2094 * This symbol holds the type returned by time(). It can be long,
2095 * or time_t on BSD sites (in which case <sys/types.h> should be
2096 * included).
2097 */
2098#define Time_t time_t /* Time type */
2099
2100/* HAS_TIMES:
2101 * This symbol, if defined, indicates that the times() routine exists.
2102 * Note that this became obsolete on some systems (SUNOS), which now
2103 * use getrusage(). It may be necessary to include <sys/times.h>.
2104 */
2105#define HAS_TIMES /**/
2106
2107/* HAS_UNION_SEMUN:
2108 * This symbol, if defined, indicates that the union semun is
2109 * defined by including <sys/sem.h>. If not, the user code
2110 * probably needs to define it as:
2111 * union semun {
2112 * int val;
2113 * struct semid_ds *buf;
2114 * unsigned short *array;
2115 * }
2116 */
2117/* USE_SEMCTL_SEMUN:
2118 * This symbol, if defined, indicates that union semun is
2119 * used for semctl IPC_STAT.
2120 */
2121/* USE_SEMCTL_SEMID_DS:
2122 * This symbol, if defined, indicates that struct semid_ds * is
2123 * used for semctl IPC_STAT.
2124 */
2125/*#define HAS_UNION_SEMUN / **/
2126#define USE_SEMCTL_SEMUN /**/
2127#define USE_SEMCTL_SEMID_DS /**/
2128
0545a864
JH
2129/* HAS_USTAT:
2130 * This symbol, if defined, indicates that the ustat system call is
2131 * available to query file system statistics by dev_t.
2132 */
2133#define HAS_USTAT /**/
2134
ff935051
JH
2135/* HAS_VFORK:
2136 * This symbol, if defined, indicates that vfork() exists.
2137 */
2138/*#define HAS_VFORK / **/
2139
2140/* Signal_t:
2141 * This symbol's value is either "void" or "int", corresponding to the
2142 * appropriate return type of a signal handler. Thus, you can declare
2143 * a signal handler using "Signal_t (*handler)()", and define the
2144 * handler using "Signal_t handler(sig)".
2145 */
2146#define Signal_t void /* Signal handler's return type */
2147
2148/* HAS_VPRINTF:
2149 * This symbol, if defined, indicates that the vprintf routine is available
2150 * to printf with a pointer to an argument list. If unavailable, you
2151 * may need to write your own, probably in terms of _doprnt().
2152 */
2153/* USE_CHAR_VSPRINTF:
2154 * This symbol is defined if this system has vsprintf() returning type
2155 * (char*). The trend seems to be to declare it as "int vsprintf()". It
2156 * is up to the package author to declare vsprintf correctly based on the
2157 * symbol.
2158 */
2159#define HAS_VPRINTF /**/
2160/*#define USE_CHAR_VSPRINTF / **/
2161
dfe9444c
AD
2162/* USE_DYNAMIC_LOADING:
2163 * This symbol, if defined, indicates that dynamic loading of
2164 * some sort is available.
2165 */
2166#define USE_DYNAMIC_LOADING /**/
2167
ff935051
JH
2168/* DOUBLESIZE:
2169 * This symbol contains the size of a double, so that the C preprocessor
2170 * can make decisions based on it.
2171 */
2172#define DOUBLESIZE 8 /**/
2173
2174/* EBCDIC:
2175 * This symbol, if defined, indicates that this system uses
2176 * EBCDIC encoding.
2177 */
2178/*#define EBCDIC / **/
2179
a71cd7cd
JH
2180/* FFLUSH_NULL:
2181 * This symbol, if defined, tells that fflush(NULL) does flush
2182 * all pending stdio output.
2183 */
2184/* FFLUSH_ALL:
2185 * This symbol, if defined, tells that to flush
2186 * all pending stdio output one must loop through all
2187 * the stdio file handles stored in an array and fflush them.
a32a45b6
JH
2188 * Note that if fflushNULL is defined, fflushall will not
2189 * even be probed for and will be left undefined.
a71cd7cd 2190 */
11dc3f68
JH
2191#define FFLUSH_NULL /**/
2192/*#define FFLUSH_ALL / **/
a71cd7cd 2193
ff935051
JH
2194/* Fpos_t:
2195 * This symbol holds the type used to declare file positions in libc.
2196 * It can be fpos_t, long, uint, etc... It may be necessary to include
2197 * <sys/types.h> to get any typedef'ed information.
2198 */
2199#define Fpos_t fpos_t /* File position type */
2200
2201/* Gid_t_f:
2202 * This symbol defines the format string used for printing a Gid_t.
2203 */
2204#define Gid_t_f "u" /**/
2205
2206/* Gid_t_size:
2207 * This symbol holds the size of a Gid_t in bytes.
2208 */
2209#define Gid_t_size 4 /* GID size */
2210
2211/* Gid_t:
2212 * This symbol holds the return type of getgid() and the type of
2213 * argument to setrgid() and related functions. Typically,
2214 * it is the type of group ids in the kernel. It can be int, ushort,
2215 * uid_t, etc... It may be necessary to include <sys/types.h> to get
2216 * any typedef'ed information.
2217 */
2218#define Gid_t gid_t /* Type for getgid(), etc... */
2219
2220/* Groups_t:
2221 * This symbol holds the type used for the second argument to
2222 * getgroups() and setgropus(). Usually, this is the same as
2223 * gidtype (gid_t) , but sometimes it isn't.
2224 * It can be int, ushort, uid_t, etc...
2225 * It may be necessary to include <sys/types.h> to get any
2226 * typedef'ed information. This is only required if you have
2227 * getgroups() or setgropus()..
2228 */
2229#if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
2230#define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
2231#endif
2232
dfe9444c
AD
2233/* DB_Prefix_t:
2234 * This symbol contains the type of the prefix structure element
2235 * in the <db.h> header file. In older versions of DB, it was
2236 * int, while in newer ones it is u_int32_t.
2237 */
2238/* DB_Hash_t:
2239 * This symbol contains the type of the prefix structure element
2240 * in the <db.h> header file. In older versions of DB, it was
2241 * int, while in newer ones it is size_t.
2242 */
0617aed7
JH
2243#define DB_Hash_t u_int32_t /**/
2244#define DB_Prefix_t size_t /**/
dfe9444c 2245
ff935051
JH
2246/* I_GRP:
2247 * This symbol, if defined, indicates to the C program that it should
2248 * include <grp.h>.
2249 */
2250/* GRPASSWD:
2251 * This symbol, if defined, indicates to the C program that struct group
2252 * in <grp.h> contains gr_passwd.
2253 */
2254#define I_GRP /**/
2255#define GRPASSWD /**/
2256
fe749a9f
JH
2257/* I_ICONV:
2258 * This symbol, if defined, indicates that <iconv.h> exists and
2259 * should be included.
2260 */
2261#define I_ICONV /**/
2262
327c3667
GS
2263/* I_INTTYPES:
2264 * This symbol, if defined, indicates to the C program that it should
2265 * include <inttypes.h>.
2266 */
ff935051
JH
2267/*#define I_INTTYPES / **/
2268
2269/* I_MACH_CTHREADS:
2270 * This symbol, if defined, indicates to the C program that it should
2271 * include <mach/cthreads.h>.
2272 */
2273/*#define I_MACH_CTHREADS / **/
327c3667 2274
ff49bff8
JH
2275/* I_MNTENT:
2276 * This symbol, if defined, indicates that <mntent.h> exists and
2277 * should be included.
2278 */
ff935051
JH
2279/*#define I_MNTENT / **/
2280
2281/* I_NETDB:
2282 * This symbol, if defined, indicates that <netdb.h> exists and
2283 * should be included.
2284 */
2285#define I_NETDB /**/
ff49bff8 2286
a71cd7cd
JH
2287/* I_NETINET_TCP:
2288 * This symbol, if defined, indicates to the C program that it should
2289 * include <netinet/tcp.h>.
2290 */
ff935051
JH
2291#define I_NETINET_TCP /**/
2292
2293/* I_POLL:
2294 * This symbol, if defined, indicates that <poll.h> exists and
2295 * should be included.
2296 */
2297#define I_POLL /**/
2298
2299/* I_PTHREAD:
2300 * This symbol, if defined, indicates to the C program that it should
2301 * include <pthread.h>.
2302 */
2303#define I_PTHREAD /**/
2304
2305/* I_PWD:
2306 * This symbol, if defined, indicates to the C program that it should
2307 * include <pwd.h>.
2308 */
2309/* PWQUOTA:
2310 * This symbol, if defined, indicates to the C program that struct passwd
2311 * contains pw_quota.
2312 */
2313/* PWAGE:
2314 * This symbol, if defined, indicates to the C program that struct passwd
2315 * contains pw_age.
2316 */
2317/* PWCHANGE:
2318 * This symbol, if defined, indicates to the C program that struct passwd
2319 * contains pw_change.
2320 */
2321/* PWCLASS:
2322 * This symbol, if defined, indicates to the C program that struct passwd
2323 * contains pw_class.
2324 */
2325/* PWEXPIRE:
2326 * This symbol, if defined, indicates to the C program that struct passwd
2327 * contains pw_expire.
2328 */
2329/* PWCOMMENT:
2330 * This symbol, if defined, indicates to the C program that struct passwd
2331 * contains pw_comment.
2332 */
2333/* PWGECOS:
2334 * This symbol, if defined, indicates to the C program that struct passwd
2335 * contains pw_gecos.
5b34fd99 2336 */
ff935051
JH
2337/* PWPASSWD:
2338 * This symbol, if defined, indicates to the C program that struct passwd
2339 * contains pw_passwd.
2340 */
2341#define I_PWD /**/
2342#define PWQUOTA /**/
2343/*#define PWAGE / **/
2344/*#define PWCHANGE / **/
2345/*#define PWCLASS / **/
2346/*#define PWEXPIRE / **/
2347#define PWCOMMENT /**/
2348#define PWGECOS /**/
2349#define PWPASSWD /**/
5b34fd99 2350
86959918
JH
2351/* I_SHADOW:
2352 * This symbol, if defined, indicates that <shadow.h> exists and
2353 * should be included.
2354 */
ff935051 2355/*#define I_SHADOW / **/
86959918
JH
2356
2357/* I_SOCKS:
2358 * This symbol, if defined, indicates that <socks.h> exists and
2359 * should be included.
2360 */
11dc3f68 2361/*#define I_SOCKS / **/
86959918 2362
792d8dab
JH
2363/* I_SUNMATH:
2364 * This symbol, if defined, indicates that <sunmath.h> exists and
2365 * should be included.
2366 */
2367/*#define I_SUNMATH / **/
2368
ca52efda
JH
2369/* I_SYSLOG:
2370 * This symbol, if defined, indicates that <syslog.h> exists and
2371 * should be included.
2372 */
2373#define I_SYSLOG /**/
2374
13b3f787
JH
2375/* I_SYSMODE:
2376 * This symbol, if defined, indicates that <sys/mode.h> exists and
2377 * should be included.
2378 */
2379#define I_SYSMODE /**/
2380
ff49bff8
JH
2381/* I_SYS_MOUNT:
2382 * This symbol, if defined, indicates that <sys/mount.h> exists and
2383 * should be included.
2384 */
11dc3f68 2385#define I_SYS_MOUNT /**/
ff49bff8 2386
0545a864
JH
2387/* I_SYS_STATFS:
2388 * This symbol, if defined, indicates that <sys/statfs.h> exists.
2389 */
ff935051 2390/*#define I_SYS_STATFS / **/
0545a864 2391
ff49bff8
JH
2392/* I_SYS_STATVFS:
2393 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
2394 * should be included.
2395 */
11dc3f68 2396#define I_SYS_STATVFS /**/
0545a864 2397
ff935051
JH
2398/* I_SYSUIO:
2399 * This symbol, if defined, indicates that <sys/uio.h> exists and
2400 * should be included.
2401 */
2402#define I_SYSUIO /**/
2403
13b3f787
JH
2404/* I_SYSUTSNAME:
2405 * This symbol, if defined, indicates that <sys/utsname.h> exists and
2406 * should be included.
2407 */
2408#define I_SYSUTSNAME /**/
2409
0545a864
JH
2410/* I_SYS_VFS:
2411 * This symbol, if defined, indicates that <sys/vfs.h> exists and
2412 * should be included.
2413 */
ff935051
JH
2414/*#define I_SYS_VFS / **/
2415
2416/* I_TIME:
2417 * This symbol, if defined, indicates to the C program that it should
2418 * include <time.h>.
2419 */
2420/* I_SYS_TIME:
2421 * This symbol, if defined, indicates to the C program that it should
2422 * include <sys/time.h>.
2423 */
2424/* I_SYS_TIME_KERNEL:
2425 * This symbol, if defined, indicates to the C program that it should
2426 * include <sys/time.h> with KERNEL defined.
2427 */
2428/*#define I_TIME / **/
2429#define I_SYS_TIME /**/
2430/*#define I_SYS_TIME_KERNEL / **/
0545a864
JH
2431
2432/* I_USTAT:
2433 * This symbol, if defined, indicates that <ustat.h> exists and
2434 * should be included.
2435 */
2436#define I_USTAT /**/
ff49bff8 2437
ff935051
JH
2438/* PERL_INC_VERSION_LIST:
2439 * This variable specifies the list of subdirectories in over
2440 * which perl.c:incpush() and lib/lib.pm will automatically
2441 * search when adding directories to @INC, in a format suitable
2442 * for a C initialization string. See the inc_version_list entry
2443 * in Porting/Glossary for more details.
2444 */
49dabb45 2445#define PERL_INC_VERSION_LIST 0 /**/
ff935051 2446
fe749a9f
JH
2447/* INSTALL_USR_BIN_PERL:
2448 * This symbol, if defined, indicates that Perl is to be installed
2449 * also as /usr/bin/perl.
2450 */
2451#define INSTALL_USR_BIN_PERL /**/
2452
8c09e4ca
JH
2453/* PERL_PRIfldbl:
2454 * This symbol, if defined, contains the string used by stdio to
2455 * format long doubles (format 'f') for output.
2456 */
2457/* PERL_PRIgldbl:
2458 * This symbol, if defined, contains the string used by stdio to
2459 * format long doubles (format 'g') for output.
2460 */
ff935051
JH
2461#define PERL_PRIfldbl "f" /**/
2462#define PERL_PRIgldbl "g" /**/
2463
2464/* Off_t:
2465 * This symbol holds the type used to declare offsets in the kernel.
2466 * It can be int, long, off_t, etc... It may be necessary to include
2467 * <sys/types.h> to get any typedef'ed information.
2468 */
2469/* LSEEKSIZE:
2470 * This symbol holds the number of bytes used by the Off_t.
2471 */
2472/* Off_t_size:
2473 * This symbol holds the number of bytes used by the Off_t.
2474 */
2475#define Off_t off_t /* <offset> type */
2476#define LSEEKSIZE 8 /* <offset> size */
2477#define Off_t_size 8 /* <offset> size */
2478
2479/* Free_t:
2480 * This variable contains the return type of free(). It is usually
2481 * void, but occasionally int.
2482 */
2483/* Malloc_t:
2484 * This symbol is the type of pointer returned by malloc and realloc.
2485 */
2486#define Malloc_t void * /**/
2487#define Free_t void /**/
2488
2489/* MYMALLOC:
2490 * This symbol, if defined, indicates that we're using our own malloc.
2491 */
2492/*#define MYMALLOC / **/
2493
2494/* Mode_t:
2495 * This symbol holds the type used to declare file modes
2496 * for systems calls. It is usually mode_t, but may be
2497 * int or unsigned short. It may be necessary to include <sys/types.h>
2498 * to get any typedef'ed information.
2499 */
2500#define Mode_t mode_t /* file mode parameter for system calls */
2501
2502/* VAL_O_NONBLOCK:
2503 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
2504 * non-blocking I/O for the file descriptor. Note that there is no way
2505 * back, i.e. you cannot turn it blocking again this way. If you wish to
2506 * alternatively switch between blocking and non-blocking, use the
2507 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
2508 */
2509/* VAL_EAGAIN:
2510 * This symbol holds the errno error code set by read() when no data was
2511 * present on the non-blocking file descriptor.
2512 */
2513/* RD_NODATA:
2514 * This symbol holds the return code from read() when no data is present
2515 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
2516 * not defined, then you can't distinguish between no data and EOF by
2517 * issuing a read(). You'll have to find another way to tell for sure!
2518 */
2519/* EOF_NONBLOCK:
2520 * This symbol, if defined, indicates to the C program that a read() on
2521 * a non-blocking file descriptor will return 0 on EOF, and not the value
2522 * held in RD_NODATA (-1 usually, in that case!).
2523 */
2524#define VAL_O_NONBLOCK O_NONBLOCK
2525#define VAL_EAGAIN EAGAIN
2526#define RD_NODATA -1
2527#define EOF_NONBLOCK
2528
2529/* Netdb_host_t:
2530 * This symbol holds the type used for the 1st argument
2531 * to gethostbyaddr().
2532 */
2533/* Netdb_hlen_t:
2534 * This symbol holds the type used for the 2nd argument
2535 * to gethostbyaddr().
2536 */
2537/* Netdb_name_t:
2538 * This symbol holds the type used for the argument to
2539 * gethostbyname().
2540 */
2541/* Netdb_net_t:
2542 * This symbol holds the type used for the 1st argument to
2543 * getnetbyaddr().
2544 */
2545#define Netdb_host_t const char * /**/
2546#define Netdb_hlen_t int /**/
2547#define Netdb_name_t const char * /**/
2548#define Netdb_net_t int /**/
8c09e4ca 2549
a22e52b9
JH
2550/* IVTYPE:
2551 * This symbol defines the C type used for Perl's IV.
8c09e4ca 2552 */
a22e52b9
JH
2553/* UVTYPE:
2554 * This symbol defines the C type used for Perl's UV.
8c09e4ca 2555 */
a22e52b9
JH
2556/* I8TYPE:
2557 * This symbol defines the C type used for Perl's I8.
ca24dfc6 2558 */
a22e52b9
JH
2559/* U8TYPE:
2560 * This symbol defines the C type used for Perl's U8.
2561 */
2562/* I16TYPE:
2563 * This symbol defines the C type used for Perl's I16.
2564 */
2565/* U16TYPE:
2566 * This symbol defines the C type used for Perl's U16.
2567 */
2568/* I32TYPE:
2569 * This symbol defines the C type used for Perl's I32.
2570 */
2571/* U32TYPE:
2572 * This symbol defines the C type used for Perl's U32.
2573 */
2574/* I64TYPE:
2575 * This symbol defines the C type used for Perl's I64.
2576 */
2577/* U64TYPE:
2578 * This symbol defines the C type used for Perl's U64.
2579 */
2580/* NVTYPE:
2581 * This symbol defines the C type used for Perl's NV.
2582 */
2583/* IVSIZE:
2584 * This symbol contains the sizeof(IV).
2585 */
2586/* UVSIZE:
2587 * This symbol contains the sizeof(UV).
2588 */
2589/* I8SIZE:
2590 * This symbol contains the sizeof(I8).
2591 */
2592/* U8SIZE:
2593 * This symbol contains the sizeof(U8).
2594 */
2595/* I16SIZE:
2596 * This symbol contains the sizeof(I16).
2597 */
2598/* U16SIZE:
2599 * This symbol contains the sizeof(U16).
8c09e4ca 2600 */
a22e52b9
JH
2601/* I32SIZE:
2602 * This symbol contains the sizeof(I32).
2603 */
2604/* U32SIZE:
2605 * This symbol contains the sizeof(U32).
2606 */
2607/* I64SIZE:
2608 * This symbol contains the sizeof(I64).
2609 */
2610/* U64SIZE:
2611 * This symbol contains the sizeof(U64).
2612 */
cce08f5b
JH
2613/* NV_PRESERVES_UV:
2614 * This symbol, if defined, indicates that a variable of type NVTYPE
2615 * can preserve all the bit of a variable of type UVSIZE.
2616 */
ff935051
JH
2617#define IVTYPE long /**/
2618#define UVTYPE unsigned long /**/
a22e52b9
JH
2619#define I8TYPE char /**/
2620#define U8TYPE unsigned char /**/
2621#define I16TYPE short /**/
2622#define U16TYPE unsigned short /**/
ff935051
JH
2623#define I32TYPE int /**/
2624#define U32TYPE unsigned int /**/
de1c2614 2625#ifdef HAS_QUAD
ff935051
JH
2626#define I64TYPE long /**/
2627#define U64TYPE unsigned long /**/
a22e52b9
JH
2628#endif
2629#define NVTYPE double /**/
2630#define IVSIZE 8 /**/
2631#define UVSIZE 8 /**/
2632#define I8SIZE 1 /**/
2633#define U8SIZE 1 /**/
2634#define I16SIZE 2 /**/
2635#define U16SIZE 2 /**/
2636#define I32SIZE 4 /**/
2637#define U32SIZE 4 /**/
de1c2614 2638#ifdef HAS_QUAD
a22e52b9
JH
2639#define I64SIZE 8 /**/
2640#define U64SIZE 8 /**/
2641#endif
cce08f5b 2642#undef NV_PRESERVES_UV
a22e52b9
JH
2643
2644/* IVdf:
2645 * This symbol defines the format string used for printing a Perl IV
2646 * as a signed decimal integer.
2647 */
2648/* UVuf:
2649 * This symbol defines the format string used for printing a Perl UV
2650 * as an unsigned decimal integer.
2651 */
2652/* UVof:
2653 * This symbol defines the format string used for printing a Perl UV
2654 * as an unsigned octal integer.
2655 */
2656/* UVxf:
2657 * This symbol defines the format string used for printing a Perl UV
2658 * as an unsigned hexadecimal integer.
2659 */
ff935051
JH
2660#define IVdf "ld" /**/
2661#define UVuf "lu" /**/
2662#define UVof "lo" /**/
2663#define UVxf "lx" /**/
2664
2665/* Pid_t:
2666 * This symbol holds the type used to declare process ids in the kernel.
2667 * It can be int, uint, pid_t, etc... It may be necessary to include
2668 * <sys/types.h> to get any typedef'ed information.
2669 */
2670#define Pid_t pid_t /* PID type */
2671
2672/* PRIVLIB:
2673 * This symbol contains the name of the private library for this package.
2674 * The library is private in the sense that it needn't be in anyone's
2675 * execution path, but it should be accessible by the world. The program
2676 * should be prepared to do ~ expansion.
2677 */
2678/* PRIVLIB_EXP:
2679 * This symbol contains the ~name expanded version of PRIVLIB, to be used
2680 * in programs that are not prepared to deal with ~ expansion at run-time.
2681 */
65f19062
GS
2682#define PRIVLIB "/opt/perl/lib/5.6.0" /**/
2683#define PRIVLIB_EXP "/opt/perl/lib/5.6.0" /**/
ff935051
JH
2684
2685/* PTRSIZE:
2686 * This symbol contains the size of a pointer, so that the C preprocessor
2687 * can make decisions based on it. It will be sizeof(void *) if
2688 * the compiler supports (void *); otherwise it will be
2689 * sizeof(char *).
2690 */
2691#define PTRSIZE 8 /**/
2692
2693/* Drand01:
2694 * This macro is to be used to generate uniformly distributed
2695 * random numbers over the range [0., 1.[. You may have to supply
2696 * an 'extern double drand48();' in your program since SunOS 4.1.3
2697 * doesn't provide you with anything relevant in it's headers.
2698 * See HAS_DRAND48_PROTO.
2699 */
2700/* Rand_seed_t:
2701 * This symbol defines the type of the argument of the
2702 * random seed function.
2703 */
2704/* seedDrand01:
2705 * This symbol defines the macro to be used in seeding the
2706 * random number generator (see Drand01).
2707 */
2708/* RANDBITS:
2709 * This symbol indicates how many bits are produced by the
2710 * function used to generate normalized random numbers.
2711 * Values include 15, 16, 31, and 48.
2712 */
2713#define Drand01() drand48() /**/
2714#define Rand_seed_t long /**/
2715#define seedDrand01(x) srand48((Rand_seed_t)x) /**/
2716#define RANDBITS 48 /**/
327c3667 2717
327c3667
GS
2718/* SELECT_MIN_BITS:
2719 * This symbol holds the minimum number of bits operated by select.
2720 * That is, if you do select(n, ...), how many bits at least will be
2721 * cleared in the masks if some activity is detected. Usually this
2722 * is either n or 32*ceil(n/32), especially many little-endians do
2723 * the latter. This is only useful if you have select(), naturally.
2724 */
ff935051
JH
2725#define SELECT_MIN_BITS 32 /**/
2726
2727/* Select_fd_set_t:
2728 * This symbol holds the type used for the 2nd, 3rd, and 4th
2729 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
2730 * is defined, and 'int *' otherwise. This is only useful if you
2731 * have select(), of course.
2732 */
2733#define Select_fd_set_t fd_set * /**/
2734
2735/* SIG_NAME:
2736 * This symbol contains a list of signal names in order of
2737 * signal number. This is intended
2738 * to be used as a static array initialization, like this:
2739 * char *sig_name[] = { SIG_NAME };
2740 * The signals in the list are separated with commas, and each signal
2741 * is surrounded by double quotes. There is no leading SIG in the signal
2742 * name, i.e. SIGQUIT is known as "QUIT".
2743 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
2744 * etc., where nn is the actual signal number (e.g. NUM37).
2745 * The signal number for sig_name[i] is stored in sig_num[i].
2746 * The last element is 0 to terminate the list with a NULL. This
2747 * corresponds to the 0 at the end of the sig_num list.
2748 */
2749/* SIG_NUM:
2750 * This symbol contains a list of signal numbers, in the same order as the
2751 * SIG_NAME list. It is suitable for static array initialization, as in:
2752 * int sig_num[] = { SIG_NUM };
2753 * The signals in the list are separated with commas, and the indices
2754 * within that list and the SIG_NAME list match, so it's easy to compute
2755 * the signal name from a number or vice versa at the price of a small
2756 * dynamic linear lookup.
2757 * Duplicates are allowed, but are moved to the end of the list.
2758 * The signal number corresponding to sig_name[i] is sig_number[i].
2759 * if (i < NSIG) then sig_number[i] == i.
2760 * The last element is 0, corresponding to the 0 at the end of
2761 * the sig_name list.
2762 */
2763#define SIG_NAME "ZERO", "HUP", "INT", "QUIT", "ILL", "TRAP", "ABRT", "EMT", "FPE", "KILL", "BUS", "SEGV", "SYS", "PIPE", "ALRM", "TERM", "IOINT", "STOP", "TSTP", "CONT", "CHLD", "TTIN", "TTOU", "AIO", "XCPU", "XFSZ", "VTALRM", "PROF", "WINCH", "INFO", "USR1", "USR2", "RESV", "RTMIN", "NUM34", "NUM35", "NUM36", "NUM37", "NUM38", "NUM39", "NUM40", "NUM41", "NUM42", "NUM43", "NUM44", "NUM45", "NUM46", "NUM47", "MAX", "IOT", "LOST", "URG", "CLD", "IO", "POLL", "PTY", "PWR", "RTMAX", 0 /**/
2764#define SIG_NUM 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 6, 6, 16, 20, 23, 23, 23, 29, 48, 0 /**/
2765
2766/* SITEARCH:
2767 * This symbol contains the name of the private library for this package.
2768 * The library is private in the sense that it needn't be in anyone's
2769 * execution path, but it should be accessible by the world. The program
2770 * should be prepared to do ~ expansion.
2771 * The standard distribution will put nothing in this directory.
2772 * After perl has been installed, users may install their own local
2773 * architecture-dependent modules in this directory with
2774 * MakeMaker Makefile.PL
2775 * or equivalent. See INSTALL for details.
2776 */
2777/* SITEARCH_EXP:
2778 * This symbol contains the ~name expanded version of SITEARCH, to be used
2779 * in programs that are not prepared to deal with ~ expansion at run-time.
2780 */
65f19062
GS
2781#define SITEARCH "/opt/perl/lib/site_perl/5.6.0/alpha-dec_osf-thread-multi" /**/
2782#define SITEARCH_EXP "/opt/perl/lib/site_perl/5.6.0/alpha-dec_osf-thread-multi" /**/
ff935051
JH
2783
2784/* SITELIB:
2785 * This symbol contains the name of the private library for this package.
2786 * The library is private in the sense that it needn't be in anyone's
2787 * execution path, but it should be accessible by the world. The program
2788 * should be prepared to do ~ expansion.
2789 * The standard distribution will put nothing in this directory.
2790 * After perl has been installed, users may install their own local
2791 * architecture-independent modules in this directory with
2792 * MakeMaker Makefile.PL
2793 * or equivalent. See INSTALL for details.
2794 */
2795/* SITELIB_EXP:
2796 * This symbol contains the ~name expanded version of SITELIB, to be used
2797 * in programs that are not prepared to deal with ~ expansion at run-time.
2798 */
65f19062
GS
2799/* SITELIB_STEM:
2800 * This define is SITELIB_EXP with any trailing version-specific component
2801 * removed. The elements in inc_version_list (inc_version_list.U) can
2802 * be tacked onto this variable to generate a list of directories to search.
2803 */
2804#define SITELIB "/opt/perl/lib/site_perl/5.6.0" /**/
2805#define SITELIB_EXP "/opt/perl/lib/site_perl/5.6.0" /**/
2806#define SITELIB_STEM "/opt/perl/lib/site_perl" /**/
ff935051
JH
2807
2808/* Size_t:
2809 * This symbol holds the type used to declare length parameters
2810 * for string functions. It is usually size_t, but may be
2811 * unsigned long, int, etc. It may be necessary to include
2812 * <sys/types.h> to get any typedef'ed information.
2813 */
2814#define Size_t size_t /* length paramater for string functions */
2815
2816/* SSize_t:
2817 * This symbol holds the type used by functions that return
2818 * a count of bytes or an error condition. It must be a signed type.
2819 * It is usually ssize_t, but may be long or int, etc.
2820 * It may be necessary to include <sys/types.h> or <unistd.h>
2821 * to get any typedef'ed information.
2822 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
2823 */
2824#define SSize_t ssize_t /* signed count of bytes */
bfb7748a 2825
fbfd4aab 2826/* STARTPERL:
2827 * This variable contains the string to put in front of a perl
2828 * script to make sure (one hopes) that it runs with perl and not
2829 * some shell.
2830 */
0617aed7 2831#define STARTPERL "#!/opt/perl/bin/perl" /**/
327c3667 2832
a71cd7cd
JH
2833/* HAS_STDIO_STREAM_ARRAY:
2834 * This symbol, if defined, tells that there is an array
2835 * holding the stdio streams.
2836 */
2837/* STDIO_STREAM_ARRAY:
2838 * This symbol tells the name of the array holding the stdio streams.
2839 * Usual values include _iob, __iob, and __sF.
2840 */
ff935051
JH
2841#define HAS_STDIO_STREAM_ARRAY /**/
2842#define STDIO_STREAM_ARRAY _iob
8c09e4ca 2843
ff935051
JH
2844/* Uid_t_f:
2845 * This symbol defines the format string used for printing a Uid_t.
2846 */
2847#define Uid_t_f "u" /**/
2848
2849/* Uid_t_size:
2850 * This symbol holds the size of a Uid_t in bytes.
2851 */
2852#define Uid_t_size 4 /* UID size */
2853
2854/* Uid_t:
2855 * This symbol holds the type used to declare user ids in the kernel.
2856 * It can be int, ushort, uid_t, etc... It may be necessary to include
2857 * <sys/types.h> to get any typedef'ed information.
8c09e4ca 2858 */
ff935051 2859#define Uid_t uid_t /* UID type */
a71cd7cd 2860
10cc9d2a 2861/* USE_64_BIT_INT:
aaacdc8b
GS
2862 * This symbol, if defined, indicates that 64-bit integers should
2863 * be used when available. If not defined, the native integers
c890dc6c
JH
2864 * will be employed (be they 32 or 64 bits). The minimal possible
2865 * 64-bitness is used, just enough to get 64-bit integers into Perl.
2866 * This may mean using for example "long longs", while your memory
2867 * may still be limited to 2 gigabytes.
327c3667 2868 */
10cc9d2a
JH
2869/* USE_64_BIT_ALL:
2870 * This symbol, if defined, indicates that 64-bit integers should
2871 * be used when available. If not defined, the native integers
2872 * will be used (be they 32 or 64 bits). The maximal possible
2873 * 64-bitness is employed: LP64 or ILP64, meaning that you will
2874 * be able to use more than 2 gigabytes of memory. This mode is
2875 * even more binary incompatible than USE_64_BIT_INT. You may not
2876 * be able to run the resulting executable in a 32-bit CPU at all or
2877 * you may need at least to reboot your OS to 64-bit mode.
2878 */
2879#ifndef USE_64_BIT_INT
2880#define USE_64_BIT_INT /**/
0befd8de 2881#endif
4633a7c4 2882
10cc9d2a
JH
2883#ifndef USE_64_BIT_ALL
2884#define USE_64_BIT_ALL /**/
c890dc6c
JH
2885#endif
2886
1baac590
JH
2887/* USE_LARGE_FILES:
2888 * This symbol, if defined, indicates that large file support
c890dc6c 2889 * should be used when available.
1baac590 2890 */
0befd8de 2891#ifndef USE_LARGE_FILES
aaacdc8b 2892#define USE_LARGE_FILES /**/
0befd8de 2893#endif
1baac590 2894
ca24dfc6
LV
2895/* USE_LONG_DOUBLE:
2896 * This symbol, if defined, indicates that long doubles should
2897 * be used when available.
2898 */
0befd8de 2899#ifndef USE_LONG_DOUBLE
ca24dfc6 2900/*#define USE_LONG_DOUBLE / **/
0befd8de
JH
2901#endif
2902
78691af5
JH
2903/* USE_MORE_BITS:
2904 * This symbol, if defined, indicates that 64-bit interfaces and
2905 * long doubles should be used when available.
2906 */
0befd8de
JH
2907#ifndef USE_MORE_BITS
2908/*#define USE_MORE_BITS / **/
2909#endif
ca24dfc6 2910
ff49bff8
JH
2911/* MULTIPLICITY:
2912 * This symbol, if defined, indicates that Perl should
2913 * be built to use multiplicity.
2914 */
fe749a9f 2915#ifndef MULTIPLICITY
ff935051 2916#define MULTIPLICITY /**/
0befd8de 2917#endif
ff49bff8 2918
9003a523 2919/* USE_PERLIO:
2920 * This symbol, if defined, indicates that the PerlIO abstraction should
2921 * be used throughout. If not defined, stdio should be
2922 * used in a fully backward compatible manner.
ce4a058e 2923 */
0befd8de 2924#ifndef USE_PERLIO
20e68413 2925/*#define USE_PERLIO / **/
0befd8de 2926#endif
ce4a058e 2927
29209bc5
JH
2928/* USE_SOCKS:
2929 * This symbol, if defined, indicates that Perl should
2930 * be built to use socks.
2931 */
0befd8de 2932#ifndef USE_SOCKS
11dc3f68 2933/*#define USE_SOCKS / **/
0befd8de 2934#endif
29209bc5 2935
aaacdc8b
GS
2936/* USE_ITHREADS:
2937 * This symbol, if defined, indicates that Perl should be built to
2938 * use the interpreter-based threading implementation.
2939 */
2940/* USE_5005THREADS:
2941 * This symbol, if defined, indicates that Perl should be built to
2942 * use the 5.005-based threading implementation.
dfe9444c 2943 */
693762b4
AD
2944/* OLD_PTHREADS_API:
2945 * This symbol, if defined, indicates that Perl should
2946 * be built to use the old draft POSIX threads API.
2947 */
aaacdc8b
GS
2948/*#define USE_5005THREADS / **/
2949#define USE_ITHREADS /**/
2950#if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
2951#define USE_THREADS /* until src is revised*/
0befd8de 2952#endif
11dc3f68 2953/*#define OLD_PTHREADS_API / **/
16d20bd9 2954
65f19062
GS
2955/* PERL_VENDORARCH_EXP:
2956 * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used
2957 * in programs that are not prepared to deal with ~ expansion at run-time.
2958 */
2959/*#define PERL_VENDORARCH_EXP "" / **/
2960
ff935051
JH
2961/* PERL_VENDORLIB_EXP:
2962 * This symbol contains the ~name expanded version of VENDORLIB, to be used
2963 * in programs that are not prepared to deal with ~ expansion at run-time.
887d2938 2964 */
65f19062
GS
2965/* PERL_VENDORLIB_STEM:
2966 * This define is PERL_VENDORLIB_EXP with any trailing version-specific component
2967 * removed. The elements in inc_version_list (inc_version_list.U) can
2968 * be tacked onto this variable to generate a list of directories to search.
2969 */
ff935051 2970/*#define PERL_VENDORLIB_EXP "" / **/
65f19062 2971/*#define PERL_VENDORLIB_STEM "" / **/
887d2938 2972
ff935051
JH
2973/* VOIDFLAGS:
2974 * This symbol indicates how much support of the void type is given by this
2975 * compiler. What various bits mean:
2976 *
2977 * 1 = supports declaration of void
2978 * 2 = supports arrays of pointers to functions returning void
2979 * 4 = supports comparisons between pointers to void functions and
2980 * addresses of void functions
2981 * 8 = suports declaration of generic void pointers
2982 *
2983 * The package designer should define VOIDUSED to indicate the requirements
2984 * of the package. This can be done either by #defining VOIDUSED before
2985 * including config.h, or by defining defvoidused in Myinit.U. If the
2986 * latter approach is taken, only those flags will be tested. If the
2987 * level of void support necessary is not present, defines void to int.
dc45a647 2988 */
ff935051
JH
2989#ifndef VOIDUSED
2990#define VOIDUSED 15
2991#endif
2992#define VOIDFLAGS 15
2993#if (VOIDFLAGS & VOIDUSED) != VOIDUSED
2994#define void int /* is void to be avoided? */
2995#define M_VOID /* Xenix strikes again */
2996#endif
dc45a647 2997
fe749a9f
JH
2998/* PERL_XS_APIVERSION:
2999 * This variable contains the version of the oldest perl binary
3000 * compatible with the present perl. perl.c:incpush() and
65f19062 3001 * lib/lib.pm will automatically search in /opt/perl/lib/site_perl/5.6.0/alpha-dec_osf-thread-multi for older
fe749a9f
JH
3002 * directories across major versions back to xs_apiversion.
3003 * This is only useful if you have a perl library directory tree
3004 * structured like the default one.
3005 * See INSTALL for how this works.
3006 * The versioned site_perl directory was introduced in 5.005,
3007 * so that is the lowest possible value.
3008 * Since this can depend on compile time options (such as
3009 * bincompat) it is set by Configure. Other non-default sources
3010 * of potential incompatibility, such as multiplicity, threads,
3011 * debugging, 64bits, sfio, etc., are not checked for currently,
3012 * though in principle we could go snooping around in old
3013 * Config.pm files.
3014 */
3015/* PERL_PM_APIVERSION:
3016 * This variable contains the version of the oldest perl
3017 * compatible with the present perl. (That is, pure perl modules
3018 * written for pm_apiversion will still work for the current
3019 * version). perl.c:incpush() and lib/lib.pm will automatically
65f19062 3020 * search in /opt/perl/lib/site_perl/5.6.0 for older directories across major versions
fe749a9f
JH
3021 * back to pm_apiversion. This is only useful if you have a perl
3022 * library directory tree structured like the default one. The
3023 * versioned site_perl library was introduced in 5.005, so that's
3024 * the default setting for this variable. It's hard to imagine
3025 * it changing before Perl6. It is included here for symmetry
3026 * with xs_apiveprsion -- the searching algorithms will
3027 * (presumably) be similar.
3028 * See the INSTALL file for how this works.
3029 */
65f19062 3030#define PERL_XS_APIVERSION "5.6.0"
fe749a9f
JH
3031#define PERL_PM_APIVERSION "5.005"
3032
c890dc6c
JH
3033/* HAS_GETFSSTAT:
3034 * This symbol, if defined, indicates that the getfsstat routine is
3035 * available to stat filesystems in bulk.
3036 */
3037#define HAS_GETFSSTAT /**/
3038
792d8dab
JH
3039/* I_IEEEFP:
3040 * This symbol, if defined, indicates that <ieeefp.h> exists and
3041 * should be included.
3042 */
3043/*#define I_IEEEFP / **/
3044
c890dc6c
JH
3045/* HAS_LSEEK_PROTO:
3046 * This symbol, if defined, indicates that the system provides
3047 * a prototype for the lseek() function. Otherwise, it is up
3048 * to the program to supply one. A good guess is
3049 * extern off_t lseek(int, off_t, int);
3050 */
3051#define HAS_LSEEK_PROTO /**/
3052
3053/* Sock_size_t:
10cc9d2a
JH
3054 * This symbol holds the type used for the size argument of
3055 * various socket calls (just the base type, not the pointer-to).
c890dc6c 3056 */
10cc9d2a 3057#define Sock_size_t int /**/
c890dc6c 3058
fe14fcc3 3059#endif