home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C / Applications / MacPerl 5.1.3 / Mac_Perl_513_src / perl5.002 / config.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-10-20  |  48.3 KB  |  1,596 lines  |  [TEXT/MPS ]

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