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