home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2 / Openstep-4.2-Intel-User.iso / usr / lib / perl5 / CORE / config.h < prev    next >
C/C++ Source or Header  |  1997-03-29  |  44KB  |  1,461 lines

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