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