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