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