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