This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Use Pid_t.
[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
JH
19 * Source directory : .
20 * Configuration time: Mon Aug 2 01:32:52 EET DST 1999
921b2963 21 * Configured by : jhi
11dc3f68 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 */
327c3667 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 */
921b2963 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
ff49bff8
JH
365/* HAS_MSYNC:
366 * This symbol, if defined, indicates that the msync system call is
367 * available to synchronize a mapped file.
368 */
11dc3f68 369#define HAS_MSYNC /**/
ff49bff8
JH
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 */
11dc3f68 375#define HAS_MUNMAP /**/
ff49bff8 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 /**/
921b2963 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 /**/
20e68413 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 /**/
20e68413 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 */
921b2963 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 */
921b2963 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 /**/
921b2963 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 */
799#define I_NDBM /**/
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 */
327c3667
GS
997#define STDCHAR unsigned char /**/
998
999/* HAS_ACCESSX:
1000 * This symbol, if defined, indicates that the accessx routine is
1001 * available to do extended access checks.
1002 */
11dc3f68 1003/*#define HAS_ACCESSX / **/
327c3667
GS
1004
1005/* HAS_EACCESS:
1006 * This symbol, if defined, indicates that the eaccess routine is
1007 * available to do extended access checks.
1008 */
11dc3f68 1009/*#define HAS_EACCESS / **/
327c3667
GS
1010
1011/* I_SYS_ACCESS:
1012 * This symbol, if defined, indicates to the C program that it should
921b2963 1013 * include <sys/access.h>.
327c3667 1014 */
11dc3f68 1015#define I_SYS_ACCESS /**/
327c3667
GS
1016
1017/* I_SYS_SECURITY:
1018 * This symbol, if defined, indicates to the C program that it should
1019 * include <sys/security.h>.
1020 */
11dc3f68 1021#define I_SYS_SECURITY /**/
85e6fe83 1022
af4c28eb
CS
1023/* CROSSCOMPILE:
1024 * This symbol, if defined, signifies that we our
1025 * build process is a cross-compilation.
1026 */
11dc3f68 1027/*#define CROSSCOMPILE / **/
af4c28eb
CS
1028
1029/* INTSIZE:
1030 * This symbol contains the value of sizeof(int) so that the C
1031 * preprocessor can make decisions based on it.
1032 */
1033/* LONGSIZE:
1034 * This symbol contains the value of sizeof(long) so that the C
1035 * preprocessor can make decisions based on it.
1036 */
1037/* SHORTSIZE:
1038 * This symbol contains the value of sizeof(short) so that the C
1039 * preprocessor can make decisions based on it.
1040 */
1041#define INTSIZE 4 /**/
1042#define LONGSIZE 8 /**/
1043#define SHORTSIZE 2 /**/
1044
1045/* MULTIARCH:
1046 * This symbol, if defined, signifies that the build
1047 * process will produce some binary files that are going to be
1048 * used in a cross-platform environment. This is the case for
1049 * example with the NeXT "fat" binaries that contain executables
1050 * for several CPUs.
1051 */
11dc3f68 1052/*#define MULTIARCH / **/
af4c28eb 1053
dfe9444c 1054/* MEM_ALIGNBYTES:
af4c28eb
CS
1055 * This symbol contains the number of bytes required to align a
1056 * double. Usual values are 2, 4 and 8. The default is eight,
1057 * for safety.
5f05dabc 1058 */
af4c28eb
CS
1059#if defined(CROSSCOMPILE) || defined(MULTIARCH)
1060# define MEM_ALIGNBYTES 8
1061#else
1062#define MEM_ALIGNBYTES 8
1063#endif
5f05dabc 1064
4633a7c4 1065/* BYTEORDER:
9003a523 1066 * This symbol holds the hexadecimal constant defined in byteorder,
4633a7c4 1067 * i.e. 0x1234 or 0x4321, etc...
af4c28eb
CS
1068 * If the compiler supports cross-compiling or multiple-architecture
1069 * binaries (eg. on NeXT systems), use compiler-defined macros to
1070 * determine the byte order.
dfe9444c 1071 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
9003a523 1072 * Binaries (MAB) on either big endian or little endian machines.
1073 * The endian-ness is available at compile-time. This only matters
1074 * for perl, where the config.h can be generated and installed on
1075 * one system, and used by a different architecture to build an
1076 * extension. Older versions of NeXT that might not have
1077 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1078 * so the default case (for NeXT) is big endian to catch them.
1079 * This might matter for NeXT 3.0.
1080 */
af4c28eb
CS
1081#if defined(CROSSCOMPILE) || defined(MULTIARCH)
1082# ifdef __LITTLE_ENDIAN__
1083# if LONGSIZE == 4
1084# define BYTEORDER 0x1234
1085# else
1086# if LONGSIZE == 8
1087# define BYTEORDER 0x12345678
1088# endif
1089# endif
1090# else
1091# ifdef __BIG_ENDIAN__
1092# if LONGSIZE == 4
1093# define BYTEORDER 0x4321
1094# else
1095# if LONGSIZE == 8
1096# define BYTEORDER 0x87654321
1097# endif
1098# endif
1099# endif
1100# endif
1101# if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__))
1102# define BYTEORDER 0x4321
1103# endif
1104#else
921b2963 1105#define BYTEORDER 0x12345678 /* large digits for MSB */
9003a523 1106#endif /* NeXT */
4633a7c4 1107
dfe9444c
AD
1108/* CASTI32:
1109 * This symbol is defined if the C compiler can cast negative
1110 * or large floating point numbers to 32-bit ints.
1aef975c 1111 */
11dc3f68 1112/*#define CASTI32 / **/
1aef975c 1113
dfe9444c
AD
1114/* CASTNEGFLOAT:
1115 * This symbol is defined if the C compiler can cast negative
1116 * numbers to unsigned longs, ints and shorts.
85e6fe83 1117 */
dfe9444c
AD
1118/* CASTFLAGS:
1119 * This symbol contains flags that say what difficulties the compiler
1120 * has casting odd floating values to unsigned long:
1121 * 0 = ok
1122 * 1 = couldn't cast < 0
1123 * 2 = couldn't cast >= 0x80000000
1124 * 4 = couldn't cast in argument expression list
fbfd4aab 1125 */
e5c9fcd0
AD
1126#define CASTNEGFLOAT /**/
1127#define CASTFLAGS 0 /**/
dfe9444c
AD
1128
1129/* VOID_CLOSEDIR:
1130 * This symbol, if defined, indicates that the closedir() routine
1131 * does not return a value.
fbfd4aab 1132 */
dfe9444c 1133/*#define VOID_CLOSEDIR / **/
fbfd4aab 1134
921b2963
JH
1135/* HAS_FD_SET:
1136 * This symbol, when defined, indicates presence of the fd_set typedef
1137 * in <sys/types.h>
1138 */
1139#define HAS_FD_SET /**/
1140
4633a7c4
LW
1141/* Gconvert:
1142 * This preprocessor macro is defined to convert a floating point
1143 * number to a string without a trailing decimal point. This
1144 * emulates the behavior of sprintf("%g"), but is sometimes much more
1145 * efficient. If gconvert() is not available, but gcvt() drops the
1146 * trailing decimal point, then gcvt() is used. If all else fails,
1147 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1148 * macro are: value, number of digits, whether trailing zeros should
1149 * be retained, and the output buffer.
1150 * Possible values are:
1151 * d_Gconvert='gconvert((x),(n),(t),(b))'
1152 * d_Gconvert='gcvt((x),(n),(b))'
1153 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1154 * The last two assume trailing zeros should not be kept.
1155 */
921b2963 1156#define Gconvert(x,n,t,b) gcvt((x),(n),(b))
4633a7c4 1157
dfe9444c 1158/* HAS_GNULIBC:
d103522a 1159 * This symbol, if defined, indicates to the C program that
dfe9444c 1160 * the GNU C library is being used.
d103522a 1161 */
327c3667 1162/*#define HAS_GNULIBC / **/
dfe9444c
AD
1163/* HAS_ISASCII:
1164 * This manifest constant lets the C program know that isascii
1165 * is available.
d103522a 1166 */
dfe9444c 1167#define HAS_ISASCII /**/
d103522a 1168
dd64f1c3
AD
1169/* HAS_LCHOWN:
1170 * This symbol, if defined, indicates that the lchown routine is
1171 * available to operate on a symbolic link (instead of following the
1172 * link).
1173 */
11dc3f68 1174#define HAS_LCHOWN /**/
dd64f1c3 1175
dfe9444c
AD
1176/* HAS_OPEN3:
1177 * This manifest constant lets the C program know that the three
1178 * argument form of open(2) is available.
774d564b 1179 */
dfe9444c 1180#define HAS_OPEN3 /**/
774d564b 1181
dfe9444c
AD
1182/* HAS_SAFE_BCOPY:
1183 * This symbol, if defined, indicates that the bcopy routine is available
1184 * to copy potentially overlapping memory blocks. Otherwise you should
1185 * probably use memmove() or memcpy(). If neither is defined, roll your
1186 * own version.
d103522a 1187 */
dfe9444c 1188#define HAS_SAFE_BCOPY /**/
d103522a 1189
dfe9444c
AD
1190/* HAS_SAFE_MEMCPY:
1191 * This symbol, if defined, indicates that the memcpy routine is available
1192 * to copy potentially overlapping memory blocks. Otherwise you should
1193 * probably use memmove() or memcpy(). If neither is defined, roll your
1194 * own version.
d103522a 1195 */
11dc3f68 1196/*#define HAS_SAFE_MEMCPY / **/
dfe9444c
AD
1197
1198/* HAS_SANE_MEMCMP:
1199 * This symbol, if defined, indicates that the memcmp routine is available
1200 * and can be used to compare relative magnitudes of chars with their high
1201 * bits set. If it is not defined, roll your own version.
d103522a 1202 */
dfe9444c 1203#define HAS_SANE_MEMCMP /**/
d103522a 1204
dfe9444c
AD
1205/* HAS_SIGACTION:
1206 * This symbol, if defined, indicates that Vr4's sigaction() routine
1207 * is available.
9003a523 1208 */
dfe9444c 1209#define HAS_SIGACTION /**/
9003a523 1210
921b2963
JH
1211/* HAS_SIGSETJMP:
1212 * This variable indicates to the C program that the sigsetjmp()
1213 * routine is available to save the calling process's registers
1214 * and stack environment for later use by siglongjmp(), and
1215 * to optionally save the process's signal mask. See
1216 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
1217 */
36d1a04a 1218/* Sigjmp_buf:
9003a523 1219 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
36d1a04a 1220 */
1221/* Sigsetjmp:
9003a523 1222 * This macro is used in the same way as sigsetjmp(), but will invoke
1223 * traditional setjmp() if sigsetjmp isn't available.
1224 * See HAS_SIGSETJMP.
36d1a04a 1225 */
1226/* Siglongjmp:
9003a523 1227 * This macro is used in the same way as siglongjmp(), but will invoke
1228 * traditional longjmp() if siglongjmp isn't available.
1229 * See HAS_SIGSETJMP.
36d1a04a 1230 */
1231#define HAS_SIGSETJMP /**/
1232#ifdef HAS_SIGSETJMP
1233#define Sigjmp_buf sigjmp_buf
9003a523 1234#define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1235#define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
36d1a04a 1236#else
1237#define Sigjmp_buf jmp_buf
9003a523 1238#define Sigsetjmp(buf,save_mask) setjmp((buf))
1239#define Siglongjmp(buf,retval) longjmp((buf),(retval))
36d1a04a 1240#endif
1241
dfe9444c
AD
1242/* USE_STDIO_PTR:
1243 * This symbol is defined if the _ptr and _cnt fields (or similar)
1244 * of the stdio FILE structure can be used to access the stdio buffer
1245 * for a file handle. If this is defined, then the FILE_ptr(fp)
1246 * and FILE_cnt(fp) macros will also be defined and should be used
1247 * to access these fields.
85e6fe83 1248 */
dfe9444c
AD
1249/* FILE_ptr:
1250 * This macro is used to access the _ptr field (or equivalent) of the
1251 * FILE structure pointed to by its argument. This macro will always be
1252 * defined if USE_STDIO_PTR is defined.
1253 */
1254/* STDIO_PTR_LVALUE:
1255 * This symbol is defined if the FILE_ptr macro can be used as an
1256 * lvalue.
1257 */
1258/* FILE_cnt:
1259 * This macro is used to access the _cnt field (or equivalent) of the
1260 * FILE structure pointed to by its argument. This macro will always be
1261 * defined if USE_STDIO_PTR is defined.
1262 */
1263/* STDIO_CNT_LVALUE:
1264 * This symbol is defined if the FILE_cnt macro can be used as an
1265 * lvalue.
1266 */
1267#define USE_STDIO_PTR /**/
1268#ifdef USE_STDIO_PTR
327c3667 1269#define FILE_ptr(fp) ((fp)->_ptr)
dfe9444c 1270#define STDIO_PTR_LVALUE /**/
327c3667
GS
1271#define FILE_cnt(fp) ((fp)->_cnt)
1272#define STDIO_CNT_LVALUE /**/
dfe9444c 1273#endif
4633a7c4 1274
dfe9444c
AD
1275/* USE_STDIO_BASE:
1276 * This symbol is defined if the _base field (or similar) of the
1277 * stdio FILE structure can be used to access the stdio buffer for
1278 * a file handle. If this is defined, then the FILE_base(fp) macro
1279 * will also be defined and should be used to access this field.
1280 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
1281 * to determine the number of bytes in the buffer. USE_STDIO_BASE
1282 * will never be defined unless USE_STDIO_PTR is.
4633a7c4 1283 */
dfe9444c
AD
1284/* FILE_base:
1285 * This macro is used to access the _base field (or equivalent) of the
1286 * FILE structure pointed to by its argument. This macro will always be
1287 * defined if USE_STDIO_BASE is defined.
1288 */
1289/* FILE_bufsiz:
1290 * This macro is used to determine the number of bytes in the I/O
1291 * buffer pointed to by _base field (or equivalent) of the FILE
1292 * structure pointed to its argument. This macro will always be defined
1293 * if USE_STDIO_BASE is defined.
4633a7c4 1294 */
dfe9444c
AD
1295#define USE_STDIO_BASE /**/
1296#ifdef USE_STDIO_BASE
327c3667
GS
1297#define FILE_base(fp) ((fp)->_base)
1298#define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base)
dfe9444c 1299#endif
4633a7c4 1300
dfe9444c
AD
1301/* HAS_VPRINTF:
1302 * This symbol, if defined, indicates that the vprintf routine is available
1303 * to printf with a pointer to an argument list. If unavailable, you
1304 * may need to write your own, probably in terms of _doprnt().
4633a7c4 1305 */
dfe9444c
AD
1306/* USE_CHAR_VSPRINTF:
1307 * This symbol is defined if this system has vsprintf() returning type
1308 * (char*). The trend seems to be to declare it as "int vsprintf()". It
1309 * is up to the package author to declare vsprintf correctly based on the
1310 * symbol.
1311 */
1312#define HAS_VPRINTF /**/
1313/*#define USE_CHAR_VSPRINTF / **/
85e6fe83 1314
693762b4
AD
1315/* DOUBLESIZE:
1316 * This symbol contains the size of a double, so that the C preprocessor
1317 * can make decisions based on it.
1318 */
11dc3f68 1319#define DOUBLESIZE 8 /**/
693762b4 1320
dfe9444c 1321/* I_TIME:
9003a523 1322 * This symbol, if defined, indicates to the C program that it should
dfe9444c 1323 * include <time.h>.
9003a523 1324 */
dfe9444c 1325/* I_SYS_TIME:
1aef975c 1326 * This symbol, if defined, indicates to the C program that it should
dfe9444c 1327 * include <sys/time.h>.
1aef975c 1328 */
dfe9444c 1329/* I_SYS_TIME_KERNEL:
fbfd4aab 1330 * This symbol, if defined, indicates to the C program that it should
dfe9444c 1331 * include <sys/time.h> with KERNEL defined.
fbfd4aab 1332 */
dfe9444c
AD
1333/*#define I_TIME / **/
1334#define I_SYS_TIME /**/
1335/*#define I_SYS_TIME_KERNEL / **/
4633a7c4 1336
dfe9444c
AD
1337/* VAL_O_NONBLOCK:
1338 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
1339 * non-blocking I/O for the file descriptor. Note that there is no way
1340 * back, i.e. you cannot turn it blocking again this way. If you wish to
1341 * alternatively switch between blocking and non-blocking, use the
1342 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
1343 */
1344/* VAL_EAGAIN:
1345 * This symbol holds the errno error code set by read() when no data was
1346 * present on the non-blocking file descriptor.
1347 */
1348/* RD_NODATA:
1349 * This symbol holds the return code from read() when no data is present
1350 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
1351 * not defined, then you can't distinguish between no data and EOF by
1352 * issuing a read(). You'll have to find another way to tell for sure!
1353 */
1354/* EOF_NONBLOCK:
1355 * This symbol, if defined, indicates to the C program that a read() on
1356 * a non-blocking file descriptor will return 0 on EOF, and not the value
1357 * held in RD_NODATA (-1 usually, in that case!).
1358 */
1359#define VAL_O_NONBLOCK O_NONBLOCK
1360#define VAL_EAGAIN EAGAIN
1361#define RD_NODATA -1
1362#define EOF_NONBLOCK
1363
693762b4
AD
1364/* PTRSIZE:
1365 * This symbol contains the size of a pointer, so that the C preprocessor
1366 * can make decisions based on it. It will be sizeof(void *) if
1367 * the compiler supports (void *); otherwise it will be
1368 * sizeof(char *).
1369 */
11dc3f68 1370#define PTRSIZE 8 /**/
693762b4 1371
921b2963
JH
1372/* Drand01:
1373 * This macro is to be used to generate uniformly distributed
1374 * random numbers over the range [0., 1.[. You may have to supply
1375 * an 'extern double drand48();' in your program since SunOS 4.1.3
1376 * doesn't provide you with anything relevant in it's headers.
1377 * See HAS_DRAND48_PROTO.
1378 */
1379/* Rand_seed_t:
1380 * This symbol defines the type of the argument of the
1381 * random seed function.
1382 */
1383/* seedDrand01:
1384 * This symbol defines the macro to be used in seeding the
1385 * random number generator (see Drand01).
1386 */
dfe9444c 1387/* RANDBITS:
921b2963
JH
1388 * This symbol indicates how many bits are produced by the
1389 * function used to generate normalized random numbers.
1390 * Values include 15, 16, 31, and 48.
dfe9444c 1391 */
11dc3f68
JH
1392#define Drand01() drand48() /**/
1393#define Rand_seed_t long /**/
1394#define seedDrand01(x) srand48((Rand_seed_t)x) /**/
1395#define RANDBITS 48 /**/
dfe9444c
AD
1396
1397/* SSize_t:
1398 * This symbol holds the type used by functions that return
1399 * a count of bytes or an error condition. It must be a signed type.
1400 * It is usually ssize_t, but may be long or int, etc.
1401 * It may be necessary to include <sys/types.h> or <unistd.h>
1402 * to get any typedef'ed information.
1403 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
85e6fe83 1404 */
dfe9444c 1405#define SSize_t ssize_t /* signed count of bytes */
85e6fe83 1406
327c3667
GS
1407/* EBCDIC:
1408 * This symbol, if defined, indicates that this system uses
1409 * EBCDIC encoding.
1410 */
11dc3f68 1411/*#define EBCDIC / **/
327c3667 1412
71c4afb4
JH
1413/* ARCHLIB:
1414 * This variable, if defined, holds the name of the directory in
1415 * which the user wants to put architecture-dependent public
1416 * library files for perl5. It is most often a local directory
1417 * such as /usr/local/lib. Programs using this variable must be
1418 * prepared to deal with filename expansion. If ARCHLIB is the
1419 * same as PRIVLIB, it is not defined, since presumably the
1420 * program already searches PRIVLIB.
1421 */
1422/* ARCHLIB_EXP:
1423 * This symbol contains the ~name expanded version of ARCHLIB, to be used
1424 * in programs that are not prepared to deal with ~ expansion at run-time.
1425 */
11dc3f68
JH
1426#define ARCHLIB "/opt/perl/lib/5.00558/alpha-dec_osf-thread" /**/
1427#define ARCHLIB_EXP "/opt/perl/lib/5.00558/alpha-dec_osf-thread" /**/
71c4afb4
JH
1428
1429/* BIN:
1430 * This symbol holds the path of the bin directory where the package will
1431 * be installed. Program must be prepared to deal with ~name substitution.
1432 */
1433/* BIN_EXP:
1434 * This symbol is the filename expanded version of the BIN symbol, for
1435 * programs that do not want to deal with that at run-time.
1436 */
11dc3f68
JH
1437#define BIN "/opt/perl/bin" /**/
1438#define BIN_EXP "/opt/perl/bin" /**/
71c4afb4
JH
1439
1440/* INSTALL_USR_BIN_PERL:
1441 * This symbol, if defined, indicates that Perl is to be installed
1442 * also as /usr/bin/perl.
1443 */
11dc3f68 1444#define INSTALL_USR_BIN_PERL /**/
71c4afb4
JH
1445
1446/* PRIVLIB:
1447 * This symbol contains the name of the private library for this package.
1448 * The library is private in the sense that it needn't be in anyone's
1449 * execution path, but it should be accessible by the world. The program
1450 * should be prepared to do ~ expansion.
1451 */
1452/* PRIVLIB_EXP:
1453 * This symbol contains the ~name expanded version of PRIVLIB, to be used
1454 * in programs that are not prepared to deal with ~ expansion at run-time.
1455 */
11dc3f68
JH
1456#define PRIVLIB "/opt/perl/lib/5.00558" /**/
1457#define PRIVLIB_EXP "/opt/perl/lib/5.00558" /**/
71c4afb4
JH
1458
1459/* SITEARCH:
1460 * This symbol contains the name of the private library for this package.
1461 * The library is private in the sense that it needn't be in anyone's
1462 * execution path, but it should be accessible by the world. The program
1463 * should be prepared to do ~ expansion.
1464 * The standard distribution will put nothing in this directory.
1465 * Individual sites may place their own extensions and modules in
1466 * this directory.
1467 */
1468/* SITEARCH_EXP:
1469 * This symbol contains the ~name expanded version of SITEARCH, to be used
1470 * in programs that are not prepared to deal with ~ expansion at run-time.
1471 */
11dc3f68
JH
1472#define SITEARCH "/opt/perl/lib/site_perl/5.00558/alpha-dec_osf-thread" /**/
1473#define SITEARCH_EXP "/opt/perl/lib/site_perl/5.00558/alpha-dec_osf-thread" /**/
71c4afb4
JH
1474
1475/* SITELIB:
1476 * This symbol contains the name of the private library for this package.
1477 * The library is private in the sense that it needn't be in anyone's
1478 * execution path, but it should be accessible by the world. The program
1479 * should be prepared to do ~ expansion.
1480 * The standard distribution will put nothing in this directory.
1481 * Individual sites may place their own extensions and modules in
1482 * this directory.
1483 */
1484/* SITELIB_EXP:
1485 * This symbol contains the ~name expanded version of SITELIB, to be used
1486 * in programs that are not prepared to deal with ~ expansion at run-time.
1487 */
11dc3f68
JH
1488#define SITELIB "/opt/perl/lib/site_perl" /**/
1489#define SITELIB_EXP "/opt/perl/lib/site_perl" /**/
71c4afb4 1490
a3635516
JH
1491/* PERL_VENDORLIB_EXP:
1492 * This symbol contains the ~name expanded version of VENDORLIB, to be used
1493 * in programs that are not prepared to deal with ~ expansion at run-time.
1494 */
11dc3f68 1495/*#define PERL_VENDORLIB_EXP "" / **/
a3635516 1496
dfe9444c
AD
1497/* OSNAME:
1498 * This symbol contains the name of the operating system, as determined
1499 * by Configure. You shouldn't rely on it too much; the specific
1500 * feature tests from Configure are generally more reliable.
1501 */
921b2963 1502#define OSNAME "dec_osf" /**/
dfe9444c 1503
dfe9444c
AD
1504/* CAT2:
1505 * This macro catenates 2 tokens together.
1506 */
1507/* STRINGIFY:
1508 * This macro surrounds its token with double quotes.
1509 */
1510#if 42 == 1
1511#define CAT2(a,b)a/**/b
1512#define STRINGIFY(a)"a"
1513 /* If you can get stringification with catify, tell me how! */
1514#endif
1515#if 42 == 42
1516#define CAT2(a,b)a ## b
1517#define StGiFy(a)# a
1518#define STRINGIFY(a)StGiFy(a)
1519#endif
1520#if 42 != 1 && 42 != 42
1521#include "Bletch: How does this C preprocessor catenate tokens?"
1522#endif
1523
921b2963
JH
1524/* CPPSTDIN:
1525 * This symbol contains the first part of the string which will invoke
1526 * the C preprocessor on the standard input and produce to standard
1527 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
1528 * call a wrapper. See CPPRUN.
1529 */
1530/* CPPMINUS:
1531 * This symbol contains the second part of the string which will invoke
1532 * the C preprocessor on the standard input and produce to standard
1533 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
1534 * to specify standard input, otherwise the value is "".
1535 */
1536/* CPPRUN:
1537 * This symbol contains the string which will invoke a C preprocessor on
1538 * the standard input and produce to standard output. It needs to end
1539 * with CPPLAST, after all other preprocessor flags have been specified.
1540 * The main difference with CPPSTDIN is that this program will never be a
1541 * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is
1542 * available directly to the user. Note that it may well be different from
1543 * the preprocessor used to compile the C program.
1544 */
1545#define CPPSTDIN "cppstdin"
1546#define CPPMINUS ""
1547#define CPPRUN "/usr/bin/cpp"
1548
327c3667
GS
1549/* HAS_ACCESS:
1550 * This manifest constant lets the C program know that the access()
1551 * system call is available to check for accessibility using real UID/GID.
1552 * (always present on UNIX.)
1553 */
1554#define HAS_ACCESS /**/
1555
921b2963
JH
1556/* HAS_CSH:
1557 * This symbol, if defined, indicates that the C-shell exists.
1558 */
dfe9444c 1559/* CSH:
e5c9fcd0 1560 * This symbol, if defined, contains the full pathname of csh.
9003a523 1561 */
e5c9fcd0
AD
1562#define HAS_CSH /**/
1563#ifdef HAS_CSH
327c3667 1564#define CSH "/usr/bin/csh" /**/
e5c9fcd0
AD
1565#endif
1566
327c3667
GS
1567/* HAS_ENDGRENT:
1568 * This symbol, if defined, indicates that the getgrent routine is
1569 * available for finalizing sequential access of the group database.
1570 */
11dc3f68 1571#define HAS_ENDGRENT /**/
327c3667 1572
e5c9fcd0
AD
1573/* HAS_ENDHOSTENT:
1574 * This symbol, if defined, indicates that the endhostent() routine is
1575 * available to close whatever was being used for host queries.
1576 */
11dc3f68 1577#define HAS_ENDHOSTENT /**/
e5c9fcd0
AD
1578
1579/* HAS_ENDNETENT:
1580 * This symbol, if defined, indicates that the endnetent() routine is
1581 * available to close whatever was being used for network queries.
1582 */
11dc3f68 1583#define HAS_ENDNETENT /**/
e5c9fcd0
AD
1584
1585/* HAS_ENDPROTOENT:
1586 * This symbol, if defined, indicates that the endprotoent() routine is
1587 * available to close whatever was being used for protocol queries.
1588 */
11dc3f68 1589#define HAS_ENDPROTOENT /**/
e5c9fcd0 1590
327c3667
GS
1591/* HAS_ENDPWENT:
1592 * This symbol, if defined, indicates that the getgrent routine is
1593 * available for finalizing sequential access of the passwd database.
1594 */
11dc3f68 1595#define HAS_ENDPWENT /**/
327c3667 1596
e5c9fcd0
AD
1597/* HAS_ENDSERVENT:
1598 * This symbol, if defined, indicates that the endservent() routine is
1599 * available to close whatever was being used for service queries.
1600 */
11dc3f68 1601#define HAS_ENDSERVENT /**/
dfe9444c 1602
327c3667
GS
1603/* HAS_GETGRENT:
1604 * This symbol, if defined, indicates that the getgrent routine is
1605 * available for sequential access of the group database.
1606 */
11dc3f68 1607#define HAS_GETGRENT /**/
327c3667 1608
693762b4
AD
1609/* HAS_GETHOSTBYADDR:
1610 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1611 * available to look up hosts by their IP addresses.
1612 */
11dc3f68 1613#define HAS_GETHOSTBYADDR /**/
693762b4
AD
1614
1615/* HAS_GETHOSTBYNAME:
1616 * This symbol, if defined, indicates that the gethostbyname() routine is
1617 * available to look up host names in some data base or other.
1618 */
11dc3f68 1619#define HAS_GETHOSTBYNAME /**/
693762b4
AD
1620
1621/* HAS_GETHOSTENT:
1622 * This symbol, if defined, indicates that the gethostent() routine is
1623 * available to look up host names in some data base or another.
1624 */
1625#define HAS_GETHOSTENT /**/
1626
af4c28eb
CS
1627/* HAS_GETHOSTNAME:
1628 * This symbol, if defined, indicates that the C program may use the
1629 * gethostname() routine to derive the host name. See also HAS_UNAME
1630 * and PHOSTNAME.
1631 */
1632/* HAS_UNAME:
1633 * This symbol, if defined, indicates that the C program may use the
1634 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1635 * and PHOSTNAME.
1636 */
1637/* PHOSTNAME:
1638 * This symbol, if defined, indicates the command to feed to the
1639 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1640 * and HAS_UNAME. Note that the command uses a fully qualified path,
1641 * so that it is safe even if used by a process with super-user
1642 * privileges.
1643 */
11dc3f68 1644#define HAS_GETHOSTNAME /**/
af4c28eb
CS
1645#define HAS_UNAME /**/
1646#undef HAS_PHOSTNAME
1647#ifdef HAS_PHOSTNAME
1648#define PHOSTNAME "" /* How to get the host name */
1649#endif
1650
693762b4
AD
1651/* HAS_GETNETBYADDR:
1652 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1653 * available to look up networks by their IP addresses.
1654 */
11dc3f68 1655#define HAS_GETNETBYADDR /**/
693762b4
AD
1656
1657/* HAS_GETNETBYNAME:
1658 * This symbol, if defined, indicates that the getnetbyname() routine is
1659 * available to look up networks by their names.
1660 */
11dc3f68 1661#define HAS_GETNETBYNAME /**/
693762b4 1662
e5c9fcd0
AD
1663/* HAS_GETNETENT:
1664 * This symbol, if defined, indicates that the getnetent() routine is
1665 * available to look up network names in some data base or another.
1666 */
11dc3f68 1667#define HAS_GETNETENT /**/
e5c9fcd0
AD
1668
1669/* HAS_GETPROTOENT:
1670 * This symbol, if defined, indicates that the getprotoent() routine is
1671 * available to look up protocols in some data base or another.
1672 */
11dc3f68 1673#define HAS_GETPROTOENT /**/
e5c9fcd0 1674
693762b4
AD
1675/* HAS_GETPROTOBYNAME:
1676 * This symbol, if defined, indicates that the getprotobyname()
1677 * routine is available to look up protocols by their name.
1678 */
1679/* HAS_GETPROTOBYNUMBER:
1680 * This symbol, if defined, indicates that the getprotobynumber()
1681 * routine is available to look up protocols by their number.
1682 */
11dc3f68
JH
1683#define HAS_GETPROTOBYNAME /**/
1684#define HAS_GETPROTOBYNUMBER /**/
693762b4 1685
327c3667
GS
1686/* HAS_GETPWENT:
1687 * This symbol, if defined, indicates that the getpwent routine is
1688 * available for sequential access of the passwd database.
1689 * If this is not available, the older getpw() function may be available.
1690 */
11dc3f68 1691#define HAS_GETPWENT /**/
327c3667 1692
e5c9fcd0
AD
1693/* HAS_GETSERVENT:
1694 * This symbol, if defined, indicates that the getservent() routine is
1695 * available to look up network services in some data base or another.
1696 */
11dc3f68 1697#define HAS_GETSERVENT /**/
e5c9fcd0 1698
693762b4
AD
1699/* HAS_GETSERVBYNAME:
1700 * This symbol, if defined, indicates that the getservbyname()
1701 * routine is available to look up services by their name.
1702 */
1703/* HAS_GETSERVBYPORT:
1704 * This symbol, if defined, indicates that the getservbyport()
1705 * routine is available to look up services by their port.
1706 */
11dc3f68
JH
1707#define HAS_GETSERVBYNAME /**/
1708#define HAS_GETSERVBYPORT /**/
693762b4 1709
327c3667
GS
1710/* HAS_HTONL:
1711 * This symbol, if defined, indicates that the htonl() routine (and
1712 * friends htons() ntohl() ntohs()) are available to do network
1713 * order byte swapping.
1714 */
1715/* HAS_HTONS:
1716 * This symbol, if defined, indicates that the htons() routine (and
1717 * friends htonl() ntohl() ntohs()) are available to do network
1718 * order byte swapping.
1719 */
1720/* HAS_NTOHL:
1721 * This symbol, if defined, indicates that the ntohl() routine (and
1722 * friends htonl() htons() ntohs()) are available to do network
1723 * order byte swapping.
1724 */
1725/* HAS_NTOHS:
1726 * This symbol, if defined, indicates that the ntohs() routine (and
1727 * friends htonl() htons() ntohl()) are available to do network
1728 * order byte swapping.
1729 */
1730#define HAS_HTONL /**/
1731#define HAS_HTONS /**/
1732#define HAS_NTOHL /**/
1733#define HAS_NTOHS /**/
1734
e5c9fcd0
AD
1735/* HAS_LONG_DOUBLE:
1736 * This symbol will be defined if the C compiler supports long
1737 * doubles.
1738 */
1739/* LONG_DOUBLESIZE:
1740 * This symbol contains the size of a long double, so that the
1741 * C preprocessor can make decisions based on it. It is only
1742 * defined if the system supports long doubles.
1743 */
11dc3f68 1744#define HAS_LONG_DOUBLE /**/
e5c9fcd0 1745#ifdef HAS_LONG_DOUBLE
11dc3f68 1746#define LONG_DOUBLESIZE 8 /**/
e5c9fcd0
AD
1747#endif
1748
dc45a647 1749/* HAS_LONG_LONG:
327c3667 1750 * This symbol will be defined if the C compiler supports long long.
dc45a647
MB
1751 */
1752/* LONGLONGSIZE:
1753 * This symbol contains the size of a long long, so that the
1754 * C preprocessor can make decisions based on it. It is only
1755 * defined if the system supports long long.
1756 */
11dc3f68 1757#define HAS_LONG_LONG /**/
dc45a647 1758#ifdef HAS_LONG_LONG
11dc3f68 1759#define LONGLONGSIZE 8 /**/
dc45a647
MB
1760#endif
1761
a71cd7cd
JH
1762/* HAS_MEMCHR:
1763 * This symbol, if defined, indicates that the memchr routine is available
1764 * to locate characters within a C string.
1765 */
11dc3f68 1766#define HAS_MEMCHR /**/
a71cd7cd 1767
ff49bff8
JH
1768/* HAS_MMAP:
1769 * This symbol, if defined, indicates that the mmap system call is
1770 * available to map a file into memory.
1771 */
1772/* Mmap_t:
1773 * This symbol holds the return type of the mmap() system call
1774 * (and simultaneously the type of the first argument).
1775 * Usually set to 'void *' or 'cadd_t'.
1776 */
11dc3f68
JH
1777#define HAS_MMAP /**/
1778#define Mmap_t void * /**/
ff49bff8 1779
327c3667
GS
1780/* HAS_MSG:
1781 * This symbol, if defined, indicates that the entire msg*(2) library is
1782 * supported (IPC mechanism based on message queues).
1783 */
1784#define HAS_MSG /**/
1785
1786/* HAS_SEM:
1787 * This symbol, if defined, indicates that the entire sem*(2) library is
1788 * supported.
1789 */
1790#define HAS_SEM /**/
1791
1792/* HAS_SETGRENT:
1793 * This symbol, if defined, indicates that the setgrent routine is
1794 * available for initializing sequential access of the group database.
1795 */
11dc3f68 1796#define HAS_SETGRENT /**/
327c3667 1797
dfe9444c
AD
1798/* HAS_SETGROUPS:
1799 * This symbol, if defined, indicates that the setgroups() routine is
1800 * available to set the list of process groups. If unavailable, multiple
1801 * groups are probably not supported.
4633a7c4 1802 */
dfe9444c
AD
1803#define HAS_SETGROUPS /**/
1804
693762b4
AD
1805/* HAS_SETHOSTENT:
1806 * This symbol, if defined, indicates that the sethostent() routine is
1807 * available.
1808 */
11dc3f68 1809#define HAS_SETHOSTENT /**/
693762b4 1810
e5c9fcd0
AD
1811/* HAS_SETNETENT:
1812 * This symbol, if defined, indicates that the setnetent() routine is
1813 * available.
1814 */
11dc3f68 1815#define HAS_SETNETENT /**/
e5c9fcd0
AD
1816
1817/* HAS_SETPROTOENT:
1818 * This symbol, if defined, indicates that the setprotoent() routine is
1819 * available.
1820 */
11dc3f68 1821#define HAS_SETPROTOENT /**/
e5c9fcd0 1822
327c3667
GS
1823/* HAS_SETPWENT:
1824 * This symbol, if defined, indicates that the setpwent routine is
1825 * available for initializing sequential access of the passwd database.
1826 */
11dc3f68 1827#define HAS_SETPWENT /**/
327c3667 1828
e5c9fcd0
AD
1829/* HAS_SETSERVENT:
1830 * This symbol, if defined, indicates that the setservent() routine is
1831 * available.
1832 */
11dc3f68 1833#define HAS_SETSERVENT /**/
e5c9fcd0
AD
1834
1835/* HAS_SETVBUF:
1836 * This symbol, if defined, indicates that the setvbuf routine is
1837 * available to change buffering on an open stdio stream.
1838 * to a line-buffered mode.
1839 */
11dc3f68 1840#define HAS_SETVBUF /**/
e5c9fcd0 1841
327c3667
GS
1842/* HAS_SHM:
1843 * This symbol, if defined, indicates that the entire shm*(2) library is
1844 * supported.
1845 */
1846#define HAS_SHM /**/
1847
dc45a647
MB
1848/* HAS_SOCKET:
1849 * This symbol, if defined, indicates that the BSD socket interface is
1850 * supported.
1851 */
1852/* HAS_SOCKETPAIR:
1853 * This symbol, if defined, indicates that the BSD socketpair() call is
1854 * supported.
1855 */
de4597cb
JH
1856/* HAS_MSG_CTRUNC:
1857 * This symbol, if defined, indicates that the MSG_CTRUNC is supported.
1858 * Checking just with #ifdef might not be enough because this symbol
1859 * has been known to be an enum.
1860 */
1861/* HAS_MSG_DONTROUTE:
1862 * This symbol, if defined, indicates that the MSG_DONTROUTE is supported.
1863 * Checking just with #ifdef might not be enough because this symbol
1864 * has been known to be an enum.
1865 */
1866/* HAS_MSG_OOB:
1867 * This symbol, if defined, indicates that the MSG_OOB is supported.
1868 * Checking just with #ifdef might not be enough because this symbol
1869 * has been known to be an enum.
1870 */
1871/* HAS_MSG_PEEK:
1872 * This symbol, if defined, indicates that the MSG_PEEK is supported.
1873 * Checking just with #ifdef might not be enough because this symbol
1874 * has been known to be an enum.
1875 */
1876/* HAS_MSG_PROXY:
1877 * This symbol, if defined, indicates that the MSG_PROXY is supported.
1878 * Checking just with #ifdef might not be enough because this symbol
1879 * has been known to be an enum.
1880 */
1881/* HAS_SCM_RIGHTS:
1882 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
1883 * Checking just with #ifdef might not be enough because this symbol
1884 * has been known to be an enum.
1885 */
1886/* HAS_SENDMSG:
1887 * This symbol, if defined, indicates that the sendmsg is supported
1888 * to send messages between sockets. You will also need struct
1889 * iovec from <sys/uio.h>, HAS_STRUCT_IOVEC and I_SYSUIO.
1890 */
1891/* HAS_RECVMSG:
1892 * This symbol, if defined, indicates that the recvmsg is supported
1893 * to send messages between sockets. You will also need struct
1894 * iovec from <sys/uio.h>, HAS_STRUCT_IOVEC and I_SYSUIO.
1895 */
1896/* HAS_STRUCT_MSGHDR:
1897 * This symbol, if defined, indicates that the struct msghdr
1898 * (BSD 4.3 or 4.4) is supported. You will also need struct
1899 * iovec from <sys/uio.h>, HAS_STRUCT_IOVEC and I_SYSUIO.
1900 */
1901/* HAS_STRUCT_CMSGHDR:
1902 * This symbol, if defined, indicates that the struct cmsghdr
1903 * (BSD 4.4) is supported. You will also need struct
1904 * iovec from <sys/uio.h>, HAS_STRUCT_IOVEC and I_SYSUIO.
1905 */
1906#define HAS_SOCKET /**/
1907#define HAS_SOCKETPAIR /**/
11dc3f68
JH
1908#define HAS_MSG_CTRUNC /**/
1909#define HAS_MSG_DONTROUTE /**/
1910#define HAS_MSG_OOB /**/
1911#define HAS_MSG_PEEK /**/
1912/*#define HAS_MSG_PROXY / **/
1913#define HAS_SCM_RIGHTS /**/
1914#define HAS_SENDMSG /**/
1915#define HAS_RECVMSG /**/
1916#define HAS_STRUCT_MSGHDR /**/
1917#define HAS_STRUCT_CMSGHDR /**/
dc45a647 1918
327c3667
GS
1919/* USE_STAT_BLOCKS:
1920 * This symbol is defined if this system has a stat structure declaring
1921 * st_blksize and st_blocks.
1922 */
921b2963 1923#define USE_STAT_BLOCKS /**/
327c3667
GS
1924
1925/* HAS_STRERROR:
1926 * This symbol, if defined, indicates that the strerror routine is
1927 * available to translate error numbers to strings. See the writeup
1928 * of Strerror() in this file before you try to define your own.
1929 */
1930/* HAS_SYS_ERRLIST:
1931 * This symbol, if defined, indicates that the sys_errlist array is
1932 * available to translate error numbers to strings. The extern int
1933 * sys_nerr gives the size of that table.
1934 */
1935/* Strerror:
1936 * This preprocessor symbol is defined as a macro if strerror() is
1937 * not available to translate error numbers to strings but sys_errlist[]
1938 * array is there.
1939 */
1940#define HAS_STRERROR /**/
1941#define HAS_SYS_ERRLIST /**/
1942#define Strerror(e) strerror(e)
1943
bd89102f
AD
1944/* HAS_UNION_SEMUN:
1945 * This symbol, if defined, indicates that the union semun is
1946 * defined by including <sys/sem.h>. If not, the user code
1947 * probably needs to define it as:
1948 * union semun {
1949 * int val;
1950 * struct semid_ds *buf;
1951 * unsigned short *array;
1952 * }
1953 */
1954/* USE_SEMCTL_SEMUN:
1955 * This symbol, if defined, indicates that union semun is
1956 * used for semctl IPC_STAT.
1957 */
1958/* USE_SEMCTL_SEMID_DS:
1959 * This symbol, if defined, indicates that struct semid_ds * is
1960 * used for semctl IPC_STAT.
1961 */
11dc3f68
JH
1962/*#define HAS_UNION_SEMUN / **/
1963#define USE_SEMCTL_SEMUN /**/
1964#define USE_SEMCTL_SEMID_DS /**/
bd89102f 1965
af4c28eb
CS
1966/* HAS_VFORK:
1967 * This symbol, if defined, indicates that vfork() exists.
1968 */
1969/*#define HAS_VFORK / **/
1970
dfe9444c
AD
1971/* Signal_t:
1972 * This symbol's value is either "void" or "int", corresponding to the
1973 * appropriate return type of a signal handler. Thus, you can declare
1974 * a signal handler using "Signal_t (*handler)()", and define the
1975 * handler using "Signal_t handler(sig)".
1976 */
1977#define Signal_t void /* Signal handler's return type */
1978
1979/* Groups_t:
1980 * This symbol holds the type used for the second argument to
1981 * getgroups() and setgropus(). Usually, this is the same as
1982 * gidtype (gid_t) , but sometimes it isn't.
1983 * It can be int, ushort, uid_t, etc...
1984 * It may be necessary to include <sys/types.h> to get any
1985 * typedef'ed information. This is only required if you have
1986 * getgroups() or setgropus()..
1987 */
1988#if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
1989#define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
1990#endif
1991
327c3667
GS
1992/* I_GRP:
1993 * This symbol, if defined, indicates to the C program that it should
1994 * include <grp.h>.
1995 */
1996/* GRPASSWD:
1997 * This symbol, if defined, indicates to the C program that struct group
1998 * in <grp.h> contains gr_passwd.
1999 */
2000#define I_GRP /**/
11dc3f68 2001#define GRPASSWD /**/
327c3667 2002
dfe9444c
AD
2003/* I_NETDB:
2004 * This symbol, if defined, indicates that <netdb.h> exists and
2005 * should be included.
2006 */
11dc3f68 2007#define I_NETDB /**/
4633a7c4 2008
c4f23d77
AD
2009/* I_PWD:
2010 * This symbol, if defined, indicates to the C program that it should
2011 * include <pwd.h>.
2012 */
2013/* PWQUOTA:
2014 * This symbol, if defined, indicates to the C program that struct passwd
2015 * contains pw_quota.
2016 */
2017/* PWAGE:
2018 * This symbol, if defined, indicates to the C program that struct passwd
2019 * contains pw_age.
2020 */
2021/* PWCHANGE:
2022 * This symbol, if defined, indicates to the C program that struct passwd
2023 * contains pw_change.
2024 */
2025/* PWCLASS:
2026 * This symbol, if defined, indicates to the C program that struct passwd
2027 * contains pw_class.
2028 */
2029/* PWEXPIRE:
2030 * This symbol, if defined, indicates to the C program that struct passwd
2031 * contains pw_expire.
2032 */
2033/* PWCOMMENT:
2034 * This symbol, if defined, indicates to the C program that struct passwd
2035 * contains pw_comment.
2036 */
2037/* PWGECOS:
2038 * This symbol, if defined, indicates to the C program that struct passwd
2039 * contains pw_gecos.
2040 */
93341792
AD
2041/* PWPASSWD:
2042 * This symbol, if defined, indicates to the C program that struct passwd
2043 * contains pw_passwd.
2044 */
c4f23d77 2045#define I_PWD /**/
921b2963
JH
2046#define PWQUOTA /**/
2047/*#define PWAGE / **/
c4f23d77
AD
2048/*#define PWCHANGE / **/
2049/*#define PWCLASS / **/
2050/*#define PWEXPIRE / **/
327c3667 2051#define PWCOMMENT /**/
11dc3f68
JH
2052#define PWGECOS /**/
2053#define PWPASSWD /**/
c4f23d77 2054
de4597cb
JH
2055/* I_SYSUIO:
2056 * This symbol, if defined, indicates that <sys/uio.h> exists and
2057 * should be included.
2058 */
11dc3f68 2059#define I_SYSUIO /**/
de4597cb 2060
bfb7748a
AD
2061/* Free_t:
2062 * This variable contains the return type of free(). It is usually
2063 * void, but occasionally int.
9003a523 2064 */
bfb7748a
AD
2065/* Malloc_t:
2066 * This symbol is the type of pointer returned by malloc and realloc.
16d20bd9 2067 */
bfb7748a
AD
2068#define Malloc_t void * /**/
2069#define Free_t void /**/
2070
2071/* MYMALLOC:
2072 * This symbol, if defined, indicates that we're using our own malloc.
2073 */
11dc3f68 2074/*#define MYMALLOC / **/
9003a523 2075
c4f23d77
AD
2076/* SIG_NAME:
2077 * This symbol contains a list of signal names in order of
2078 * signal number. This is intended
2079 * to be used as a static array initialization, like this:
2080 * char *sig_name[] = { SIG_NAME };
2081 * The signals in the list are separated with commas, and each signal
2082 * is surrounded by double quotes. There is no leading SIG in the signal
2083 * name, i.e. SIGQUIT is known as "QUIT".
2084 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
2085 * etc., where nn is the actual signal number (e.g. NUM37).
2086 * The signal number for sig_name[i] is stored in sig_num[i].
2087 * The last element is 0 to terminate the list with a NULL. This
2088 * corresponds to the 0 at the end of the sig_num list.
2089 */
2090/* SIG_NUM:
2091 * This symbol contains a list of signal numbers, in the same order as the
2092 * SIG_NAME list. It is suitable for static array initialization, as in:
2093 * int sig_num[] = { SIG_NUM };
2094 * The signals in the list are separated with commas, and the indices
2095 * within that list and the SIG_NAME list match, so it's easy to compute
2096 * the signal name from a number or vice versa at the price of a small
2097 * dynamic linear lookup.
2098 * Duplicates are allowed, but are moved to the end of the list.
2099 * The signal number corresponding to sig_name[i] is sig_number[i].
2100 * if (i < NSIG) then sig_number[i] == i.
2101 * The last element is 0, corresponding to the 0 at the end of
2102 * the sig_name list.
2103 */
11dc3f68
JH
2104#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 /**/
2105#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 /**/
c4f23d77 2106
bfb7748a
AD
2107/* VOIDFLAGS:
2108 * This symbol indicates how much support of the void type is given by this
2109 * compiler. What various bits mean:
2110 *
2111 * 1 = supports declaration of void
2112 * 2 = supports arrays of pointers to functions returning void
2113 * 4 = supports comparisons between pointers to void functions and
2114 * addresses of void functions
2115 * 8 = suports declaration of generic void pointers
2116 *
2117 * The package designer should define VOIDUSED to indicate the requirements
2118 * of the package. This can be done either by #defining VOIDUSED before
2119 * including config.h, or by defining defvoidused in Myinit.U. If the
2120 * latter approach is taken, only those flags will be tested. If the
2121 * level of void support necessary is not present, defines void to int.
4633a7c4 2122 */
bfb7748a
AD
2123#ifndef VOIDUSED
2124#define VOIDUSED 15
2125#endif
2126#define VOIDFLAGS 15
2127#if (VOIDFLAGS & VOIDUSED) != VOIDUSED
2128#define void int /* is void to be avoided? */
2129#define M_VOID /* Xenix strikes again */
2130#endif
fbfd4aab 2131
8c09e4ca
JH
2132/* HAS_ATOLF:
2133 * This symbol, if defined, indicates that the atolf routine is
2134 * available to convert strings into long doubles.
2135 */
11dc3f68 2136/*#define HAS_ATOLF / **/
8c09e4ca
JH
2137
2138/* HAS_ATOLL:
2139 * This symbol, if defined, indicates that the atoll routine is
2140 * available to convert strings into long longs.
2141 */
11dc3f68 2142/*#define HAS_ATOLL / **/
8c09e4ca 2143
d71b2b6b
JH
2144/* PERL_BINCOMPAT_5005:
2145 * This symbol, if defined, indicates that Perl 5.006 should be
2146 * binary-compatible with Perl 5.005. This is impossible for builds
2147 * that use features like threads and multiplicity it is always
2148 * for those versions.
2149 */
2150# PERL_BINCOMPAT_5005 /**/
2151
dfe9444c
AD
2152/* DLSYM_NEEDS_UNDERSCORE:
2153 * This symbol, if defined, indicates that we need to prepend an
2154 * underscore to the symbol name before calling dlsym(). This only
2155 * makes sense if you *have* dlsym, which we will presume is the
2156 * case if you're using dl_dlopen.xs.
2157 */
2158/*#define DLSYM_NEEDS_UNDERSCORE / **/
2159
86959918
JH
2160/* HAS_ENDSPENT:
2161 * This symbol, if defined, indicates that the endspent system call is
2162 * available to finalize the scan of SysV shadow password entries.
2163 */
11dc3f68 2164/*#define HAS_ENDSPENT / **/
86959918 2165
327c3667
GS
2166/* HAS_FSEEKO:
2167 * This symbol, if defined, indicates that the fseeko routine is
2168 * available to fseek beyond 32 bits (useful for ILP32 hosts).
2169 */
11dc3f68 2170/*#define HAS_FSEEKO / **/
327c3667
GS
2171
2172/* HAS_FTELLO:
2173 * This symbol, if defined, indicates that the ftello routine is
71c4afb4 2174 * available to ftell beyond 32 bits (useful for ILP32 hosts).
327c3667 2175 */
11dc3f68 2176/*#define HAS_FTELLO / **/
327c3667 2177
ccc7f9b3
KS
2178/* HAS_GETMNTENT:
2179 * This symbol, if defined, indicates that the getmntent routine is
2180 * available to iterate through mounted file systems.
2181 */
11dc3f68 2182/*#define HAS_GETMNTENT / **/
ccc7f9b3 2183
86959918
JH
2184/* HAS_GETSPENT:
2185 * This symbol, if defined, indicates that the getspent system call is
2186 * available to retrieve SysV shadow password entries sequentially.
2187 */
11dc3f68 2188/*#define HAS_GETSPENT / **/
86959918
JH
2189
2190/* HAS_GETSPNAM:
2191 * This symbol, if defined, indicates that the getspnam system call is
2192 * available to retrieve SysV shadow password entries by name.
2193 */
11dc3f68 2194/*#define HAS_GETSPNAM / **/
86959918 2195
ccc7f9b3
KS
2196/* HAS_HASMNTOPT:
2197 * This symbol, if defined, indicates that the hasmntopt routine is
2198 * available to query the mount options of file systems.
2199 */
11dc3f68 2200/*#define HAS_HASMNTOPT / **/
ccc7f9b3 2201
ff49bff8
JH
2202/* HAS_MADVISE:
2203 * This symbol, if defined, indicates that the madvise system call is
2204 * available to map a file into memory.
2205 */
11dc3f68 2206#define HAS_MADVISE /**/
ff49bff8
JH
2207
2208/* HAS_MPROTECT:
2209 * This symbol, if defined, indicates that the mprotect system call is
2210 * available to modify the access protection of a memory mapped file.
2211 */
11dc3f68 2212#define HAS_MPROTECT /**/
ff49bff8 2213
de4597cb
JH
2214/* HAS_READV:
2215 * This symbol, if defined, indicates that the readv routine is
2216 * available to do gather reads. You will also need <sys/uio.h>
2217 * and there I_SYSUIO.
2218 */
11dc3f68 2219#define HAS_READV /**/
de4597cb 2220
86959918
JH
2221/* HAS_SETSPENT:
2222 * This symbol, if defined, indicates that the setspent system call is
2223 * available to initialize the scan of SysV shadow password entries.
2224 */
11dc3f68 2225/*#define HAS_SETSPENT / **/
86959918 2226
dfe9444c
AD
2227/* USE_SFIO:
2228 * This symbol, if defined, indicates that sfio should
2229 * be used.
2230 */
2231/*#define USE_SFIO / **/
2232
ff49bff8
JH
2233/* HAS_FSTATFS:
2234 * This symbol, if defined, indicates that the fstatfs routine is
732c9516 2235 * available to stat filesystems of file descriptors.
ff49bff8
JH
2236 */
2237/* HAS_STRUCT_STATFS_FLAGS:
2238 * This symbol, if defined, indicates that the struct statfs
2239 * does have the f_flags member containing the mount flags of
2240 * the filesystem holding the file.
732c9516
JH
2241 * This kind of struct statfs is coming from sys/mount.h (BSD),
2242 * not from sys/statfs.h (SYSV).
ff49bff8 2243 */
11dc3f68
JH
2244#define HAS_FSTATFS /**/
2245#define HAS_STRUCT_STATFS_FLAGS /**/
ff49bff8
JH
2246
2247/* HAS_FSTATVFS:
2248 * This symbol, if defined, indicates that the fstatvfs routine is
732c9516 2249 * available to stat filesystems of file descriptors.
ff49bff8 2250 */
11dc3f68 2251#define HAS_FSTATVFS /**/
ff49bff8
JH
2252
2253/* HAS_TELLDIR_PROTO:
2254 * This symbol, if defined, indicates that the system provides
2255 * a prototype for the telldir() function. Otherwise, it is up
2256 * to the program to supply one. A good guess is
86959918 2257 * extern long telldir _((DIR*));
ff49bff8 2258 */
11dc3f68 2259#define HAS_TELLDIR_PROTO /**/
ff49bff8 2260
de4597cb
JH
2261/* HAS_WRITEV:
2262 * This symbol, if defined, indicates that the writev routine is
2263 * available to do scatter writes.
2264 */
11dc3f68 2265#define HAS_WRITEV /**/
de4597cb 2266
327c3667
GS
2267/* HAS_DBMINIT64:
2268 * This symbol, if defined, indicates that the dbminit64 routine is
2269 * available to open dbm files larger than 2 gigabytes.
2270 */
2271/* HAS_DBMCLOSE64:
2272 * This symbol, if defined, indicates that the dbmclose64 routine is
2273 * available to close dbm files larger than 2 gigabytes.
2274 */
2275/* HAS_FETCH64:
2276 * This symbol, if defined, indicates that the fetch64 routine is
2277 * available to fetch from dbm files larger than 2 gigabytes.
2278 */
2279/* HAS_STORE64:
2280 * This symbol, if defined, indicates that the store64 routine is
2281 * available to store to dbm files larger than 2 gigabytes.
2282 */
2283/* HAS_DELETE64:
2284 * This symbol, if defined, indicates that the delete64 routine is
2285 * available to delete from dbm files larger than 2 gigabytes.
2286 */
2287/* HAS_FIRSTKEY64:
2288 * This symbol, if defined, indicates that the firstkey64 routine is
2289 * available to firstkey in dbm files larger than 2 gigabytes.
2290 */
2291/* HAS_NEXTKEY64:
2292 * This symbol, if defined, indicates that the nextkey64 routine is
2293 * available to nextkey in dbm files larger than 2 gigabytes.
2294 */
11dc3f68
JH
2295/*#define HAS_DBMINIT64 / **/
2296/*#define HAS_DBMCLOSE64 / **/
2297/*#define HAS_FETCH64 / **/
2298/*#define HAS_STORE64 / **/
2299/*#define HAS_DELETE64 / **/
2300/*#define HAS_FIRSTKEY64 / **/
2301/*#define HAS_NEXTKEY64 / **/
327c3667 2302
dfe9444c
AD
2303/* USE_DYNAMIC_LOADING:
2304 * This symbol, if defined, indicates that dynamic loading of
2305 * some sort is available.
2306 */
2307#define USE_DYNAMIC_LOADING /**/
2308
a71cd7cd
JH
2309/* FFLUSH_NULL:
2310 * This symbol, if defined, tells that fflush(NULL) does flush
2311 * all pending stdio output.
2312 */
2313/* FFLUSH_ALL:
2314 * This symbol, if defined, tells that to flush
2315 * all pending stdio output one must loop through all
2316 * the stdio file handles stored in an array and fflush them.
a32a45b6
JH
2317 * Note that if fflushNULL is defined, fflushall will not
2318 * even be probed for and will be left undefined.
a71cd7cd 2319 */
11dc3f68
JH
2320#define FFLUSH_NULL /**/
2321/*#define FFLUSH_ALL / **/
a71cd7cd 2322
dfe9444c
AD
2323/* DB_Prefix_t:
2324 * This symbol contains the type of the prefix structure element
2325 * in the <db.h> header file. In older versions of DB, it was
2326 * int, while in newer ones it is u_int32_t.
2327 */
2328/* DB_Hash_t:
2329 * This symbol contains the type of the prefix structure element
2330 * in the <db.h> header file. In older versions of DB, it was
2331 * int, while in newer ones it is size_t.
2332 */
2333#define DB_Hash_t u_int32_t /**/
2334#define DB_Prefix_t size_t /**/
2335
327c3667
GS
2336/* I_INTTYPES:
2337 * This symbol, if defined, indicates to the C program that it should
2338 * include <inttypes.h>.
2339 */
2340/* HAS_INT64_T:
2341 * This symbol will defined if the C compiler supports int64_t.
2342 * Usually the <inttypes.h> needs to be included, but sometimes
2343 * <sys/types.h> is enough.
2344 */
11dc3f68
JH
2345/*#define I_INTTYPES / **/
2346/*#define HAS_INT64_T / **/
327c3667 2347
ff49bff8
JH
2348/* I_MNTENT:
2349 * This symbol, if defined, indicates that <mntent.h> exists and
2350 * should be included.
2351 */
11dc3f68 2352/*#define I_MNTENT / **/
ff49bff8 2353
a71cd7cd
JH
2354/* I_NETINET_TCP:
2355 * This symbol, if defined, indicates to the C program that it should
2356 * include <netinet/tcp.h>.
2357 */
11dc3f68 2358#define I_NETINET_TCP /**/
a71cd7cd 2359
5b34fd99
JH
2360/* I_POLL:
2361 * This symbol, if defined, indicates that <poll.h> exists and
2362 * should be included.
2363 */
11dc3f68 2364#define I_POLL /**/
5b34fd99 2365
86959918
JH
2366/* I_SHADOW:
2367 * This symbol, if defined, indicates that <shadow.h> exists and
2368 * should be included.
2369 */
11dc3f68 2370/*#define I_SHADOW / **/
86959918
JH
2371
2372/* I_SOCKS:
2373 * This symbol, if defined, indicates that <socks.h> exists and
2374 * should be included.
2375 */
11dc3f68 2376/*#define I_SOCKS / **/
86959918 2377
ff49bff8
JH
2378/* I_SYS_MMAN:
2379 * This symbol, if defined, indicates that <sys/mman.h> exists and
2380 * should be included.
2381 */
11dc3f68 2382#define I_SYS_MMAN /**/
ff49bff8
JH
2383
2384/* I_SYS_MOUNT:
2385 * This symbol, if defined, indicates that <sys/mount.h> exists and
2386 * should be included.
2387 */
11dc3f68 2388#define I_SYS_MOUNT /**/
ff49bff8
JH
2389
2390/* I_SYS_STATVFS:
2391 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
2392 * should be included.
2393 */
11dc3f68 2394#define I_SYS_STATVFS /**/
ff49bff8 2395
327c3667
GS
2396/* HAS_FSTAT64:
2397 * This symbol, if defined, indicates that the fstat64 routine is
2398 * available to stat files (fds) larger than 2 gigabytes.
2399 */
2400/* HAS_FTRUNCATE64:
2401 * This symbol, if defined, indicates that the ftruncate64 routine is
2402 * available to tell files larger than 2 gigabytes.
2403 */
2404/* HAS_LSEEK64:
2405 * This symbol, if defined, indicates that the lseek64 routine is
2406 * available to seek files larger than 2 gigabytes.
2407 */
2408/* HAS_LSTAT64:
2409 * This symbol, if defined, indicates that the lstat64 routine is
2410 * available to stat files (symlinks) larger than 2 gigabytes.
2411 */
2412/* HAS_OPEN64:
2413 * This symbol, if defined, indicates that the open64 routine is
2414 * available to open files larger than 2 gigabytes.
2415 */
2416/* HAS_OPENDIR64:
2417 * This symbol, if defined, indicates that the opendir64 routine is
2418 * available to opendir files larger than 2 gigabytes.
2419 */
2420/* HAS_READDIR64:
2421 * This symbol, if defined, indicates that the readdir64 routine is
2422 * available to readdir files larger than 2 gigabytes.
2423 */
2424/* HAS_SEEKDIR64:
2425 * This symbol, if defined, indicates that the seekdir64 routine is
2426 * available to seekdir files larger than 2 gigabytes.
2427 */
2428/* HAS_STAT64:
921b2963 2429 * This symbol, if defined, indicates that the stat64 routine is
327c3667
GS
2430 * available to stat files larger than 2 gigabytes.
2431 */
2432/* HAS_TELLDIR64:
2433 * This symbol, if defined, indicates that the telldir64 routine is
2434 * available to telldir files larger than 2 gigabytes.
2435 */
2436/* HAS_TRUNCATE64:
2437 * This symbol, if defined, indicates that the truncate64 routine is
2438 * available to truncate files larger than 2 gigabytes.
2439 */
2440/* HAS_OFF64_T:
2441 * This symbol will be defined if the C compiler supports off64_t.
2442 */
2443/* HAS_STRUCT_DIRENT64:
2444 * This symbol will be defined if the C compiler supports struct dirent64.
2445 */
11dc3f68
JH
2446/*#define HAS_FSTAT64 / **/
2447/*#define HAS_FTRUNCATE64 / **/
2448/*#define HAS_LSEEK64 / **/
2449/*#define HAS_LSTAT64 / **/
2450/*#define HAS_OPEN64 / **/
2451/*#define HAS_OPENDIR64 / **/
2452/*#define HAS_READDIR64 / **/
2453/*#define HAS_SEEKDIR64 / **/
2454/*#define HAS_STAT64 / **/
2455/*#define HAS_TELLDIR64 / **/
2456/*#define HAS_TRUNCATE64 / **/
2457/*#define HAS_OFF64_T / **/
2458/*#define HAS_STRUCT_DIRENT64 / **/
8c09e4ca
JH
2459
2460/* PERL_PRIfldbl:
2461 * This symbol, if defined, contains the string used by stdio to
2462 * format long doubles (format 'f') for output.
2463 */
2464/* PERL_PRIgldbl:
2465 * This symbol, if defined, contains the string used by stdio to
2466 * format long doubles (format 'g') for output.
2467 */
11dc3f68
JH
2468#define PERL_PRIfldbl "f" /**/
2469#define PERL_PRIgldbl "g" /**/
8c09e4ca
JH
2470
2471/* PERL_PRId64:
2472 * This symbol, if defined, contains the string used by stdio to
2473 * format 64-bit decimal numbers (format 'd') for output.
2474 */
2475/* PERL_PRIu64:
2476 * This symbol, if defined, contains the string used by stdio to
2477 * format 64-bit unsigned decimal numbers (format 'u') for output.
2478 */
2479/* PERL_PRIx64:
2480 * This symbol, if defined, contains the string used by stdio to
2481 * format 64-bit hexadecimal numbers (format 'x') for output.
2482 */
11dc3f68
JH
2483#define PERL_PRId64 "ld" /**/
2484#define PERL_PRIu64 "lu" /**/
2485#define PERL_PRIx64 "lx" /**/
327c3667 2486
327c3667
GS
2487/* SELECT_MIN_BITS:
2488 * This symbol holds the minimum number of bits operated by select.
2489 * That is, if you do select(n, ...), how many bits at least will be
2490 * cleared in the masks if some activity is detected. Usually this
2491 * is either n or 32*ceil(n/32), especially many little-endians do
2492 * the latter. This is only useful if you have select(), naturally.
2493 */
11dc3f68 2494#define SELECT_MIN_BITS 32 /**/
bfb7748a 2495
fbfd4aab 2496/* STARTPERL:
2497 * This variable contains the string to put in front of a perl
2498 * script to make sure (one hopes) that it runs with perl and not
2499 * some shell.
2500 */
11dc3f68 2501#define STARTPERL "#!/opt/perl/bin/perl" /**/
327c3667
GS
2502
2503/* HAS_FGETPOS64:
2504 * This symbol, if defined, indicates that the fgetpos64 routine is
2505 * available to getpos files larger than 2 gigabytes.
2506 */
2507/* HAS_FOPEN64:
2508 * This symbol, if defined, indicates that the fopen64 routine is
2509 * available to open files larger than 2 gigabytes.
2510 */
2511/* HAS_FREOPEN64:
2512 * This symbol, if defined, indicates that the freopen64 routine is
2513 * available to reopen files larger than 2 gigabytes.
2514 */
2515/* HAS_FSEEK64:
2516 * This symbol, if defined, indicates that the fseek64 routine is
2517 * available to seek files larger than 2 gigabytes.
2518 */
2519/* HAS_FSEEKO64:
2520 * This symbol, if defined, indicates that the fseeko64 routine is
2521 * available to seek files larger than 2 gigabytes.
2522 */
2523/* HAS_FSETPOS64:
2524 * This symbol, if defined, indicates that the fsetpos64 routine is
2525 * available to setpos files larger than 2 gigabytes.
2526 */
2527/* HAS_FTELL64:
2528 * This symbol, if defined, indicates that the ftell64 routine is
2529 * available to tell files larger than 2 gigabytes.
2530 */
2531/* HAS_FTELLO64:
2532 * This symbol, if defined, indicates that the ftello64 routine is
2533 * available to tell files larger than 2 gigabytes.
2534 */
2535/* HAS_TMPFILE64:
2536 * This symbol, if defined, indicates that the tmpfile64 routine is
2537 * available to tmpfile files larger than 2 gigabytes.
2538 */
11dc3f68
JH
2539/*#define HAS_FGETPOS64 / **/
2540/*#define HAS_FOPEN64 / **/
2541/*#define HAS_FREOPEN64 / **/
2542/*#define HAS_FSEEK64 / **/
2543/*#define HAS_FSEEKO64 / **/
2544/*#define HAS_FSETPOS64 / **/
2545/*#define HAS_FTELL64 / **/
2546/*#define HAS_FTELLO64 / **/
2547/*#define HAS_TMPFILE64 / **/
327c3667 2548
a71cd7cd
JH
2549/* HAS_STDIO_STREAM_ARRAY:
2550 * This symbol, if defined, tells that there is an array
2551 * holding the stdio streams.
2552 */
2553/* STDIO_STREAM_ARRAY:
2554 * This symbol tells the name of the array holding the stdio streams.
2555 * Usual values include _iob, __iob, and __sF.
2556 */
11dc3f68
JH
2557#define HAS_STDIO_STREAM_ARRAY /**/
2558#define STDIO_STREAM_ARRAY _iob
8c09e4ca
JH
2559
2560/* HAS_STRTOULL:
2561 * This symbol, if defined, indicates that the strtoull routine is
2562 * available to convert strings into unsigned long longs.
2563 */
11dc3f68 2564/*#define HAS_STRTOULL / **/
a71cd7cd 2565
327c3667 2566/* USE_64_BITS:
921b2963
JH
2567 * This symbol, if defined, indicates that 64-bit interfaces should
2568 * be used when available. If not defined, the native default interfaces
327c3667
GS
2569 * will be used (be they 32 or 64 bits).
2570 */
11dc3f68 2571#define USE_64_BITS /**/
4633a7c4 2572
ff49bff8
JH
2573/* MULTIPLICITY:
2574 * This symbol, if defined, indicates that Perl should
2575 * be built to use multiplicity.
2576 */
11dc3f68 2577/*#define MULTIPLICITY / **/
ff49bff8 2578
9003a523 2579/* USE_PERLIO:
2580 * This symbol, if defined, indicates that the PerlIO abstraction should
2581 * be used throughout. If not defined, stdio should be
2582 * used in a fully backward compatible manner.
ce4a058e 2583 */
20e68413 2584/*#define USE_PERLIO / **/
ce4a058e 2585
29209bc5
JH
2586/* USE_SOCKS:
2587 * This symbol, if defined, indicates that Perl should
2588 * be built to use socks.
2589 */
11dc3f68 2590/*#define USE_SOCKS / **/
29209bc5 2591
921b2963
JH
2592/* HAS_DRAND48_PROTO:
2593 * This symbol, if defined, indicates that the system provides
2594 * a prototype for the drand48() function. Otherwise, it is up
2595 * to the program to supply one. A good guess is
86959918 2596 * extern double drand48 _((void));
921b2963 2597 */
11dc3f68 2598#define HAS_DRAND48_PROTO /**/
921b2963 2599
dc45a647
MB
2600/* HAS_GETHOST_PROTOS:
2601 * This symbol, if defined, indicates that <netdb.h> includes
2602 * prototypes for gethostent(), gethostbyname(), and
2603 * gethostbyaddr(). Otherwise, it is up to the program to guess
2604 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2605 */
11dc3f68 2606#define HAS_GETHOST_PROTOS /**/
dc45a647
MB
2607
2608/* HAS_GETNET_PROTOS:
2609 * This symbol, if defined, indicates that <netdb.h> includes
2610 * prototypes for getnetent(), getnetbyname(), and
2611 * getnetbyaddr(). Otherwise, it is up to the program to guess
2612 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2613 */
11dc3f68 2614#define HAS_GETNET_PROTOS /**/
dc45a647
MB
2615
2616/* HAS_GETPROTO_PROTOS:
2617 * This symbol, if defined, indicates that <netdb.h> includes
2618 * prototypes for getprotoent(), getprotobyname(), and
2619 * getprotobyaddr(). Otherwise, it is up to the program to guess
2620 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2621 */
11dc3f68 2622#define HAS_GETPROTO_PROTOS /**/
dc45a647
MB
2623
2624/* HAS_GETSERV_PROTOS:
2625 * This symbol, if defined, indicates that <netdb.h> includes
2626 * prototypes for getservent(), getservbyname(), and
2627 * getservbyaddr(). Otherwise, it is up to the program to guess
2628 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2629 */
11dc3f68 2630#define HAS_GETSERV_PROTOS /**/
dc45a647 2631
dfe9444c
AD
2632/* Netdb_host_t:
2633 * This symbol holds the type used for the 1st argument
2634 * to gethostbyaddr().
4633a7c4 2635 */
dfe9444c
AD
2636/* Netdb_hlen_t:
2637 * This symbol holds the type used for the 2nd argument
2638 * to gethostbyaddr().
2639 */
2640/* Netdb_name_t:
2641 * This symbol holds the type used for the argument to
2642 * gethostbyname().
2643 */
2644/* Netdb_net_t:
2645 * This symbol holds the type used for the 1st argument to
2646 * getnetbyaddr().
2647 */
11dc3f68
JH
2648#define Netdb_host_t const char * /**/
2649#define Netdb_hlen_t int /**/
2650#define Netdb_name_t const char * /**/
2651#define Netdb_net_t int /**/
dfe9444c
AD
2652
2653/* Select_fd_set_t:
2654 * This symbol holds the type used for the 2nd, 3rd, and 4th
2655 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
2656 * is defined, and 'int *' otherwise. This is only useful if you
2657 * have select(), of course.
2658 */
2659#define Select_fd_set_t fd_set * /**/
2660
2661/* ARCHNAME:
2662 * This symbol holds a string representing the architecture name.
2663 * It may be used to construct an architecture-dependant pathname
2664 * where library files may be held under a private library, for
2665 * instance.
2666 */
11dc3f68 2667#define ARCHNAME "alpha-dec_osf-thread" /**/
921b2963 2668
ef4af2be 2669/* OLD_PTHREAD_CREATE_JOINABLE:
921b2963 2670 * This symbol, if defined, indicates how to create pthread
ef4af2be
JH
2671 * in joinable (aka undetached) state. NOTE: not defined
2672 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
2673 * (the new version of the constant).
ff49bff8 2674 * If defined, known values are PTHREAD_CREATE_UNDETACHED
921b2963
JH
2675 * and __UNDETACHED.
2676 */
11dc3f68 2677/*#define OLD_PTHREAD_CREATE_JOINABLE / **/
dfe9444c
AD
2678
2679/* HAS_PTHREAD_YIELD:
2680 * This symbol, if defined, indicates that the pthread_yield
2681 * routine is available to yield the execution of the current
921b2963
JH
2682 * thread. sched_yield is preferable to pthread_yield.
2683 */
2684/* SCHED_YIELD:
2685 * This symbol defines the way to yield the execution of
2686 * the current thread. Known ways are sched_yield,
2687 * pthread_yield, and pthread_yield with NULL.
dfe9444c 2688 */
c4f23d77
AD
2689/* HAS_SCHED_YIELD:
2690 * This symbol, if defined, indicates that the sched_yield
2691 * routine is available to yield the execution of the current
921b2963 2692 * thread. sched_yield is preferable to pthread_yield.
c4f23d77 2693 */
11dc3f68
JH
2694/*#define HAS_PTHREAD_YIELD / **/
2695#define SCHED_YIELD sched_yield() /**/
2696#define HAS_SCHED_YIELD /**/
dfe9444c 2697
921b2963
JH
2698/* I_MACH_CTHREADS:
2699 * This symbol, if defined, indicates to the C program that it should
2700 * include <mach/cthreads.h>.
2701 */
11dc3f68 2702/*#define I_MACH_CTHREADS / **/
921b2963 2703
dfe9444c
AD
2704/* USE_THREADS:
2705 * This symbol, if defined, indicates that Perl should
2706 * be built to use threads.
2707 */
693762b4
AD
2708/* OLD_PTHREADS_API:
2709 * This symbol, if defined, indicates that Perl should
2710 * be built to use the old draft POSIX threads API.
2711 */
11dc3f68
JH
2712#define USE_THREADS /**/
2713/*#define OLD_PTHREADS_API / **/
16d20bd9 2714
dc45a647
MB
2715/* Time_t:
2716 * This symbol holds the type returned by time(). It can be long,
2717 * or time_t on BSD sites (in which case <sys/types.h> should be
2718 * included).
2719 */
2720#define Time_t time_t /* Time type */
2721
2722/* HAS_TIMES:
2723 * This symbol, if defined, indicates that the times() routine exists.
2724 * Note that this became obsolete on some systems (SUNOS), which now
2725 * use getrusage(). It may be necessary to include <sys/times.h>.
2726 */
2727#define HAS_TIMES /**/
2728
2729/* Fpos_t:
2730 * This symbol holds the type used to declare file positions in libc.
2731 * It can be fpos_t, long, uint, etc... It may be necessary to include
2732 * <sys/types.h> to get any typedef'ed information.
2733 */
2734#define Fpos_t fpos_t /* File position type */
2735
2736/* Gid_t:
2737 * This symbol holds the return type of getgid() and the type of
2738 * argument to setrgid() and related functions. Typically,
2739 * it is the type of group ids in the kernel. It can be int, ushort,
2740 * uid_t, etc... It may be necessary to include <sys/types.h> to get
2741 * any typedef'ed information.
2742 */
2743#define Gid_t gid_t /* Type for getgid(), etc... */
2744
2745/* Off_t:
2746 * This symbol holds the type used to declare offsets in the kernel.
2747 * It can be int, long, off_t, etc... It may be necessary to include
2748 * <sys/types.h> to get any typedef'ed information.
2749 */
921b2963
JH
2750/* LSEEKSIZE:
2751 * This symbol holds the number of bytes used by the Off_t.
2752 */
dc45a647 2753#define Off_t off_t /* <offset> type */
11dc3f68 2754#define LSEEKSIZE 8 /* <offset> size */
dc45a647
MB
2755
2756/* Mode_t:
2757 * This symbol holds the type used to declare file modes
2758 * for systems calls. It is usually mode_t, but may be
2759 * int or unsigned short. It may be necessary to include <sys/types.h>
2760 * to get any typedef'ed information.
2761 */
2762#define Mode_t mode_t /* file mode parameter for system calls */
2763
2764/* Pid_t:
2765 * This symbol holds the type used to declare process ids in the kernel.
2766 * It can be int, uint, pid_t, etc... It may be necessary to include
2767 * <sys/types.h> to get any typedef'ed information.
2768 */
11dc3f68 2769#define Pid_t pid_t /* PID type */
dc45a647
MB
2770
2771/* Size_t:
2772 * This symbol holds the type used to declare length parameters
2773 * for string functions. It is usually size_t, but may be
2774 * unsigned long, int, etc. It may be necessary to include
2775 * <sys/types.h> to get any typedef'ed information.
2776 */
2777#define Size_t size_t /* length paramater for string functions */
2778
2779/* Uid_t:
2780 * This symbol holds the type used to declare user ids in the kernel.
2781 * It can be int, ushort, uid_t, etc... It may be necessary to include
2782 * <sys/types.h> to get any typedef'ed information.
2783 */
2784#define Uid_t uid_t /* UID type */
2785
fe14fcc3 2786#endif