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