This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Eliminate Alpha warnings
[perl5.git] / config_H
CommitLineData
16d20bd9 1/* This file (config_H) is a sample config.h file. If you are unable
a0d0e21e
LW
2 to successfully run Configure, copy this file to config.h and
3 edit it to suit your system.
85e6fe83
LW
4*/
5/*
6 * This file was produced by running the config_h.SH script, which
8d063cd8
LW
7 * gets its values from config.sh, which is generally produced by
8 * running Configure.
9 *
10 * Feel free to modify any of this as the need arises. Note, however,
1aef975c
AD
11 * that running config_h.SH again will wipe out any changes you've made.
12 * For a more permanent change edit config.sh and rerun config_h.SH.
85e6fe83 13 *
4633a7c4 14 * $Id: Config_h.U,v 3.0.1.4 1995/09/25 09:10:49 ram Exp $
8d063cd8 15 */
a687059c 16
d103522a 17/* Configuration time: Wed Sep 11 15:24:25 EDT 1996
9003a523 18 * Configured by: doughera
19 * Target system: sunos fractal 5.5 generic i86pc i386 i86pc
68decaef 20 */
68decaef 21
85e6fe83
LW
22#ifndef _config_h_
23#define _config_h_
fe14fcc3 24
a0d0e21e
LW
25/* MEM_ALIGNBYTES:
26 * This symbol contains the number of bytes required to align a
27 * double. Usual values are 2, 4 and 8.
28 */
29#define MEM_ALIGNBYTES 4 /**/
30
774d564b 31/* ARCHNAME:
32 * This symbol holds a string representing the architecture name.
33 * It may be used to construct an architecture-dependant pathname
34 * where library files may be held under a private library, for
35 * instance.
36 */
37#define ARCHNAME "unknown" /**/
38
85e6fe83
LW
39/* BIN:
40 * This symbol holds the path of the bin directory where the package will
41 * be installed. Program must be prepared to deal with ~name substitution.
a687059c 42 */
2ae324a7 43/* BIN_EXP:
44 * This symbol is the filename expanded version of the BIN symbol, for
45 * programs that do not want to deal with that at run-time.
46 */
9003a523 47#define BIN "/opt/perl/bin" /**/
2ae324a7 48#define BIN_EXP "/opt/perl/bin" /**/
a687059c 49
ecfc5424
AD
50/* CAT2:
51 * This macro catenates 2 tokens together.
52 */
20e68413 53/* STRINGIFY:
54 * This macro surrounds its token with double quotes.
55 */
4633a7c4 56#if 42 == 1
ecfc5424
AD
57#define CAT2(a,b)a/**/b
58#define CAT3(a,b,c)a/**/b/**/c
59#define CAT4(a,b,c,d)a/**/b/**/c/**/d
60#define CAT5(a,b,c,d,e)a/**/b/**/c/**/d/**/e
61#define STRINGIFY(a)"a"
62 /* If you can get stringification with catify, tell me how! */
63#endif
4633a7c4 64#if 42 == 42
ecfc5424
AD
65#define CAT2(a,b)a ## b
66#define CAT3(a,b,c)a ## b ## c
67#define CAT4(a,b,c,d)a ## b ## c ## d
68#define CAT5(a,b,c,d,e)a ## b ## c ## d ## e
69#define StGiFy(a)# a
70#define STRINGIFY(a)StGiFy(a)
71#define SCAT2(a,b)StGiFy(a) StGiFy(b)
72#define SCAT3(a,b,c)StGiFy(a) StGiFy(b) StGiFy(c)
73#define SCAT4(a,b,c,d)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d)
74#define SCAT5(a,b,c,d,e)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d) StGiFy(e)
75#endif
76#ifndef CAT2
77#include "Bletch: How does this C preprocessor catenate tokens?"
78#endif
79
85e6fe83 80/* CPPSTDIN:
a687059c
LW
81 * This symbol contains the first part of the string which will invoke
82 * the C preprocessor on the standard input and produce to standard
85e6fe83
LW
83 * output. Typical value of "cc -E" or "/lib/cpp", but it can also
84 * call a wrapper. See CPPRUN.
a687059c 85 */
85e6fe83 86/* CPPMINUS:
a687059c
LW
87 * This symbol contains the second part of the string which will invoke
88 * the C preprocessor on the standard input and produce to standard
89 * output. This symbol will have the value "-" if CPPSTDIN needs a minus
90 * to specify standard input, otherwise the value is "".
91 */
fbfd4aab 92#define CPPSTDIN "cc -E"
a0d0e21e
LW
93#define CPPMINUS "-"
94
95/* HAS_ALARM:
96 * This symbol, if defined, indicates that the alarm routine is
97 * available.
98 */
99#define HAS_ALARM /**/
a687059c 100
ecfc5424
AD
101/* HASATTRIBUTE:
102 * This symbol indicates the C compiler can check for function attributes,
103 * such as printf formats. This is normally only supported by GNU cc.
104 */
20e68413 105/*#define HASATTRIBUTE / **/
ecfc5424
AD
106#ifndef HASATTRIBUTE
107#define __attribute__(_arg_)
108#endif
109
85e6fe83
LW
110/* HAS_BCMP:
111 * This symbol is defined if the bcmp() routine is available to
112 * compare blocks of memory.
a687059c 113 */
9003a523 114#define HAS_BCMP /**/
a687059c 115
85e6fe83
LW
116/* HAS_BCOPY:
117 * This symbol is defined if the bcopy() routine is available to
118 * copy blocks of memory.
a687059c 119 */
9003a523 120#define HAS_BCOPY /**/
fe14fcc3 121
85e6fe83
LW
122/* HAS_BZERO:
123 * This symbol is defined if the bzero() routine is available to
124 * set a memory block to 0.
fe14fcc3 125 */
9003a523 126#define HAS_BZERO /**/
8d063cd8 127
a0d0e21e
LW
128/* CASTI32:
129 * This symbol is defined if the C compiler can cast negative
130 * or large floating point numbers to 32-bit ints.
131 */
4633a7c4 132#define CASTI32 /**/
a0d0e21e 133
85e6fe83
LW
134/* CASTNEGFLOAT:
135 * This symbol is defined if the C compiler can cast negative
136 * numbers to unsigned longs, ints and shorts.
fe14fcc3 137 */
85e6fe83 138/* CASTFLAGS:
fe14fcc3
LW
139 * This symbol contains flags that say what difficulties the compiler
140 * has casting odd floating values to unsigned long:
85e6fe83 141 * 0 = ok
fe14fcc3
LW
142 * 1 = couldn't cast < 0
143 * 2 = couldn't cast >= 0x80000000
232e078e 144 * 4 = couldn't cast in argument expression list
fe14fcc3 145 */
4633a7c4
LW
146#define CASTNEGFLOAT /**/
147#define CASTFLAGS 0 /**/
a0d0e21e
LW
148
149/* HAS_CHOWN:
150 * This symbol, if defined, indicates that the chown routine is
151 * available.
152 */
153#define HAS_CHOWN /**/
154
155/* HAS_CHROOT:
156 * This symbol, if defined, indicates that the chroot routine is
157 * available.
158 */
159#define HAS_CHROOT /**/
8d063cd8 160
85e6fe83 161/* HAS_CHSIZE:
fe14fcc3
LW
162 * This symbol, if defined, indicates that the chsize routine is available
163 * to truncate files. You might need a -lx to get this routine.
164 */
20e68413 165/*#define HAS_CHSIZE / **/
ecfc5424
AD
166
167/* VOID_CLOSEDIR:
168 * This symbol, if defined, indicates that the closedir() routine
169 * does not return a value.
170 */
20e68413 171/*#define VOID_CLOSEDIR / **/
85e6fe83
LW
172
173/* HASCONST:
174 * This symbol, if defined, indicates that this C compiler knows about
175 * the const type. There is no need to actually test for that symbol
176 * within your programs. The mere use of the "const" keyword will
177 * trigger the necessary tests.
178 */
4633a7c4 179#define HASCONST /**/
85e6fe83
LW
180#ifndef HASCONST
181#define const
182#endif
fe14fcc3 183
85e6fe83 184/* HAS_CRYPT:
a687059c
LW
185 * This symbol, if defined, indicates that the crypt routine is available
186 * to encrypt passwords and the like.
187 */
85e6fe83 188#define HAS_CRYPT /**/
fe14fcc3 189
a0d0e21e
LW
190/* HAS_CUSERID:
191 * This symbol, if defined, indicates that the cuserid routine is
192 * available to get character login names.
a687059c 193 */
a0d0e21e
LW
194#define HAS_CUSERID /**/
195
196/* HAS_DBL_DIG:
197 * This symbol, if defined, indicates that this system's <float.h>
198 * or <limits.h> defines the symbol DBL_DIG, which is the number
199 * of significant digits in a double precision number. If this
200 * symbol is not defined, a guess of 15 is usually pretty good.
201 */
202#define HAS_DBL_DIG /* */
203
204/* HAS_DIFFTIME:
205 * This symbol, if defined, indicates that the difftime routine is
206 * available.
207 */
208#define HAS_DIFFTIME /**/
a687059c 209
ecfc5424
AD
210/* HAS_DLERROR:
211 * This symbol, if defined, indicates that the dlerror routine is
212 * available to return a string describing the last error that
213 * occurred from a call to dlopen(), dlclose() or dlsym().
214 */
4633a7c4 215#define HAS_DLERROR /**/
ecfc5424 216
85e6fe83
LW
217/* HAS_DUP2:
218 * This symbol, if defined, indicates that the dup2 routine is
219 * available to duplicate file descriptors.
a687059c 220 */
85e6fe83 221#define HAS_DUP2 /**/
a687059c 222
85e6fe83 223/* HAS_FCHMOD:
a687059c
LW
224 * This symbol, if defined, indicates that the fchmod routine is available
225 * to change mode of opened files. If unavailable, use chmod().
226 */
4633a7c4 227#define HAS_FCHMOD /**/
a687059c 228
85e6fe83 229/* HAS_FCHOWN:
a687059c
LW
230 * This symbol, if defined, indicates that the fchown routine is available
231 * to change ownership of opened files. If unavailable, use chown().
232 */
4633a7c4 233#define HAS_FCHOWN /**/
a687059c 234
85e6fe83 235/* HAS_FCNTL:
fe14fcc3
LW
236 * This symbol, if defined, indicates to the C program that
237 * the fcntl() function exists.
a687059c 238 */
85e6fe83 239#define HAS_FCNTL /**/
a687059c 240
a0d0e21e
LW
241/* HAS_FGETPOS:
242 * This symbol, if defined, indicates that the fgetpos routine is
243 * available to get the file position indicator, similar to ftell().
244 */
4633a7c4 245#define HAS_FGETPOS /**/
a0d0e21e 246
85e6fe83 247/* FLEXFILENAMES:
fe14fcc3
LW
248 * This symbol, if defined, indicates that the system supports filenames
249 * longer than 14 characters.
250 */
4633a7c4 251#define FLEXFILENAMES /**/
fe14fcc3 252
85e6fe83
LW
253/* HAS_FLOCK:
254 * This symbol, if defined, indicates that the flock routine is
a687059c
LW
255 * available to do file locking.
256 */
20e68413 257/*#define HAS_FLOCK / **/
a0d0e21e
LW
258
259/* HAS_FORK:
260 * This symbol, if defined, indicates that the fork routine is
261 * available.
262 */
263#define HAS_FORK /**/
264
265/* HAS_FSETPOS:
266 * This symbol, if defined, indicates that the fsetpos routine is
267 * available to set the file position indicator, similar to fseek().
268 */
4633a7c4 269#define HAS_FSETPOS /**/
ecfc5424 270
5f05dabc 271/* HAS_GETTIMEOFDAY:
272 * This symbol, if defined, indicates that the gettimeofday() system
273 * call is available for a sub-second accuracy clock. Usually, the file
274 * <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
275 * The type "Timeval" should be used to refer to "struct timeval".
276 */
277/*#define HAS_GETTIMEOFDAY / **/
278#ifdef HAS_GETTIMEOFDAY
279#define Timeval struct timeval /* Structure used by gettimeofday() */
280#endif
281
85e6fe83 282/* HAS_GETGROUPS:
a687059c
LW
283 * This symbol, if defined, indicates that the getgroups() routine is
284 * available to get the list of process groups. If unavailable, multiple
285 * groups are probably not supported.
286 */
5cd24f17 287/* HAS_SETGROUPS:
288 * This symbol, if defined, indicates that the setgroups() routine is
289 * available to set the list of process groups. If unavailable, multiple
290 * groups are probably not supported.
291 */
85e6fe83 292#define HAS_GETGROUPS /**/
5cd24f17 293#define HAS_SETGROUPS /**/
a687059c 294
85e6fe83
LW
295/* HAS_GETHOSTENT:
296 * This symbol, if defined, indicates that the gethostent routine is
a687059c
LW
297 * available to lookup host names in some data base or other.
298 */
4633a7c4 299#define HAS_GETHOSTENT /**/
85e6fe83
LW
300
301/* HAS_UNAME:
302 * This symbol, if defined, indicates that the C program may use the
303 * uname() routine to derive the host name. See also HAS_GETHOSTNAME
304 * and PHOSTNAME.
305 */
306#define HAS_UNAME /**/
a687059c 307
a0d0e21e
LW
308/* HAS_GETLOGIN:
309 * This symbol, if defined, indicates that the getlogin routine is
310 * available to get the login name.
311 */
312#define HAS_GETLOGIN /**/
313
85e6fe83 314/* HAS_GETPGRP2:
fe14fcc3
LW
315 * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
316 * routine is available to get the current process group.
317 */
20e68413 318/*#define HAS_GETPGRP2 / **/
a687059c 319
a0d0e21e
LW
320/* HAS_GETPPID:
321 * This symbol, if defined, indicates that the getppid routine is
322 * available to get the parent process ID.
323 */
324#define HAS_GETPPID /**/
325
85e6fe83
LW
326/* HAS_GETPRIORITY:
327 * This symbol, if defined, indicates that the getpriority routine is
a687059c
LW
328 * available to get a process's priority.
329 */
9003a523 330#define HAS_GETPRIORITY /**/
a0d0e21e 331
a0d0e21e
LW
332/* HAS_HTONL:
333 * This symbol, if defined, indicates that the htonl() routine (and
334 * friends htons() ntohl() ntohs()) are available to do network
335 * order byte swapping.
336 */
337/* HAS_HTONS:
338 * This symbol, if defined, indicates that the htons() routine (and
339 * friends htonl() ntohl() ntohs()) are available to do network
340 * order byte swapping.
341 */
342/* HAS_NTOHL:
343 * This symbol, if defined, indicates that the ntohl() routine (and
344 * friends htonl() htons() ntohs()) are available to do network
345 * order byte swapping.
346 */
347/* HAS_NTOHS:
348 * This symbol, if defined, indicates that the ntohs() routine (and
349 * friends htonl() htons() ntohl()) are available to do network
350 * order byte swapping.
351 */
352#define HAS_HTONL /**/
353#define HAS_HTONS /**/
354#define HAS_NTOHL /**/
355#define HAS_NTOHS /**/
a687059c 356
ecfc5424
AD
357/* HAS_ISASCII:
358 * This manifest constant lets the C program know that isascii
359 * is available.
360 */
361#define HAS_ISASCII /**/
362
85e6fe83 363/* HAS_KILLPG:
a687059c
LW
364 * This symbol, if defined, indicates that the killpg routine is available
365 * to kill process groups. If unavailable, you probably should use kill
366 * with a negative process number.
367 */
9003a523 368#define HAS_KILLPG /**/
a687059c 369
85e6fe83
LW
370/* HAS_LINK:
371 * This symbol, if defined, indicates that the link routine is
372 * available to create hard links.
fe14fcc3 373 */
85e6fe83 374#define HAS_LINK /**/
fe14fcc3 375
ecfc5424
AD
376/* HAS_LOCALECONV:
377 * This symbol, if defined, indicates that the localeconv routine is
378 * available for numeric and monetary formatting conventions.
379 */
380#define HAS_LOCALECONV /**/
381
a0d0e21e
LW
382/* HAS_LOCKF:
383 * This symbol, if defined, indicates that the lockf routine is
384 * available to do file locking.
385 */
386#define HAS_LOCKF /**/
387
85e6fe83
LW
388/* HAS_LSTAT:
389 * This symbol, if defined, indicates that the lstat routine is
390 * available to do file stats on symbolic links.
a687059c 391 */
85e6fe83 392#define HAS_LSTAT /**/
a687059c 393
a0d0e21e
LW
394/* HAS_MBLEN:
395 * This symbol, if defined, indicates that the mblen routine is available
396 * to find the number of bytes in a multibye character.
397 */
4633a7c4 398#define HAS_MBLEN /**/
a0d0e21e
LW
399
400/* HAS_MBSTOWCS:
401 * This symbol, if defined, indicates that the mbstowcs routine is
402 * available to covert a multibyte string into a wide character string.
403 */
4633a7c4 404#define HAS_MBSTOWCS /**/
a0d0e21e
LW
405
406/* HAS_MBTOWC:
407 * This symbol, if defined, indicates that the mbtowc routine is available
408 * to covert a multibyte to a wide character.
409 */
4633a7c4 410#define HAS_MBTOWC /**/
a0d0e21e 411
85e6fe83
LW
412/* HAS_MEMCMP:
413 * This symbol, if defined, indicates that the memcmp routine is available
414 * to compare blocks of memory.
a687059c 415 */
85e6fe83
LW
416#define HAS_MEMCMP /**/
417
418/* HAS_MEMCPY:
68decaef 419 * This symbol, if defined, indicates that the memcpy routine is available
85e6fe83 420 * to copy blocks of memory.
68decaef 421 */
85e6fe83 422#define HAS_MEMCPY /**/
68decaef 423
85e6fe83 424/* HAS_MEMMOVE:
68decaef 425 * This symbol, if defined, indicates that the memmove routine is available
85e6fe83
LW
426 * to copy potentially overlapping blocks of memory. This should be used
427 * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
428 * own version.
68decaef 429 */
4633a7c4 430#define HAS_MEMMOVE /**/
68decaef 431
85e6fe83 432/* HAS_MEMSET:
68decaef 433 * This symbol, if defined, indicates that the memset routine is available
85e6fe83 434 * to set blocks of memory.
68decaef 435 */
85e6fe83 436#define HAS_MEMSET /**/
a687059c 437
85e6fe83 438/* HAS_MKDIR:
a687059c
LW
439 * This symbol, if defined, indicates that the mkdir routine is available
440 * to create directories. Otherwise you should fork off a new process to
441 * exec /bin/mkdir.
442 */
85e6fe83 443#define HAS_MKDIR /**/
fe14fcc3 444
ecfc5424
AD
445/* HAS_MKFIFO:
446 * This symbol, if defined, indicates that the mkfifo routine is
447 * available to create FIFOs. Otherwise, mknod should be able to
448 * do it for you. However, if mkfifo is there, mknod might require
449 * super-user privileges which mkfifo will not.
450 */
451#define HAS_MKFIFO /**/
452
a0d0e21e
LW
453/* HAS_MKTIME:
454 * This symbol, if defined, indicates that the mktime routine is
455 * available.
456 */
457#define HAS_MKTIME /**/
458
85e6fe83 459/* HAS_MSG:
fe14fcc3 460 * This symbol, if defined, indicates that the entire msg*(2) library is
85e6fe83 461 * supported (IPC mechanism based on message queues).
fe14fcc3 462 */
85e6fe83 463#define HAS_MSG /**/
fe14fcc3 464
a0d0e21e
LW
465/* HAS_NICE:
466 * This symbol, if defined, indicates that the nice routine is
467 * available.
fe14fcc3 468 */
a0d0e21e 469#define HAS_NICE /**/
fe14fcc3 470
a0d0e21e
LW
471/* HAS_OPEN3:
472 * This manifest constant lets the C program know that the three
473 * argument form of open(2) is available.
fe14fcc3 474 */
a0d0e21e 475#define HAS_OPEN3 /**/
fe14fcc3 476
ecfc5424
AD
477/* HAS_PATHCONF:
478 * This symbol, if defined, indicates that pathconf() is available
479 * to determine file-system related limits and options associated
480 * with a given filename.
481 */
482/* HAS_FPATHCONF:
483 * This symbol, if defined, indicates that pathconf() is available
484 * to determine file-system related limits and options associated
485 * with a given open file descriptor.
486 */
487#define HAS_PATHCONF /**/
488#define HAS_FPATHCONF /**/
489
a0d0e21e
LW
490/* HAS_PAUSE:
491 * This symbol, if defined, indicates that the pause routine is
492 * available to suspend a process until a signal is received.
a687059c 493 */
a0d0e21e 494#define HAS_PAUSE /**/
fe14fcc3 495
a0d0e21e
LW
496/* HAS_PIPE:
497 * This symbol, if defined, indicates that the pipe routine is
498 * available to create an inter-process channel.
fe14fcc3 499 */
a0d0e21e
LW
500#define HAS_PIPE /**/
501
4633a7c4
LW
502/* HAS_POLL:
503 * This symbol, if defined, indicates that the poll routine is
504 * available to poll active file descriptors.
505 */
506#define HAS_POLL /**/
507
a0d0e21e
LW
508/* HAS_READDIR:
509 * This symbol, if defined, indicates that the readdir routine is
510 * available to read directory entries. You may have to include
511 * <dirent.h>. See I_DIRENT.
512 */
513#define HAS_READDIR /**/
514
515/* HAS_SEEKDIR:
516 * This symbol, if defined, indicates that the seekdir routine is
517 * available. You may have to include <dirent.h>. See I_DIRENT.
518 */
519#define HAS_SEEKDIR /**/
520
521/* HAS_TELLDIR:
522 * This symbol, if defined, indicates that the telldir routine is
523 * available. You may have to include <dirent.h>. See I_DIRENT.
524 */
525#define HAS_TELLDIR /**/
526
527/* HAS_REWINDDIR:
528 * This symbol, if defined, indicates that the rewinddir routine is
529 * available. You may have to include <dirent.h>. See I_DIRENT.
530 */
531#define HAS_REWINDDIR /**/
532
533/* HAS_READLINK:
534 * This symbol, if defined, indicates that the readlink routine is
535 * available to read the value of a symbolic link.
536 */
537#define HAS_READLINK /**/
a687059c 538
85e6fe83 539/* HAS_RENAME:
a687059c
LW
540 * This symbol, if defined, indicates that the rename routine is available
541 * to rename files. Otherwise you should do the unlink(), link(), unlink()
542 * trick.
543 */
85e6fe83 544#define HAS_RENAME /**/
a687059c 545
85e6fe83
LW
546/* HAS_RMDIR:
547 * This symbol, if defined, indicates that the rmdir routine is
548 * available to remove directories. Otherwise you should fork off a
549 * new process to exec /bin/rmdir.
68decaef 550 */
85e6fe83 551#define HAS_RMDIR /**/
68decaef 552
ecfc5424
AD
553/* HAS_SAFE_BCOPY:
554 * This symbol, if defined, indicates that the bcopy routine is available
555 * to copy potentially overlapping memory blocks. Otherwise you should
556 * probably use memmove() or memcpy(). If neither is defined, roll your
557 * own version.
558 */
9003a523 559#define HAS_SAFE_BCOPY /**/
ecfc5424
AD
560
561/* HAS_SAFE_MEMCPY:
562 * This symbol, if defined, indicates that the memcpy routine is available
563 * to copy potentially overlapping memory blocks. Otherwise you should
564 * probably use memmove() or memcpy(). If neither is defined, roll your
565 * own version.
566 */
20e68413 567/*#define HAS_SAFE_MEMCPY / **/
ecfc5424 568
36477c24 569/* HAS_SANE_MEMCMP:
5f05dabc 570 * This symbol, if defined, indicates that the memcmp routine is available
571 * and can be used to compare relative magnitudes of chars with their high
572 * bits set. If it is not defined, roll your own version.
36477c24 573 */
574/*#define HAS_SANE_MEMCMP / **/
575
85e6fe83
LW
576/* HAS_SELECT:
577 * This symbol, if defined, indicates that the select routine is
578 * available to select active file descriptors. If the timeout field
579 * is used, <sys/time.h> may need to be included.
68decaef 580 */
85e6fe83 581#define HAS_SELECT /**/
68decaef 582
85e6fe83 583/* HAS_SEM:
fe14fcc3
LW
584 * This symbol, if defined, indicates that the entire sem*(2) library is
585 * supported.
586 */
85e6fe83 587#define HAS_SEM /**/
fe14fcc3 588
85e6fe83 589/* HAS_SETEGID:
a687059c
LW
590 * This symbol, if defined, indicates that the setegid routine is available
591 * to change the effective gid of the current program.
592 */
85e6fe83 593#define HAS_SETEGID /**/
a687059c 594
85e6fe83 595/* HAS_SETEUID:
a687059c
LW
596 * This symbol, if defined, indicates that the seteuid routine is available
597 * to change the effective uid of the current program.
598 */
85e6fe83
LW
599#define HAS_SETEUID /**/
600
a0d0e21e
LW
601/* HAS_SETLINEBUF:
602 * This symbol, if defined, indicates that the setlinebuf routine is
603 * available to change stderr or stdout from block-buffered or unbuffered
604 * to a line-buffered mode.
605 */
9003a523 606#define HAS_SETLINEBUF /**/
a0d0e21e
LW
607
608/* HAS_SETLOCALE:
609 * This symbol, if defined, indicates that the setlocale routine is
610 * available to handle locale-specific ctype implementations.
611 */
612#define HAS_SETLOCALE /**/
613
85e6fe83 614/* HAS_SETPGRP2:
fe14fcc3
LW
615 * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
616 * routine is available to set the current process group.
617 */
20e68413 618/*#define HAS_SETPGRP2 / **/
fe14fcc3 619
85e6fe83
LW
620/* HAS_SETPRIORITY:
621 * This symbol, if defined, indicates that the setpriority routine is
a687059c
LW
622 * available to set a process's priority.
623 */
9003a523 624#define HAS_SETPRIORITY /**/
a687059c 625
85e6fe83 626/* HAS_SETREGID:
fe14fcc3 627 * This symbol, if defined, indicates that the setregid routine is
85e6fe83
LW
628 * available to change the real and effective gid of the current
629 * process.
a687059c 630 */
85e6fe83 631/* HAS_SETRESGID:
fe14fcc3
LW
632 * This symbol, if defined, indicates that the setresgid routine is
633 * available to change the real, effective and saved gid of the current
85e6fe83 634 * process.
fe14fcc3 635 */
9003a523 636#define HAS_SETREGID /**/
20e68413 637/*#define HAS_SETRESGID / **/
a687059c 638
85e6fe83 639/* HAS_SETREUID:
fe14fcc3 640 * This symbol, if defined, indicates that the setreuid routine is
85e6fe83
LW
641 * available to change the real and effective uid of the current
642 * process.
fe14fcc3 643 */
85e6fe83 644/* HAS_SETRESUID:
fe14fcc3
LW
645 * This symbol, if defined, indicates that the setresuid routine is
646 * available to change the real, effective and saved uid of the current
85e6fe83 647 * process.
a687059c 648 */
9003a523 649#define HAS_SETREUID /**/
20e68413 650/*#define HAS_SETRESUID / **/
a687059c 651
85e6fe83 652/* HAS_SETRGID:
a687059c
LW
653 * This symbol, if defined, indicates that the setrgid routine is available
654 * to change the real gid of the current program.
655 */
20e68413 656/*#define HAS_SETRGID / **/
a687059c 657
85e6fe83 658/* HAS_SETRUID:
a687059c
LW
659 * This symbol, if defined, indicates that the setruid routine is available
660 * to change the real uid of the current program.
661 */
20e68413 662/*#define HAS_SETRUID / **/
fe14fcc3 663
85e6fe83
LW
664/* HAS_SETSID:
665 * This symbol, if defined, indicates that the setsid routine is
666 * available to set the process group ID.
fe14fcc3 667 */
85e6fe83 668#define HAS_SETSID /**/
fe14fcc3 669
85e6fe83
LW
670/* HAS_SHM:
671 * This symbol, if defined, indicates that the entire shm*(2) library is
672 * supported.
2b317908 673 */
85e6fe83 674#define HAS_SHM /**/
fe14fcc3 675
a0d0e21e
LW
676/* Shmat_t:
677 * This symbol holds the return type of the shmat() system call.
678 * Usually set to 'void *' or 'char *'.
fe14fcc3 679 */
a0d0e21e
LW
680/* HAS_SHMAT_PROTOTYPE:
681 * This symbol, if defined, indicates that the sys/shm.h includes
682 * a prototype for shmat(). Otherwise, it is up to the program to
683 * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
684 * but not always right so it should be emitted by the program only
685 * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
fe14fcc3 686 */
4633a7c4
LW
687#define Shmat_t void * /**/
688#define HAS_SHMAT_PROTOTYPE /**/
a687059c 689
fbfd4aab 690/* HAS_SIGACTION:
691 * This symbol, if defined, indicates that Vr4's sigaction() routine
692 * is available.
693 */
694#define HAS_SIGACTION /**/
695
85e6fe83 696/* HAS_SOCKET:
a687059c
LW
697 * This symbol, if defined, indicates that the BSD socket interface is
698 * supported.
699 */
85e6fe83
LW
700/* HAS_SOCKETPAIR:
701 * This symbol, if defined, indicates that the BSD socketpair() call is
a687059c
LW
702 * supported.
703 */
85e6fe83 704#define HAS_SOCKET /**/
4633a7c4 705#define HAS_SOCKETPAIR /**/
a687059c 706
85e6fe83 707/* USE_STAT_BLOCKS:
a687059c
LW
708 * This symbol is defined if this system has a stat structure declaring
709 * st_blksize and st_blocks.
710 */
4633a7c4 711#define USE_STAT_BLOCKS /**/
a687059c 712
16d20bd9
AD
713/* USE_STDIO_PTR:
714 * This symbol is defined if the _ptr and _cnt fields (or similar)
715 * of the stdio FILE structure can be used to access the stdio buffer
716 * for a file handle. If this is defined, then the FILE_ptr(fp)
717 * and FILE_cnt(fp) macros will also be defined and should be used
718 * to access these fields.
719 */
16d20bd9
AD
720/* FILE_ptr:
721 * This macro is used to access the _ptr field (or equivalent) of the
722 * FILE structure pointed to by its argument. This macro will always be
723 * defined if USE_STDIO_PTR is defined.
724 */
c2960299
AD
725/* STDIO_PTR_LVALUE:
726 * This symbol is defined if the FILE_ptr macro can be used as an
727 * lvalue.
728 */
16d20bd9
AD
729/* FILE_cnt:
730 * This macro is used to access the _cnt field (or equivalent) of the
731 * FILE structure pointed to by its argument. This macro will always be
732 * defined if USE_STDIO_PTR is defined.
733 */
c2960299
AD
734/* STDIO_CNT_LVALUE:
735 * This symbol is defined if the FILE_cnt macro can be used as an
736 * lvalue.
737 */
9003a523 738#define USE_STDIO_PTR /**/
16d20bd9
AD
739#ifdef USE_STDIO_PTR
740#define FILE_ptr(fp) ((fp)->_ptr)
4aa0a1f7 741#define STDIO_PTR_LVALUE /**/
16d20bd9 742#define FILE_cnt(fp) ((fp)->_cnt)
4aa0a1f7 743#define STDIO_CNT_LVALUE /**/
16d20bd9
AD
744#endif
745
9003a523 746/* USE_STDIO_BASE:
747 * This symbol is defined if the _base field (or similar) of the
748 * stdio FILE structure can be used to access the stdio buffer for
749 * a file handle. If this is defined, then the FILE_base(fp) macro
750 * will also be defined and should be used to access this field.
751 * Also, the FILE_bufsiz(fp) macro will be defined and should be used
752 * to determine the number of bytes in the buffer. USE_STDIO_BASE
753 * will never be defined unless USE_STDIO_PTR is.
754 */
16d20bd9
AD
755/* FILE_base:
756 * This macro is used to access the _base field (or equivalent) of the
757 * FILE structure pointed to by its argument. This macro will always be
758 * defined if USE_STDIO_BASE is defined.
759 */
760/* FILE_bufsiz:
761 * This macro is used to determine the number of bytes in the I/O
762 * buffer pointed to by _base field (or equivalent) of the FILE
763 * structure pointed to its argument. This macro will always be defined
764 * if USE_STDIO_BASE is defined.
a687059c 765 */
9003a523 766#define USE_STDIO_BASE /**/
16d20bd9
AD
767#ifdef USE_STDIO_BASE
768#define FILE_base(fp) ((fp)->_base)
769#define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base)
770#endif
8d063cd8 771
a0d0e21e
LW
772/* HAS_STRCHR:
773 * This symbol is defined to indicate that the strchr()/strrchr()
774 * functions are available for string searching. If not, try the
775 * index()/rindex() pair.
776 */
777/* HAS_INDEX:
778 * This symbol is defined to indicate that the index()/rindex()
779 * functions are available for string searching.
780 */
781#define HAS_STRCHR /**/
20e68413 782/*#define HAS_INDEX / **/
a0d0e21e
LW
783
784/* HAS_STRCOLL:
785 * This symbol, if defined, indicates that the strcoll routine is
786 * available to compare strings using collating information.
787 */
788#define HAS_STRCOLL /**/
789
85e6fe83 790/* USE_STRUCT_COPY:
8d063cd8
LW
791 * This symbol, if defined, indicates that this C compiler knows how
792 * to copy structures. If undefined, you'll need to use a block copy
793 * routine of some sort instead.
794 */
85e6fe83 795#define USE_STRUCT_COPY /**/
fe14fcc3 796
a0d0e21e
LW
797/* HAS_STRERROR:
798 * This symbol, if defined, indicates that the strerror routine is
799 * available to translate error numbers to strings. See the writeup
800 * of Strerror() in this file before you try to define your own.
801 */
802/* HAS_SYS_ERRLIST:
803 * This symbol, if defined, indicates that the sys_errlist array is
804 * available to translate error numbers to strings. The extern int
805 * sys_nerr gives the size of that table.
806 */
807/* Strerror:
808 * This preprocessor symbol is defined as a macro if strerror() is
809 * not available to translate error numbers to strings but sys_errlist[]
810 * array is there.
811 */
812#define HAS_STRERROR /**/
813#define HAS_SYS_ERRLIST /**/
814#define Strerror(e) strerror(e)
815
55497cff 816/* HAS_STRTOD:
817 * This symbol, if defined, indicates that the strtod routine is
774d564b 818 * available to provide better numeric string conversion than atof().
55497cff 819 */
820#define HAS_STRTOD /**/
821
822/* HAS_STRTOL:
774d564b 823 * This symbol, if defined, indicates that the strtol routine is available
824 * to provide better numeric string conversion than atoi() and friends.
55497cff 825 */
826#define HAS_STRTOL /**/
827
828/* HAS_STRTOUL:
829 * This symbol, if defined, indicates that the strtoul routine is
774d564b 830 * available to provide conversion of strings to unsigned long.
55497cff 831 */
832#define HAS_STRTOUL /**/
833
a0d0e21e
LW
834/* HAS_STRXFRM:
835 * This symbol, if defined, indicates that the strxfrm() routine is
836 * available to transform strings.
837 */
838#define HAS_STRXFRM /**/
839
85e6fe83 840/* HAS_SYMLINK:
a687059c
LW
841 * This symbol, if defined, indicates that the symlink routine is available
842 * to create symbolic links.
843 */
85e6fe83 844#define HAS_SYMLINK /**/
a687059c 845
85e6fe83
LW
846/* HAS_SYSCALL:
847 * This symbol, if defined, indicates that the syscall routine is
848 * available to call arbitrary system calls. If undefined, that's tough.
a687059c 849 */
85e6fe83 850#define HAS_SYSCALL /**/
a687059c 851
ecfc5424
AD
852/* HAS_SYSCONF:
853 * This symbol, if defined, indicates that sysconf() is available
854 * to determine system related limits and options.
855 */
856#define HAS_SYSCONF /**/
857
85e6fe83
LW
858/* HAS_SYSTEM:
859 * This symbol, if defined, indicates that the system routine is
860 * available to issue a shell command.
68decaef 861 */
85e6fe83 862#define HAS_SYSTEM /**/
68decaef 863
a0d0e21e
LW
864/* HAS_TCGETPGRP:
865 * This symbol, if defined, indicates that the tcgetpgrp routine is
866 * available to get foreground process group ID.
867 */
868#define HAS_TCGETPGRP /**/
869
870/* HAS_TCSETPGRP:
871 * This symbol, if defined, indicates that the tcsetpgrp routine is
872 * available to set foreground process group ID.
85e6fe83 873 */
a0d0e21e 874#define HAS_TCSETPGRP /**/
85e6fe83 875
ecfc5424
AD
876/* Time_t:
877 * This symbol holds the type returned by time(). It can be long,
878 * or time_t on BSD sites (in which case <sys/types.h> should be
879 * included).
880 */
881#define Time_t time_t /* Time type */
882
85e6fe83
LW
883/* HAS_TIMES:
884 * This symbol, if defined, indicates that the times() routine exists.
885 * Note that this became obsolete on some systems (SUNOS), which now
886 * use getrusage(). It may be necessary to include <sys/times.h>.
887 */
888#define HAS_TIMES /**/
889
890/* HAS_TRUNCATE:
fe14fcc3
LW
891 * This symbol, if defined, indicates that the truncate routine is
892 * available to truncate files.
a687059c 893 */
4633a7c4 894#define HAS_TRUNCATE /**/
a0d0e21e
LW
895
896/* HAS_TZNAME:
897 * This symbol, if defined, indicates that the tzname[] array is
898 * available to access timezone names.
899 */
900#define HAS_TZNAME /**/
901
902/* HAS_UMASK:
903 * This symbol, if defined, indicates that the umask routine is
904 * available to set and get the value of the file creation mask.
905 */
906#define HAS_UMASK /**/
a687059c 907
a0d0e21e
LW
908/* HAS_VFORK:
909 * This symbol, if defined, indicates that vfork() exists.
8d063cd8 910 */
20e68413 911/*#define HAS_VFORK / **/
a687059c 912
ecfc5424
AD
913/* Signal_t:
914 * This symbol's value is either "void" or "int", corresponding to the
915 * appropriate return type of a signal handler. Thus, you can declare
916 * a signal handler using "Signal_t (*handler)()", and define the
917 * handler using "Signal_t handler(sig)".
918 */
ecfc5424 919#define Signal_t void /* Signal handler's return type */
a687059c 920
85e6fe83 921/* HASVOLATILE:
fe14fcc3
LW
922 * This symbol, if defined, indicates that this C compiler knows about
923 * the volatile declaration.
924 */
4633a7c4 925#define HASVOLATILE /**/
85e6fe83
LW
926#ifndef HASVOLATILE
927#define volatile
928#endif
fe14fcc3 929
85e6fe83 930/* HAS_VPRINTF:
a687059c
LW
931 * This symbol, if defined, indicates that the vprintf routine is available
932 * to printf with a pointer to an argument list. If unavailable, you
933 * may need to write your own, probably in terms of _doprnt().
934 */
85e6fe83 935/* USE_CHAR_VSPRINTF:
a687059c
LW
936 * This symbol is defined if this system has vsprintf() returning type
937 * (char*). The trend seems to be to declare it as "int vsprintf()". It
938 * is up to the package author to declare vsprintf correctly based on the
939 * symbol.
940 */
85e6fe83 941#define HAS_VPRINTF /**/
20e68413 942/*#define USE_CHAR_VSPRINTF / **/
a687059c 943
85e6fe83 944/* HAS_WAIT4:
fe14fcc3
LW
945 * This symbol, if defined, indicates that wait4() exists.
946 */
9003a523 947#define HAS_WAIT4 /**/
fe14fcc3 948
85e6fe83
LW
949/* HAS_WAITPID:
950 * This symbol, if defined, indicates that the waitpid routine is
951 * available to wait for child process.
fe14fcc3 952 */
85e6fe83 953#define HAS_WAITPID /**/
fe14fcc3 954
a0d0e21e
LW
955/* HAS_WCSTOMBS:
956 * This symbol, if defined, indicates that the wcstombs routine is
957 * available to convert wide character strings to multibyte strings.
958 */
4633a7c4 959#define HAS_WCSTOMBS /**/
a0d0e21e
LW
960
961/* HAS_WCTOMB:
962 * This symbol, if defined, indicates that the wctomb routine is available
963 * to covert a wide character to a multibyte.
964 */
4633a7c4 965#define HAS_WCTOMB /**/
a0d0e21e
LW
966
967/* Fpos_t:
968 * This symbol holds the type used to declare file positions in libc.
969 * It can be fpos_t, long, uint, etc... It may be necessary to include
970 * <sys/types.h> to get any typedef'ed information.
971 */
972#define Fpos_t fpos_t /* File position type */
973
974/* Gid_t:
975 * This symbol holds the return type of getgid() and the type of
976 * argument to setrgid() and related functions. Typically,
977 * it is the type of group ids in the kernel. It can be int, ushort,
978 * uid_t, etc... It may be necessary to include <sys/types.h> to get
979 * any typedef'ed information.
a687059c 980 */
a0d0e21e 981#define Gid_t gid_t /* Type for getgid(), etc... */
2b317908 982
ecfc5424
AD
983/* Groups_t:
984 * This symbol holds the type used for the second argument to
5cd24f17 985 * [gs]etgroups(). Usually, this is the same of gidtype, but
ecfc5424
AD
986 * sometimes it isn't. It can be int, ushort, uid_t, etc...
987 * It may be necessary to include <sys/types.h> to get any
988 * typedef'ed information. This is only required if you have
5cd24f17 989 * getgroups() or setgroups().
ecfc5424 990 */
5cd24f17 991#if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
992#define Groups_t gid_t /* Type for 2nd arg to [gs]etgroups() */
ecfc5424
AD
993#endif
994
232e078e
AD
995/* DB_Prefix_t:
996 * This symbol contains the type of the prefix structure element
997 * in the <db.h> header file. In older versions of DB, it was
998 * int, while in newer ones it is u_int32_t.
999 */
1000/* DB_Hash_t:
1001 * This symbol contains the type of the prefix structure element
1002 * in the <db.h> header file. In older versions of DB, it was
1003 * int, while in newer ones it is size_t.
1004 */
1005#define DB_Hash_t int /**/
1006#define DB_Prefix_t int /**/
1007
85e6fe83
LW
1008/* I_DIRENT:
1009 * This symbol, if defined, indicates to the C program that it should
1010 * include <dirent.h>. Using this symbol also triggers the definition
1011 * of the Direntry_t define which ends up being 'struct dirent' or
1012 * 'struct direct' depending on the availability of <dirent.h>.
1013 */
1014/* DIRNAMLEN:
1015 * This symbol, if defined, indicates to the C program that the length
1016 * of directory entry names is provided by a d_namlen field. Otherwise
1017 * you need to do strlen() on the d_name field.
2b317908 1018 */
a0d0e21e
LW
1019/* Direntry_t:
1020 * This symbol is set to 'struct direct' or 'struct dirent' depending on
1021 * whether dirent is available or not. You should use this pseudo type to
1022 * portably declare your directory entries.
1023 */
85e6fe83 1024#define I_DIRENT /**/
20e68413 1025/*#define DIRNAMLEN / **/
85e6fe83 1026#define Direntry_t struct dirent
a0d0e21e
LW
1027
1028/* I_DLFCN:
1029 * This symbol, if defined, indicates that <dlfcn.h> exists and should
1030 * be included.
1031 */
4633a7c4 1032#define I_DLFCN /**/
a687059c 1033
85e6fe83 1034/* I_FCNTL:
fe14fcc3 1035 * This manifest constant tells the C program to include <fcntl.h>.
a687059c 1036 */
a0d0e21e 1037#define I_FCNTL /**/
a687059c 1038
a0d0e21e
LW
1039/* I_FLOAT:
1040 * This symbol, if defined, indicates to the C program that it should
1041 * include <float.h> to get definition of symbols like DBL_MAX or
1042 * DBL_MIN, i.e. machine dependent floating point values.
a687059c 1043 */
a0d0e21e 1044#define I_FLOAT /**/
a687059c 1045
85e6fe83 1046/* I_GRP:
a687059c 1047 * This symbol, if defined, indicates to the C program that it should
85e6fe83 1048 * include <grp.h>.
a687059c 1049 */
85e6fe83 1050#define I_GRP /**/
a687059c 1051
a0d0e21e
LW
1052/* I_LIMITS:
1053 * This symbol, if defined, indicates to the C program that it should
1054 * include <limits.h> to get definition of symbols like WORD_BIT or
1055 * LONG_MAX, i.e. machine dependant limitations.
1056 */
1057#define I_LIMITS /**/
1058
1059/* I_MATH:
1060 * This symbol, if defined, indicates to the C program that it should
1061 * include <math.h>.
1062 */
1063#define I_MATH /**/
1064
1065/* I_MEMORY:
1066 * This symbol, if defined, indicates to the C program that it should
1067 * include <memory.h>.
1068 */
20e68413 1069/*#define I_MEMORY / **/
a0d0e21e 1070
232e078e 1071/* I_NDBM:
16d20bd9 1072 * This symbol, if defined, indicates that <ndbm.h> exists and should
232e078e
AD
1073 * be included.
1074 */
1075#define I_NDBM /**/
1076
ecfc5424
AD
1077/* I_NET_ERRNO:
1078 * This symbol, if defined, indicates that <net/errno.h> exists and
1079 * should be included.
fe14fcc3 1080 */
20e68413 1081/*#define I_NET_ERRNO / **/
fe14fcc3 1082
85e6fe83 1083/* I_NETINET_IN:
a687059c 1084 * This symbol, if defined, indicates to the C program that it should
85e6fe83 1085 * include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
a687059c 1086 */
85e6fe83 1087#define I_NETINET_IN /**/
85e6fe83 1088
a0d0e21e
LW
1089/* I_PWD:
1090 * This symbol, if defined, indicates to the C program that it should
1091 * include <pwd.h>.
1092 */
1093/* PWQUOTA:
1094 * This symbol, if defined, indicates to the C program that struct passwd
1095 * contains pw_quota.
1096 */
1097/* PWAGE:
1098 * This symbol, if defined, indicates to the C program that struct passwd
1099 * contains pw_age.
1100 */
1101/* PWCHANGE:
1102 * This symbol, if defined, indicates to the C program that struct passwd
1103 * contains pw_change.
fe14fcc3 1104 */
a0d0e21e
LW
1105/* PWCLASS:
1106 * This symbol, if defined, indicates to the C program that struct passwd
1107 * contains pw_class.
1108 */
1109/* PWEXPIRE:
1110 * This symbol, if defined, indicates to the C program that struct passwd
1111 * contains pw_expire.
1112 */
1113/* PWCOMMENT:
1114 * This symbol, if defined, indicates to the C program that struct passwd
1115 * contains pw_comment.
1116 */
1117#define I_PWD /**/
20e68413 1118/*#define PWQUOTA / **/
a0d0e21e 1119#define PWAGE /**/
20e68413 1120/*#define PWCHANGE / **/
1121/*#define PWCLASS / **/
1122/*#define PWEXPIRE / **/
a0d0e21e 1123#define PWCOMMENT /**/
85e6fe83
LW
1124
1125/* I_STDDEF:
1126 * This symbol, if defined, indicates that <stddef.h> exists and should
1127 * be included.
fe14fcc3 1128 */
85e6fe83
LW
1129#define I_STDDEF /**/
1130
a0d0e21e
LW
1131/* I_STDLIB:
1132 * This symbol, if defined, indicates that <stdlib.h> exists and should
1133 * be included.
1134 */
1135#define I_STDLIB /**/
1136
85e6fe83
LW
1137/* I_STRING:
1138 * This symbol, if defined, indicates to the C program that it should
1139 * include <string.h> (USG systems) instead of <strings.h> (BSD systems).
fe14fcc3 1140 */
85e6fe83
LW
1141#define I_STRING /**/
1142
1143/* I_SYS_DIR:
1144 * This symbol, if defined, indicates to the C program that it should
1145 * include <sys/dir.h>.
fe14fcc3 1146 */
20e68413 1147/*#define I_SYS_DIR / **/
a687059c 1148
85e6fe83
LW
1149/* I_SYS_FILE:
1150 * This symbol, if defined, indicates to the C program that it should
1151 * include <sys/file.h> to get definition of R_OK and friends.
a687059c 1152 */
20e68413 1153/*#define I_SYS_FILE / **/
a687059c 1154
85e6fe83
LW
1155/* I_SYS_IOCTL:
1156 * This symbol, if defined, indicates that <sys/ioctl.h> exists and should
1157 * be included. Otherwise, include <sgtty.h> or <termio.h>.
a687059c 1158 */
85e6fe83 1159#define I_SYS_IOCTL /**/
a687059c 1160
85e6fe83
LW
1161/* I_SYS_NDIR:
1162 * This symbol, if defined, indicates to the C program that it should
1163 * include <sys/ndir.h>.
fe14fcc3 1164 */
20e68413 1165/*#define I_SYS_NDIR / **/
85e6fe83 1166
a0d0e21e
LW
1167/* I_SYS_PARAM:
1168 * This symbol, if defined, indicates to the C program that it should
1169 * include <sys/param.h>.
1170 */
1171#define I_SYS_PARAM /**/
1172
9003a523 1173/* I_SYS_RESOURCE:
1174 * This symbol, if defined, indicates to the C program that it should
1175 * include <sys/resource.h>.
1176 */
1177#define I_SYS_RESOURCE /**/
1178
85e6fe83
LW
1179/* I_SYS_SELECT:
1180 * This symbol, if defined, indicates to the C program that it should
1181 * include <sys/select.h> in order to get definition of struct timeval.
fe14fcc3 1182 */
4633a7c4 1183#define I_SYS_SELECT /**/
85e6fe83 1184
a0d0e21e 1185/* I_SYS_TIMES:
85e6fe83 1186 * This symbol, if defined, indicates to the C program that it should
a0d0e21e 1187 * include <sys/times.h>.
fe14fcc3 1188 */
a0d0e21e
LW
1189#define I_SYS_TIMES /**/
1190
fed7345c
AD
1191/* I_SYS_TYPES:
1192 * This symbol, if defined, indicates to the C program that it should
1193 * include <sys/types.h>.
1194 */
1195#define I_SYS_TYPES /**/
1196
fbfd4aab 1197/* I_SYS_UN:
1198 * This symbol, if defined, indicates to the C program that it should
1199 * include <sys/un.h> to get UNIX domain socket definitions.
1200 */
1201#define I_SYS_UN /**/
1202
9003a523 1203/* I_SYS_WAIT:
1204 * This symbol, if defined, indicates to the C program that it should
1205 * include <sys/wait.h>.
1206 */
1207#define I_SYS_WAIT /**/
1208
a0d0e21e
LW
1209/* I_TERMIO:
1210 * This symbol, if defined, indicates that the program should include
1211 * <termio.h> rather than <sgtty.h>. There are also differences in
1212 * the ioctl() calls that depend on the value of this symbol.
1213 */
1214/* I_TERMIOS:
1215 * This symbol, if defined, indicates that the program should include
1216 * the POSIX termios.h rather than sgtty.h or termio.h.
1217 * There are also differences in the ioctl() calls that depend on the
1218 * value of this symbol.
1219 */
1220/* I_SGTTY:
1221 * This symbol, if defined, indicates that the program should include
1222 * <sgtty.h> rather than <termio.h>. There are also differences in
1223 * the ioctl() calls that depend on the value of this symbol.
1224 */
20e68413 1225/*#define I_TERMIO / **/
a0d0e21e 1226#define I_TERMIOS /**/
20e68413 1227/*#define I_SGTTY / **/
a0d0e21e
LW
1228
1229/* I_TIME:
1230 * This symbol, if defined, indicates to the C program that it should
1231 * include <time.h>.
1232 */
1233/* I_SYS_TIME:
1234 * This symbol, if defined, indicates to the C program that it should
1235 * include <sys/time.h>.
1236 */
1237/* I_SYS_TIME_KERNEL:
fe14fcc3 1238 * This symbol, if defined, indicates to the C program that it should
85e6fe83 1239 * include <sys/time.h> with KERNEL defined.
fe14fcc3 1240 */
20e68413 1241/*#define I_TIME / **/
85e6fe83 1242#define I_SYS_TIME /**/
20e68413 1243/*#define I_SYS_TIME_KERNEL / **/
fe14fcc3 1244
a0d0e21e
LW
1245/* I_UNISTD:
1246 * This symbol, if defined, indicates to the C program that it should
1247 * include <unistd.h>.
1248 */
1249#define I_UNISTD /**/
1250
85e6fe83 1251/* I_UTIME:
a687059c 1252 * This symbol, if defined, indicates to the C program that it should
85e6fe83 1253 * include <utime.h>.
a687059c 1254 */
85e6fe83 1255#define I_UTIME /**/
a687059c 1256
9003a523 1257/* I_STDARG:
1258 * This symbol, if defined, indicates that <stdarg.h> exists and should
1259 * be included.
1260 */
1261/* I_VARARGS:
1262 * This symbol, if defined, indicates to the C program that it should
1263 * include <varargs.h>.
1264 */
1265#define I_STDARG /**/
20e68413 1266/*#define I_VARARGS / **/
9003a523 1267
a0d0e21e
LW
1268/* I_VFORK:
1269 * This symbol, if defined, indicates to the C program that it should
1270 * include vfork.h.
1271 */
20e68413 1272/*#define I_VFORK / **/
fe14fcc3 1273
9003a523 1274/* INTSIZE:
24fef2a7
AD
1275 * This symbol contains the value of sizeof(int) so that the C
1276 * preprocessor can make decisions based on it.
1277 */
1278/* LONGSIZE:
1279 * This symbol contains the value of sizeof(long) so that the C
1280 * preprocessor can make decisions based on it.
1281 */
1282/* SHORTSIZE:
1283 * This symbol contains the value of sizeof(short) so that the C
1284 * preprocessor can make decisions based on it.
9003a523 1285 */
1286#define INTSIZE 4 /**/
24fef2a7
AD
1287#define LONGSIZE 4 /**/
1288#define SHORTSIZE 2 /**/
9003a523 1289
85e6fe83
LW
1290/* Off_t:
1291 * This symbol holds the type used to declare offsets in the kernel.
1292 * It can be int, long, off_t, etc... It may be necessary to include
1293 * <sys/types.h> to get any typedef'ed information.
fe14fcc3 1294 */
85e6fe83
LW
1295#define Off_t off_t /* <offset> type */
1296
ecfc5424
AD
1297/* Mode_t:
1298 * This symbol holds the type used to declare file modes
1299 * for systems calls. It is usually mode_t, but may be
1300 * int or unsigned short. It may be necessary to include <sys/types.h>
1301 * to get any typedef'ed information.
1302 */
1303#define Mode_t mode_t /* file mode parameter for system calls */
1304
774d564b 1305/* VAL_O_NONBLOCK:
1306 * This symbol is to be used during open() or fcntl(F_SETFL) to turn on
1307 * non-blocking I/O for the file descriptor. Note that there is no way
1308 * back, i.e. you cannot turn it blocking again this way. If you wish to
1309 * alternatively switch between blocking and non-blocking, use the
1310 * ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
1311 */
1312/* VAL_EAGAIN:
1313 * This symbol holds the errno error code set by read() when no data was
1314 * present on the non-blocking file descriptor.
1315 */
1316/* RD_NODATA:
1317 * This symbol holds the return code from read() when no data is present
1318 * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
1319 * not defined, then you can't distinguish between no data and EOF by
1320 * issuing a read(). You'll have to find another way to tell for sure!
1321 */
1322/* EOF_NONBLOCK:
1323 * This symbol, if defined, indicates to the C program that a read() on
1324 * a non-blocking file descriptor will return 0 on EOF, and not the value
1325 * held in RD_NODATA (-1 usually, in that case!).
1326 */
1327#define VAL_O_NONBLOCK O_NONBLOCK
1328#define VAL_EAGAIN EAGAIN
1329#define RD_NODATA -1
1330#define EOF_NONBLOCK
1331
a0d0e21e
LW
1332/* CAN_PROTOTYPE:
1333 * If defined, this macro indicates that the C compiler can handle
1334 * function prototypes.
1335 */
1336/* _:
1337 * This macro is used to declare function parameters for folks who want
1338 * to make declarations with prototypes using a different style than
1339 * the above macros. Use double parentheses. For example:
1340 *
1341 * int main _((int argc, char *argv[]));
1342 */
4633a7c4 1343#define CAN_PROTOTYPE /**/
a0d0e21e
LW
1344#ifdef CAN_PROTOTYPE
1345#define _(args) args
1346#else
1347#define _(args) ()
1348#endif
85e6fe83
LW
1349
1350/* RANDBITS:
1351 * This symbol contains the number of bits of random number the rand()
1352 * function produces. Usual values are 15, 16, and 31.
fe14fcc3 1353 */
a0d0e21e 1354#define RANDBITS 15 /**/
85e6fe83 1355
a0d0e21e
LW
1356/* Select_fd_set_t:
1357 * This symbol holds the type used for the 2nd, 3rd, and 4th
1358 * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
1359 * is defined, and 'int *' otherwise. This is only useful if you
1360 * have select(), of course.
1361 */
1362#define Select_fd_set_t fd_set * /**/
1363
a0d0e21e
LW
1364/* Size_t:
1365 * This symbol holds the type used to declare length parameters
1366 * for string functions. It is usually size_t, but may be
1367 * unsigned long, int, etc. It may be necessary to include
1368 * <sys/types.h> to get any typedef'ed information.
1369 */
1370#define Size_t size_t /* length paramater for string functions */
1371
774d564b 1372/* SSize_t:
1373 * This symbol holds the type used by functions that return
1374 * a count of bytes or an error condition. It must be a signed type.
1375 * It is usually ssize_t, but may be long or int, etc.
1376 * It may be necessary to include <sys/types.h> or <unistd.h>
1377 * to get any typedef'ed information.
1378 * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
1379 */
1380#define SSize_t ssize_t /* signed count of bytes */
1381
85e6fe83
LW
1382/* STDCHAR:
1383 * This symbol is defined to be the type of char used in stdio.h.
1384 * It has the values "unsigned char" or "char".
fe14fcc3 1385 */
85e6fe83
LW
1386#define STDCHAR unsigned char /**/
1387
1388/* Uid_t:
1389 * This symbol holds the type used to declare user ids in the kernel.
1390 * It can be int, ushort, uid_t, etc... It may be necessary to include
1391 * <sys/types.h> to get any typedef'ed information.
fe14fcc3 1392 */
85e6fe83 1393#define Uid_t uid_t /* UID type */
fe14fcc3 1394
a0d0e21e
LW
1395/* LOC_SED:
1396 * This symbol holds the complete pathname to the sed program.
85e6fe83 1397 */
a0d0e21e
LW
1398#define LOC_SED "/bin/sed" /**/
1399
36d1a04a 1400/* OSNAME:
1401 * This symbol contains the name of the operating system, as determined
9003a523 1402 * by Configure. You shouldn't rely on it too much; the specific
1403 * feature tests from Configure are generally more reliable.
36d1a04a 1404 */
1405#define OSNAME "solaris" /**/
1406
9003a523 1407/* ARCHLIB:
1408 * This variable, if defined, holds the name of the directory in
1409 * which the user wants to put architecture-dependent public
1410 * library files for perl5. It is most often a local directory
1411 * such as /usr/local/lib. Programs using this variable must be
1412 * prepared to deal with filename expansion. If ARCHLIB is the
1413 * same as PRIVLIB, it is not defined, since presumably the
1414 * program already searches PRIVLIB.
1415 */
1416/* ARCHLIB_EXP:
1417 * This symbol contains the ~name expanded version of ARCHLIB, to be used
1418 * in programs that are not prepared to deal with ~ expansion at run-time.
1419 */
d103522a 1420#define ARCHLIB "/opt/perl/lib/i86pc-solaris/5.00305" /**/
1421#define ARCHLIB_EXP "/opt/perl/lib/i86pc-solaris/5.00305" /**/
9003a523 1422
5f05dabc 1423/* BINCOMPAT3:
1424 * This symbol, if defined, indicates that Perl 5.004 should be
1425 * binary-compatible with Perl 5.003.
1426 */
1427#define BINCOMPAT3 /**/
1428
4633a7c4 1429/* BYTEORDER:
9003a523 1430 * This symbol holds the hexadecimal constant defined in byteorder,
4633a7c4 1431 * i.e. 0x1234 or 0x4321, etc...
9003a523 1432 * On NeXT 4 (and greater), you can build "Fat" Multiple Architecture
1433 * Binaries (MAB) on either big endian or little endian machines.
1434 * The endian-ness is available at compile-time. This only matters
1435 * for perl, where the config.h can be generated and installed on
1436 * one system, and used by a different architecture to build an
1437 * extension. Older versions of NeXT that might not have
1438 * defined either *_ENDIAN__ were all on Motorola 680x0 series,
1439 * so the default case (for NeXT) is big endian to catch them.
1440 * This might matter for NeXT 3.0.
1441 */
1442#ifndef NeXT
4633a7c4 1443#define BYTEORDER 0x1234 /* large digits for MSB */
9003a523 1444#else /* NeXT */
1445#ifdef __LITTLE_ENDIAN__
1446#define BYTEORDER 0x1234
1447#else /* __BIG_ENDIAN__ */
1448#define BYTEORDER 0x4321
1449#endif /* ENDIAN CHECK */
1450#endif /* NeXT */
4633a7c4 1451
1aef975c
AD
1452/* CSH:
1453 * This symbol, if defined, indicates that the C-shell exists.
1454 * If defined, contains the full pathname of csh.
1455 */
1456#define CSH "/bin/csh" /**/
1457
a0d0e21e
LW
1458/* DLSYM_NEEDS_UNDERSCORE:
1459 * This symbol, if defined, indicates that we need to prepend an
1460 * underscore to the symbol name before calling dlsym(). This only
1461 * makes sense if you *have* dlsym, which we will presume is the
1462 * case if you're using dl_dlopen.xs.
85e6fe83 1463 */
d103522a 1464/*#define DLSYM_NEEDS_UNDERSCORE / **/
a0d0e21e 1465
fbfd4aab 1466/* SETUID_SCRIPTS_ARE_SECURE_NOW:
1467 * This symbol, if defined, indicates that the bug that prevents
1468 * setuid scripts from being secure is not present in this kernel.
1469 */
1470/* DOSUID:
1471 * This symbol, if defined, indicates that the C program should
1472 * check the script that it is executing for setuid/setgid bits, and
1473 * attempt to emulate setuid/setgid on systems that have disabled
1474 * setuid #! scripts because the kernel can't do it securely.
1475 * It is up to the package designer to make sure that this emulation
1476 * is done securely. Among other things, it should do an fstat on
1477 * the script it just opened to make sure it really is a setuid/setgid
1478 * script, it should make sure the arguments passed correspond exactly
1479 * to the argument on the #! line, and it should not trust any
1480 * subprocesses to which it must pass the filename rather than the
1481 * file descriptor of the script to be executed.
1482 */
1483#define SETUID_SCRIPTS_ARE_SECURE_NOW /**/
20e68413 1484/*#define DOSUID / **/
fbfd4aab 1485
4633a7c4
LW
1486/* Gconvert:
1487 * This preprocessor macro is defined to convert a floating point
1488 * number to a string without a trailing decimal point. This
1489 * emulates the behavior of sprintf("%g"), but is sometimes much more
1490 * efficient. If gconvert() is not available, but gcvt() drops the
1491 * trailing decimal point, then gcvt() is used. If all else fails,
1492 * a macro using sprintf("%g") is used. Arguments for the Gconvert
1493 * macro are: value, number of digits, whether trailing zeros should
1494 * be retained, and the output buffer.
1495 * Possible values are:
1496 * d_Gconvert='gconvert((x),(n),(t),(b))'
1497 * d_Gconvert='gcvt((x),(n),(b))'
1498 * d_Gconvert='sprintf((b),"%.*g",(n),(x))'
1499 * The last two assume trailing zeros should not be kept.
1500 */
1501#define Gconvert(x,n,t,b) gconvert((x),(n),(t),(b))
1502
d103522a 1503/* HAS_GETPGID:
1504 * This symbol, if defined, indicates to the C program that
1505 * the getpgid(pid) function is available to get the
1506 * process group id.
1507 */
1508#define HAS_GETPGID /**/
1509
1510/* HAS_GETPGRP:
1511 * This symbol, if defined, indicates that the getpgrp routine is
1512 * available to get the current process group.
1513 */
1514/* USE_BSD_GETPGRP:
1515 * This symbol, if defined, indicates that getpgrp needs one
1516 * arguments whereas USG one needs none.
1517 */
1518#define HAS_GETPGRP /**/
1519/*#define USE_BSD_GETPGRP / **/
1520
774d564b 1521/* HAS_INET_ATON:
1522 * This symbol, if defined, indicates to the C program that the
1523 * inet_aton() function is available to parse IP address "dotted-quad"
1524 * strings.
1525 */
1526#define HAS_INET_ATON /**/
1527
d103522a 1528/* HAS_SETPGID:
1529 * This symbol, if defined, indicates to the C program that
1530 * the setpgid(pid, gpid) function is available to set the
1531 * process group id.
1532 */
1533#define HAS_SETPGID /**/
1534
1535/* HAS_SETPGRP:
1536 * This symbol, if defined, indicates that the setpgrp routine is
1537 * available to set the current process group.
1538 */
1539/* USE_BSD_SETPGRP:
1540 * This symbol, if defined, indicates that setpgrp needs two
1541 * arguments whereas USG one needs none. See also HAS_SETPGID
1542 * for a POSIX interface.
1543 */
1544/* USE_BSDPGRP:
1545 * This symbol, if defined, indicates that the BSD notion of process
1546 * group is to be used. For instance, you have to say setpgrp(pid, pgrp)
1547 * instead of the USG setpgrp(). This should be obsolete since
1548 * there are systems which have BSD-ish setpgrp but USG-ish getpgrp.
1549 */
1550#define HAS_SETPGRP /**/
1551/*#define USE_BSD_SETPGRP / **/
1552/*#define USE_BSDPGRP / **/
1553
9003a523 1554/* USE_SFIO:
1555 * This symbol, if defined, indicates that sfio should
1556 * be used.
1557 */
20e68413 1558/*#define USE_SFIO / **/
9003a523 1559
36d1a04a 1560/* Sigjmp_buf:
9003a523 1561 * This is the buffer type to be used with Sigsetjmp and Siglongjmp.
36d1a04a 1562 */
1563/* Sigsetjmp:
9003a523 1564 * This macro is used in the same way as sigsetjmp(), but will invoke
1565 * traditional setjmp() if sigsetjmp isn't available.
1566 * See HAS_SIGSETJMP.
36d1a04a 1567 */
1568/* Siglongjmp:
9003a523 1569 * This macro is used in the same way as siglongjmp(), but will invoke
1570 * traditional longjmp() if siglongjmp isn't available.
1571 * See HAS_SIGSETJMP.
36d1a04a 1572 */
1573#define HAS_SIGSETJMP /**/
1574#ifdef HAS_SIGSETJMP
1575#define Sigjmp_buf sigjmp_buf
9003a523 1576#define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
1577#define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
36d1a04a 1578#else
1579#define Sigjmp_buf jmp_buf
9003a523 1580#define Sigsetjmp(buf,save_mask) setjmp((buf))
1581#define Siglongjmp(buf,retval) longjmp((buf),(retval))
36d1a04a 1582#endif
1583
85e6fe83
LW
1584/* USE_DYNAMIC_LOADING:
1585 * This symbol, if defined, indicates that dynamic loading of
1586 * some sort is available.
1587 */
4633a7c4
LW
1588#define USE_DYNAMIC_LOADING /**/
1589
1590/* I_DBM:
1591 * This symbol, if defined, indicates that <dbm.h> exists and should
1592 * be included.
1593 */
1594/* I_RPCSVC_DBM:
1595 * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
1596 * should be included.
1597 */
20e68413 1598/*#define I_DBM / **/
4633a7c4
LW
1599#define I_RPCSVC_DBM /**/
1600
1601/* I_LOCALE:
1602 * This symbol, if defined, indicates to the C program that it should
1603 * include <locale.h>.
1604 */
1605#define I_LOCALE /**/
85e6fe83 1606
9003a523 1607/* I_SFIO:
1608 * This symbol, if defined, indicates to the C program that it should
1609 * include <sfio.h>.
1610 */
20e68413 1611/*#define I_SFIO / **/
9003a523 1612
1aef975c
AD
1613/* I_SYS_STAT:
1614 * This symbol, if defined, indicates to the C program that it should
1615 * include <sys/stat.h>.
1616 */
1617#define I_SYS_STAT /**/
1618
9003a523 1619/* I_VALUES:
fbfd4aab 1620 * This symbol, if defined, indicates to the C program that it should
9003a523 1621 * include <values.h> to get definition of symbols like MINFLOAT or
1622 * MAXLONG, i.e. machine dependant limitations. Probably, you
1623 * should use <limits.h> instead, if it is available.
fbfd4aab 1624 */
9003a523 1625#define I_VALUES /**/
4633a7c4 1626
94b6baf5
AD
1627/* Free_t:
1628 * This variable contains the return type of free(). It is usually
1629 * void, but occasionally int.
1630 */
85e6fe83
LW
1631/* Malloc_t:
1632 * This symbol is the type of pointer returned by malloc and realloc.
1633 */
4633a7c4 1634#define Malloc_t void * /**/
94b6baf5 1635#define Free_t void /**/
85e6fe83
LW
1636
1637/* MYMALLOC:
1638 * This symbol, if defined, indicates that we're using our own malloc.
1639 */
1640#define MYMALLOC /**/
1641
9003a523 1642/* OLDARCHLIB:
1643 * This variable, if defined, holds the name of the directory in
1644 * which the user has perl5.000 or perl5.001 architecture-dependent
1645 * public library files for perl5. For the most part, these
1646 * files will work with 5.002 (and later), but that is not
1647 * guaranteed.
1648 */
4633a7c4
LW
1649/* OLDARCHLIB_EXP:
1650 * This symbol contains the ~name expanded version of OLDARCHLIB, to be
1651 * used in programs that are not prepared to deal with ~ expansion at
1652 * run-time.
1653 */
20e68413 1654/*#define OLDARCHLIB "" / **/
1655/*#define OLDARCHLIB_EXP "" / **/
4633a7c4 1656
9003a523 1657/* PRIVLIB:
1658 * This symbol contains the name of the private library for this package.
1659 * The library is private in the sense that it needn't be in anyone's
1660 * execution path, but it should be accessible by the world. The program
1661 * should be prepared to do ~ expansion.
1662 */
4633a7c4
LW
1663/* PRIVLIB_EXP:
1664 * This symbol contains the ~name expanded version of PRIVLIB, to be used
16d20bd9
AD
1665 * in programs that are not prepared to deal with ~ expansion at run-time.
1666 */
9003a523 1667#define PRIVLIB "/opt/perl/lib" /**/
1668#define PRIVLIB_EXP "/opt/perl/lib" /**/
1669
1670/* SH_PATH:
1671 * This symbol contains the full pathname to the shell used on this
1672 * on this system to execute Bourne shell scripts. Usually, this will be
1673 * /bin/sh, though it's possible that some systems will have /bin/ksh,
6c509264 1674 * /bin/pdksh, /bin/ash, /bin/bash, or even something such as
1675 * D:/bin/sh.exe.
9003a523 1676 */
1677#define SH_PATH "/bin/sh" /**/
4633a7c4
LW
1678
1679/* SIG_NAME:
1680 * This symbol contains a list of signal names in order of
1681 * signal number. This is intended
1682 * to be used as a static array initialization, like this:
1683 * char *sig_name[] = { SIG_NAME };
1684 * The signals in the list are separated with commas, and each signal
1685 * is surrounded by double quotes. There is no leading SIG in the signal
1686 * name, i.e. SIGQUIT is known as "QUIT".
1687 * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
1688 * etc., where nn is the actual signal number (e.g. NUM37).
1689 * The signal number for sig_name[i] is stored in sig_num[i].
1690 * The last element is 0 to terminate the list with a NULL. This
1691 * corresponds to the 0 at the end of the sig_num list.
1692 */
1693/* SIG_NUM:
1694 * This symbol contains a list of signal numbers, in the same order as the
1695 * SIG_NAME list. It is suitable for static array initialization, as in:
1696 * int sig_num[] = { SIG_NUM };
1697 * The signals in the list are separated with commas, and the indices
1698 * within that list and the SIG_NAME list match, so it's easy to compute
1699 * the signal name from a number or vice versa at the price of a small
1700 * dynamic linear lookup.
1701 * Duplicates are allowed, but are moved to the end of the list.
1702 * The signal number corresponding to sig_name[i] is sig_number[i].
1703 * if (i < NSIG) then sig_number[i] == i.
1704 * The last element is 0, corresponding to the 0 at the end of
1705 * the sig_name list.
1706 */
9003a523 1707#define SIG_NAME "ZERO","HUP","INT","QUIT","ILL","TRAP","ABRT","EMT","FPE","KILL","BUS","SEGV","SYS","PIPE","ALRM","TERM","USR1","USR2","CHLD","PWR","WINCH","URG","IO","STOP","TSTP","CONT","TTIN","TTOU","VTALRM","PROF","XCPU","XFSZ","WAITING","LWP","FREEZE","THAW","CANCEL","RTMIN","NUM38","NUM39","NUM40","NUM41","NUM42","NUM43","RTMAX","IOT","CLD","POLL",0 /**/
1708#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,6,18,22,0 /**/
4633a7c4 1709
9003a523 1710/* SITEARCH:
1711 * This symbol contains the name of the private library for this package.
1712 * The library is private in the sense that it needn't be in anyone's
1713 * execution path, but it should be accessible by the world. The program
1714 * should be prepared to do ~ expansion.
1715 * The standard distribution will put nothing in this directory.
1716 * Individual sites may place their own extensions and modules in
1717 * this directory.
1718 */
4633a7c4
LW
1719/* SITEARCH_EXP:
1720 * This symbol contains the ~name expanded version of SITEARCH, to be used
1721 * in programs that are not prepared to deal with ~ expansion at run-time.
1722 */
9003a523 1723#define SITEARCH "/opt/perl/lib/site_perl/i86pc-solaris" /**/
1724#define SITEARCH_EXP "/opt/perl/lib/site_perl/i86pc-solaris" /**/
fbfd4aab 1725
9003a523 1726/* SITELIB:
1727 * This symbol contains the name of the private library for this package.
1728 * The library is private in the sense that it needn't be in anyone's
1729 * execution path, but it should be accessible by the world. The program
1730 * should be prepared to do ~ expansion.
1731 * The standard distribution will put nothing in this directory.
1732 * Individual sites may place their own extensions and modules in
1733 * this directory.
1734 */
fbfd4aab 1735/* SITELIB_EXP:
1736 * This symbol contains the ~name expanded version of SITELIB, to be used
1737 * in programs that are not prepared to deal with ~ expansion at run-time.
1738 */
9003a523 1739#define SITELIB "/opt/perl/lib/site_perl" /**/
1740#define SITELIB_EXP "/opt/perl/lib/site_perl" /**/
1741
fbfd4aab 1742/* STARTPERL:
1743 * This variable contains the string to put in front of a perl
1744 * script to make sure (one hopes) that it runs with perl and not
1745 * some shell.
1746 */
9003a523 1747#define STARTPERL "#!/opt/perl/bin/perl" /**/
4633a7c4 1748
9003a523 1749/* USE_PERLIO:
1750 * This symbol, if defined, indicates that the PerlIO abstraction should
1751 * be used throughout. If not defined, stdio should be
1752 * used in a fully backward compatible manner.
ce4a058e 1753 */
20e68413 1754/*#define USE_PERLIO / **/
ce4a058e 1755
4633a7c4
LW
1756/* VOIDFLAGS:
1757 * This symbol indicates how much support of the void type is given by this
1758 * compiler. What various bits mean:
1759 *
1760 * 1 = supports declaration of void
1761 * 2 = supports arrays of pointers to functions returning void
1762 * 4 = supports comparisons between pointers to void functions and
1763 * addresses of void functions
1764 * 8 = suports declaration of generic void pointers
1765 *
1766 * The package designer should define VOIDUSED to indicate the requirements
1767 * of the package. This can be done either by #defining VOIDUSED before
1768 * including config.h, or by defining defvoidused in Myinit.U. If the
1769 * latter approach is taken, only those flags will be tested. If the
1770 * level of void support necessary is not present, defines void to int.
1771 */
1772#ifndef VOIDUSED
1773#define VOIDUSED 15
1774#endif
1775#define VOIDFLAGS 15
1776#if (VOIDFLAGS & VOIDUSED) != VOIDUSED
1777#define void int /* is void to be avoided? */
1778#define M_VOID /* Xenix strikes again */
1779#endif
16d20bd9 1780
fe14fcc3 1781#endif