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