This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
22594b7568381816d5a8a387a05cc0a995029a48
[perl5.git] / config.H
1 /* config.H:  This is a sample config.h file.  config.h is produced 
2    from config_h.SH by Configure.  This file is intended only for
3    those having problems with the regular Configure process.
4 */
5 /*
6  * This file was produced by running the config_h.SH script, which
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,
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.
13  *
14  * $Id: Config_h.U,v 3.0.1.2 1993/08/24 12:13:20 ram Exp $
15  */
16
17 /* Configuration time: Thu Apr 28 11:13:38 EDT 1994
18  * Configured by: doughera
19  * Target system: sunos einstein 4.1.3 3 sun4c 
20  */
21
22 #ifndef _config_h_
23 #define _config_h_
24
25 /* BIN:
26  *      This symbol holds the path of the bin directory where the package will
27  *      be installed. Program must be prepared to deal with ~name substitution.
28  */
29 #define BIN "/usr/local/bin"    /**/
30
31 /* BYTEORDER:
32  *      This symbol hold the hexadecimal constant defined in byteorder,
33  *      i.e. 0x1234 or 0x4321, etc...
34  */
35 #define BYTEORDER 0x4321        /* large digits for MSB */
36
37 /* CPPSTDIN:
38  *      This symbol contains the first part of the string which will invoke
39  *      the C preprocessor on the standard input and produce to standard
40  *      output.  Typical value of "cc -E" or "/lib/cpp", but it can also
41  *      call a wrapper. See CPPRUN.
42  */
43 /* CPPMINUS:
44  *      This symbol contains the second part of the string which will invoke
45  *      the C preprocessor on the standard input and produce to standard
46  *      output.  This symbol will have the value "-" if CPPSTDIN needs a minus
47  *      to specify standard input, otherwise the value is "".
48  */
49 #define CPPSTDIN "/home/doughera/src/perl5a8-ad/cppstdin"
50 #define CPPMINUS ""
51
52 /* HAS_BCMP:
53  *      This symbol is defined if the bcmp() routine is available to
54  *      compare blocks of memory.
55  */
56 #define HAS_BCMP        /**/
57
58 /* HAS_BCOPY:
59  *      This symbol is defined if the bcopy() routine is available to
60  *      copy blocks of memory.
61  */
62 #define HAS_BCOPY       /**/
63
64 /* HAS_BZERO:
65  *      This symbol is defined if the bzero() routine is available to
66  *      set a memory block to 0.
67  */
68 #define HAS_BZERO       /**/
69
70 /* CASTNEGFLOAT:
71  *      This symbol is defined if the C compiler can cast negative
72  *      numbers to unsigned longs, ints and shorts.
73  */
74 /* CASTFLAGS:
75  *      This symbol contains flags that say what difficulties the compiler
76  *      has casting odd floating values to unsigned long:
77  *              0 = ok
78  *              1 = couldn't cast < 0
79  *              2 = couldn't cast >= 0x80000000
80  */
81 #define CASTNEGFLOAT            /**/
82 #define CASTFLAGS 0             /**/
83
84 /* CHARSPRINTF:
85  *      This symbol is defined if this system declares "char *sprintf()" in
86  *      stdio.h.  The trend seems to be to declare it as "int sprintf()".  It
87  *      is up to the package author to declare sprintf correctly based on the
88  *      symbol.
89  */
90 #define CHARSPRINTF     /**/
91
92 /* HAS_CHSIZE:
93  *      This symbol, if defined, indicates that the chsize routine is available
94  *      to truncate files.  You might need a -lx to get this routine.
95  */
96 /*#define       HAS_CHSIZE              /**/
97
98 /* HASCONST:
99  *      This symbol, if defined, indicates that this C compiler knows about
100  *      the const type. There is no need to actually test for that symbol
101  *      within your programs. The mere use of the "const" keyword will
102  *      trigger the necessary tests.
103  */
104 /*#define HASCONST      /**/
105 #ifndef HASCONST
106 #define const
107 #endif
108
109 /* HAS_CRYPT:
110  *      This symbol, if defined, indicates that the crypt routine is available
111  *      to encrypt passwords and the like.
112  */
113 #define HAS_CRYPT               /**/
114
115 /* CSH:
116  *      This symbol, if defined, indicates that the C-shell exists.
117  *      If defined, contains the full pathname of csh.
118  */
119 #define CSH "/usr/bin/csh"              /**/
120
121 /* DOSUID:
122  *      This symbol, if defined, indicates that the C program should
123  *      check the script that it is executing for setuid/setgid bits, and
124  *      attempt to emulate setuid/setgid on systems that have disabled
125  *      setuid #! scripts because the kernel can't do it securely.
126  *      It is up to the package designer to make sure that this emulation
127  *      is done securely.  Among other things, it should do an fstat on
128  *      the script it just opened to make sure it really is a setuid/setgid
129  *      script, it should make sure the arguments passed correspond exactly
130  *      to the argument on the #! line, and it should not trust any
131  *      subprocesses to which it must pass the filename rather than the
132  *      file descriptor of the script to be executed.
133  */
134 /*#define DOSUID                /**/
135
136 /* HAS_DUP2:
137  *      This symbol, if defined, indicates that the dup2 routine is
138  *      available to duplicate file descriptors.
139  */
140 #define HAS_DUP2        /**/
141
142 /* HAS_FCHMOD:
143  *      This symbol, if defined, indicates that the fchmod routine is available
144  *      to change mode of opened files.  If unavailable, use chmod().
145  */
146 #define HAS_FCHMOD              /**/
147
148 /* HAS_FCHOWN:
149  *      This symbol, if defined, indicates that the fchown routine is available
150  *      to change ownership of opened files.  If unavailable, use chown().
151  */
152 #define HAS_FCHOWN              /**/
153
154 /* HAS_FCNTL:
155  *      This symbol, if defined, indicates to the C program that
156  *      the fcntl() function exists.
157  */
158 #define HAS_FCNTL               /**/
159
160 /* FLEXFILENAMES:
161  *      This symbol, if defined, indicates that the system supports filenames
162  *      longer than 14 characters.
163  */
164 #define FLEXFILENAMES           /**/
165
166 /* HAS_FLOCK:
167  *      This symbol, if defined, indicates that the flock routine is
168  *      available to do file locking.
169  */
170 #define HAS_FLOCK               /**/
171
172 /* HAS_GETGROUPS:
173  *      This symbol, if defined, indicates that the getgroups() routine is
174  *      available to get the list of process groups.  If unavailable, multiple
175  *      groups are probably not supported.
176  */
177 #define HAS_GETGROUPS           /**/
178
179 /* HAS_GETHOSTENT:
180  *      This symbol, if defined, indicates that the gethostent routine is
181  *      available to lookup host names in some data base or other.
182  */
183 #define HAS_GETHOSTENT          /**/
184
185 /* HAS_UNAME:
186  *      This symbol, if defined, indicates that the C program may use the
187  *      uname() routine to derive the host name.  See also HAS_GETHOSTNAME
188  *      and PHOSTNAME.
189  */
190 #define HAS_UNAME               /**/
191
192 /* HAS_GETPGRP:
193  *      This symbol, if defined, indicates that the getpgrp routine is
194  *      available to get the current process group.
195  */
196 #define HAS_GETPGRP             /**/
197
198 /* HAS_GETPGRP2:
199  *      This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
200  *      routine is available to get the current process group.
201  */
202 /*#define HAS_GETPGRP2          /**/
203
204 /* HAS_GETPRIORITY:
205  *      This symbol, if defined, indicates that the getpriority routine is
206  *      available to get a process's priority.
207  */
208 #define HAS_GETPRIORITY         /**/
209
210 /* HAS_KILLPG:
211  *      This symbol, if defined, indicates that the killpg routine is available
212  *      to kill process groups.  If unavailable, you probably should use kill
213  *      with a negative process number.
214  */
215 #define HAS_KILLPG      /**/
216
217 /* HAS_LINK:
218  *      This symbol, if defined, indicates that the link routine is
219  *      available to create hard links.
220  */
221 #define HAS_LINK        /**/
222
223 /* HAS_LSTAT:
224  *      This symbol, if defined, indicates that the lstat routine is
225  *      available to do file stats on symbolic links.
226  */
227 #define HAS_LSTAT               /**/
228
229 /* HAS_MEMCMP:
230  *      This symbol, if defined, indicates that the memcmp routine is available
231  *      to compare blocks of memory.
232  */
233 #define HAS_MEMCMP      /**/
234
235 /* HAS_MEMCPY:
236  *      This symbol, if defined, indicates that the memcpy routine is available
237  *      to copy blocks of memory.
238  */
239 #define HAS_MEMCPY      /**/
240
241 /* HAS_MEMMOVE:
242  *      This symbol, if defined, indicates that the memmove routine is available
243  *      to copy potentially overlapping blocks of memory. This should be used
244  *      only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
245  *      own version.
246  */
247 /*#define HAS_MEMMOVE   /**/
248
249 /* HAS_MEMSET:
250  *      This symbol, if defined, indicates that the memset routine is available
251  *      to set blocks of memory.
252  */
253 #define HAS_MEMSET      /**/
254
255 /* HAS_MKDIR:
256  *      This symbol, if defined, indicates that the mkdir routine is available
257  *      to create directories.  Otherwise you should fork off a new process to
258  *      exec /bin/mkdir.
259  */
260 #define HAS_MKDIR               /**/
261
262 /* HAS_MSG:
263  *      This symbol, if defined, indicates that the entire msg*(2) library is
264  *      supported (IPC mechanism based on message queues).
265  */
266 #define HAS_MSG         /**/
267
268 /* HAS_MSGCTL:
269  *      This symbol, if defined, indicates that the msgctl() routine is
270  *      available to perform message control operations.
271  */
272 #define HAS_MSGCTL              /**/
273
274 /* HAS_MSGGET:
275  *      This symbol, if defined, indicates that the msgget() routine is
276  *      available to get a new message queue.
277  */
278 #define HAS_MSGGET              /**/
279
280 /* HAS_MSGRCV:
281  *      This symbol, if defined, indicates that the msgrcv() routine is
282  *      available to extract a message from the message queue.
283  */
284 #define HAS_MSGRCV              /**/
285
286 /* HAS_MSGSND:
287  *      This symbol, if defined, indicates that the msgsnd() routine is
288  *      available to send a message into the message queue.
289  */
290 #define HAS_MSGSND              /**/
291
292 /* HAS_OPEN3:
293  *      This manifest constant lets the C program know that the three
294  *      argument form of open(2) is available.
295  */
296 #define HAS_OPEN3               /**/
297
298 /* HAS_RENAME:
299  *      This symbol, if defined, indicates that the rename routine is available
300  *      to rename files.  Otherwise you should do the unlink(), link(), unlink()
301  *      trick.
302  */
303 #define HAS_RENAME      /**/
304
305 /* HAS_RMDIR:
306  *      This symbol, if defined, indicates that the rmdir routine is
307  *      available to remove directories. Otherwise you should fork off a
308  *      new process to exec /bin/rmdir.
309  */
310 #define HAS_RMDIR               /**/
311
312 /* HAS_SELECT:
313  *      This symbol, if defined, indicates that the select routine is
314  *      available to select active file descriptors. If the timeout field
315  *      is used, <sys/time.h> may need to be included.
316  */
317 #define HAS_SELECT      /**/
318
319 /* HAS_SEM:
320  *      This symbol, if defined, indicates that the entire sem*(2) library is
321  *      supported.
322  */
323 #define HAS_SEM         /**/
324
325 /* HAS_SEMCTL:
326  *      This symbol, if defined, indicates that the semctl() routine is
327  *      available to perform semaphore control operations.
328  */
329 #define HAS_SEMCTL      /**/
330
331 /* HAS_SEMGET:
332  *      This symbol, if defined, indicates that the semget() routine is
333  *      available to get a set of semaphores.
334  */
335 #define HAS_SEMGET      /**/
336
337 /* HAS_SEMOP:
338  *      This symbol, if defined, indicates that the semop() routine is
339  *      available to execute semaphore operations.
340  */
341 #define HAS_SEMOP               /**/
342
343 /* HAS_SETEGID:
344  *      This symbol, if defined, indicates that the setegid routine is available
345  *      to change the effective gid of the current program.
346  */
347 #define HAS_SETEGID             /**/
348
349 /* HAS_SETEUID:
350  *      This symbol, if defined, indicates that the seteuid routine is available
351  *      to change the effective uid of the current program.
352  */
353 #define HAS_SETEUID             /**/
354
355 /* HAS_SETPGID:
356  *      This symbol, if defined, indicates that the setpgid routine is
357  *      available to set process group ID.
358  */
359 #define HAS_SETPGID     /**/
360
361 /* HAS_SETPGRP:
362  *      This symbol, if defined, indicates that the setpgrp routine is
363  *      available to set the current process group.
364  */
365 #define HAS_SETPGRP             /**/
366
367 /* HAS_SETPGRP2:
368  *      This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
369  *      routine is available to set the current process group.
370  */
371 /*#define HAS_SETPGRP2          /**/
372
373 /* HAS_SETPRIORITY:
374  *      This symbol, if defined, indicates that the setpriority routine is
375  *      available to set a process's priority.
376  */
377 #define HAS_SETPRIORITY         /**/
378
379 /* HAS_SETREGID:
380  *      This symbol, if defined, indicates that the setregid routine is
381  *      available to change the real and effective gid of the current
382  *      process.
383  */
384 /* HAS_SETRESGID:
385  *      This symbol, if defined, indicates that the setresgid routine is
386  *      available to change the real, effective and saved gid of the current
387  *      process.
388  */
389 #define HAS_SETREGID            /**/
390 /*#define HAS_SETRESGID         /**/
391
392 /* HAS_SETREUID:
393  *      This symbol, if defined, indicates that the setreuid routine is
394  *      available to change the real and effective uid of the current
395  *      process.
396  */
397 /* HAS_SETRESUID:
398  *      This symbol, if defined, indicates that the setresuid routine is
399  *      available to change the real, effective and saved uid of the current
400  *      process.
401  */
402 #define HAS_SETREUID            /**/
403 /*#define HAS_SETRESUID         /**/
404
405 /* HAS_SETRGID:
406  *      This symbol, if defined, indicates that the setrgid routine is available
407  *      to change the real gid of the current program.
408  */
409 #define HAS_SETRGID             /**/
410
411 /* HAS_SETRUID:
412  *      This symbol, if defined, indicates that the setruid routine is available
413  *      to change the real uid of the current program.
414  */
415 #define HAS_SETRUID             /**/
416
417 /* HAS_SETSID:
418  *      This symbol, if defined, indicates that the setsid routine is
419  *      available to set the process group ID.
420  */
421 #define HAS_SETSID      /**/
422
423 /* HAS_SHM:
424  *      This symbol, if defined, indicates that the entire shm*(2) library is
425  *      supported.
426  */
427 #define HAS_SHM         /**/
428
429 /* HAS_SHMCTL:
430  *      This symbol, if defined, indicates that the shmctl() routine is
431  *      available to perform shared memory control operations.
432  */
433 #define HAS_SHMCTL              /**/
434
435 /* HAS_SHMDT:
436  *      This symbol, if defined, indicates that the shmdt() routine is
437  *      available to detach a shared memory segment from the process space.
438  */
439 #define HAS_SHMDT               /**/
440
441 /* HAS_SHMGET:
442  *      This symbol, if defined, indicates that the shmget() routine is
443  *      available to request a shared memory segment from the kernel.
444  */
445 #define HAS_SHMGET              /**/
446
447 /* HAS_SOCKET:
448  *      This symbol, if defined, indicates that the BSD socket interface is
449  *      supported.
450  */
451 /* HAS_SOCKETPAIR:
452  *      This symbol, if defined, indicates that the BSD socketpair() call is
453  *      supported.
454  */
455 /* USE_OLDSOCKET:
456  *      This symbol, if defined, indicates that the 4.1c BSD socket interface
457  *      is supported instead of the 4.2/4.3 BSD socket interface. For instance,
458  *      there is no setsockopt() call.
459  */
460 #define HAS_SOCKET              /**/
461 #define HAS_SOCKETPAIR  /**/
462 /*#define USE_OLDSOCKET /**/
463
464 /* USE_STAT_BLOCKS:
465  *      This symbol is defined if this system has a stat structure declaring
466  *      st_blksize and st_blocks.
467  */
468 #define USE_STAT_BLOCKS         /**/
469
470 /* USE_STD_STDIO:
471  *      This symbol is defined if this system has a FILE structure declaring
472  *      _ptr and _cnt in stdio.h.
473  */
474 #define USE_STD_STDIO   /**/
475
476 /* USE_STRUCT_COPY:
477  *      This symbol, if defined, indicates that this C compiler knows how
478  *      to copy structures.  If undefined, you'll need to use a block copy
479  *      routine of some sort instead.
480  */
481 #define USE_STRUCT_COPY /**/
482
483 /* HAS_SYMLINK:
484  *      This symbol, if defined, indicates that the symlink routine is available
485  *      to create symbolic links.
486  */
487 #define HAS_SYMLINK     /**/
488
489 /* HAS_SYSCALL:
490  *      This symbol, if defined, indicates that the syscall routine is
491  *      available to call arbitrary system calls. If undefined, that's tough.
492  */
493 #define HAS_SYSCALL     /**/
494
495 /* HAS_SYSTEM:
496  *      This symbol, if defined, indicates that the system routine is
497  *      available to issue a shell command.
498  */
499 #define HAS_SYSTEM      /**/
500
501 /* Time_t:
502  *      This symbol holds the type returned by time(). It can be long,
503  *      or time_t on BSD sites (in which case <sys/types.h> should be
504  *      included).
505  */
506 #define Time_t long             /* Time type */
507
508 /* HAS_TIMES:
509  *      This symbol, if defined, indicates that the times() routine exists.
510  *      Note that this became obsolete on some systems (SUNOS), which now
511  * use getrusage(). It may be necessary to include <sys/times.h>.
512  */
513 #define HAS_TIMES               /**/
514
515 /* HAS_TRUNCATE:
516  *      This symbol, if defined, indicates that the truncate routine is
517  *      available to truncate files.
518  */
519 #define HAS_TRUNCATE    /**/
520
521 /* I_NDIR:
522  *      This symbol, if defined, indicates that the program should include the
523  *      system's version of ndir.h, rather than the one with this package.
524  */
525 /*#define I_NDIR                /**/
526
527 /* VOIDSIG:
528  *      This symbol is defined if this system declares "void (*signal(...))()" in
529  *      signal.h.  The old way was to declare it as "int (*signal(...))()".  It
530  *      is up to the package author to declare things correctly based on the
531  *      symbol.
532  */
533 #define VOIDSIG         /**/
534
535 /* HASVOLATILE:
536  *      This symbol, if defined, indicates that this C compiler knows about
537  *      the volatile declaration.
538  */
539 /*#define       HASVOLATILE     /**/
540 #ifndef HASVOLATILE
541 #define volatile
542 #endif
543
544 /* HAS_VPRINTF:
545  *      This symbol, if defined, indicates that the vprintf routine is available
546  *      to printf with a pointer to an argument list.  If unavailable, you
547  *      may need to write your own, probably in terms of _doprnt().
548  */
549 /* USE_CHAR_VSPRINTF:
550  *      This symbol is defined if this system has vsprintf() returning type
551  *      (char*).  The trend seems to be to declare it as "int vsprintf()".  It
552  *      is up to the package author to declare vsprintf correctly based on the
553  *      symbol.
554  */
555 #define HAS_VPRINTF     /**/
556 #define USE_CHAR_VSPRINTF       /**/
557
558 /* HAS_WAIT4:
559  *      This symbol, if defined, indicates that wait4() exists.
560  */
561 #define HAS_WAIT4       /**/
562
563 /* HAS_WAITPID:
564  *      This symbol, if defined, indicates that the waitpid routine is
565  *      available to wait for child process.
566  */
567 #define HAS_WAITPID     /**/
568
569 /* I_DBM:
570  *      This symbol, if defined, indicates to the C program that it should
571  *      include <dbm.h>.
572  */
573 #define I_DBM   /**/
574
575 /* I_DIRENT:
576  *      This symbol, if defined, indicates to the C program that it should
577  *      include <dirent.h>. Using this symbol also triggers the definition
578  *      of the Direntry_t define which ends up being 'struct dirent' or
579  *      'struct direct' depending on the availability of <dirent.h>.
580  */
581 /* DIRNAMLEN:
582  *      This symbol, if defined, indicates to the C program that the length
583  *      of directory entry names is provided by a d_namlen field.  Otherwise
584  *      you need to do strlen() on the d_name field.
585  */
586 #define I_DIRENT                /**/
587 /*#define DIRNAMLEN     /**/
588 #ifdef I_DIRENT
589 #define Direntry_t struct dirent
590 #else
591 #define Direntry_t struct direct
592 #endif
593
594 /* I_FCNTL:
595  *      This manifest constant tells the C program to include <fcntl.h>.
596  */
597 /*#define I_FCNTL       /**/
598
599 /* I_GDBM:
600  *      This symbol, if defined, indicates that gdbm.h exists and should
601  *      be included.
602  */
603 /*#define I_GDBM        /**/
604
605 /* I_GRP:
606  *      This symbol, if defined, indicates to the C program that it should
607  *      include <grp.h>.
608  */
609 #define I_GRP           /**/
610
611 /* I_NDBM:
612  *      This symbol, if defined, indicates that ndbm.h exists and should
613  *      be included.
614  */
615 #define I_NDBM  /**/
616
617 /* I_NETINET_IN:
618  *      This symbol, if defined, indicates to the C program that it should
619  *      include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
620  */
621 /* I_SYS_IN:
622  *      This symbol, if defined, indicates to the C program that it should
623  *      include <sys/in.h> instead of <netinet/in.h>.
624  */
625 #define I_NETINET_IN    /**/
626 /*#define I_SYS_IN              /**/
627
628 /* I_STDARG:
629  *      This symbol, if defined, indicates that <stdarg.h> exists and should
630  *      be included.
631  */
632 /*#define I_STDARG              /**/
633
634 /* I_STDDEF:
635  *      This symbol, if defined, indicates that <stddef.h> exists and should
636  *      be included.
637  */
638 #define I_STDDEF        /**/
639
640 /* I_STRING:
641  *      This symbol, if defined, indicates to the C program that it should
642  *      include <string.h> (USG systems) instead of <strings.h> (BSD systems).
643  */
644 #define I_STRING                /**/
645
646 /* I_SYS_DIR:
647  *      This symbol, if defined, indicates to the C program that it should
648  *      include <sys/dir.h>.
649  */
650 #define I_SYS_DIR               /**/
651
652 /* I_SYS_FILE:
653  *      This symbol, if defined, indicates to the C program that it should
654  *      include <sys/file.h> to get definition of R_OK and friends.
655  */
656 #define I_SYS_FILE              /**/
657
658 /* I_SYS_IOCTL:
659  *      This symbol, if defined, indicates that <sys/ioctl.h> exists and should
660  *      be included. Otherwise, include <sgtty.h> or <termio.h>.
661  */
662 #define I_SYS_IOCTL             /**/
663
664 /* I_SYS_NDIR:
665  *      This symbol, if defined, indicates to the C program that it should
666  *      include <sys/ndir.h>.
667  */
668 /*#define I_SYS_NDIR    /**/
669
670 /* I_SYS_SELECT:
671  *      This symbol, if defined, indicates to the C program that it should
672  *      include <sys/select.h> in order to get definition of struct timeval.
673  */
674 /*#define I_SYS_SELECT  /**/
675
676 /* I_TIME:
677  *      This symbol, if defined, indicates to the C program that it should
678  *      include <time.h>.
679  */
680 /* I_SYS_TIME:
681  *      This symbol, if defined, indicates to the C program that it should
682  *      include <sys/time.h>.
683  */
684 /* I_SYS_TIME_KERNEL:
685  *      This symbol, if defined, indicates to the C program that it should
686  *      include <sys/time.h> with KERNEL defined.
687  */
688 /*#define I_TIME                /**/
689 #define I_SYS_TIME              /**/
690 /*#define I_SYS_TIME_KERNEL             /**/
691
692 /* I_UTIME:
693  *      This symbol, if defined, indicates to the C program that it should
694  *      include <utime.h>.
695  */
696 #define I_UTIME         /**/
697
698 /* I_VARARGS:
699  *      This symbol, if defined, indicates to the C program that it should
700  *      include <varargs.h>.
701  */
702 #define I_VARARGS               /**/
703
704 /* INTSIZE:
705  *      This symbol contains the size of an int, so that the C preprocessor
706  *      can make decisions based on it.
707  */
708 #define INTSIZE 4               /**/
709
710 /* Off_t:
711  *      This symbol holds the type used to declare offsets in the kernel.
712  *      It can be int, long, off_t, etc... It may be necessary to include
713  *      <sys/types.h> to get any typedef'ed information.
714  */
715 #define Off_t off_t             /* <offset> type */
716
717 /* PRIVLIB:
718  *      This symbol contains the name of the private library for this package.
719  *      The library is private in the sense that it needn't be in anyone's
720  *      execution path, but it should be accessible by the world.  The program
721  *      should be prepared to do ~ expansion.
722  */
723 #define PRIVLIB "/usr/local/lib/perl"           /**/
724
725 /* RANDBITS:
726  *      This symbol contains the number of bits of random number the rand()
727  *      function produces.  Usual values are 15, 16, and 31.
728  */
729 #define RANDBITS 31             /**/
730
731 /* SCRIPTDIR:
732  *      This symbol holds the name of the directory in which the user wants
733  *      to put publicly executable scripts for the package in question.  It
734  *      is often a directory that is mounted across diverse architectures.
735  *      Programs must be prepared to deal with ~name expansion.
736  */
737 #define SCRIPTDIR "/usr/local/bin"      /**/
738
739 /* STDCHAR:
740  *      This symbol is defined to be the type of char used in stdio.h.
741  *      It has the values "unsigned char" or "char".
742  */
743 #define STDCHAR unsigned char   /**/
744
745 /* Uid_t:
746  *      This symbol holds the type used to declare user ids in the kernel.
747  *      It can be int, ushort, uid_t, etc... It may be necessary to include
748  *      <sys/types.h> to get any typedef'ed information.
749  */
750 #define Uid_t uid_t             /* UID type */
751
752 /* EUNICE:
753  *      This symbol, if defined, indicates that the program is being compiled
754  *      under the EUNICE package under VMS.  The program will need to handle
755  *      things like files that don't go away the first time you unlink them,
756  *      due to version numbering.  It will also need to compensate for lack
757  *      of a respectable link() command.
758  */
759 /* VMS:
760  *      This symbol, if defined, indicates that the program is running under
761  *      VMS.  It is currently only set in conjunction with the EUNICE symbol.
762  */
763 /*#define EUNICE                /**/
764 /*#define VMS           /**/
765
766 /* MEM_ALIGNBYTES:
767  *      This symbol contains the number of bytes required to align a
768  *      double. Usual values are 2, 4 and 8.
769  */
770 #define MEM_ALIGNBYTES 8        /**/
771
772 /* CASTI32:
773  *      This symbol is defined if the C compiler can cast negative
774  *      or large floating point numbers to 32-bit ints.
775  */
776 #define CASTI32         /**/
777
778 /* HAS_HTONL:
779  *      This symbol, if defined, indicates that the htonl() routine (and
780  *      friends htons() ntohl() ntohs()) are available to do network
781  *      order byte swapping.
782  */
783 /* HAS_HTONS:
784  *      This symbol, if defined, indicates that the htons() routine (and
785  *      friends htonl() ntohl() ntohs()) are available to do network
786  *      order byte swapping.
787  */
788 /* HAS_NTOHL:
789  *      This symbol, if defined, indicates that the ntohl() routine (and
790  *      friends htonl() htons() ntohs()) are available to do network
791  *      order byte swapping.
792  */
793 /* HAS_NTOHS:
794  *      This symbol, if defined, indicates that the ntohs() routine (and
795  *      friends htonl() htons() ntohl()) are available to do network
796  *      order byte swapping.
797  */
798 #define HAS_HTONL               /**/
799 #define HAS_HTONS               /**/
800 #define HAS_NTOHL               /**/
801 #define HAS_NTOHS               /**/
802
803 /* HAS_ISASCII:
804  *      This manifest constant lets the C program know that the
805  *      isascii is available.
806  */
807 #define HAS_ISASCII             /**/
808
809 /* HAS_READDIR:
810  *      This symbol, if defined, indicates that the readdir routine is
811  *      available to read directory entries. You may have to include
812  *      <dirent.h>. See I_DIRENT.
813  */
814 #define HAS_READDIR             /**/
815
816 /* HAS_SEEKDIR:
817  *      This symbol, if defined, indicates that the seekdir routine is
818  *      available. You may have to include <dirent.h>. See I_DIRENT.
819  */
820 #define HAS_SEEKDIR             /**/
821
822 /* HAS_TELLDIR:
823  *      This symbol, if defined, indicates that the telldir routine is
824  *      available. You may have to include <dirent.h>. See I_DIRENT.
825  */
826 #define HAS_TELLDIR             /**/
827
828 /* HAS_REWINDDIR:
829  *      This symbol, if defined, indicates that the rewinddir routine is
830  *      available. You may have to include <dirent.h>. See I_DIRENT.
831  */
832 #define HAS_REWINDDIR           /**/
833
834 /* HAS_SAFE_BCOPY:
835  *      This symbol, if defined, indicates that the bcopy routine is available
836  *      to copy potentially overlapping memory blocks. Otherwise you should
837  *      probably use memmove() or memcpy(). If neither is defined, roll your
838  *      own version.
839  */
840 #define HAS_SAFE_BCOPY  /**/
841
842 /* HAS_SAFE_MEMCPY:
843  *      This symbol, if defined, indicates that the memcpy routine is available
844  *      to copy potentially overlapping memory blocks. Otherwise you should
845  *      probably use memmove() or memcpy(). If neither is defined, roll your
846  *      own version.
847  */
848 /*#define HAS_SAFE_MEMCPY       /**/
849
850 /* HAS_SETLOCALE:
851  *      This symbol, if defined, indicates that the setlocale routine is
852  *      available to handle locale-specific ctype implementations.
853  */
854 #define HAS_SETLOCALE   /**/
855
856 /* HAS_SHMAT:
857  *      This symbol, if defined, indicates that the shmat() routine is
858  *      available to attach a shared memory segment to the process space.
859  */
860 #define HAS_SHMAT               /**/
861
862 /* VOIDSHMAT:
863  *      This symbol, if defined, indicates that the shmat() routine
864  *      returns a pointer of type void*.  Otherwise, char* is assumed.
865  */
866 /*#define       VOIDSHMAT               /**/
867
868 /* HAS_STRERROR:
869  *      This symbol, if defined, indicates that the strerror routine is
870  *      available to translate error numbers to strings. See the writeup
871  *      of Strerror() in this file before you try to define your own.
872  */
873 /* HAS_SYS_ERRLIST:
874  *      This symbol, if defined, indicates that the sys_errlist array is
875  *      available to translate error numbers to strings. The extern int
876  *      sys_nerr gives the size of that table.
877  */
878 /* Strerror:
879  *      This preprocessor symbol is defined as a macro if strerror() is
880  *      not available to translate error numbers to strings but sys_errlist[]
881  *      array is there.
882  */
883 /*#define HAS_STRERROR          /**/
884 #define HAS_SYS_ERRLIST /**/
885 #ifdef HAS_STRERROR
886 #  define Strerror strerror
887 #else
888 #define Strerror(e) ((e)<0||(e)>=sys_nerr?"unknown":sys_errlist[e]) /**/
889 #endif
890
891 /* HAS_VFORK:
892  *      This symbol, if defined, indicates that vfork() exists.
893  */
894 /*#define HAS_VFORK     /**/
895
896 /* USE_DYNAMIC_LOADING:
897  *      This symbol, if defined, indicates that dynamic loading of
898  *      some sort is available.
899  */
900 #define USE_DYNAMIC_LOADING             /**/
901
902 /* Gid_t:
903  *      This symbol holds the return type of getgid() and the type of
904  *      argument to setrgid() and related functions.  Typically,
905  *      it is the type of group ids in the kernel.
906  *      It can be int, ushort, uid_t, etc... It may be necessary to include
907  *      <sys/types.h> to get any typedef'ed information.
908  */
909 #define Gid_t gid_t             /* Type for getgid(), etc... */
910
911 /* GROUPSTYPE:
912  *      This symbol holds the type used for the second argument to
913  *      getgroups().  Usually, this is the same of gidtype, but
914  *      sometimes it isn't.  It can be int, ushort, uid_t, etc... 
915  *      It may be necessary to include <sys/types.h> to get any 
916  *      typedef'ed information.  This is only required if you have
917  *      getgroups().
918  */
919 #ifdef HAS_GETGROUPS
920 #define GROUPSTYPE int  /* Type for 2nd arg to getgroups() */
921 #endif
922
923 /* I_DLFCN:
924  *      This symbol, if defined, indicates that <dlfcn.h> exists and should
925  *      be included.
926  */
927 #define I_DLFCN         /**/
928
929 /* I_MEMORY:
930  *      This symbol, if defined, indicates to the C program that it should
931  *      include <memory.h>.
932  */
933 #define I_MEMORY                /**/
934
935 /* I_NET_ERRNO:
936  *      This symbol, if defined, indicates that <net/errno.h> exists and 
937  *      should be included.
938  */
939 /*#define I_NET_ERRNO           /**/
940
941 /* I_PWD:
942  *      This symbol, if defined, indicates to the C program that it should
943  *      include <pwd.h>.
944  */
945 /* PWQUOTA:
946  *      This symbol, if defined, indicates to the C program that struct passwd
947  *      contains pw_quota.
948  */
949 /* PWAGE:
950  *      This symbol, if defined, indicates to the C program that struct passwd
951  *      contains pw_age.
952  */
953 /* PWCHANGE:
954  *      This symbol, if defined, indicates to the C program that struct passwd
955  *      contains pw_change.
956  */
957 /* PWCLASS:
958  *      This symbol, if defined, indicates to the C program that struct passwd
959  *      contains pw_class.
960  */
961 /* PWEXPIRE:
962  *      This symbol, if defined, indicates to the C program that struct passwd
963  *      contains pw_expire.
964  */
965 /* PWCOMMENT:
966  *      This symbol, if defined, indicates to the C program that struct passwd
967  *      contains pw_comment.
968  */
969 #define I_PWD           /**/
970 /*#define PWQUOTA       /**/
971 #define PWAGE   /**/
972 /*#define PWCHANGE      /**/
973 /*#define PWCLASS       /**/
974 /*#define PWEXPIRE      /**/
975 #define PWCOMMENT       /**/
976
977 /* I_TERMIO:
978  *      This symbol, if defined, indicates that the program should include
979  *      <termio.h> rather than <sgtty.h>.  There are also differences in
980  *      the ioctl() calls that depend on the value of this symbol.
981  */
982 /* I_TERMIOS:
983  *      This symbol, if defined, indicates that the program should include
984  *      the POSIX termios.h rather than sgtty.h or termio.h.
985  *      There are also differences in the ioctl() calls that depend on the
986  *      value of this symbol.
987  */
988 /* I_SGTTY:
989  *      This symbol, if defined, indicates that the program should include
990  *      <sgtty.h> rather than <termio.h>.  There are also differences in
991  *      the ioctl() calls that depend on the value of this symbol.
992  */
993 /*#define I_TERMIO              /**/
994 #define I_TERMIOS               /**/
995 /*#define I_SGTTY               /**/
996
997 /* I_VFORK:
998  *      This symbol, if defined, indicates to the C program that it should
999  *      include vfork.h.
1000  */
1001 /*#define I_VFORK       /**/
1002
1003 /* LOC_SED:
1004  *      This symbol holds the complete pathname to the sed program.
1005  */
1006 #define LOC_SED         "/usr/bin/sed"  /**/
1007
1008 /* Malloc_t:
1009  *      This symbol is the type of pointer returned by malloc and realloc.
1010  */
1011 #define Malloc_t char *                 /**/
1012
1013 /* MYMALLOC:
1014  *      This symbol, if defined, indicates that we're using our own malloc.
1015  */
1016 #define MYMALLOC                        /**/
1017
1018 /* CAN_PROTOTYPE:
1019  *      If defined, this macro indicates that the C compiler can handle
1020  *      function prototypes.
1021  */
1022 /*#define       CAN_PROTOTYPE   /**/
1023 #ifdef CAN_PROTOTYPE
1024 #else
1025 #endif
1026
1027 /* PTRSIZE:
1028  *      This symbol contains the size of a pointer to a long so that 
1029  *      the C preprocessor can make decisions based on it.
1030  */
1031 #define PTRSIZE 4               /**/
1032
1033 /* SIG_NAME:
1034  *      This symbol contains a list of signal names in order. This is intended
1035  *      to be used as a static array initialization, like this:
1036  *              char *sig_name[] = { SIG_NAME };
1037  *      The signals in the list are separated with commas, and each signal
1038  *      is surrounded by double quotes. There is no leading SIG in the signal
1039  *      name, i.e. SIGQUIT is known as "QUIT".
1040  */
1041 #define SIG_NAME "ZERO","HUP","INT","QUIT","ILL","TRAP","ABRT","EMT","FPE","KILL","BUS","SEGV","SYS","PIPE","ALRM","TERM","URG","STOP","TSTP","CONT","CLD","TTIN","TTOU","IO","XCPU","XFSZ","VTALRM","PROF","WINCH","LOST","USR1","USR2"        /**/
1042
1043 /* VOIDFLAGS:
1044  *      This symbol indicates how much support of the void type is given by this
1045  *      compiler.  What various bits mean:
1046  *
1047  *          1 = supports declaration of void
1048  *          2 = supports arrays of pointers to functions returning void
1049  *          4 = supports comparisons between pointers to void functions and
1050  *                  addresses of void functions
1051  *          8 = suports declaration of generic void pointers
1052  *
1053  *      The package designer should define VOIDUSED to indicate the requirements
1054  *      of the package.  This can be done either by #defining VOIDUSED before
1055  *      including config.h, or by defining defvoidused in Myinit.U.  If the
1056  *      latter approach is taken, only those flags will be tested.  If the
1057  *      level of void support necessary is not present, defines void to int.
1058  */
1059 #ifndef VOIDUSED
1060 #  define VOIDUSED 15
1061 #endif
1062 #define VOIDFLAGS 15
1063 #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
1064 #  define void int              /* is void to be avoided? */
1065 #  define M_VOID                        /* Xenix strikes again */
1066 #  define VOID
1067 #else
1068 #  define VOID void
1069 #endif
1070
1071 /*
1072  * The following symbols are obsolete. They are mapped to the the new
1073  * symbols only to ease the transition process. The sources should be
1074  * updated so as to use the new symbols only, as the support for these
1075  * obsolete symbols may end without notice.
1076  */
1077
1078 #ifdef MEM_ALIGNBYTES
1079 #define ALIGNBYTES MEM_ALIGNBYTES
1080 #endif
1081
1082 #ifdef USE_CHAR_VSPRINTF
1083 #define CHARVSPRINTF USE_CHAR_VSPRINTF
1084 #endif
1085
1086 #ifdef Gid_t
1087 #define GIDTYPE Gid_t
1088 #endif
1089
1090 #ifdef I_GDBM
1091 #define HAS_GDBM I_GDBM
1092 #endif
1093
1094 #ifdef I_NDBM
1095 #define HAS_NDBM I_NDBM
1096 #endif
1097
1098 #ifdef I_DBM
1099 #define HAS_ODBM I_DBM
1100 #endif
1101
1102 #ifdef I_SYS_IOCTL
1103 #define I_SYSIOCTL I_SYS_IOCTL
1104 #endif
1105
1106 #ifdef Malloc_t
1107 #define MALLOCPTRTYPE Malloc_t
1108 #endif
1109
1110 #ifdef USE_OLDSOCKET
1111 #define OLDSOCKET USE_OLDSOCKET
1112 #endif
1113
1114 #ifdef HAS_SAFE_BCOPY
1115 #define SAFE_BCOPY HAS_SAFE_BCOPY
1116 #endif
1117
1118 #ifdef HAS_SAFE_MEMCPY
1119 #define SAFE_MEMCPY HAS_SAFE_MEMCPY
1120 #endif
1121
1122 #ifdef USE_STAT_BLOCKS
1123 #define STATBLOCKS USE_STAT_BLOCKS
1124 #endif
1125
1126 #ifdef USE_STD_STDIO
1127 #define STDSTDIO USE_STD_STDIO
1128 #endif
1129
1130 #ifdef USE_STRUCT_COPY
1131 #define STRUCTCOPY USE_STRUCT_COPY
1132 #endif
1133
1134 #ifdef Uid_t
1135 #define UIDTYPE Uid_t
1136 #endif
1137
1138 #ifdef HAS_SYSTEM
1139 #define SYSTEM HAS_SYSTEM
1140 #endif
1141
1142 #endif