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