Prompt for uselfs.
[p5sagit/p5-mst-13.2.git] / Porting / config_H
CommitLineData
921b2963 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 5/*
6 * This file was produced by running the config_h.SH script, which
8d063cd8 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 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 17/*
18 * Package name : perl5
11dc3f68 19 * Source directory : .
1baac590 20 * Configuration time: Mon Sep 20 12:44:36 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 25#ifndef _config_h_
26#define _config_h_
fe14fcc3 27
dfe9444c 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 33/* HAS_ALARM:
34 * This symbol, if defined, indicates that the alarm routine is
35 * available.
36 */
37#define HAS_ALARM /**/
a687059c 38
ecfc5424 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 44#ifndef HASATTRIBUTE
45#define __attribute__(_arg_)
46#endif
47
85e6fe83 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 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 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 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 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 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 91#ifndef HASCONST
92#define const
93#endif
fe14fcc3 94
85e6fe83 95/* HAS_CRYPT:
a687059c 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 101/* HAS_CUSERID:
102 * This symbol, if defined, indicates that the cuserid routine is
103 * available to get character login names.
a687059c 104 */
a0d0e21e 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 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 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 146/*#define DOSUID / **/
147
85e6fe83 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 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 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 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 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 179 * This symbol, if defined, indicates that the system supports filenames
180 * longer than 14 characters.
181 */
4633a7c4 182#define FLEXFILENAMES /**/
fe14fcc3 183
85e6fe83 184/* HAS_FLOCK:
185 * This symbol, if defined, indicates that the flock routine is
a687059c 186 * available to do file locking.
187 */
921b2963 188#define HAS_FLOCK /**/
a0d0e21e 189
190/* HAS_FORK:
191 * This symbol, if defined, indicates that the fork routine is
192 * available.
193 */
194#define HAS_FORK /**/
195
196/* HAS_FSETPOS:
197 * This symbol, if defined, indicates that the fsetpos routine is
198 * available to set the file position indicator, similar to fseek().
199 */
4633a7c4 200#define HAS_FSETPOS /**/
ecfc5424 201
5f05dabc 202/* HAS_GETTIMEOFDAY:
203 * This symbol, if defined, indicates that the gettimeofday() system
204 * call is available for a sub-second accuracy clock. Usually, the file
205 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
206 * The type "Timeval" should be used to refer to "struct timeval".
207 */
dfe9444c 208#define HAS_GETTIMEOFDAY /**/
5f05dabc 209#ifdef HAS_GETTIMEOFDAY
210#define Timeval struct timeval /* Structure used by gettimeofday() */
211#endif
212
85e6fe83 213/* HAS_GETGROUPS:
a687059c 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 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 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 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 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 256/* HAS_GETPRIORITY:
257 * This symbol, if defined, indicates that the getpriority routine is
a687059c 258 * available to get a process's priority.
259 */
9003a523 260#define HAS_GETPRIORITY /**/
a0d0e21e 261
dfe9444c 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 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 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 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 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 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 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 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 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 318/* HAS_MEMCMP:
319 * This symbol, if defined, indicates that the memcmp routine is available
320 * to compare blocks of memory.
a687059c 321 */
85e6fe83 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 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 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 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 359/* HAS_MKTIME:
360 * This symbol, if defined, indicates that the mktime routine is
361 * available.
362 */
363#define HAS_MKTIME /**/
364
ff49bff8 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 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 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 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 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 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 406#define HAS_PIPE /**/
407
4633a7c4 408/* HAS_POLL:
409 * This symbol, if defined, indicates that the poll routine is
dfe9444c 410 * available to poll active file descriptors. You may safely
411 * include <poll.h> when this symbol is defined.
4633a7c4 412 */
413#define HAS_POLL /**/
414
a0d0e21e 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 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 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 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 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 474 * This symbol, if defined, indicates that the seteuid routine is available
475 * to change the effective uid of the current program.
476 */
85e6fe83 477#define HAS_SETEUID /**/
478
a0d0e21e 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 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 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 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 516/* HAS_SETPRIORITY:
517 * This symbol, if defined, indicates that the setpriority routine is
a687059c 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 524 * available to change the real and effective gid of the current
525 * process.
a687059c 526 */
85e6fe83 527/* HAS_SETRESGID:
fe14fcc3 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 537 * available to change the real and effective uid of the current
538 * process.
fe14fcc3 539 */
85e6fe83 540/* HAS_SETRESUID:
fe14fcc3 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 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 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 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 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 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 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 577#define Shmat_t void * /**/
578#define HAS_SHMAT_PROTOTYPE /**/
a687059c 579
a0d0e21e 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 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 599 * This symbol, if defined, indicates that this C compiler knows how
600 * to copy structures. If undefined, you'll need to use a block copy
601 * routine of some sort instead.
602 */
85e6fe83 603#define USE_STRUCT_COPY /**/
fe14fcc3 604
55497cff 605/* HAS_STRTOD:
606 * This symbol, if defined, indicates that the strtod routine is
774d564b 607 * available to provide better numeric string conversion than atof().
55497cff 608 */
609#define HAS_STRTOD /**/
610
611/* HAS_STRTOL:
774d564b 612 * This symbol, if defined, indicates that the strtol routine is available
613 * to provide better numeric string conversion than atoi() and friends.
55497cff 614 */
615#define HAS_STRTOL /**/
616
617/* HAS_STRTOUL:
618 * This symbol, if defined, indicates that the strtoul routine is
774d564b 619 * available to provide conversion of strings to unsigned long.
55497cff 620 */
621#define HAS_STRTOUL /**/
622
a0d0e21e 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 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 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 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 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 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 666 * This symbol, if defined, indicates that the truncate routine is
667 * available to truncate files.
a687059c 668 */
4633a7c4 669#define HAS_TRUNCATE /**/
a0d0e21e 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 684 * This symbol, if defined, indicates that this C compiler knows about
685 * the volatile declaration.
686 */
4633a7c4 687#define HASVOLATILE /**/
85e6fe83 688#ifndef HASVOLATILE
689#define volatile
690#endif
fe14fcc3 691
85e6fe83 692/* HAS_WAIT4:
fe14fcc3 693 * This symbol, if defined, indicates that wait4() exists.
694 */
9003a523 695#define HAS_WAIT4 /**/
fe14fcc3 696
85e6fe83 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 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 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 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 721/* I_DBM:
722 * This symbol, if defined, indicates that <dbm.h> exists and should
723 * be included.
232e078e 724 */
dfe9444c 725/* I_RPCSVC_DBM:
726 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
727 * should be included.
232e078e 728 */
921b2963 729#define I_DBM /**/
730/*#define I_RPCSVC_DBM / **/
232e078e 731
85e6fe83 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 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 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 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 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 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 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 797 * be included.
798 */
799#define I_NDBM /**/
800
ecfc5424 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 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 818
819/* I_STDDEF:
820 * This symbol, if defined, indicates that <stddef.h> exists and should
821 * be included.
fe14fcc3 822 */
85e6fe83 823#define I_STDDEF /**/
824
a0d0e21e 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 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 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 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 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 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 861/* I_SYS_PARAM:
862 * This symbol, if defined, indicates to the C program that it should
863 * include <sys/param.h>.
864 */
865#define I_SYS_PARAM /**/
866
9003a523 867/* I_SYS_RESOURCE:
868 * This symbol, if defined, indicates to the C program that it should
869 * include <sys/resource.h>.
870 */
871#define I_SYS_RESOURCE /**/
872
85e6fe83 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 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 889#define I_SYS_TIMES /**/
890
bd89102f 891/* I_SYS_TYPES:
892 * This symbol, if defined, indicates to the C program that it should
893 * include <sys/types.h>.
894 */
895#define I_SYS_TYPES /**/
896
fbfd4aab 897/* I_SYS_UN:
898 * This symbol, if defined, indicates to the C program that it should
899 * include <sys/un.h> to get UNIX domain socket definitions.
900 */
901#define I_SYS_UN /**/
902
9003a523 903/* I_SYS_WAIT:
904 * This symbol, if defined, indicates to the C program that it should
905 * include <sys/wait.h>.
906 */
907#define I_SYS_WAIT /**/
908
a0d0e21e 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 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 941/* I_VALUES:
942 * This symbol, if defined, indicates to the C program that it should
943 * include <values.h> to get definition of symbols like MINFLOAT or
944 * MAXLONG, i.e. machine dependant limitations. Probably, you
945 * should use <limits.h> instead, if it is available.
946 */
947#define I_VALUES /**/
948
9003a523 949/* I_STDARG:
950 * This symbol, if defined, indicates that <stdarg.h> exists and should
951 * be included.
952 */
953/* I_VARARGS:
954 * This symbol, if defined, indicates to the C program that it should
955 * include <varargs.h>.
956 */
957#define I_STDARG /**/
20e68413 958/*#define I_VARARGS / **/
9003a523 959
a0d0e21e 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 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 978#ifdef CAN_PROTOTYPE
979#define _(args) args
980#else
981#define _(args) ()
982#endif
85e6fe83 983
dfe9444c 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 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 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 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 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 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 1023/* CROSSCOMPILE:
1024 * This symbol, if defined, signifies that we our
1025 * build process is a cross-compilation.
1026 */
11dc3f68 1027/*#define CROSSCOMPILE / **/
af4c28eb 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 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 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 1068 * If the compiler supports cross-compiling or multiple-architecture
1069 * binaries (eg. on NeXT systems), use compiler-defined macros to
1070 * determine the byte order.
dfe9444c 1071 * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
9003a523 1072 * Binaries (MAB) on either big endian or little endian machines.
1073 * The endian-ness is available at compile-time. This only matters
1074 * for perl, where the config.h can be generated and installed on
1075 * one system, and used by a different architecture to build an
1076 * extension. Older versions of NeXT that might not have
1077 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1078 * so the default case (for NeXT) is big endian to catch them.
1079 * This might matter for NeXT 3.0.
1080 */
af4c28eb 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 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 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 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 1126#define CASTNEGFLOAT /**/
1127#define CASTFLAGS 0 /**/
dfe9444c 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 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 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 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 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 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 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 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 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 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 1211/* HAS_SIGSETJMP:
1212 * This variable indicates to the C program that the sigsetjmp()
1213 * routine is available to save the calling process's registers
1214 * and stack environment for later use by siglongjmp(), and
1215 * to optionally save the process's signal mask. See
1216 * Sigjmp_buf, Sigsetjmp, and Siglongjmp.
1217 */
36d1a04a 1218/* Sigjmp_buf:
9003a523 1219 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
36d1a04a 1220 */
1221/* Sigsetjmp:
9003a523 1222 * This macro is used in the same way as sigsetjmp(), but will invoke
1223 * traditional setjmp() if sigsetjmp isn't available.
1224 * See HAS_SIGSETJMP.
36d1a04a 1225 */
1226/* Siglongjmp:
9003a523 1227 * This macro is used in the same way as siglongjmp(), but will invoke
1228 * traditional longjmp() if siglongjmp isn't available.
1229 * See HAS_SIGSETJMP.
36d1a04a 1230 */
1231#define HAS_SIGSETJMP /**/
1232#ifdef HAS_SIGSETJMP
1233#define Sigjmp_buf sigjmp_buf
9003a523 1234#define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1235#define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
36d1a04a 1236#else
1237#define Sigjmp_buf jmp_buf
9003a523 1238#define Sigsetjmp(buf,save_mask) setjmp((buf))
1239#define Siglongjmp(buf,retval) longjmp((buf),(retval))
36d1a04a 1240#endif
1241
dfe9444c 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 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 1271#define FILE_cnt(fp) ((fp)->_cnt)
1272#define STDIO_CNT_LVALUE /**/
dfe9444c 1273#endif
4633a7c4 1274
dfe9444c 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 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 1295#define USE_STDIO_BASE /**/
1296#ifdef USE_STDIO_BASE
327c3667 1297#define FILE_base(fp) ((fp)->_base)
1298#define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base)
dfe9444c 1299#endif
4633a7c4 1300
dfe9444c 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 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 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 1333/*#define I_TIME / **/
1334#define I_SYS_TIME /**/
1335/*#define I_SYS_TIME_KERNEL / **/
4633a7c4 1336
dfe9444c 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 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 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 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 1392#define Drand01() drand48() /**/
1393#define Rand_seed_t long /**/
1394#define seedDrand01(x) srand48((Rand_seed_t)x) /**/
1395#define RANDBITS 48 /**/
dfe9444c 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 1407/* EBCDIC:
1408 * This symbol, if defined, indicates that this system uses
1409 * EBCDIC encoding.
1410 */
11dc3f68 1411/*#define EBCDIC / **/
327c3667 1412
71c4afb4 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 */
190b66db 1426#define ARCHLIB "/opt/perl/lib/5.00561/alpha-dec_osf-thread" /**/
1427#define ARCHLIB_EXP "/opt/perl/lib/5.00561/alpha-dec_osf-thread" /**/
71c4afb4 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 1437#define BIN "/opt/perl/bin" /**/
1438#define BIN_EXP "/opt/perl/bin" /**/
71c4afb4 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 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 */
190b66db 1456#define PRIVLIB "/opt/perl/lib/5.00561" /**/
1457#define PRIVLIB_EXP "/opt/perl/lib/5.00561" /**/
71c4afb4 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 */
190b66db 1472#define SITEARCH "/opt/perl/lib/site_perl/5.00561/alpha-dec_osf-thread" /**/
1473#define SITEARCH_EXP "/opt/perl/lib/site_perl/5.00561/alpha-dec_osf-thread" /**/
71c4afb4 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 1488#define SITELIB "/opt/perl/lib/site_perl" /**/
1489#define SITELIB_EXP "/opt/perl/lib/site_perl" /**/
71c4afb4 1490
a3635516 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 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 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 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 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 1549#define CPPSTDIN "cppstdin"
1550#define CPPMINUS ""
1551#define CPPRUN "/usr/bin/cpp"
190b66db 1552#define CPPLAST ""
921b2963 1553
327c3667 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 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 1567#define HAS_CSH /**/
1568#ifdef HAS_CSH
327c3667 1569#define CSH "/usr/bin/csh" /**/
e5c9fcd0 1570#endif
1571
327c3667 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 1693#define HAS_GETPROTOBYNAME /**/
1694#define HAS_GETPROTOBYNUMBER /**/
693762b4 1695
327c3667 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 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 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 1717#define HAS_GETSERVBYNAME /**/
1718#define HAS_GETSERVBYPORT /**/
693762b4 1719
327c3667 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 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 1757#endif
1758
dc45a647 1759/* HAS_LONG_LONG:
327c3667 1760 * This symbol will be defined if the C compiler supports long long.
dc45a647 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 1770#endif
1771
a71cd7cd 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 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 1787#define HAS_MMAP /**/
1788#define Mmap_t void * /**/
ff49bff8 1789
327c3667 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 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 1813#define HAS_SETGROUPS /**/
1814
693762b4 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 1821/* HAS_SETNETENT:
1822 * This symbol, if defined, indicates that the setnetent() routine is
1823 * available.
1824 */
11dc3f68 1825#define HAS_SETNETENT /**/
e5c9fcd0 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 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 1839/* HAS_SETSERVENT:
1840 * This symbol, if defined, indicates that the setservent() routine is
1841 * available.
1842 */
11dc3f68 1843#define HAS_SETSERVENT /**/
e5c9fcd0 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 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 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 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 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 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 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 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 1972/*#define HAS_UNION_SEMUN / **/
1973#define USE_SEMCTL_SEMUN /**/
1974#define USE_SEMCTL_SEMID_DS /**/
bd89102f 1975
af4c28eb 1976/* HAS_VFORK:
1977 * This symbol, if defined, indicates that vfork() exists.
1978 */
1979/*#define HAS_VFORK / **/
1980
dfe9444c 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 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 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 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 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 2056#define PWQUOTA /**/
2057/*#define PWAGE / **/
c4f23d77 2058/*#define PWCHANGE / **/
2059/*#define PWCLASS / **/
2060/*#define PWEXPIRE / **/
327c3667 2061#define PWCOMMENT /**/
11dc3f68 2062#define PWGECOS /**/
2063#define PWPASSWD /**/
c4f23d77 2064
de4597cb 2065/* I_SYSUIO:
2066 * This symbol, if defined, indicates that <sys/uio.h> exists and
2067 * should be included.
2068 */
190b66db 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 2076/* Free_t:
2077 * This variable contains the return type of free(). It is usually
2078 * void, but occasionally int.
9003a523 2079 */
bfb7748a 2080/* Malloc_t:
2081 * This symbol is the type of pointer returned by malloc and realloc.
16d20bd9 2082 */
bfb7748a 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 2250/* USE_SFIO:
2251 * This symbol, if defined, indicates that sfio should
2252 * be used.
2253 */
2254/*#define USE_SFIO / **/
2255
ff49bff8 2256/* HAS_FSTATFS:
2257 * This symbol, if defined, indicates that the fstatfs routine is
732c9516 2258 * available to stat filesystems of file descriptors.
ff49bff8 2259 */
2260/* HAS_STRUCT_STATFS_FLAGS:
2261 * This symbol, if defined, indicates that the struct statfs
2262 * does have the f_flags member containing the mount flags of
2263 * the filesystem holding the file.
732c9516 2264 * This kind of struct statfs is coming from sys/mount.h (BSD),
2265 * not from sys/statfs.h (SYSV).
ff49bff8 2266 */
11dc3f68 2267#define HAS_FSTATFS /**/
2268#define HAS_STRUCT_STATFS_FLAGS /**/
ff49bff8 2269
2270/* HAS_FSTATVFS:
2271 * This symbol, if defined, indicates that the fstatvfs routine is
732c9516 2272 * available to stat filesystems of file descriptors.
ff49bff8 2273 */
11dc3f68 2274#define HAS_FSTATVFS /**/
ff49bff8 2275
2276/* HAS_TELLDIR_PROTO:
2277 * This symbol, if defined, indicates that the system provides
2278 * a prototype for the telldir() function. Otherwise, it is up
2279 * to the program to supply one. A good guess is
86959918 2280 * extern long telldir _((DIR*));
ff49bff8 2281 */
11dc3f68 2282#define HAS_TELLDIR_PROTO /**/
ff49bff8 2283
de4597cb 2284/* HAS_WRITEV:
2285 * This symbol, if defined, indicates that the writev routine is
2286 * available to do scatter writes.
2287 */
11dc3f68 2288#define HAS_WRITEV /**/
de4597cb 2289
dfe9444c 2290/* USE_DYNAMIC_LOADING:
2291 * This symbol, if defined, indicates that dynamic loading of
2292 * some sort is available.
2293 */
2294#define USE_DYNAMIC_LOADING /**/
2295
a71cd7cd 2296/* FFLUSH_NULL:
2297 * This symbol, if defined, tells that fflush(NULL) does flush
2298 * all pending stdio output.
2299 */
2300/* FFLUSH_ALL:
2301 * This symbol, if defined, tells that to flush
2302 * all pending stdio output one must loop through all
2303 * the stdio file handles stored in an array and fflush them.
a32a45b6 2304 * Note that if fflushNULL is defined, fflushall will not
2305 * even be probed for and will be left undefined.
a71cd7cd 2306 */
11dc3f68 2307#define FFLUSH_NULL /**/
2308/*#define FFLUSH_ALL / **/
a71cd7cd 2309
dfe9444c 2310/* DB_Prefix_t:
2311 * This symbol contains the type of the prefix structure element
2312 * in the <db.h> header file. In older versions of DB, it was
2313 * int, while in newer ones it is u_int32_t.
2314 */
2315/* DB_Hash_t:
2316 * This symbol contains the type of the prefix structure element
2317 * in the <db.h> header file. In older versions of DB, it was
2318 * int, while in newer ones it is size_t.
2319 */
2320#define DB_Hash_t u_int32_t /**/
2321#define DB_Prefix_t size_t /**/
2322
327c3667 2323/* I_INTTYPES:
2324 * This symbol, if defined, indicates to the C program that it should
2325 * include <inttypes.h>.
2326 */
2327/* HAS_INT64_T:
2328 * This symbol will defined if the C compiler supports int64_t.
2329 * Usually the <inttypes.h> needs to be included, but sometimes
2330 * <sys/types.h> is enough.
2331 */
11dc3f68 2332/*#define I_INTTYPES / **/
2333/*#define HAS_INT64_T / **/
327c3667 2334
ff49bff8 2335/* I_MNTENT:
2336 * This symbol, if defined, indicates that <mntent.h> exists and
2337 * should be included.
2338 */
11dc3f68 2339/*#define I_MNTENT / **/
ff49bff8 2340
a71cd7cd 2341/* I_NETINET_TCP:
2342 * This symbol, if defined, indicates to the C program that it should
2343 * include <netinet/tcp.h>.
2344 */
11dc3f68 2345#define I_NETINET_TCP /**/
a71cd7cd 2346
5b34fd99 2347/* I_POLL:
2348 * This symbol, if defined, indicates that <poll.h> exists and
2349 * should be included.
2350 */
11dc3f68 2351#define I_POLL /**/
5b34fd99 2352
86959918 2353/* I_SHADOW:
2354 * This symbol, if defined, indicates that <shadow.h> exists and
2355 * should be included.
2356 */
11dc3f68 2357/*#define I_SHADOW / **/
86959918 2358
2359/* I_SOCKS:
2360 * This symbol, if defined, indicates that <socks.h> exists and
2361 * should be included.
2362 */
11dc3f68 2363/*#define I_SOCKS / **/
86959918 2364
ff49bff8 2365/* I_SYS_MMAN:
2366 * This symbol, if defined, indicates that <sys/mman.h> exists and
2367 * should be included.
2368 */
11dc3f68 2369#define I_SYS_MMAN /**/
ff49bff8 2370
2371/* I_SYS_MOUNT:
2372 * This symbol, if defined, indicates that <sys/mount.h> exists and
2373 * should be included.
2374 */
11dc3f68 2375#define I_SYS_MOUNT /**/
ff49bff8 2376
2377/* I_SYS_STATVFS:
2378 * This symbol, if defined, indicates that <sys/statvfs.h> exists and
2379 * should be included.
2380 */
11dc3f68 2381#define I_SYS_STATVFS /**/
ff49bff8 2382
327c3667 2383/* HAS_OFF64_T:
2384 * This symbol will be defined if the C compiler supports off64_t.
2385 */
ca24dfc6 2386/* HAS_FPOS64_T:
2387 * This symbol will be defined if the C compiler supports fpos64_t.
2388 */
2389/*#define HAS_OFF64_T / **/
2390/*#define HAS_FPOS64_T / **/
8c09e4ca 2391
2392/* PERL_PRIfldbl:
2393 * This symbol, if defined, contains the string used by stdio to
2394 * format long doubles (format 'f') for output.
2395 */
2396/* PERL_PRIgldbl:
2397 * This symbol, if defined, contains the string used by stdio to
2398 * format long doubles (format 'g') for output.
2399 */
11dc3f68 2400#define PERL_PRIfldbl "f" /**/
2401#define PERL_PRIgldbl "g" /**/
8c09e4ca 2402
2403/* PERL_PRId64:
2404 * This symbol, if defined, contains the string used by stdio to
2405 * format 64-bit decimal numbers (format 'd') for output.
2406 */
2407/* PERL_PRIu64:
2408 * This symbol, if defined, contains the string used by stdio to
2409 * format 64-bit unsigned decimal numbers (format 'u') for output.
2410 */
ca24dfc6 2411/* PERL_PRIo64:
2412 * This symbol, if defined, contains the string used by stdio to
2413 * format 64-bit octal numbers (format 'o') for output.
2414 */
8c09e4ca 2415/* PERL_PRIx64:
2416 * This symbol, if defined, contains the string used by stdio to
2417 * format 64-bit hexadecimal numbers (format 'x') for output.
2418 */
11dc3f68 2419#define PERL_PRId64 "ld" /**/
2420#define PERL_PRIu64 "lu" /**/
ca24dfc6 2421#define PERL_PRIo64 "lo" /**/
11dc3f68 2422#define PERL_PRIx64 "lx" /**/
327c3667 2423
327c3667 2424/* SELECT_MIN_BITS:
2425 * This symbol holds the minimum number of bits operated by select.
2426 * That is, if you do select(n, ...), how many bits at least will be
2427 * cleared in the masks if some activity is detected. Usually this
2428 * is either n or 32*ceil(n/32), especially many little-endians do
2429 * the latter. This is only useful if you have select(), naturally.
2430 */
11dc3f68 2431#define SELECT_MIN_BITS 32 /**/
bfb7748a 2432
fbfd4aab 2433/* STARTPERL:
2434 * This variable contains the string to put in front of a perl
2435 * script to make sure (one hopes) that it runs with perl and not
2436 * some shell.
2437 */
11dc3f68 2438#define STARTPERL "#!/opt/perl/bin/perl" /**/
327c3667 2439
a71cd7cd 2440/* HAS_STDIO_STREAM_ARRAY:
2441 * This symbol, if defined, tells that there is an array
2442 * holding the stdio streams.
2443 */
2444/* STDIO_STREAM_ARRAY:
2445 * This symbol tells the name of the array holding the stdio streams.
2446 * Usual values include _iob, __iob, and __sF.
2447 */
11dc3f68 2448#define HAS_STDIO_STREAM_ARRAY /**/
2449#define STDIO_STREAM_ARRAY _iob
8c09e4ca 2450
2451/* HAS_STRTOULL:
2452 * This symbol, if defined, indicates that the strtoull routine is
2453 * available to convert strings into unsigned long longs.
2454 */
11dc3f68 2455/*#define HAS_STRTOULL / **/
a71cd7cd 2456
327c3667 2457/* USE_64_BITS:
921b2963 2458 * This symbol, if defined, indicates that 64-bit interfaces should
2459 * be used when available. If not defined, the native default interfaces
327c3667 2460 * will be used (be they 32 or 64 bits).
2461 */
11dc3f68 2462#define USE_64_BITS /**/
4633a7c4 2463
1baac590 2464/* USE_LARGE_FILES:
2465 * This symbol, if defined, indicates that large file support
2466 * should be used when available. The USE_64_BITS symbol will
2467 * also be turned on if necessary.
2468 */
2469#define USE_LARGE_FILES /**/
2470
ca24dfc6 2471/* USE_LONG_DOUBLE:
2472 * This symbol, if defined, indicates that long doubles should
2473 * be used when available.
2474 */
2475/*#define USE_LONG_DOUBLE / **/
2476
ff49bff8 2477/* MULTIPLICITY:
2478 * This symbol, if defined, indicates that Perl should
2479 * be built to use multiplicity.
2480 */
11dc3f68 2481/*#define MULTIPLICITY / **/
ff49bff8 2482
9003a523 2483/* USE_PERLIO:
2484 * This symbol, if defined, indicates that the PerlIO abstraction should
2485 * be used throughout. If not defined, stdio should be
2486 * used in a fully backward compatible manner.
ce4a058e 2487 */
20e68413 2488/*#define USE_PERLIO / **/
ce4a058e 2489
29209bc5 2490/* USE_SOCKS:
2491 * This symbol, if defined, indicates that Perl should
2492 * be built to use socks.
2493 */
11dc3f68 2494/*#define USE_SOCKS / **/
29209bc5 2495
921b2963 2496/* HAS_DRAND48_PROTO:
2497 * This symbol, if defined, indicates that the system provides
2498 * a prototype for the drand48() function. Otherwise, it is up
2499 * to the program to supply one. A good guess is
86959918 2500 * extern double drand48 _((void));
921b2963 2501 */
11dc3f68 2502#define HAS_DRAND48_PROTO /**/
921b2963 2503
dc45a647 2504/* HAS_GETHOST_PROTOS:
2505 * This symbol, if defined, indicates that <netdb.h> includes
2506 * prototypes for gethostent(), gethostbyname(), and
2507 * gethostbyaddr(). Otherwise, it is up to the program to guess
2508 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2509 */
11dc3f68 2510#define HAS_GETHOST_PROTOS /**/
dc45a647 2511
2512/* HAS_GETNET_PROTOS:
2513 * This symbol, if defined, indicates that <netdb.h> includes
2514 * prototypes for getnetent(), getnetbyname(), and
2515 * getnetbyaddr(). Otherwise, it is up to the program to guess
2516 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2517 */
11dc3f68 2518#define HAS_GETNET_PROTOS /**/
dc45a647 2519
2520/* HAS_GETPROTO_PROTOS:
2521 * This symbol, if defined, indicates that <netdb.h> includes
2522 * prototypes for getprotoent(), getprotobyname(), and
2523 * getprotobyaddr(). Otherwise, it is up to the program to guess
2524 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2525 */
11dc3f68 2526#define HAS_GETPROTO_PROTOS /**/
dc45a647 2527
2528/* HAS_GETSERV_PROTOS:
2529 * This symbol, if defined, indicates that <netdb.h> includes
2530 * prototypes for getservent(), getservbyname(), and
2531 * getservbyaddr(). Otherwise, it is up to the program to guess
2532 * them. See netdbtype.U for probing for various Netdb_xxx_t types.
2533 */
11dc3f68 2534#define HAS_GETSERV_PROTOS /**/
dc45a647 2535
dfe9444c 2536/* Netdb_host_t:
2537 * This symbol holds the type used for the 1st argument
2538 * to gethostbyaddr().
4633a7c4 2539 */
dfe9444c 2540/* Netdb_hlen_t:
2541 * This symbol holds the type used for the 2nd argument
2542 * to gethostbyaddr().
2543 */
2544/* Netdb_name_t:
2545 * This symbol holds the type used for the argument to
2546 * gethostbyname().
2547 */
2548/* Netdb_net_t:
2549 * This symbol holds the type used for the 1st argument to
2550 * getnetbyaddr().
2551 */
11dc3f68 2552#define Netdb_host_t const char * /**/
2553#define Netdb_hlen_t int /**/
2554#define Netdb_name_t const char * /**/
2555#define Netdb_net_t int /**/
dfe9444c 2556
2557/* Select_fd_set_t:
2558 * This symbol holds the type used for the 2nd, 3rd, and 4th
2559 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
2560 * is defined, and 'int *' otherwise. This is only useful if you
2561 * have select(), of course.
2562 */
2563#define Select_fd_set_t fd_set * /**/
2564
2565/* ARCHNAME:
2566 * This symbol holds a string representing the architecture name.
2567 * It may be used to construct an architecture-dependant pathname
2568 * where library files may be held under a private library, for
2569 * instance.
2570 */
11dc3f68 2571#define ARCHNAME "alpha-dec_osf-thread" /**/
921b2963 2572
ef4af2be 2573/* OLD_PTHREAD_CREATE_JOINABLE:
921b2963 2574 * This symbol, if defined, indicates how to create pthread
ef4af2be 2575 * in joinable (aka undetached) state. NOTE: not defined
2576 * if pthread.h already has defined PTHREAD_CREATE_JOINABLE
2577 * (the new version of the constant).
ff49bff8 2578 * If defined, known values are PTHREAD_CREATE_UNDETACHED
921b2963 2579 * and __UNDETACHED.
2580 */
11dc3f68 2581/*#define OLD_PTHREAD_CREATE_JOINABLE / **/
dfe9444c 2582
2583/* HAS_PTHREAD_YIELD:
2584 * This symbol, if defined, indicates that the pthread_yield
2585 * routine is available to yield the execution of the current
921b2963 2586 * thread. sched_yield is preferable to pthread_yield.
2587 */
2588/* SCHED_YIELD:
2589 * This symbol defines the way to yield the execution of
2590 * the current thread. Known ways are sched_yield,
2591 * pthread_yield, and pthread_yield with NULL.
dfe9444c 2592 */
c4f23d77 2593/* HAS_SCHED_YIELD:
2594 * This symbol, if defined, indicates that the sched_yield
2595 * routine is available to yield the execution of the current
921b2963 2596 * thread. sched_yield is preferable to pthread_yield.
c4f23d77 2597 */
11dc3f68 2598/*#define HAS_PTHREAD_YIELD / **/
2599#define SCHED_YIELD sched_yield() /**/
2600#define HAS_SCHED_YIELD /**/
dfe9444c 2601
921b2963 2602/* I_MACH_CTHREADS:
2603 * This symbol, if defined, indicates to the C program that it should
2604 * include <mach/cthreads.h>.
2605 */
11dc3f68 2606/*#define I_MACH_CTHREADS / **/
921b2963 2607
190b66db 2608/* I_PTHREAD:
2609 * This symbol, if defined, indicates to the C program that it should
2610 * include <pthread.h>.
2611 */
2612#define I_PTHREAD /**/
2613
dfe9444c 2614/* USE_THREADS:
2615 * This symbol, if defined, indicates that Perl should
2616 * be built to use threads.
2617 */
693762b4 2618/* OLD_PTHREADS_API:
2619 * This symbol, if defined, indicates that Perl should
2620 * be built to use the old draft POSIX threads API.
2621 */
11dc3f68 2622#define USE_THREADS /**/
2623/*#define OLD_PTHREADS_API / **/
16d20bd9 2624
dc45a647 2625/* Time_t:
2626 * This symbol holds the type returned by time(). It can be long,
2627 * or time_t on BSD sites (in which case <sys/types.h> should be
2628 * included).
2629 */
2630#define Time_t time_t /* Time type */
2631
2632/* HAS_TIMES:
2633 * This symbol, if defined, indicates that the times() routine exists.
2634 * Note that this became obsolete on some systems (SUNOS), which now
2635 * use getrusage(). It may be necessary to include <sys/times.h>.
2636 */
2637#define HAS_TIMES /**/
2638
2639/* Fpos_t:
2640 * This symbol holds the type used to declare file positions in libc.
2641 * It can be fpos_t, long, uint, etc... It may be necessary to include
2642 * <sys/types.h> to get any typedef'ed information.
2643 */
2644#define Fpos_t fpos_t /* File position type */
2645
2646/* Gid_t:
2647 * This symbol holds the return type of getgid() and the type of
2648 * argument to setrgid() and related functions. Typically,
2649 * it is the type of group ids in the kernel. It can be int, ushort,
2650 * uid_t, etc... It may be necessary to include <sys/types.h> to get
2651 * any typedef'ed information.
2652 */
2653#define Gid_t gid_t /* Type for getgid(), etc... */
2654
2655/* Off_t:
2656 * This symbol holds the type used to declare offsets in the kernel.
2657 * It can be int, long, off_t, etc... It may be necessary to include
2658 * <sys/types.h> to get any typedef'ed information.
2659 */
921b2963 2660/* LSEEKSIZE:
2661 * This symbol holds the number of bytes used by the Off_t.
2662 */
dc45a647 2663#define Off_t off_t /* <offset> type */
11dc3f68 2664#define LSEEKSIZE 8 /* <offset> size */
dc45a647 2665
2666/* Mode_t:
2667 * This symbol holds the type used to declare file modes
2668 * for systems calls. It is usually mode_t, but may be
2669 * int or unsigned short. It may be necessary to include <sys/types.h>
2670 * to get any typedef'ed information.
2671 */
2672#define Mode_t mode_t /* file mode parameter for system calls */
2673
2674/* Pid_t:
2675 * This symbol holds the type used to declare process ids in the kernel.
2676 * It can be int, uint, pid_t, etc... It may be necessary to include
2677 * <sys/types.h> to get any typedef'ed information.
2678 */
11dc3f68 2679#define Pid_t pid_t /* PID type */
dc45a647 2680
2681/* Size_t:
2682 * This symbol holds the type used to declare length parameters
2683 * for string functions. It is usually size_t, but may be
2684 * unsigned long, int, etc. It may be necessary to include
2685 * <sys/types.h> to get any typedef'ed information.
2686 */
2687#define Size_t size_t /* length paramater for string functions */
2688
2689/* Uid_t:
2690 * This symbol holds the type used to declare user ids in the kernel.
2691 * It can be int, ushort, uid_t, etc... It may be necessary to include
2692 * <sys/types.h> to get any typedef'ed information.
2693 */
2694#define Uid_t uid_t /* UID type */
2695
fe14fcc3 2696#endif