home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / gnu / perl-4.036.tar.gz / perl-4.036.tar / perl-4.036 / os2 / config.h < prev    next >
C/C++ Source or Header  |  1993-02-08  |  27KB  |  911 lines

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