This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Long double support: sqrtl et al are not available everywhere,
[perl5.git] / Porting / config_H
CommitLineData
921b2963
JH
1/* This file (config_H) is a sample config.h file. If you are unable
2 to successfully run Configure, copy this file to config.h and
3 edit it to suit your system.
4*/
85e6fe83
LW
5/*
6 * This file was produced by running the config_h.SH script, which
8d063cd8
LW
7 * gets its values from config.sh, which is generally produced by
8 * running Configure.
9 *
10 * Feel free to modify any of this as the need arises. Note, however,
1aef975c
AD
11 * that running config_h.SH again will wipe out any changes you've made.
12 * For a more permanent change edit config.sh and rerun config_h.SH.
85e6fe83 13 *
dfe9444c 14 * $Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $
8d063cd8 15 */
a687059c 16
dfe9444c
AD
17/*
18 * Package name : perl5
11dc3f68 19 * Source directory : .
68d4903c 20 * Configuration time: Tue Oct 19 10:28:21 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
PP
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
PP
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
PP
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
PP
608 */
609#define HAS_STRTOD /**/
610
611/* HAS_STRTOL:
774d564b
PP
612 * This symbol, if defined, indicates that the strtol routine is available
613 * to provide better numeric string conversion than atoi() and friends.
55497cff
PP
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
PP
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
PP
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
PP
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
PP
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
PP
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
PP
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
PP
1220 */
1221/* Sigsetjmp:
9003a523
PP
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
PP
1225 */
1226/* Siglongjmp:
9003a523
PP
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
PP
1230 */
1231#define HAS_SIGSETJMP /**/
1232#ifdef HAS_SIGSETJMP
1233#define Sigjmp_buf sigjmp_buf
9003a523
PP
1234#define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1235#define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
36d1a04a
PP
1236#else
1237#define Sigjmp_buf jmp_buf
9003a523
PP
1238#define Sigsetjmp(buf,save_mask) setjmp((buf))
1239#define Siglongjmp(buf,retval) longjmp((buf),(retval))
36d1a04a
PP
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 */
68d4903c
JH
1426#define ARCHLIB "/opt/perl/lib/5.00562/alpha-dec_osf-thread" /**/
1427#define ARCHLIB_EXP "/opt/perl/lib/5.00562/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 */
68d4903c
JH
1456#define PRIVLIB "/opt/perl/lib/5.00562" /**/
1457#define PRIVLIB_EXP "/opt/perl/lib/5.00562" /**/
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 */
68d4903c
JH
1472#define SITEARCH "/opt/perl/lib/site_perl/5.00562/alpha-dec_osf-thread" /**/
1473#define SITEARCH_EXP "/opt/perl/lib/site_perl/5.00562/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 */
190b66db
JH
1545/* CPPLAST:
1546 * This symbol is intended to be used along with CPPRUN in the same manner
1547 * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "".
1548 */
921b2963
JH
1549#define CPPSTDIN "cppstdin"
1550#define CPPMINUS ""
1551#define CPPRUN "/usr/bin/cpp"
190b66db 1552#define CPPLAST ""
921b2963 1553
327c3667
GS
1554/* HAS_ACCESS:
1555 * This manifest constant lets the C program know that the access()
1556 * system call is available to check for accessibility using real UID/GID.
1557 * (always present on UNIX.)
1558 */
1559#define HAS_ACCESS /**/
1560
921b2963
JH
1561/* HAS_CSH:
1562 * This symbol, if defined, indicates that the C-shell exists.
1563 */
dfe9444c 1564/* CSH:
e5c9fcd0 1565 * This symbol, if defined, contains the full pathname of csh.
9003a523 1566 */
e5c9fcd0
AD
1567#define HAS_CSH /**/
1568#ifdef HAS_CSH
327c3667 1569#define CSH "/usr/bin/csh" /**/
e5c9fcd0
AD
1570#endif
1571
327c3667
GS
1572/* HAS_ENDGRENT:
1573 * This symbol, if defined, indicates that the getgrent routine is
1574 * available for finalizing sequential access of the group database.
1575 */
11dc3f68 1576#define HAS_ENDGRENT /**/
327c3667 1577
e5c9fcd0
AD
1578/* HAS_ENDHOSTENT:
1579 * This symbol, if defined, indicates that the endhostent() routine is
1580 * available to close whatever was being used for host queries.
1581 */
11dc3f68 1582#define HAS_ENDHOSTENT /**/
e5c9fcd0
AD
1583
1584/* HAS_ENDNETENT:
1585 * This symbol, if defined, indicates that the endnetent() routine is
1586 * available to close whatever was being used for network queries.
1587 */
11dc3f68 1588#define HAS_ENDNETENT /**/
e5c9fcd0
AD
1589
1590/* HAS_ENDPROTOENT:
1591 * This symbol, if defined, indicates that the endprotoent() routine is
1592 * available to close whatever was being used for protocol queries.
1593 */
11dc3f68 1594#define HAS_ENDPROTOENT /**/
e5c9fcd0 1595
327c3667
GS
1596/* HAS_ENDPWENT:
1597 * This symbol, if defined, indicates that the getgrent routine is
1598 * available for finalizing sequential access of the passwd database.
1599 */
11dc3f68 1600#define HAS_ENDPWENT /**/
327c3667 1601
e5c9fcd0
AD
1602/* HAS_ENDSERVENT:
1603 * This symbol, if defined, indicates that the endservent() routine is
1604 * available to close whatever was being used for service queries.
1605 */
11dc3f68 1606#define HAS_ENDSERVENT /**/
dfe9444c 1607
327c3667
GS
1608/* HAS_GETGRENT:
1609 * This symbol, if defined, indicates that the getgrent routine is
1610 * available for sequential access of the group database.
1611 */
11dc3f68 1612#define HAS_GETGRENT /**/
327c3667 1613
693762b4
AD
1614/* HAS_GETHOSTBYADDR:
1615 * This symbol, if defined, indicates that the gethostbyaddr() routine is
1616 * available to look up hosts by their IP addresses.
1617 */
11dc3f68 1618#define HAS_GETHOSTBYADDR /**/
693762b4
AD
1619
1620/* HAS_GETHOSTBYNAME:
1621 * This symbol, if defined, indicates that the gethostbyname() routine is
1622 * available to look up host names in some data base or other.
1623 */
11dc3f68 1624#define HAS_GETHOSTBYNAME /**/
693762b4
AD
1625
1626/* HAS_GETHOSTENT:
1627 * This symbol, if defined, indicates that the gethostent() routine is
1628 * available to look up host names in some data base or another.
1629 */
1630#define HAS_GETHOSTENT /**/
1631
af4c28eb
CS
1632/* HAS_GETHOSTNAME:
1633 * This symbol, if defined, indicates that the C program may use the
1634 * gethostname() routine to derive the host name. See also HAS_UNAME
1635 * and PHOSTNAME.
1636 */
1637/* HAS_UNAME:
1638 * This symbol, if defined, indicates that the C program may use the
1639 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
1640 * and PHOSTNAME.
1641 */
1642/* PHOSTNAME:
1643 * This symbol, if defined, indicates the command to feed to the
1644 * popen() routine to derive the host name. See also HAS_GETHOSTNAME
1645 * and HAS_UNAME. Note that the command uses a fully qualified path,
1646 * so that it is safe even if used by a process with super-user
1647 * privileges.
1648 */
190b66db
JH
1649/* HAS_PHOSTNAME:
1650 * This symbol, if defined, indicates that the C program may use the
1651 * contents of PHOSTNAME as a command to feed to the popen() routine
1652 * to derive the host name.
1653 */
11dc3f68 1654#define HAS_GETHOSTNAME /**/
af4c28eb
CS
1655#define HAS_UNAME /**/
1656#undef HAS_PHOSTNAME
1657#ifdef HAS_PHOSTNAME
1658#define PHOSTNAME "" /* How to get the host name */
1659#endif
1660
693762b4
AD
1661/* HAS_GETNETBYADDR:
1662 * This symbol, if defined, indicates that the getnetbyaddr() routine is
1663 * available to look up networks by their IP addresses.
1664 */
11dc3f68 1665#define HAS_GETNETBYADDR /**/
693762b4
AD
1666
1667/* HAS_GETNETBYNAME:
1668 * This symbol, if defined, indicates that the getnetbyname() routine is
1669 * available to look up networks by their names.
1670 */
11dc3f68 1671#define HAS_GETNETBYNAME /**/
693762b4 1672
e5c9fcd0
AD
1673/* HAS_GETNETENT:
1674 * This symbol, if defined, indicates that the getnetent() routine is
1675 * available to look up network names in some data base or another.
1676 */
11dc3f68 1677#define HAS_GETNETENT /**/
e5c9fcd0
AD
1678
1679/* HAS_GETPROTOENT:
1680 * This symbol, if defined, indicates that the getprotoent() routine is
1681 * available to look up protocols in some data base or another.
1682 */
11dc3f68 1683#define HAS_GETPROTOENT /**/
e5c9fcd0 1684
693762b4
AD
1685/* HAS_GETPROTOBYNAME:
1686 * This symbol, if defined, indicates that the getprotobyname()
1687 * routine is available to look up protocols by their name.
1688 */
1689/* HAS_GETPROTOBYNUMBER:
1690 * This symbol, if defined, indicates that the getprotobynumber()
1691 * routine is available to look up protocols by their number.
1692 */
11dc3f68
JH
1693#define HAS_GETPROTOBYNAME /**/
1694#define HAS_GETPROTOBYNUMBER /**/
693762b4 1695
327c3667
GS
1696/* HAS_GETPWENT:
1697 * This symbol, if defined, indicates that the getpwent routine is
1698 * available for sequential access of the passwd database.
1699 * If this is not available, the older getpw() function may be available.
1700 */
11dc3f68 1701#define HAS_GETPWENT /**/
327c3667 1702
e5c9fcd0
AD
1703/* HAS_GETSERVENT:
1704 * This symbol, if defined, indicates that the getservent() routine is
1705 * available to look up network services in some data base or another.
1706 */
11dc3f68 1707#define HAS_GETSERVENT /**/
e5c9fcd0 1708
693762b4
AD
1709/* HAS_GETSERVBYNAME:
1710 * This symbol, if defined, indicates that the getservbyname()
1711 * routine is available to look up services by their name.
1712 */
1713/* HAS_GETSERVBYPORT:
1714 * This symbol, if defined, indicates that the getservbyport()
1715 * routine is available to look up services by their port.
1716 */
11dc3f68
JH
1717#define HAS_GETSERVBYNAME /**/
1718#define HAS_GETSERVBYPORT /**/
693762b4 1719
327c3667
GS
1720/* HAS_HTONL:
1721 * This symbol, if defined, indicates that the htonl() routine (and
1722 * friends htons() ntohl() ntohs()) are available to do network
1723 * order byte swapping.
1724 */
1725/* HAS_HTONS:
1726 * This symbol, if defined, indicates that the htons() routine (and
1727 * friends htonl() ntohl() ntohs()) are available to do network
1728 * order byte swapping.
1729 */
1730/* HAS_NTOHL:
1731 * This symbol, if defined, indicates that the ntohl() routine (and
1732 * friends htonl() htons() ntohs()) are available to do network
1733 * order byte swapping.
1734 */
1735/* HAS_NTOHS:
1736 * This symbol, if defined, indicates that the ntohs() routine (and
1737 * friends htonl() htons() ntohl()) are available to do network
1738 * order byte swapping.
1739 */
1740#define HAS_HTONL /**/
1741#define HAS_HTONS /**/
1742#define HAS_NTOHL /**/
1743#define HAS_NTOHS /**/
1744
e5c9fcd0
AD
1745/* HAS_LONG_DOUBLE:
1746 * This symbol will be defined if the C compiler supports long
1747 * doubles.
1748 */
1749/* LONG_DOUBLESIZE:
1750 * This symbol contains the size of a long double, so that the
1751 * C preprocessor can make decisions based on it. It is only
1752 * defined if the system supports long doubles.
1753 */
11dc3f68 1754#define HAS_LONG_DOUBLE /**/
e5c9fcd0 1755#ifdef HAS_LONG_DOUBLE
11dc3f68 1756#define LONG_DOUBLESIZE 8 /**/
e5c9fcd0
AD
1757#endif
1758
dc45a647 1759/* HAS_LONG_LONG:
327c3667 1760 * This symbol will be defined if the C compiler supports long long.
dc45a647
MB
1761 */
1762/* LONGLONGSIZE:
1763 * This symbol contains the size of a long long, so that the
1764 * C preprocessor can make decisions based on it. It is only
1765 * defined if the system supports long long.
1766 */
11dc3f68 1767#define HAS_LONG_LONG /**/
dc45a647 1768#ifdef HAS_LONG_LONG
11dc3f68 1769#define LONGLONGSIZE 8 /**/
dc45a647
MB
1770#endif
1771
a71cd7cd
JH
1772/* HAS_MEMCHR:
1773 * This symbol, if defined, indicates that the memchr routine is available
1774 * to locate characters within a C string.
1775 */
11dc3f68 1776#define HAS_MEMCHR /**/
a71cd7cd 1777
ff49bff8
JH
1778/* HAS_MMAP:
1779 * This symbol, if defined, indicates that the mmap system call is
1780 * available to map a file into memory.
1781 */
1782/* Mmap_t:
1783 * This symbol holds the return type of the mmap() system call
1784 * (and simultaneously the type of the first argument).
1785 * Usually set to 'void *' or 'cadd_t'.
1786 */
11dc3f68
JH
1787#define HAS_MMAP /**/
1788#define Mmap_t void * /**/
ff49bff8 1789
327c3667
GS
1790/* HAS_MSG:
1791 * This symbol, if defined, indicates that the entire msg*(2) library is
1792 * supported (IPC mechanism based on message queues).
1793 */
1794#define HAS_MSG /**/
1795
1796/* HAS_SEM:
1797 * This symbol, if defined, indicates that the entire sem*(2) library is
1798 * supported.
1799 */
1800#define HAS_SEM /**/
1801
1802/* HAS_SETGRENT:
1803 * This symbol, if defined, indicates that the setgrent routine is
1804 * available for initializing sequential access of the group database.
1805 */
11dc3f68 1806#define HAS_SETGRENT /**/
327c3667 1807
dfe9444c
AD
1808/* HAS_SETGROUPS:
1809 * This symbol, if defined, indicates that the setgroups() routine is
1810 * available to set the list of process groups. If unavailable, multiple
1811 * groups are probably not supported.
4633a7c4 1812 */
dfe9444c
AD
1813#define HAS_SETGROUPS /**/
1814
693762b4
AD
1815/* HAS_SETHOSTENT:
1816 * This symbol, if defined, indicates that the sethostent() routine is
1817 * available.
1818 */
11dc3f68 1819#define HAS_SETHOSTENT /**/
693762b4 1820
e5c9fcd0
AD
1821/* HAS_SETNETENT:
1822 * This symbol, if defined, indicates that the setnetent() routine is
1823 * available.
1824 */
11dc3f68 1825#define HAS_SETNETENT /**/
e5c9fcd0
AD
1826
1827/* HAS_SETPROTOENT:
1828 * This symbol, if defined, indicates that the setprotoent() routine is
1829 * available.
1830 */
11dc3f68 1831#define HAS_SETPROTOENT /**/
e5c9fcd0 1832
327c3667
GS
1833/* HAS_SETPWENT:
1834 * This symbol, if defined, indicates that the setpwent routine is
1835 * available for initializing sequential access of the passwd database.
1836 */
11dc3f68 1837#define HAS_SETPWENT /**/
327c3667 1838
e5c9fcd0
AD
1839/* HAS_SETSERVENT:
1840 * This symbol, if defined, indicates that the setservent() routine is
1841 * available.
1842 */
11dc3f68 1843#define HAS_SETSERVENT /**/
e5c9fcd0
AD
1844
1845/* HAS_SETVBUF:
1846 * This symbol, if defined, indicates that the setvbuf routine is
1847 * available to change buffering on an open stdio stream.
1848 * to a line-buffered mode.
1849 */
11dc3f68 1850#define HAS_SETVBUF /**/
e5c9fcd0 1851
327c3667
GS
1852/* HAS_SHM:
1853 * This symbol, if defined, indicates that the entire shm*(2) library is
1854 * supported.
1855 */
1856#define HAS_SHM /**/
1857
dc45a647
MB
1858/* HAS_SOCKET:
1859 * This symbol, if defined, indicates that the BSD socket interface is
1860 * supported.
1861 */
1862/* HAS_SOCKETPAIR:
1863 * This symbol, if defined, indicates that the BSD socketpair() call is
1864 * supported.
1865 */
de4597cb
JH
1866/* HAS_MSG_CTRUNC:
1867 * This symbol, if defined, indicates that the MSG_CTRUNC 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_DONTROUTE:
1872 * This symbol, if defined, indicates that the MSG_DONTROUTE 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_OOB:
1877 * This symbol, if defined, indicates that the MSG_OOB 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_MSG_PEEK:
1882 * This symbol, if defined, indicates that the MSG_PEEK 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_MSG_PROXY:
1887 * This symbol, if defined, indicates that the MSG_PROXY is supported.
1888 * Checking just with #ifdef might not be enough because this symbol
1889 * has been known to be an enum.
1890 */
1891/* HAS_SCM_RIGHTS:
1892 * This symbol, if defined, indicates that the SCM_RIGHTS is supported.
1893 * Checking just with #ifdef might not be enough because this symbol
1894 * has been known to be an enum.
1895 */
1896/* HAS_SENDMSG:
1897 * This symbol, if defined, indicates that the sendmsg is supported
1898 * to send messages between sockets. You will also need struct
1899 * iovec from <sys/uio.h>, HAS_STRUCT_IOVEC and I_SYSUIO.
1900 */
1901/* HAS_RECVMSG:
1902 * This symbol, if defined, indicates that the recvmsg is supported
1903 * to send messages between sockets. You will also need struct
1904 * iovec from <sys/uio.h>, HAS_STRUCT_IOVEC and I_SYSUIO.
1905 */
1906/* HAS_STRUCT_MSGHDR:
1907 * This symbol, if defined, indicates that the struct msghdr
1908 * (BSD 4.3 or 4.4) is supported. You will also need struct
1909 * iovec from <sys/uio.h>, HAS_STRUCT_IOVEC and I_SYSUIO.
1910 */
1911/* HAS_STRUCT_CMSGHDR:
1912 * This symbol, if defined, indicates that the struct cmsghdr
1913 * (BSD 4.4) is supported. You will also need struct
1914 * iovec from <sys/uio.h>, HAS_STRUCT_IOVEC and I_SYSUIO.
1915 */
1916#define HAS_SOCKET /**/
1917#define HAS_SOCKETPAIR /**/
11dc3f68
JH
1918#define HAS_MSG_CTRUNC /**/
1919#define HAS_MSG_DONTROUTE /**/
1920#define HAS_MSG_OOB /**/
1921#define HAS_MSG_PEEK /**/
1922/*#define HAS_MSG_PROXY / **/
1923#define HAS_SCM_RIGHTS /**/
1924#define HAS_SENDMSG /**/
1925#define HAS_RECVMSG /**/
1926#define HAS_STRUCT_MSGHDR /**/
1927#define HAS_STRUCT_CMSGHDR /**/
dc45a647 1928
327c3667
GS
1929/* USE_STAT_BLOCKS:
1930 * This symbol is defined if this system has a stat structure declaring
1931 * st_blksize and st_blocks.
1932 */
921b2963 1933#define USE_STAT_BLOCKS /**/
327c3667
GS
1934
1935/* HAS_STRERROR:
1936 * This symbol, if defined, indicates that the strerror routine is
1937 * available to translate error numbers to strings. See the writeup
1938 * of Strerror() in this file before you try to define your own.
1939 */
1940/* HAS_SYS_ERRLIST:
1941 * This symbol, if defined, indicates that the sys_errlist array is
1942 * available to translate error numbers to strings. The extern int
1943 * sys_nerr gives the size of that table.
1944 */
1945/* Strerror:
1946 * This preprocessor symbol is defined as a macro if strerror() is
1947 * not available to translate error numbers to strings but sys_errlist[]
1948 * array is there.
1949 */
1950#define HAS_STRERROR /**/
1951#define HAS_SYS_ERRLIST /**/
1952#define Strerror(e) strerror(e)
1953
bd89102f
AD
1954/* HAS_UNION_SEMUN:
1955 * This symbol, if defined, indicates that the union semun is
1956 * defined by including <sys/sem.h>. If not, the user code
1957 * probably needs to define it as:
1958 * union semun {
1959 * int val;
1960 * struct semid_ds *buf;
1961 * unsigned short *array;
1962 * }
1963 */
1964/* USE_SEMCTL_SEMUN:
1965 * This symbol, if defined, indicates that union semun is
1966 * used for semctl IPC_STAT.
1967 */
1968/* USE_SEMCTL_SEMID_DS:
1969 * This symbol, if defined, indicates that struct semid_ds * is
1970 * used for semctl IPC_STAT.
1971 */
11dc3f68
JH
1972/*#define HAS_UNION_SEMUN / **/
1973#define USE_SEMCTL_SEMUN /**/
1974#define USE_SEMCTL_SEMID_DS /**/
bd89102f 1975
af4c28eb
CS
1976/* HAS_VFORK:
1977 * This symbol, if defined, indicates that vfork() exists.
1978 */
1979/*#define HAS_VFORK / **/
1980
dfe9444c
AD
1981/* Signal_t:
1982 * This symbol's value is either "void" or "int", corresponding to the
1983 * appropriate return type of a signal handler. Thus, you can declare
1984 * a signal handler using "Signal_t (*handler)()", and define the
1985 * handler using "Signal_t handler(sig)".
1986 */
1987#define Signal_t void /* Signal handler's return type */
1988
1989/* Groups_t:
1990 * This symbol holds the type used for the second argument to
1991 * getgroups() and setgropus(). Usually, this is the same as
1992 * gidtype (gid_t) , but sometimes it isn't.
1993 * It can be int, ushort, uid_t, etc...
1994 * It may be necessary to include <sys/types.h> to get any
1995 * typedef'ed information. This is only required if you have
1996 * getgroups() or setgropus()..
1997 */
1998#if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
1999#define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */
2000#endif
2001
327c3667
GS
2002/* I_GRP:
2003 * This symbol, if defined, indicates to the C program that it should
2004 * include <grp.h>.
2005 */
2006/* GRPASSWD:
2007 * This symbol, if defined, indicates to the C program that struct group
2008 * in <grp.h> contains gr_passwd.
2009 */
2010#define I_GRP /**/
11dc3f68 2011#define GRPASSWD /**/
327c3667 2012
dfe9444c
AD
2013/* I_NETDB:
2014 * This symbol, if defined, indicates that <netdb.h> exists and
2015 * should be included.
2016 */
11dc3f68 2017#define I_NETDB /**/
4633a7c4 2018
c4f23d77
AD
2019/* I_PWD:
2020 * This symbol, if defined, indicates to the C program that it should
2021 * include <pwd.h>.
2022 */
2023/* PWQUOTA:
2024 * This symbol, if defined, indicates to the C program that struct passwd
2025 * contains pw_quota.
2026 */
2027/* PWAGE:
2028 * This symbol, if defined, indicates to the C program that struct passwd
2029 * contains pw_age.
2030 */
2031/* PWCHANGE:
2032 * This symbol, if defined, indicates to the C program that struct passwd
2033 * contains pw_change.
2034 */
2035/* PWCLASS:
2036 * This symbol, if defined, indicates to the C program that struct passwd
2037 * contains pw_class.
2038 */
2039/* PWEXPIRE:
2040 * This symbol, if defined, indicates to the C program that struct passwd
2041 * contains pw_expire.
2042 */
2043/* PWCOMMENT:
2044 * This symbol, if defined, indicates to the C program that struct passwd
2045 * contains pw_comment.
2046 */
2047/* PWGECOS:
2048 * This symbol, if defined, indicates to the C program that struct passwd
2049 * contains pw_gecos.
2050 */
93341792
AD
2051/* PWPASSWD:
2052 * This symbol, if defined, indicates to the C program that struct passwd
2053 * contains pw_passwd.
2054 */
c4f23d77 2055#define I_PWD /**/
921b2963
JH
2056#define PWQUOTA /**/
2057/*#define PWAGE / **/
c4f23d77
AD
2058/*#define PWCHANGE / **/
2059/*#define PWCLASS / **/
2060/*#define PWEXPIRE / **/
327c3667 2061#define PWCOMMENT /**/
11dc3f68
JH
2062#define PWGECOS /**/
2063#define PWPASSWD /**/
c4f23d77 2064
de4597cb
JH
2065/* I_SYSUIO:
2066 * This symbol, if defined, indicates that <sys/uio.h> exists and
2067 * should be included.
2068 */
190b66db
JH
2069/* HAS_STRUCT_IOVEC:
2070 * This symbol, if defined, indicates that the struct iovec
2071 * to do scatter writes/gather reads is supported.
2072 */
11dc3f68 2073#define I_SYSUIO /**/
190b66db 2074#define HAS_STRUCT_IOVEC /**/
de4597cb 2075
bfb7748a
AD
2076/* Free_t:
2077 * This variable contains the return type of free(). It is usually
2078 * void, but occasionally int.
9003a523 2079 */
bfb7748a
AD
2080/* Malloc_t:
2081 * This symbol is the type of pointer returned by malloc and realloc.
16d20bd9 2082 */
bfb7748a
AD
2083#define Malloc_t void * /**/
2084#define Free_t void /**/
2085
2086/* MYMALLOC:
2087 * This symbol, if defined, indicates that we're using our own malloc.
2088 */
11dc3f68 2089/*#define MYMALLOC / **/
9003a523 2090
c4f23d77
AD
2091/* SIG_NAME:
2092 * This symbol contains a list of signal names in order of
2093 * signal number. This is intended
2094 * to be used as a static array initialization, like this:
2095 * char *sig_name[] = { SIG_NAME };
2096 * The signals in the list are separated with commas, and each signal
2097 * is surrounded by double quotes. There is no leading SIG in the signal
2098 * name, i.e. SIGQUIT is known as "QUIT".
2099 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
2100 * etc., where nn is the actual signal number (e.g. NUM37).
2101 * The signal number for sig_name[i] is stored in sig_num[i].
2102 * The last element is 0 to terminate the list with a NULL. This
2103 * corresponds to the 0 at the end of the sig_num list.
2104 */
2105/* SIG_NUM:
2106 * This symbol contains a list of signal numbers, in the same order as the
2107 * SIG_NAME list. It is suitable for static array initialization, as in:
2108 * int sig_num[] = { SIG_NUM };
2109 * The signals in the list are separated with commas, and the indices
2110 * within that list and the SIG_NAME list match, so it's easy to compute
2111 * the signal name from a number or vice versa at the price of a small
2112 * dynamic linear lookup.
2113 * Duplicates are allowed, but are moved to the end of the list.
2114 * The signal number corresponding to sig_name[i] is sig_number[i].
2115 * if (i < NSIG) then sig_number[i] == i.
2116 * The last element is 0, corresponding to the 0 at the end of
2117 * the sig_name list.
2118 */
11dc3f68
JH
2119#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 /**/
2120#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 2121
bfb7748a
AD
2122/* VOIDFLAGS:
2123 * This symbol indicates how much support of the void type is given by this
2124 * compiler. What various bits mean:
2125 *
2126 * 1 = supports declaration of void
2127 * 2 = supports arrays of pointers to functions returning void
2128 * 4 = supports comparisons between pointers to void functions and
2129 * addresses of void functions
2130 * 8 = suports declaration of generic void pointers
2131 *
2132 * The package designer should define VOIDUSED to indicate the requirements
2133 * of the package. This can be done either by #defining VOIDUSED before
2134 * including config.h, or by defining defvoidused in Myinit.U. If the
2135 * latter approach is taken, only those flags will be tested. If the
2136 * level of void support necessary is not present, defines void to int.
4633a7c4 2137 */
bfb7748a
AD
2138#ifndef VOIDUSED
2139#define VOIDUSED 15
2140#endif
2141#define VOIDFLAGS 15
2142#if (VOIDFLAGS & VOIDUSED) != VOIDUSED
2143#define void int /* is void to be avoided? */
2144#define M_VOID /* Xenix strikes again */
2145#endif
fbfd4aab 2146
8c09e4ca
JH
2147/* HAS_ATOLF:
2148 * This symbol, if defined, indicates that the atolf routine is
2149 * available to convert strings into long doubles.
2150 */
11dc3f68 2151/*#define HAS_ATOLF / **/
8c09e4ca
JH
2152
2153/* HAS_ATOLL:
2154 * This symbol, if defined, indicates that the atoll routine is
2155 * available to convert strings into long longs.
2156 */
11dc3f68 2157/*#define HAS_ATOLL / **/
8c09e4ca 2158
d71b2b6b
JH
2159/* PERL_BINCOMPAT_5005:
2160 * This symbol, if defined, indicates that Perl 5.006 should be
2161 * binary-compatible with Perl 5.005. This is impossible for builds
2162 * that use features like threads and multiplicity it is always
2163 * for those versions.
2164 */
ca24dfc6 2165/*#define PERL_BINCOMPAT_5005 / **/
d71b2b6b 2166
dfe9444c
AD
2167/* DLSYM_NEEDS_UNDERSCORE:
2168 * This symbol, if defined, indicates that we need to prepend an
2169 * underscore to the symbol name before calling dlsym(). This only
2170 * makes sense if you *have* dlsym, which we will presume is the
2171 * case if you're using dl_dlopen.xs.
2172 */
2173/*#define DLSYM_NEEDS_UNDERSCORE / **/
2174
86959918
JH
2175/* HAS_ENDSPENT:
2176 * This symbol, if defined, indicates that the endspent system call is
2177 * available to finalize the scan of SysV shadow password entries.
2178 */
11dc3f68 2179/*#define HAS_ENDSPENT / **/
86959918 2180
327c3667
GS
2181/* HAS_FSEEKO:
2182 * This symbol, if defined, indicates that the fseeko routine is
2183 * available to fseek beyond 32 bits (useful for ILP32 hosts).
2184 */
11dc3f68 2185/*#define HAS_FSEEKO / **/
327c3667
GS
2186
2187/* HAS_FTELLO:
2188 * This symbol, if defined, indicates that the ftello routine is
71c4afb4 2189 * available to ftell beyond 32 bits (useful for ILP32 hosts).
327c3667 2190 */
11dc3f68 2191/*#define HAS_FTELLO / **/
327c3667 2192
ccc7f9b3
KS
2193/* HAS_GETMNTENT:
2194 * This symbol, if defined, indicates that the getmntent routine is
2195 * available to iterate through mounted file systems.
2196 */
11dc3f68 2197/*#define HAS_GETMNTENT / **/
ccc7f9b3 2198
86959918
JH
2199/* HAS_GETSPENT:
2200 * This symbol, if defined, indicates that the getspent system call is
2201 * available to retrieve SysV shadow password entries sequentially.
2202 */
11dc3f68 2203/*#define HAS_GETSPENT / **/
86959918
JH
2204
2205/* HAS_GETSPNAM:
2206 * This symbol, if defined, indicates that the getspnam system call is
2207 * available to retrieve SysV shadow password entries by name.
2208 */
11dc3f68 2209/*#define HAS_GETSPNAM / **/
86959918 2210
ccc7f9b3
KS
2211/* HAS_HASMNTOPT:
2212 * This symbol, if defined, indicates that the hasmntopt routine is
2213 * available to query the mount options of file systems.
2214 */
11dc3f68 2215/*#define HAS_HASMNTOPT / **/
ccc7f9b3 2216
ca24dfc6
LV
2217/* HAS_LDBL_DIG:
2218 * This symbol, if defined, indicates that this system's <float.h>
2219 * or <limits.h> defines the symbol LDBL_DIG, which is the number
2220 * of significant digits in a long double precision number. Unlike
2221 * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined.
2222 */
2223#define HAS_LDBL_DIG /* */
2224
ff49bff8
JH
2225/* HAS_MADVISE:
2226 * This symbol, if defined, indicates that the madvise system call is
2227 * available to map a file into memory.
2228 */
11dc3f68 2229#define HAS_MADVISE /**/
ff49bff8
JH
2230
2231/* HAS_MPROTECT:
2232 * This symbol, if defined, indicates that the mprotect system call is
2233 * available to modify the access protection of a memory mapped file.
2234 */
11dc3f68 2235#define HAS_MPROTECT /**/
ff49bff8 2236
de4597cb
JH
2237/* HAS_READV:
2238 * This symbol, if defined, indicates that the readv routine is
2239 * available to do gather reads. You will also need <sys/uio.h>
2240 * and there I_SYSUIO.
2241 */
11dc3f68 2242#define HAS_READV /**/
de4597cb 2243
86959918
JH
2244/* HAS_SETSPENT:
2245 * This symbol, if defined, indicates that the setspent system call is
2246 * available to initialize the scan of SysV shadow password entries.
2247 */
11dc3f68 2248/*#define HAS_SETSPENT / **/
86959918 2249
dfe9444c
AD
2250/* USE_SFIO:
2251 * This symbol, if defined, indicates that sfio should
2252 * be used.
2253 */
2254/*#define USE_SFIO / **/
2255
68d4903c
JH
2256/* HAS_SQRTL:
2257 * This symbol, if defined, indicates that the sqrtl routine is
2258 * available to do long double square roots.
2259 */
2260#define HAS_SQRTL /**/
2261
ff49bff8
JH
2262/* HAS_FSTATFS:
2263 * This symbol, if defined, indicates that the fstatfs routine is
732c9516 2264 * available to stat filesystems of file descriptors.
ff49bff8
JH
2265 */
2266/* HAS_STRUCT_STATFS_FLAGS:
2267 * This symbol, if defined, indicates that the struct statfs
2268 * does have the f_flags member containing the mount flags of
2269 * the filesystem holding the file.
732c9516
JH
2270 * This kind of struct statfs is coming from sys/mount.h (BSD),
2271 * not from sys/statfs.h (SYSV).
ff49bff8 2272 */
11dc3f68
JH
2273#define HAS_FSTATFS /**/
2274#define HAS_STRUCT_STATFS_FLAGS /**/
ff49bff8
JH
2275
2276/* HAS_FSTATVFS:
2277 * This symbol, if defined, indicates that the fstatvfs routine is
732c9516 2278 * available to stat filesystems of file descriptors.
ff49bff8 2279 */
11dc3f68 2280#define HAS_FSTATVFS /**/
ff49bff8
JH
2281
2282/* HAS_TELLDIR_PROTO:
2283 * This symbol, if defined, indicates that the system provides
2284 * a prototype for the telldir() function. Otherwise, it is up
2285 * to the program to supply one. A good guess is
86959918 2286 * extern long telldir _((DIR*));
ff49bff8 2287 */
11dc3f68 2288#define HAS_TELLDIR_PROTO /**/
ff49bff8 2289
de4597cb
JH
2290/* HAS_WRITEV:
2291 * This symbol, if defined, indicates that the writev routine is
2292 * available to do scatter writes.
2293 */
11dc3f68 2294#define HAS_WRITEV /**/
de4597cb 2295
dfe9444c
AD
2296/* USE_DYNAMIC_LOADING:
2297 * This symbol, if defined, indicates that dynamic loading of
2298 * some sort is available.
2299 */
2300#define USE_DYNAMIC_LOADING /**/
2301
a71cd7cd
JH
2302/* FFLUSH_NULL:
2303 * This symbol, if defined, tells that fflush(NULL) does flush
2304 * all pending stdio output.
2305 */
2306/* FFLUSH_ALL:
2307 * This symbol, if defined, tells that to flush
2308 * all pending stdio output one must loop through all
2309 * the stdio file handles stored in an array and fflush them.
a32a45b6
JH
2310 * Note that if fflushNULL is defined, fflushall will not
2311 * even be probed for and will be left undefined.
a71cd7cd 2312 */
11dc3f68
JH
2313#define FFLUSH_NULL /**/
2314/*#define FFLUSH_ALL / **/
a71cd7cd 2315
dfe9444c
AD
2316/* DB_Prefix_t:
2317 * This symbol contains the type of the prefix structure element
2318 * in the <db.h> header file. In older versions of DB, it was
2319 * int, while in newer ones it is u_int32_t.
2320 */
2321/* DB_Hash_t:
2322 * This symbol contains the type of the prefix structure element
2323 * in the <db.h> header file. In older versions of DB, it was
2324 * int, while in newer ones it is size_t.
2325 */
2326#define DB_Hash_t u_int32_t /**/
2327#define DB_Prefix_t size_t /**/
2328
327c3667
GS
2329/* I_INTTYPES:
2330 * This symbol, if defined, indicates to the C program that it should
2331 * include <inttypes.h>.
2332 */
2333/* HAS_INT64_T:
2334 * This symbol will defined if the C compiler supports int64_t.
2335 * Usually the <inttypes.h> needs to be included, but sometimes
2336 * <sys/types.h> is enough.
2337 */
11dc3f68
JH
2338/*#define I_INTTYPES / **/
2339/*#define HAS_INT64_T / **/
327c3667 2340
ff49bff8
JH
2341/* I_MNTENT:
2342 * This symbol, if defined, indicates that <mntent.h> exists and
2343 * should be included.
2344 */
11dc3f68 2345/*#define I_MNTENT / **/
ff49bff8 2346
a71cd7cd
JH
2347/* I_NETINET_TCP:
2348 * This symbol, if defined, indicates to the C program that it should
2349 * include <netinet/tcp.h>.
2350 */
11dc3f68 2351#define I_NETINET_TCP /**/
a71cd7cd 2352
5b34fd99
JH
2353/* I_POLL:
2354 * This symbol, if defined, indicates that <poll.h> exists and
2355 * should be included.
2356 */
11dc3f68 2357#define I_POLL /**/
5b34fd99 2358
86959918
JH
2359/* I_SHADOW:
2360 * This symbol, if defined, indicates that <shadow.h> exists and
2361 * should be included.
2362 */
11dc3f68 2363/*#define I_SHADOW / **/
86959918
JH
2364
2365/* I_SOCKS:
2366 * This symbol, if defined, indicates that <socks.h> exists and
2367 * should be included.
2368 */
11dc3f68 2369/*#define I_SOCKS / **/
86959918 2370
ff49bff8
JH
2371/* I_SYS_MMAN:
2372 * This symbol, if defined, indicates that <sys/mman.h> exists and
2373 * should be included.
2374 */
11dc3f68 2375#define I_SYS_MMAN /**/
ff49bff8
JH
2376
2377/* I_SYS_MOUNT:
2378 * This symbol, if defined, indicates that <sys/mount.h> exists and
2379 * should be included.
2380 */
11dc3f68 2381#define I_SYS_MOUNT /**/
ff49bff8
JH
2382
2383/* I_SYS_STATVFS:
2384 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
2385 * should be included.
2386 */
11dc3f68 2387#define I_SYS_STATVFS /**/
ff49bff8 2388
327c3667
GS
2389/* HAS_OFF64_T:
2390 * This symbol will be defined if the C compiler supports off64_t.
2391 */
ca24dfc6
LV
2392/* HAS_FPOS64_T:
2393 * This symbol will be defined if the C compiler supports fpos64_t.
2394 */
2395/*#define HAS_OFF64_T / **/
2396/*#define HAS_FPOS64_T / **/
8c09e4ca
JH
2397
2398/* PERL_PRIfldbl:
2399 * This symbol, if defined, contains the string used by stdio to
2400 * format long doubles (format 'f') for output.
2401 */
2402/* PERL_PRIgldbl:
2403 * This symbol, if defined, contains the string used by stdio to
2404 * format long doubles (format 'g') for output.
2405 */
11dc3f68
JH
2406#define PERL_PRIfldbl "f" /**/
2407#define PERL_PRIgldbl "g" /**/
8c09e4ca
JH
2408
2409/* PERL_PRId64:
2410 * This symbol, if defined, contains the string used by stdio to
2411 * format 64-bit decimal numbers (format 'd') for output.
2412 */
2413/* PERL_PRIu64:
2414 * This symbol, if defined, contains the string used by stdio to
2415 * format 64-bit unsigned decimal numbers (format 'u') for output.
2416 */
ca24dfc6
LV
2417/* PERL_PRIo64:
2418 * This symbol, if defined, contains the string used by stdio to
2419 * format 64-bit octal numbers (format 'o') for output.
2420 */
8c09e4ca
JH
2421/* PERL_PRIx64:
2422 * This symbol, if defined, contains the string used by stdio to
2423 * format 64-bit hexadecimal numbers (format 'x') for output.
2424 */
11dc3f68
JH
2425#define PERL_PRId64 "ld" /**/
2426#define PERL_PRIu64 "lu" /**/
ca24dfc6 2427#define PERL_PRIo64 "lo" /**/
11dc3f68 2428#define PERL_PRIx64 "lx" /**/
327c3667 2429
327c3667
GS
2430/* SELECT_MIN_BITS:
2431 * This symbol holds the minimum number of bits operated by select.
2432 * That is, if you do select(n, ...), how many bits at least will be
2433 * cleared in the masks if some activity is detected. Usually this
2434 * is either n or 32*ceil(n/32), especially many little-endians do
2435 * the latter. This is only useful if you have select(), naturally.
2436 */
11dc3f68 2437#define SELECT_MIN_BITS 32 /**/
bfb7748a 2438
fbfd4aab
PP
2439/* STARTPERL:
2440 * This variable contains the string to put in front of a perl
2441 * script to make sure (one hopes) that it runs with perl and not
2442 * some shell.
2443 */
11dc3f68 2444#define STARTPERL "#!/opt/perl/bin/perl" /**/
327c3667 2445
a71cd7cd
JH
2446/* HAS_STDIO_STREAM_ARRAY:
2447 * This symbol, if defined, tells that there is an array
2448 * holding the stdio streams.
2449 */
2450/* STDIO_STREAM_ARRAY:
2451 * This symbol tells the name of the array holding the stdio streams.
2452 * Usual values include _iob, __iob, and __sF.
2453 */
11dc3f68
JH
2454#define HAS_STDIO_STREAM_ARRAY /**/
2455#define STDIO_STREAM_ARRAY _iob
8c09e4ca
JH
2456
2457/* HAS_STRTOULL:
2458 * This symbol, if defined, indicates that the strtoull routine is
2459 * available to convert strings into unsigned long longs.
2460 */
11dc3f68 2461/*#define HAS_STRTOULL / **/
a71cd7cd 2462
327c3667 2463/* USE_64_BITS:
921b2963
JH
2464 * This symbol, if defined, indicates that 64-bit interfaces should
2465 * be used when available. If not defined, the native default interfaces
327c3667
GS
2466 * will be used (be they 32 or 64 bits).
2467 */
11dc3f68 2468#define USE_64_BITS /**/
4633a7c4 2469
1baac590
JH
2470/* USE_LARGE_FILES:
2471 * This symbol, if defined, indicates that large file support
2472 * should be used when available. The USE_64_BITS symbol will
2473 * also be turned on if necessary.
2474 */
5bf26616 2475/*#define USE_LARGE_FILES / **/
1baac590 2476
ca24dfc6
LV
2477/* USE_LONG_DOUBLE:
2478 * This symbol, if defined, indicates that long doubles should
2479 * be used when available.
2480 */
2481/*#define USE_LONG_DOUBLE / **/
2482
ff49bff8
JH
2483/* MULTIPLICITY:
2484 * This symbol, if defined, indicates that Perl should
2485 * be built to use multiplicity.
2486 */
11dc3f68 2487/*#define MULTIPLICITY / **/
ff49bff8 2488
9003a523
PP
2489/* USE_PERLIO:
2490 * This symbol, if defined, indicates that the PerlIO abstraction should
2491 * be used throughout. If not defined, stdio should be
2492 * used in a fully backward compatible manner.
ce4a058e 2493 */
20e68413 2494/*#define USE_PERLIO / **/
ce4a058e 2495
29209bc5
JH
2496/* USE_SOCKS:
2497 * This symbol, if defined, indicates that Perl should
2498 * be built to use socks.
2499 */
11dc3f68 2500/*#define USE_SOCKS / **/
29209bc5 2501
75347591
JH
2502/* PERL_XS_APIVERSION:
2503 * This variable contains the version of the oldest perl binary
2504 * compatible with the present perl. perl.c:incpush() and
68d4903c 2505 * lib/lib.pm will automatically search in /opt/perl/lib/site_perl/5.00562/alpha-dec_osf-thread for older
75347591
JH
2506 * directories across major versions back to xs_apiversion.
2507 * This is only useful if you have a perl library directory tree
2508 * structured like the default one.
2509 * See INSTALL for how this works.
2510 * The versioned site_perl directory was introduced in 5.005,
2511 * so that is the lowest possible value.
2512 * Since this can depend on compile time options (such as
2513 * bincompat) it is set by Configure. Other non-default sources
2514 * of potential incompatibility, such as multiplicity, threads,
2515 * debugging, 64bits, sfio, etc., are not checked for currently,
2516 * though in principle we could go snooping around in old
2517 * Config.pm files.
2518 */
2519/* PERL_PM_APIVERSION:
2520 * This variable contains the version of the oldest perl
2521 * compatible with the present perl. (That is, pure perl modules
2522 * written for pm_apiversion will still work for the current
2523 * version). perl.c:incpush() and lib/lib.pm will automatically
2524 * search in /opt/perl/lib/site_perl for older directories across major versions
2525 * back to pm_apiversion. This is only useful if you have a perl
2526 * library directory tree structured like the default one. The
2527 * versioned site_perl library was introduced in 5.005, so that's
2528 * the default setting for this variable. It's hard to imagine
2529 * it changing before Perl6. It is included here for symmetry
2530 * with xs_apiveprsion -- the searching algorithms will
2531 * (presumably) be similar.
2532 * See the INSTALL file for how this works.
2533 */
68d4903c 2534#define PERL_XS_APIVERSION 5.00562 /* Change to string for tuples?*/
75347591
JH
2535#define PERL_PM_APIVERSION 5.005 /* Change to string for tuples?*/
2536
921b2963
JH
2537/* HAS_DRAND48_PROTO:
2538 * This symbol, if defined, indicates that the system provides
2539 * a prototype for the drand48() function. Otherwise, it is up
2540 * to the program to supply one. A good guess is
86959918 2541 * extern double drand48 _((void));
921b2963 2542 */
11dc3f68 2543#define HAS_DRAND48_PROTO /**/
921b2963 2544
dc45a647
MB
2545/* HAS_GETHOST_PROTOS:
2546 * This symbol, if defined, indicates that <netdb.h> includes
2547 * prototypes for gethostent(), gethostbyname(), and
2548 * gethostbyaddr(). Otherwise, it is up to the program to guess
2549 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2550 */
11dc3f68 2551#define HAS_GETHOST_PROTOS /**/
dc45a647
MB
2552
2553/* HAS_GETNET_PROTOS:
2554 * This symbol, if defined, indicates that <netdb.h> includes
2555 * prototypes for getnetent(), getnetbyname(), and
2556 * getnetbyaddr(). Otherwise, it is up to the program to guess
2557 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2558 */
11dc3f68 2559#define HAS_GETNET_PROTOS /**/
dc45a647
MB
2560
2561/* HAS_GETPROTO_PROTOS:
2562 * This symbol, if defined, indicates that <netdb.h> includes
2563 * prototypes for getprotoent(), getprotobyname(), and
2564 * getprotobyaddr(). Otherwise, it is up to the program to guess
2565 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2566 */
11dc3f68 2567#define HAS_GETPROTO_PROTOS /**/
dc45a647
MB
2568
2569/* HAS_GETSERV_PROTOS:
2570 * This symbol, if defined, indicates that <netdb.h> includes
2571 * prototypes for getservent(), getservbyname(), and
2572 * getservbyaddr(). Otherwise, it is up to the program to guess
2573 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2574 */
11dc3f68 2575#define HAS_GETSERV_PROTOS /**/
dc45a647 2576
dfe9444c
AD
2577/* Netdb_host_t:
2578 * This symbol holds the type used for the 1st argument
2579 * to gethostbyaddr().
4633a7c4 2580 */
dfe9444c
AD
2581/* Netdb_hlen_t:
2582 * This symbol holds the type used for the 2nd argument
2583 * to gethostbyaddr().
2584 */
2585/* Netdb_name_t:
2586 * This symbol holds the type used for the argument to
2587 * gethostbyname().
2588 */
2589/* Netdb_net_t:
2590 * This symbol holds the type used for the 1st argument to
2591 * getnetbyaddr().
2592 */
11dc3f68
JH
2593#define Netdb_host_t const char * /**/
2594#define Netdb_hlen_t int /**/
2595#define Netdb_name_t const char * /**/
2596#define Netdb_net_t int /**/
dfe9444c
AD
2597
2598/* Select_fd_set_t:
2599 * This symbol holds the type used for the 2nd, 3rd, and 4th
2600 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
2601 * is defined, and 'int *' otherwise. This is only useful if you
2602 * have select(), of course.
2603 */
2604#define Select_fd_set_t fd_set * /**/
2605
2606/* ARCHNAME:
2607 * This symbol holds a string representing the architecture name.
2608 * It may be used to construct an architecture-dependant pathname
2609 * where library files may be held under a private library, for
2610 * instance.
2611 */
11dc3f68 2612#define ARCHNAME "alpha-dec_osf-thread" /**/
921b2963 2613
ef4af2be 2614/* OLD_PTHREAD_CREATE_JOINABLE:
921b2963 2615 * This symbol, if defined, indicates how to create pthread
ef4af2be
JH
2616 * in joinable (aka undetached) state. NOTE: not defined
2617 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
2618 * (the new version of the constant).
ff49bff8 2619 * If defined, known values are PTHREAD_CREATE_UNDETACHED
921b2963
JH
2620 * and __UNDETACHED.
2621 */
11dc3f68 2622/*#define OLD_PTHREAD_CREATE_JOINABLE / **/
dfe9444c
AD
2623
2624/* HAS_PTHREAD_YIELD:
2625 * This symbol, if defined, indicates that the pthread_yield
2626 * routine is available to yield the execution of the current
921b2963
JH
2627 * thread. sched_yield is preferable to pthread_yield.
2628 */
2629/* SCHED_YIELD:
2630 * This symbol defines the way to yield the execution of
2631 * the current thread. Known ways are sched_yield,
2632 * pthread_yield, and pthread_yield with NULL.
dfe9444c 2633 */
c4f23d77
AD
2634/* HAS_SCHED_YIELD:
2635 * This symbol, if defined, indicates that the sched_yield
2636 * routine is available to yield the execution of the current
921b2963 2637 * thread. sched_yield is preferable to pthread_yield.
c4f23d77 2638 */
11dc3f68
JH
2639/*#define HAS_PTHREAD_YIELD / **/
2640#define SCHED_YIELD sched_yield() /**/
2641#define HAS_SCHED_YIELD /**/
dfe9444c 2642
921b2963
JH
2643/* I_MACH_CTHREADS:
2644 * This symbol, if defined, indicates to the C program that it should
2645 * include <mach/cthreads.h>.
2646 */
11dc3f68 2647/*#define I_MACH_CTHREADS / **/
921b2963 2648
190b66db
JH
2649/* I_PTHREAD:
2650 * This symbol, if defined, indicates to the C program that it should
2651 * include <pthread.h>.
2652 */
2653#define I_PTHREAD /**/
2654
dfe9444c
AD
2655/* USE_THREADS:
2656 * This symbol, if defined, indicates that Perl should
2657 * be built to use threads.
2658 */
693762b4
AD
2659/* OLD_PTHREADS_API:
2660 * This symbol, if defined, indicates that Perl should
2661 * be built to use the old draft POSIX threads API.
2662 */
11dc3f68
JH
2663#define USE_THREADS /**/
2664/*#define OLD_PTHREADS_API / **/
16d20bd9 2665
dc45a647
MB
2666/* Time_t:
2667 * This symbol holds the type returned by time(). It can be long,
2668 * or time_t on BSD sites (in which case <sys/types.h> should be
2669 * included).
2670 */
2671#define Time_t time_t /* Time type */
2672
2673/* HAS_TIMES:
2674 * This symbol, if defined, indicates that the times() routine exists.
2675 * Note that this became obsolete on some systems (SUNOS), which now
2676 * use getrusage(). It may be necessary to include <sys/times.h>.
2677 */
2678#define HAS_TIMES /**/
2679
2680/* Fpos_t:
2681 * This symbol holds the type used to declare file positions in libc.
2682 * It can be fpos_t, long, uint, etc... It may be necessary to include
2683 * <sys/types.h> to get any typedef'ed information.
2684 */
2685#define Fpos_t fpos_t /* File position type */
2686
2687/* Gid_t:
2688 * This symbol holds the return type of getgid() and the type of
2689 * argument to setrgid() and related functions. Typically,
2690 * it is the type of group ids in the kernel. It can be int, ushort,
2691 * uid_t, etc... It may be necessary to include <sys/types.h> to get
2692 * any typedef'ed information.
2693 */
2694#define Gid_t gid_t /* Type for getgid(), etc... */
2695
2696/* Off_t:
2697 * This symbol holds the type used to declare offsets in the kernel.
2698 * It can be int, long, off_t, etc... It may be necessary to include
2699 * <sys/types.h> to get any typedef'ed information.
2700 */
921b2963
JH
2701/* LSEEKSIZE:
2702 * This symbol holds the number of bytes used by the Off_t.
2703 */
dc45a647 2704#define Off_t off_t /* <offset> type */
11dc3f68 2705#define LSEEKSIZE 8 /* <offset> size */
dc45a647
MB
2706
2707/* Mode_t:
2708 * This symbol holds the type used to declare file modes
2709 * for systems calls. It is usually mode_t, but may be
2710 * int or unsigned short. It may be necessary to include <sys/types.h>
2711 * to get any typedef'ed information.
2712 */
2713#define Mode_t mode_t /* file mode parameter for system calls */
2714
2715/* Pid_t:
2716 * This symbol holds the type used to declare process ids in the kernel.
2717 * It can be int, uint, pid_t, etc... It may be necessary to include
2718 * <sys/types.h> to get any typedef'ed information.
2719 */
11dc3f68 2720#define Pid_t pid_t /* PID type */
dc45a647
MB
2721
2722/* Size_t:
2723 * This symbol holds the type used to declare length parameters
2724 * for string functions. It is usually size_t, but may be
2725 * unsigned long, int, etc. It may be necessary to include
2726 * <sys/types.h> to get any typedef'ed information.
2727 */
2728#define Size_t size_t /* length paramater for string functions */
2729
2d228ff3
JH
2730/* Uid_t_SIGN:
2731 * This symbol holds the signedess of a Uid_t.
2732 * 1 for unsigned, -1 for signed.
2733 */
2734#define Uid_t_SIGN 1 /* UID sign */
2735
dc45a647
MB
2736/* Uid_t:
2737 * This symbol holds the type used to declare user ids in the kernel.
2738 * It can be int, ushort, uid_t, etc... It may be necessary to include
2739 * <sys/types.h> to get any typedef'ed information.
2740 */
2741#define Uid_t uid_t /* UID type */
2742
fe14fcc3 2743#endif