home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / files / language / slperl / config.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-10-23  |  26.2 KB  |  915 lines

  1. #ifndef config_h
  2. #define config_h
  3. /* config.h
  4.  * This file was produced by running the config.h.SH script, which
  5.  * gets its values from config.sh, which is generally produced by
  6.  * running Configure.
  7.  *
  8.  * Feel free to modify any of this as the need arises.  Note, however,
  9.  * that running config.h.SH again will wipe out any changes you've made.
  10.  * For a more permanent change edit config.sh and rerun config.h.SH.
  11.  */
  12.  /*SUPPRESS 460*/
  13.  
  14.  
  15. /* EUNICE
  16.  *    This symbol, if defined, indicates that the program is being compiled
  17.  *    under the EUNICE package under VMS.  The program will need to handle
  18.  *    things like files that don't go away the first time you unlink them,
  19.  *    due to version numbering.  It will also need to compensate for lack
  20.  *    of a respectable link() command.
  21.  */
  22. /* VMS
  23.  *    This symbol, if defined, indicates that the program is running under
  24.  *    VMS.  It is currently only set in conjunction with the EUNICE symbol.
  25.  */
  26. /*#undef    EUNICE        /**/
  27. /*#undef    VMS        /**/
  28.  
  29. /* ALIGNBYTES
  30.  *    This symbol contains the number of bytes required to align a double.
  31.  *    Usual values are 2, 4, and 8.
  32.  */
  33. #define ALIGNBYTES 2        /**/
  34.  
  35. /* BIN
  36.  *    This symbol holds the name of the directory in which the user wants
  37.  *    to keep publicly executable images for the package in question.  It
  38.  *    is most often a local directory such as /usr/local/bin.
  39.  */
  40. #define BIN "/bin"             /**/
  41.  
  42. /* BYTEORDER
  43.  *    This symbol contains an encoding of the order of bytes in a long.
  44.  *    Usual values (in hex) are 0x1234, 0x4321, 0x2143, 0x3412...
  45.  */
  46. #define BYTEORDER 0x4321        /**/
  47.  
  48. /* CPPSTDIN
  49.  *    This symbol contains the first part of the string which will invoke
  50.  *    the C preprocessor on the standard input and produce to standard
  51.  *    output.     Typical value of "cc -E" or "/lib/cpp".
  52.  */
  53. /* CPPMINUS
  54.  *    This symbol contains the second part of the string which will invoke
  55.  *    the C preprocessor on the standard input and produce to standard
  56.  *    output.  This symbol will have the value "-" if CPPSTDIN needs a minus
  57.  *    to specify standard input, otherwise the value is "".
  58.  */
  59. #define CPPSTDIN "gcc -E"
  60. #define CPPMINUS ""
  61.  
  62. /* HAS_BCMP
  63.  *    This symbol, if defined, indicates that the bcmp routine is available
  64.  *    to compare blocks of memory.  If undefined, use memcmp.  If that's
  65.  *    not available, roll your own.
  66.  */
  67. #define    HAS_BCMP        /**/
  68.  
  69. /* HAS_BCOPY
  70.  *    This symbol, if defined, indicates that the bcopy routine is available
  71.  *    to copy blocks of memory.  Otherwise you should probably use memcpy().
  72.  *    If neither is defined, roll your own.
  73.  */
  74. /* SAFE_BCOPY
  75.  *    This symbol, if defined, indicates that the bcopy routine is available
  76.  *    to copy potentially overlapping copy blocks of bcopy.  Otherwise you
  77.  *    should probably use memmove() or memcpy().  If neither is defined,
  78.  *    roll your own.
  79.  */
  80. #define    HAS_BCOPY        /**/
  81. #define    SAFE_BCOPY        /**/
  82.  
  83. /* HAS_BZERO
  84.  *    This symbol, if defined, indicates that the bzero routine is available
  85.  *    to zero blocks of memory.  Otherwise you should probably use memset()
  86.  *    or roll your own.
  87.  */
  88. #define    HAS_BZERO        /**/
  89.  
  90. /* CASTNEGFLOAT
  91.  *    This symbol, if defined, indicates that this C compiler knows how to
  92.  *    cast negative or large floating point numbers to unsigned longs, ints
  93.  *    and shorts.
  94.  */
  95. /* CASTFLAGS
  96.  *    This symbol contains flags that say what difficulties the compiler
  97.  *    has casting odd floating values to unsigned long:
  98.  *        1 = couldn't cast < 0
  99.  *        2 = couldn't cast >= 0x80000000
  100.  */
  101. #define    CASTNEGFLOAT    /**/
  102. #define    CASTFLAGS 0    /**/
  103.  
  104. /* CHARSPRINTF
  105.  *    This symbol is defined if this system declares "char *sprintf()" in
  106.  *    stdio.h.  The trend seems to be to declare it as "int sprintf()".  It
  107.  *    is up to the package author to declare sprintf correctly based on the
  108.  *    symbol.
  109.  */
  110. /* #define    CHARSPRINTF     /**/
  111.  
  112. /* HAS_CHSIZE
  113.  *    This symbol, if defined, indicates that the chsize routine is available
  114.  *    to truncate files.  You might need a -lx to get this routine.
  115.  */
  116. /*#undef    HAS_CHSIZE        /**/
  117.  
  118. /* HAS_CRYPT
  119.  *    This symbol, if defined, indicates that the crypt routine is available
  120.  *    to encrypt passwords and the like.
  121.  */
  122. /* #define    HAS_CRYPT        /**/
  123.  
  124. /* CSH
  125.  *    This symbol, if defined, indicates that the C-shell exists.
  126.  *    If defined, contains the full pathname of csh.
  127.  */
  128. /* #define CSH "/bin/csh"        /**/
  129.  
  130. /* DOSUID
  131.  *    This symbol, if defined, indicates that the C program should
  132.  *    check the script that it is executing for setuid/setgid bits, and
  133.  *    attempt to emulate setuid/setgid on systems that have disabled
  134.  *    setuid #! scripts because the kernel can't do it securely.
  135.  *    It is up to the package designer to make sure that this emulation
  136.  *    is done securely.  Among other things, it should do an fstat on
  137.  *    the script it just opened to make sure it really is a setuid/setgid
  138.  *    script, it should make sure the arguments passed correspond exactly
  139.  *    to the argument on the #! line, and it should not trust any
  140.  *    subprocesses to which it must pass the filename rather than the
  141.  *    file descriptor of the script to be executed.
  142.  */
  143. /*#undef DOSUID        /**/
  144.  
  145. /* HAS_DUP2
  146.  *    This symbol, if defined, indicates that the dup2 routine is available
  147.  *    to dup file descriptors.  Otherwise you should use dup().
  148.  */
  149. #define    HAS_DUP2        /**/
  150.  
  151. /* HAS_FCHMOD
  152.  *    This symbol, if defined, indicates that the fchmod routine is available
  153.  *    to change mode of opened files.  If unavailable, use chmod().
  154.  */
  155. /* #define    HAS_FCHMOD        /**/
  156.  
  157. /* HAS_FCHOWN
  158.  *    This symbol, if defined, indicates that the fchown routine is available
  159.  *    to change ownership of opened files.  If unavailable, use chown().
  160.  */
  161. /* #define    HAS_FCHOWN        /**/
  162.  
  163. /* HAS_FCNTL
  164.  *    This symbol, if defined, indicates to the C program that
  165.  *    the fcntl() function exists.
  166.  */
  167. #ifdef __MINT__
  168. #define    HAS_FCNTL        /**/
  169. #endif
  170.  
  171. /* FLEXFILENAMES
  172.  *    This symbol, if defined, indicates that the system supports filenames
  173.  *    longer than 14 characters.
  174.  */
  175. /* #define    FLEXFILENAMES        /**/
  176.  
  177. /* HAS_FLOCK
  178.  *    This symbol, if defined, indicates that the flock() routine is
  179.  *    available to do file locking.
  180.  */
  181. /* #define    HAS_FLOCK        /**/
  182.  
  183. /* HAS_GETGROUPS
  184.  *    This symbol, if defined, indicates that the getgroups() routine is
  185.  *    available to get the list of process groups.  If unavailable, multiple
  186.  *    groups are probably not supported.
  187.  */
  188. /* #define    HAS_GETGROUPS        /**/
  189.  
  190. /* HAS_GETHOSTENT
  191.  *    This symbol, if defined, indicates that the gethostent() routine is
  192.  *    available to lookup host names in some data base or other.
  193.  */
  194. /* #define    HAS_GETHOSTENT        /**/
  195.  
  196. /* HAS_GETPGRP
  197.  *    This symbol, if defined, indicates that the getpgrp() routine is
  198.  *    available to get the current process group.
  199.  */
  200. #define    HAS_GETPGRP        /**/
  201.  
  202. /* HAS_GETPGRP2
  203.  *    This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
  204.  *    routine is available to get the current process group.
  205.  */
  206. /*#undef    HAS_GETPGRP2        /**/
  207.  
  208. /* HAS_GETPRIORITY
  209.  *    This symbol, if defined, indicates that the getpriority() routine is
  210.  *    available to get a process's priority.
  211.  */
  212. /* #define    HAS_GETPRIORITY        /**/
  213.  
  214. /* HAS_HTONS
  215.  *    This symbol, if defined, indicates that the htons routine (and friends)
  216.  *    are available to do network order byte swapping.
  217.  */
  218. /* HAS_HTONL
  219.  *    This symbol, if defined, indicates that the htonl routine (and friends)
  220.  *    are available to do network order byte swapping.
  221.  */
  222. /* HAS_NTOHS
  223.  *    This symbol, if defined, indicates that the ntohs routine (and friends)
  224.  *    are available to do network order byte swapping.
  225.  */
  226. /* HAS_NTOHL
  227.  *    This symbol, if defined, indicates that the ntohl routine (and friends)
  228.  *    are available to do network order byte swapping.
  229.  */
  230. /* #define    HAS_HTONS    /**/
  231. /* #define    HAS_HTONL    /**/
  232. /* #define    HAS_NTOHS    /**/
  233. /* #define    HAS_NTOHL    /**/
  234.  
  235. /* index
  236.  *    This preprocessor symbol is defined, along with rindex, if the system
  237.  *    uses the strchr and strrchr routines instead.
  238.  */
  239. /* rindex
  240.  *    This preprocessor symbol is defined, along with index, if the system
  241.  *    uses the strchr and strrchr routines instead.
  242.  */
  243. /* #define    index strchr    /* cultural */
  244. /* #define    rindex strrchr    /*  differences? */
  245. #include <string.h>
  246.  
  247. /* HAS_ISASCII
  248.  *    This symbol, if defined, indicates that the isascii routine is available
  249.  *    to test characters for asciiness.
  250.  */
  251. #define    HAS_ISASCII        /**/
  252.  
  253. /* HAS_KILLPG
  254.  *    This symbol, if defined, indicates that the killpg routine is available
  255.  *    to kill process groups.  If unavailable, you probably should use kill
  256.  *    with a negative process number.
  257.  */
  258. /* #define    HAS_KILLPG        /**/
  259.  
  260. /* HAS_LSTAT
  261.  *    This symbol, if defined, indicates that the lstat() routine is
  262.  *    available to stat symbolic links.
  263.  */
  264. #define    HAS_LSTAT        /**/
  265.  
  266. /* HAS_MEMCMP
  267.  *    This symbol, if defined, indicates that the memcmp routine is available
  268.  *    to compare blocks of memory.  If undefined, roll your own.
  269.  */
  270. #define    HAS_MEMCMP        /**/
  271.  
  272. /* HAS_MEMCPY
  273.  *    This symbol, if defined, indicates that the memcpy routine is available
  274.  *    to copy blocks of memory.  Otherwise you should probably use bcopy().
  275.  *    If neither is defined, roll your own.
  276.  */
  277. /* SAFE_MEMCPY
  278.  *    This symbol, if defined, indicates that the memcpy routine is available
  279.  *    to copy potentially overlapping copy blocks of memory.  Otherwise you
  280.  *    should probably use memmove() or bcopy().  If neither is defined,
  281.  *    roll your own.
  282.  */
  283. #define    HAS_MEMCPY        /**/
  284. /*#undef    SAFE_MEMCPY        /**/
  285.  
  286. /* HAS_MEMMOVE
  287.  *    This symbol, if defined, indicates that the memmove routine is available
  288.  *    to move potentially overlapping blocks of memory.  Otherwise you
  289.  *    should use bcopy() or roll your own.
  290.  */
  291. /*#undef    HAS_MEMMOVE        /**/
  292.  
  293. /* HAS_MEMSET
  294.  *    This symbol, if defined, indicates that the memset routine is available
  295.  *    to set a block of memory to a character.  If undefined, roll your own.
  296.  */
  297. #define    HAS_MEMSET        /**/
  298.  
  299. /* HAS_MKDIR
  300.  *    This symbol, if defined, indicates that the mkdir routine is available
  301.  *    to create directories.  Otherwise you should fork off a new process to
  302.  *    exec /bin/mkdir.
  303.  */
  304. #define    HAS_MKDIR        /**/
  305.  
  306. /* HAS_MSG
  307.  *    This symbol, if defined, indicates that the entire msg*(2) library is
  308.  *    supported.
  309.  */
  310. /* #define    HAS_MSG        /**/
  311.  
  312. /* HAS_MSGCTL
  313.  *    This symbol, if defined, indicates that the msgctl() routine is
  314.  *    available to control message passing.
  315.  */
  316. /* #define    HAS_MSGCTL        /**/
  317.  
  318. /* HAS_MSGGET
  319.  *    This symbol, if defined, indicates that the msgget() routine is
  320.  *    available to get messages.
  321.  */
  322. /* #define    HAS_MSGGET        /**/
  323.  
  324. /* HAS_MSGRCV
  325.  *    This symbol, if defined, indicates that the msgrcv() routine is
  326.  *    available to receive messages.
  327.  */
  328. /* #define    HAS_MSGRCV        /**/
  329.  
  330. /* HAS_MSGSND
  331.  *    This symbol, if defined, indicates that the msgsnd() routine is
  332.  *    available to send messages.
  333.  */
  334. /* #define    HAS_MSGSND        /**/
  335.  
  336. /* HAS_NDBM
  337.  *    This symbol, if defined, indicates that ndbm.h exists and should
  338.  *    be included.
  339.  */
  340. /* #define    HAS_NDBM        /**/
  341.  
  342. /* HAS_ODBM
  343.  *    This symbol, if defined, indicates that dbm.h exists and should
  344.  *    be included.
  345.  */
  346. /* #define    HAS_ODBM        /**/
  347.  
  348. /* HAS_OPEN3
  349.  *    This manifest constant lets the C program know that the three
  350.  *    argument form of open(2) is available.
  351.  */
  352. #define    HAS_OPEN3        /**/
  353.  
  354. /* HAS_READDIR
  355.  *    This symbol, if defined, indicates that the readdir routine is available
  356.  *    from the C library to read directories.
  357.  */
  358. #define    HAS_READDIR        /**/
  359.  
  360. /* HAS_RENAME
  361.  *    This symbol, if defined, indicates that the rename routine is available
  362.  *    to rename files.  Otherwise you should do the unlink(), link(), unlink()
  363.  *    trick.
  364.  */
  365. #define    HAS_RENAME        /**/
  366.  
  367. /* HAS_REWINDDIR
  368.  *    This symbol, if defined, indicates that the rewindir routine is
  369.  *    available to rewind directories.
  370.  */
  371. #define    HAS_REWINDDIR        /**/
  372.  
  373. /* HAS_RMDIR
  374.  *    This symbol, if defined, indicates that the rmdir routine is available
  375.  *    to remove directories.  Otherwise you should fork off a new process to
  376.  *    exec /bin/rmdir.
  377.  */
  378. #define    HAS_RMDIR        /**/
  379.  
  380. /* HAS_SEEKDIR
  381.  *    This symbol, if defined, indicates that the seekdir routine is
  382.  *    available to seek into directories.
  383.  */
  384. #define    HAS_SEEKDIR        /**/
  385.  
  386. /* HAS_SELECT
  387.  *    This symbol, if defined, indicates that the select() subroutine
  388.  *    exists.
  389.  */
  390. /* #define    HAS_SELECT    /**/
  391.  
  392. /* HAS_SEM
  393.  *    This symbol, if defined, indicates that the entire sem*(2) library is
  394.  *    supported.
  395.  */
  396. /* #define    HAS_SEM        /**/
  397.  
  398. /* HAS_SEMCTL
  399.  *    This symbol, if defined, indicates that the semctl() routine is
  400.  *    available to control semaphores.
  401.  */
  402. /* #define    HAS_SEMCTL        /**/
  403.  
  404. /* HAS_SEMGET
  405.  *    This symbol, if defined, indicates that the semget() routine is
  406.  *    available to get semaphores ids.
  407.  */
  408. /* #define    HAS_SEMGET        /**/
  409.  
  410. /* HAS_SEMOP
  411.  *    This symbol, if defined, indicates that the semop() routine is
  412.  *    available to perform semaphore operations.
  413.  */
  414. /* #define    HAS_SEMOP        /**/
  415.  
  416. /* HAS_SETEGID
  417.  *    This symbol, if defined, indicates that the setegid routine is available
  418.  *    to change the effective gid of the current program.
  419.  */
  420. /* #define    HAS_SETEGID        /**/
  421.  
  422. /* HAS_SETEUID
  423.  *    This symbol, if defined, indicates that the seteuid routine is available
  424.  *    to change the effective uid of the current program.
  425.  */
  426. /* #define    HAS_SETEUID        /**/
  427.  
  428. /* HAS_SETPGRP
  429.  *    This symbol, if defined, indicates that the setpgrp() routine is
  430.  *    available to set the current process group.
  431.  */
  432. #define    HAS_SETPGRP        /**/
  433.  
  434. /* HAS_SETPGRP2
  435.  *    This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
  436.  *    routine is available to set the current process group.
  437.  */
  438. /*#undef    HAS_SETPGRP2        /**/
  439.  
  440. /* HAS_SETPRIORITY
  441.  *    This symbol, if defined, indicates that the setpriority() routine is
  442.  *    available to set a process's priority.
  443.  */
  444. /* #define    HAS_SETPRIORITY        /**/
  445.  
  446. /* HAS_SETREGID
  447.  *    This symbol, if defined, indicates that the setregid routine is
  448.  *    available to change the real and effective gid of the current program.
  449.  */
  450. /* HAS_SETRESGID
  451.  *    This symbol, if defined, indicates that the setresgid routine is
  452.  *    available to change the real, effective and saved gid of the current
  453.  *    program.
  454.  */
  455. /* #define    HAS_SETREGID        /**/
  456. /*#undef    HAS_SETRESGID        /**/
  457.  
  458. /* HAS_SETREUID
  459.  *    This symbol, if defined, indicates that the setreuid routine is
  460.  *    available to change the real and effective uid of the current program.
  461.  */
  462. /* HAS_SETRESUID
  463.  *    This symbol, if defined, indicates that the setresuid routine is
  464.  *    available to change the real, effective and saved uid of the current
  465.  *    program.
  466.  */
  467. /* #define    HAS_SETREUID        /**/
  468. /*#undef    HAS_SETRESUID        /**/
  469.  
  470. /* HAS_SETRGID
  471.  *    This symbol, if defined, indicates that the setrgid routine is available
  472.  *    to change the real gid of the current program.
  473.  */
  474. /* #define    HAS_SETRGID        /**/
  475.  
  476. /* HAS_SETRUID
  477.  *    This symbol, if defined, indicates that the setruid routine is available
  478.  *    to change the real uid of the current program.
  479.  */
  480. /* #define    HAS_SETRUID        /**/
  481.  
  482. /* HAS_SHM
  483.  *    This symbol, if defined, indicates that the entire shm*(2) library is
  484.  *    supported.
  485.  */
  486. /* #define    HAS_SHM        /**/
  487.  
  488. /* HAS_SHMAT
  489.  *    This symbol, if defined, indicates that the shmat() routine is
  490.  *    available to attach a shared memory segment.
  491.  */
  492. /* VOID_SHMAT
  493.  *    This symbol, if defined, indicates that the shmat() routine
  494.  *    returns a pointer of type void*.
  495.  */
  496. /* #define    HAS_SHMAT        /**/
  497.  
  498. /*#undef    VOIDSHMAT        /**/
  499.  
  500. /* HAS_SHMCTL
  501.  *    This symbol, if defined, indicates that the shmctl() routine is
  502.  *    available to control a shared memory segment.
  503.  */
  504. /* #define    HAS_SHMCTL        /**/
  505.  
  506. /* HAS_SHMDT
  507.  *    This symbol, if defined, indicates that the shmdt() routine is
  508.  *    available to detach a shared memory segment.
  509.  */
  510. /* #define    HAS_SHMDT        /**/
  511.  
  512. /* HAS_SHMGET
  513.  *    This symbol, if defined, indicates that the shmget() routine is
  514.  *    available to get a shared memory segment id.
  515.  */
  516. /* #define    HAS_SHMGET        /**/
  517.  
  518. /* HAS_SOCKET
  519.  *    This symbol, if defined, indicates that the BSD socket interface is
  520.  *    supported.
  521.  */
  522. /* HAS_SOCKETPAIR
  523.  *    This symbol, if defined, indicates that the BSD socketpair call is
  524.  *    supported.
  525.  */
  526. /* OLDSOCKET
  527.  *    This symbol, if defined, indicates that the 4.1c BSD socket interface
  528.  *    is supported instead of the 4.2/4.3 BSD socket interface.
  529.  */
  530. /* #define    HAS_SOCKET        /**/
  531.  
  532. /* #define    HAS_SOCKETPAIR    /**/
  533.  
  534. /*#undef    OLDSOCKET    /**/
  535.  
  536. /* STATBLOCKS
  537.  *    This symbol is defined if this system has a stat structure declaring
  538.  *    st_blksize and st_blocks.
  539.  */
  540. #define    STATBLOCKS     /**/
  541.  
  542. /* STDSTDIO
  543.  *    This symbol is defined if this system has a FILE structure declaring
  544.  *    _ptr and _cnt in stdio.h.
  545.  */
  546. /* #define    STDSTDIO     /**/ /* we do, but semantics are different */
  547.  
  548. /* STRUCTCOPY
  549.  *    This symbol, if defined, indicates that this C compiler knows how
  550.  *    to copy structures.  If undefined, you'll need to use a block copy
  551.  *    routine of some sort instead.
  552.  */
  553. #define    STRUCTCOPY    /**/
  554.  
  555. /* HAS_STRERROR
  556.  *    This symbol, if defined, indicates that the strerror() routine is
  557.  *    available to translate error numbers to strings.
  558.  */
  559. #define    HAS_STRERROR        /**/
  560.  
  561. /* HAS_SYMLINK
  562.  *    This symbol, if defined, indicates that the symlink routine is available
  563.  *    to create symbolic links.
  564.  */
  565. #define    HAS_SYMLINK        /**/
  566.  
  567. /* HAS_SYSCALL
  568.  *    This symbol, if defined, indicates that the syscall routine is available
  569.  *    to call arbitrary system calls.  If undefined, that's tough.
  570.  */
  571. #define    HAS_SYSCALL        /**/
  572.  
  573. /* HAS_TELLDIR
  574.  *    This symbol, if defined, indicates that the telldir routine is
  575.  *    available to tell your location in directories.
  576.  */
  577. #define    HAS_TELLDIR        /**/
  578.  
  579. /* HAS_TRUNCATE
  580.  *    This symbol, if defined, indicates that the truncate routine is
  581.  *    available to truncate files.
  582.  */
  583. /* #define    HAS_TRUNCATE        /**/
  584.  
  585. /* HAS_VFORK
  586.  *    This symbol, if defined, indicates that vfork() exists.
  587.  */
  588. #ifdef __MINT__
  589. #define    HAS_VFORK    /**/
  590. #endif
  591.  
  592. /* VOIDSIG
  593.  *    This symbol is defined if this system declares "void (*signal())()" in
  594.  *    signal.h.  The old way was to declare it as "int (*signal())()".  It
  595.  *    is up to the package author to declare things correctly based on the
  596.  *    symbol.
  597.  */
  598. /* TO_SIGNAL
  599.  *    This symbol's value is either "void" or "int", corresponding to the
  600.  *    appropriate return "type" of a signal handler.  Thus, one can declare
  601.  *    a signal handler using "TO_SIGNAL (*handler())()", and define the
  602.  *    handler using "TO_SIGNAL handler(sig)".
  603.  */
  604. #define    VOIDSIG     /**/
  605. #define    TO_SIGNAL    void     /**/
  606.  
  607. /* HASVOLATILE
  608.  *    This symbol, if defined, indicates that this C compiler knows about
  609.  *    the volatile declaration.
  610.  */
  611. #define    HASVOLATILE    /**/
  612.  
  613. /* HAS_VPRINTF
  614.  *    This symbol, if defined, indicates that the vprintf routine is available
  615.  *    to printf with a pointer to an argument list.  If unavailable, you
  616.  *    may need to write your own, probably in terms of _doprnt().
  617.  */
  618. /* CHARVSPRINTF
  619.  *    This symbol is defined if this system has vsprintf() returning type
  620.  *    (char*).  The trend seems to be to declare it as "int vsprintf()".  It
  621.  *    is up to the package author to declare vsprintf correctly based on the
  622.  *    symbol.
  623.  */
  624. #define    HAS_VPRINTF    /**/
  625. /* #define    CHARVSPRINTF     /**/
  626.  
  627. /* HAS_WAIT4
  628.  *    This symbol, if defined, indicates that wait4() exists.
  629.  */
  630. /* #define    HAS_WAIT4    /**/
  631.  
  632. /* HAS_WAITPID
  633.  *    This symbol, if defined, indicates that waitpid() exists.
  634.  */
  635. /*#undef    HAS_WAITPID    /**/
  636.  
  637. /* GIDTYPE
  638.  *    This symbol has a value like gid_t, int, ushort, or whatever type is
  639.  *    used to declare group ids in the kernel.
  640.  */
  641. #define GIDTYPE gid_t        /**/
  642.  
  643. /* GROUPSTYPE
  644.  *    This symbol has a value like gid_t, int, ushort, or whatever type is
  645.  *    used in the return value of getgroups().
  646.  */
  647. /* #define GROUPSTYPE unsigned short        /**/
  648.  
  649. /* I_FCNTL
  650.  *    This manifest constant tells the C program to include <fcntl.h>.
  651.  */
  652. #define    I_FCNTL    /**/
  653.  
  654. /* I_GDBM
  655.  *    This symbol, if defined, indicates that gdbm.h exists and should
  656.  *    be included.
  657.  */
  658. #define    I_GDBM        /**/
  659. #define HAS_GDBM
  660.  
  661. /* I_GRP
  662.  *    This symbol, if defined, indicates to the C program that it should
  663.  *    include grp.h.
  664.  */
  665. /* #define    I_GRP        /**/
  666.  
  667. /* I_NETINET_IN
  668.  *    This symbol, if defined, indicates to the C program that it should
  669.  *    include netinet/in.h.
  670.  */
  671. /* I_SYS_IN
  672.  *    This symbol, if defined, indicates to the C program that it should
  673.  *    include sys/in.h.
  674.  */
  675. /* #define    I_NETINET_IN        /**/
  676. /*#undef    I_SYS_IN        /**/
  677.  
  678. /* I_PWD
  679.  *    This symbol, if defined, indicates to the C program that it should
  680.  *    include pwd.h.
  681.  */
  682. /* PWQUOTA
  683.  *    This symbol, if defined, indicates to the C program that struct passwd
  684.  *    contains pw_quota.
  685.  */
  686. /* PWAGE
  687.  *    This symbol, if defined, indicates to the C program that struct passwd
  688.  *    contains pw_age.
  689.  */
  690. /* PWCHANGE
  691.  *    This symbol, if defined, indicates to the C program that struct passwd
  692.  *    contains pw_change.
  693.  */
  694. /* PWCLASS
  695.  *    This symbol, if defined, indicates to the C program that struct passwd
  696.  *    contains pw_class.
  697.  */
  698. /* PWEXPIRE
  699.  *    This symbol, if defined, indicates to the C program that struct passwd
  700.  *    contains pw_expire.
  701.  */
  702. /* PWCOMMENT
  703.  *    This symbol, if defined, indicates to the C program that struct passwd
  704.  *    contains pw_comment.
  705.  */
  706. #define    I_PWD        /**/
  707. /* #define    PWQUOTA        /**/
  708. /*#undef    PWAGE        /**/
  709. /*#undef    PWCHANGE    /**/
  710. /*#undef    PWCLASS        /**/
  711. /*#undef    PWEXPIRE    /**/
  712. /* #define    PWCOMMENT    /**/
  713.  
  714. /* I_SYS_FILE
  715.  *    This manifest constant tells the C program to include <sys/file.h>.
  716.  */
  717. /* #define    I_SYS_FILE    /**/
  718.  
  719. /* I_SYSIOCTL
  720.  *    This symbol, if defined, indicates that sys/ioctl.h exists and should
  721.  *    be included.
  722.  */
  723. #define    I_SYSIOCTL        /**/
  724.  
  725. /* I_TIME
  726.  *    This symbol is defined if the program should include <time.h>.
  727.  */
  728. /* I_SYS_TIME
  729.  *    This symbol is defined if the program should include <sys/time.h>.
  730.  */
  731. /* SYSTIMEKERNEL
  732.  *    This symbol is defined if the program should include <sys/time.h>
  733.  *    with KERNEL defined.
  734.  */
  735. /* I_SYS_SELECT
  736.  *    This symbol is defined if the program should include <sys/select.h>.
  737.  */
  738. #define    I_TIME         /**/
  739. /* #define    I_SYS_TIME     /**/
  740. /*#undef    SYSTIMEKERNEL     /**/
  741. /*#undef    I_SYS_SELECT     /**/
  742.  
  743. /* I_UTIME
  744.  *    This symbol, if defined, indicates to the C program that it should
  745.  *    include utime.h.
  746.  */
  747. /*#undef    I_UTIME        /**/
  748.  
  749. /* I_VARARGS
  750.  *    This symbol, if defined, indicates to the C program that it should
  751.  *    include varargs.h.
  752.  */
  753. #define    I_VARARGS        /**/
  754.  
  755. /* I_VFORK
  756.  *    This symbol, if defined, indicates to the C program that it should
  757.  *    include vfork.h.
  758.  */
  759. /* #define    I_VFORK        /**/
  760.  
  761. /* INTSIZE
  762.  *    This symbol contains the size of an int, so that the C preprocessor
  763.  *    can make decisions based on it.
  764.  */
  765. #ifdef __MSHORT__
  766. #define INTSIZE 2        /**/
  767. #else
  768. #define INTSIZE 4        /**/
  769. #endif
  770.  
  771. /* I_DIRENT
  772.  *    This symbol, if defined, indicates that the program should use the
  773.  *    P1003-style directory routines, and include <dirent.h>.
  774.  */
  775. /* I_SYS_DIR
  776.  *    This symbol, if defined, indicates that the program should use the
  777.  *    directory functions by including <sys/dir.h>.
  778.  */
  779. /* I_NDIR
  780.  *    This symbol, if defined, indicates that the program should include the
  781.  *    system's version of ndir.h, rather than the one with this package.
  782.  */
  783. /* I_SYS_NDIR
  784.  *    This symbol, if defined, indicates that the program should include the
  785.  *    system's version of sys/ndir.h, rather than the one with this package.
  786.  */
  787. /* I_MY_DIR
  788.  *    This symbol, if defined, indicates that the program should compile
  789.  *    the ndir.c code provided with the package.
  790.  */
  791. /* DIRNAMLEN
  792.  *    This symbol, if defined, indicates to the C program that the length
  793.  *    of directory entry names is provided by a d_namlen field.  Otherwise
  794.  *    you need to do strlen() on the d_name field.
  795.  */
  796. #define    I_DIRENT    /**/
  797. /*#undef    I_SYS_DIR    /**/
  798. /*#undef    I_NDIR        /**/
  799. /*#undef    I_SYS_NDIR    /**/
  800. /*#undef    I_MY_DIR    /**/
  801. /*#undef    DIRNAMLEN    /**/
  802.  
  803. /* MYMALLOC
  804.  *    This symbol, if defined, indicates that we're using our own malloc.
  805.  */
  806. /* MALLOCPTRTYPE
  807.  *    This symbol defines the kind of ptr returned by malloc and realloc.
  808.  */
  809. /*  #define MYMALLOC            /**/
  810. #define MALLOCPTRTYPE void         /**/
  811.  
  812.  
  813.  
  814. /* RANDBITS
  815.  *    This symbol contains the number of bits of random number the rand()
  816.  *    function produces.  Usual values are 15, 16, and 31.
  817.  */
  818. #ifdef __MSHORT__
  819. #define RANDBITS 15        /**/
  820. #else
  821. #define RANDBITS 31        /**/
  822. #endif
  823.  
  824. /* SCRIPTDIR
  825.  *    This symbol holds the name of the directory in which the user wants
  826.  *    to keep publicly executable scripts for the package in question.  It
  827.  *    is often a directory that is mounted across diverse architectures.
  828.  */
  829. #define SCRIPTDIR "/bin"             /**/
  830.  
  831. /* SIG_NAME
  832.  *    This symbol contains an list of signal names in order.
  833.  */
  834. #define SIG_NAME "NULL","HUP","INT","QUIT","ILL","TRAP","ABRT","PRIV","FPE","KILL","BUS","SEGV","SYS","PIPE","ALRM","TERM","URG","STOP","TSTP","CONT","CHLD","TTIN","TTOU","IO","XCPU","XFSZ","VTALRM","PROF","WINCH","USR1","USR2"
  835.  
  836. /* STDCHAR
  837.  *    This symbol is defined to be the type of char used in stdio.h.
  838.  *    It has the values "unsigned char" or "char".
  839.  */
  840. #define STDCHAR unsigned char    /**/
  841.  
  842. /* UIDTYPE
  843.  *    This symbol has a value like uid_t, int, ushort, or whatever type is
  844.  *    used to declare user ids in the kernel.
  845.  */
  846. #define UIDTYPE uid_t        /**/
  847.  
  848. /* VOIDHAVE
  849.  *    This symbol indicates how much support of the void type is given by this
  850.  *    compiler.  What various bits mean:
  851.  *
  852.  *        1 = supports declaration of void
  853.  *        2 = supports arrays of pointers to functions returning void
  854.  *        4 = supports comparisons between pointers to void functions and
  855.  *            addresses of void functions
  856.  *
  857.  *    The package designer should define VOIDWANT to indicate the requirements
  858.  *    of the package.  This can be done either by #defining VOIDWANT before
  859.  *    including config.h, or by defining voidwant in Myinit.U.  If the level
  860.  *    of void support necessary is not present, config.h defines void to "int",
  861.  *    VOID to the empty string, and VOIDP to "char *".
  862.  */
  863. /* void
  864.  *    This symbol is used for void casts.  On implementations which support
  865.  *    void appropriately, its value is "void".  Otherwise, its value maps
  866.  *    to "int".
  867.  */
  868. /* VOID
  869.  *    This symbol's value is "void" if the implementation supports void
  870.  *    appropriately.  Otherwise, its value is the empty string.  The primary
  871.  *    use of this symbol is in specifying void parameter lists for function
  872.  *    prototypes.
  873.  */
  874. /* VOIDP
  875.  *    This symbol is used for casting generic pointers.  On implementations
  876.  *    which support void appropriately, its value is "void *".  Otherwise,
  877.  *    its value is "char *".
  878.  */
  879. #ifndef VOIDWANT
  880. #define VOIDWANT 7
  881. #endif
  882. #define VOIDHAVE 7
  883. #if (VOIDHAVE & VOIDWANT) != VOIDWANT
  884. #define void int        /* is void to be avoided? */
  885. #define VOID
  886. #define VOIDP (char *)
  887. #define M_VOID        /* Xenix strikes again */
  888. #else
  889. #define VOID void
  890. #define VOIDP (void *)
  891. #endif
  892.  
  893. /* PRIVLIB
  894.  *    This symbol contains the name of the private library for this package.
  895.  *    The library is private in the sense that it needn't be in anyone's
  896.  *    execution path, but it should be accessible by the world.  The program
  897.  *    should be prepared to do ~ expansion.
  898.  */
  899. /* #define PRIVLIB "/usr/lib/perl"        /**/
  900. extern char *PRIVLIB;    /* $PERLIB or /lib */
  901.  
  902. /* param.h does'nt really need types, but is #define'ed to make sure types.h
  903.  * is included
  904.  */
  905. #define PARAM_NEEDS_TYPES
  906.  
  907. /* These are selective unix services in the gcc-st lib
  908.  */
  909. #define HAS_GETLOGIN
  910. #define HAS_GETPPID
  911. #define HAS_KILL
  912. #define HAS_UMASK
  913. #define HAS_PASSWD
  914. #endif
  915.