home *** CD-ROM | disk | FTP | other *** search
/ RISC DISC 2 / RISC_DISC_2.iso / pd_share / utilities / cli / perl / !Perl / h / config < prev    next >
Encoding:
Text File  |  1995-05-01  |  41.5 KB  |  1,417 lines

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