home *** CD-ROM | disk | FTP | other *** search
/ Chip: Windows 2000 Professional Resource Kit / W2KPRK.iso / apps / perl / ActivePerl.exe / data.z / config.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-10-16  |  66.1 KB  |  2,170 lines

  1. /*
  2.  * This file was produced by running the config_h.SH script, which
  3.  * gets its values from config.sh, which is generally produced by
  4.  * running Configure.
  5.  *
  6.  * Feel free to modify any of this as the need arises.  Note, however,
  7.  * that running config_h.SH again will wipe out any changes you've made.
  8.  * For a more permanent change edit config.sh and rerun config_h.SH.
  9.  *
  10.  * $Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $
  11.  */
  12.  
  13. /*
  14.  * Package name      : perl5
  15.  * Source directory  : 
  16.  * Configuration time: undef
  17.  * Configured by     : mikesm
  18.  * Target system     : 
  19.  */
  20.  
  21. #ifndef _config_h_
  22. #define _config_h_
  23.  
  24. /* LOC_SED:
  25.  *    This symbol holds the complete pathname to the sed program.
  26.  */
  27. #define LOC_SED     ""    /**/
  28.  
  29. /* BIN:
  30.  *    This symbol holds the path of the bin directory where the package will
  31.  *    be installed. Program must be prepared to deal with ~name substitution.
  32.  */
  33. /* BIN_EXP:
  34.  *    This symbol is the filename expanded version of the BIN symbol, for
  35.  *    programs that do not want to deal with that at run-time.
  36.  */
  37. #define BIN "P:\\Apps\\ActivePerl\\temp\\bin\\MSWin32-x86-object"    /**/
  38. #define BIN_EXP "P:\\Apps\\ActivePerl\\temp\\bin\\MSWin32-x86-object"    /**/
  39.  
  40. /* CPPSTDIN:
  41.  *    This symbol contains the first part of the string which will invoke
  42.  *    the C preprocessor on the standard input and produce to standard
  43.  *    output.     Typical value of "cc -E" or "/lib/cpp", but it can also
  44.  *    call a wrapper. See CPPRUN.
  45.  */
  46. /* CPPMINUS:
  47.  *    This symbol contains the second part of the string which will invoke
  48.  *    the C preprocessor on the standard input and produce to standard
  49.  *    output.  This symbol will have the value "-" if CPPSTDIN needs a minus
  50.  *    to specify standard input, otherwise the value is "".
  51.  */
  52. #define CPPSTDIN "cl -nologo -E"
  53. #define CPPMINUS ""
  54.  
  55. /* HAS_ALARM:
  56.  *    This symbol, if defined, indicates that the alarm routine is
  57.  *    available.
  58.  */
  59. /*#define HAS_ALARM        /**/
  60.  
  61. /* HASATTRIBUTE:
  62.  *    This symbol indicates the C compiler can check for function attributes,
  63.  *    such as printf formats. This is normally only supported by GNU cc.
  64.  */
  65. /*#define HASATTRIBUTE     /**/
  66. #ifndef HASATTRIBUTE
  67. #define __attribute__(_arg_)
  68. #endif
  69.  
  70. /* HAS_BCMP:
  71.  *    This symbol is defined if the bcmp() routine is available to
  72.  *    compare blocks of memory.
  73.  */
  74. /*#define HAS_BCMP    /**/
  75.  
  76. /* HAS_BCOPY:
  77.  *    This symbol is defined if the bcopy() routine is available to
  78.  *    copy blocks of memory.
  79.  */
  80. /*#define HAS_BCOPY    /**/
  81.  
  82. /* HAS_BZERO:
  83.  *    This symbol is defined if the bzero() routine is available to
  84.  *    set a memory block to 0.
  85.  */
  86. /*#define HAS_BZERO    /**/
  87.  
  88. /* HAS_CHOWN:
  89.  *    This symbol, if defined, indicates that the chown routine is
  90.  *    available.
  91.  */
  92. /*#define HAS_CHOWN        /**/
  93.  
  94. /* HAS_CHROOT:
  95.  *    This symbol, if defined, indicates that the chroot routine is
  96.  *    available.
  97.  */
  98. /*#define HAS_CHROOT        /**/
  99.  
  100. /* HAS_CHSIZE:
  101.  *    This symbol, if defined, indicates that the chsize routine is available
  102.  *    to truncate files.  You might need a -lx to get this routine.
  103.  */
  104. #define    HAS_CHSIZE        /**/
  105.  
  106. /* HASCONST:
  107.  *    This symbol, if defined, indicates that this C compiler knows about
  108.  *    the const type. There is no need to actually test for that symbol
  109.  *    within your programs. The mere use of the "const" keyword will
  110.  *    trigger the necessary tests.
  111.  */
  112. #define HASCONST    /**/
  113. #ifndef HASCONST
  114. #define const
  115. #endif
  116.  
  117. /* HAS_CRYPT:
  118.  *    This symbol, if defined, indicates that the crypt routine is available
  119.  *    to encrypt passwords and the like.
  120.  */
  121. #define HAS_CRYPT        /**/
  122.  
  123. /* HAS_CUSERID:
  124.  *    This symbol, if defined, indicates that the cuserid routine is
  125.  *    available to get character login names.
  126.  */
  127. /*#define HAS_CUSERID        /**/
  128.  
  129. /* HAS_DBL_DIG:
  130.  *    This symbol, if defined, indicates that this system's <float.h>
  131.  *    or <limits.h> defines the symbol DBL_DIG, which is the number
  132.  *    of significant digits in a double precision number.  If this
  133.  *    symbol is not defined, a guess of 15 is usually pretty good.
  134.  */
  135. #define HAS_DBL_DIG     /**/
  136.  
  137. /* HAS_DIFFTIME:
  138.  *    This symbol, if defined, indicates that the difftime routine is
  139.  *    available.
  140.  */
  141. #define HAS_DIFFTIME        /**/
  142.  
  143. /* HAS_DLERROR:
  144.  *    This symbol, if defined, indicates that the dlerror routine is
  145.  *    available to return a string describing the last error that
  146.  *    occurred from a call to dlopen(), dlclose() or dlsym().
  147.  */
  148. #define HAS_DLERROR    /**/
  149.  
  150. /* SETUID_SCRIPTS_ARE_SECURE_NOW:
  151.  *    This symbol, if defined, indicates that the bug that prevents
  152.  *    setuid scripts from being secure is not present in this kernel.
  153.  */
  154. /* DOSUID:
  155.  *    This symbol, if defined, indicates that the C program should
  156.  *    check the script that it is executing for setuid/setgid bits, and
  157.  *    attempt to emulate setuid/setgid on systems that have disabled
  158.  *    setuid #! scripts because the kernel can't do it securely.
  159.  *    It is up to the package designer to make sure that this emulation
  160.  *    is done securely.  Among other things, it should do an fstat on
  161.  *    the script it just opened to make sure it really is a setuid/setgid
  162.  *    script, it should make sure the arguments passed correspond exactly
  163.  *    to the argument on the #! line, and it should not trust any
  164.  *    subprocesses to which it must pass the filename rather than the
  165.  *    file descriptor of the script to be executed.
  166.  */
  167. /*#define SETUID_SCRIPTS_ARE_SECURE_NOW    /**/
  168. /*#define DOSUID        /**/
  169.  
  170. /* HAS_DUP2:
  171.  *    This symbol, if defined, indicates that the dup2 routine is
  172.  *    available to duplicate file descriptors.
  173.  */
  174. #define HAS_DUP2    /**/
  175.  
  176. /* HAS_FCHMOD:
  177.  *    This symbol, if defined, indicates that the fchmod routine is available
  178.  *    to change mode of opened files.  If unavailable, use chmod().
  179.  */
  180. /*#define HAS_FCHMOD        /**/
  181.  
  182. /* HAS_FCHOWN:
  183.  *    This symbol, if defined, indicates that the fchown routine is available
  184.  *    to change ownership of opened files.  If unavailable, use chown().
  185.  */
  186. /*#define HAS_FCHOWN        /**/
  187.  
  188. /* HAS_FCNTL:
  189.  *    This symbol, if defined, indicates to the C program that
  190.  *    the fcntl() function exists.
  191.  */
  192. /*#define HAS_FCNTL        /**/
  193.  
  194. /* HAS_FGETPOS:
  195.  *    This symbol, if defined, indicates that the fgetpos routine is
  196.  *    available to get the file position indicator, similar to ftell().
  197.  */
  198. #define HAS_FGETPOS    /**/
  199.  
  200. /* FLEXFILENAMES:
  201.  *    This symbol, if defined, indicates that the system supports filenames
  202.  *    longer than 14 characters.
  203.  */
  204. #define    FLEXFILENAMES        /**/
  205.  
  206. /* HAS_FLOCK:
  207.  *    This symbol, if defined, indicates that the flock routine is
  208.  *    available to do file locking.
  209.  */
  210. #define HAS_FLOCK        /**/
  211.  
  212. /* HAS_FORK:
  213.  *    This symbol, if defined, indicates that the fork routine is
  214.  *    available.
  215.  */
  216. /*#define HAS_FORK        /**/
  217.  
  218. /* HAS_FSETPOS:
  219.  *    This symbol, if defined, indicates that the fsetpos routine is
  220.  *    available to set the file position indicator, similar to fseek().
  221.  */
  222. #define HAS_FSETPOS    /**/
  223.  
  224. /* I_SYS_MOUNT:
  225.  *    This symbol, if defined, indicates to the C program that it should
  226.  *    include <sys/mount.h>.
  227.  */
  228. /*#define I_SYS_MOUNT        /**/
  229.  
  230. /* HAS_FSTATFS:
  231.  *    This symbol, if defined, indicates that the fstatfs routine is
  232.  *    available to stat the filesystem of a file descriptor.
  233.  */
  234. /*#define HAS_FSTATFS    /**/
  235.  
  236. /* HAS_STRUCT_STATFS_FLAGS:
  237.  *    This symbol, if defined, indicates that the struct statfs has
  238.  *    the f_flags member for mount flags.
  239.  */
  240. /*#define HAS_STRUCT_STATFS_FLAGS    /**/
  241.  
  242. /* I_SYS_STATVFS:
  243.  *    This symbol, if defined, indicates to the C program that it should
  244.  *    include <sys/statvfs.h>.
  245.  */
  246. /*#define I_SYS_STATVFS        /**/
  247.  
  248. /* HAS_FSTATVFS:
  249.  *    This symbol, if defined, indicates that the fstatvfs routine is
  250.  *    available to stat the filesystem of a file descriptor.
  251.  */
  252. /*#define HAS_FSTATVFS    /**/
  253.  
  254. /* I_MNTENT:
  255.  *    This symbol, if defined, indicates to the C program that it should
  256.  *    include <mntent.h>.
  257.  */
  258. /*#define I_MNTENT        /**/
  259.  
  260. /* HAS_GETMNTENT:
  261.  *    This symbol, if defined, indicates that the getmntent routine is
  262.  *    available to lookup mount entries in some data base or other.
  263.  */
  264. /*#define HAS_GETMNTENT    /**/
  265.  
  266. /* HAS_HASMNTOPT:
  267.  *    This symbol, if defined, indicates that the hasmntopt routine is
  268.  *    available to query mount entries returned by getmntent.
  269.  */
  270. /*#define HAS_HASMNTOPT    /**/
  271.  
  272. /* HAS_GETTIMEOFDAY:
  273.  *    This symbol, if defined, indicates that the gettimeofday() system
  274.  *    call is available for a sub-second accuracy clock. Usually, the file
  275.  *    <sys/resource.h> needs to be included (see I_SYS_RESOURCE).
  276.  *    The type "Timeval" should be used to refer to "struct timeval".
  277.  */
  278. /*#define HAS_GETTIMEOFDAY    /**/
  279. #ifdef HAS_GETTIMEOFDAY
  280. #define Timeval struct timeval    /* Structure used by gettimeofday() */
  281. #endif
  282.  
  283. /* HAS_GETGROUPS:
  284.  *    This symbol, if defined, indicates that the getgroups() routine is
  285.  *    available to get the list of process groups.  If unavailable, multiple
  286.  *    groups are probably not supported.
  287.  */
  288. /*#define HAS_GETGROUPS        /**/
  289.  
  290. /* HAS_UNAME:
  291.  *    This symbol, if defined, indicates that the C program may use the
  292.  *    uname() routine to derive the host name.  See also HAS_GETHOSTNAME
  293.  *    and PHOSTNAME.
  294.  */
  295. #define HAS_UNAME        /**/
  296.  
  297. /* HAS_GETLOGIN:
  298.  *    This symbol, if defined, indicates that the getlogin routine is
  299.  *    available to get the login name.
  300.  */
  301. #define HAS_GETLOGIN        /**/
  302.  
  303. /* HAS_GETPGID:
  304.  *    This symbol, if defined, indicates to the C program that 
  305.  *    the getpgid(pid) function is available to get the
  306.  *    process group id.
  307.  */
  308. /*#define HAS_GETPGID        /**/
  309.  
  310. /* HAS_GETPGRP:
  311.  *    This symbol, if defined, indicates that the getpgrp routine is
  312.  *    available to get the current process group.
  313.  */
  314. /* USE_BSD_GETPGRP:
  315.  *    This symbol, if defined, indicates that getpgrp needs one
  316.  *    arguments whereas USG one needs none.
  317.  */
  318. /*#define HAS_GETPGRP        /**/
  319. /*#define USE_BSD_GETPGRP    /**/
  320.  
  321. /* HAS_GETPGRP2:
  322.  *    This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
  323.  *    routine is available to get the current process group.
  324.  */
  325. /*#define HAS_GETPGRP2        /**/
  326.  
  327. /* HAS_GETPPID:
  328.  *    This symbol, if defined, indicates that the getppid routine is
  329.  *    available to get the parent process ID.
  330.  */
  331. /*#define HAS_GETPPID        /**/
  332.  
  333. /* HAS_GETPRIORITY:
  334.  *    This symbol, if defined, indicates that the getpriority routine is
  335.  *    available to get a process's priority.
  336.  */
  337. /*#define HAS_GETPRIORITY        /**/
  338.  
  339. /* HAS_HTONL:
  340.  *    This symbol, if defined, indicates that the htonl() routine (and
  341.  *    friends htons() ntohl() ntohs()) are available to do network
  342.  *    order byte swapping.
  343.  */
  344. /* HAS_HTONS:
  345.  *    This symbol, if defined, indicates that the htons() routine (and
  346.  *    friends htonl() ntohl() ntohs()) are available to do network
  347.  *    order byte swapping.
  348.  */
  349. /* HAS_NTOHL:
  350.  *    This symbol, if defined, indicates that the ntohl() routine (and
  351.  *    friends htonl() htons() ntohs()) are available to do network
  352.  *    order byte swapping.
  353.  */
  354. /* HAS_NTOHS:
  355.  *    This symbol, if defined, indicates that the ntohs() routine (and
  356.  *    friends htonl() htons() ntohl()) are available to do network
  357.  *    order byte swapping.
  358.  */
  359. #define HAS_HTONL        /**/
  360. #define HAS_HTONS        /**/
  361. #define HAS_NTOHL        /**/
  362. #define HAS_NTOHS        /**/
  363.  
  364. /* HAS_INET_ATON:
  365.  *    This symbol, if defined, indicates to the C program that the
  366.  *    inet_aton() function is available to parse IP address "dotted-quad"
  367.  *    strings.
  368.  */
  369. /*#define HAS_INET_ATON        /**/
  370.  
  371. /* HAS_KILLPG:
  372.  *    This symbol, if defined, indicates that the killpg routine is available
  373.  *    to kill process groups.  If unavailable, you probably should use kill
  374.  *    with a negative process number.
  375.  */
  376. /*#define HAS_KILLPG    /**/
  377.  
  378. /* HAS_LINK:
  379.  *    This symbol, if defined, indicates that the link routine is
  380.  *    available to create hard links.
  381.  */
  382. /*#define HAS_LINK    /**/
  383.  
  384. /* HAS_LOCALECONV:
  385.  *    This symbol, if defined, indicates that the localeconv routine is
  386.  *    available for numeric and monetary formatting conventions.
  387.  */
  388. #define HAS_LOCALECONV    /**/
  389.  
  390. /* HAS_LOCKF:
  391.  *    This symbol, if defined, indicates that the lockf routine is
  392.  *    available to do file locking.
  393.  */
  394. /*#define HAS_LOCKF        /**/
  395.  
  396. /* HAS_LSTAT:
  397.  *    This symbol, if defined, indicates that the lstat routine is
  398.  *    available to do file stats on symbolic links.
  399.  */
  400. /*#define HAS_LSTAT        /**/
  401.  
  402. /* HAS_MBLEN:
  403.  *    This symbol, if defined, indicates that the mblen routine is available
  404.  *    to find the number of bytes in a multibye character.
  405.  */
  406. #define HAS_MBLEN        /**/
  407.  
  408. /* HAS_MBSTOWCS:
  409.  *    This symbol, if defined, indicates that the mbstowcs routine is
  410.  *    available to covert a multibyte string into a wide character string.
  411.  */
  412. #define    HAS_MBSTOWCS        /**/
  413.  
  414. /* HAS_MBTOWC:
  415.  *    This symbol, if defined, indicates that the mbtowc routine is available
  416.  *    to covert a multibyte to a wide character.
  417.  */
  418. #define HAS_MBTOWC        /**/
  419.  
  420. /* HAS_MEMCMP:
  421.  *    This symbol, if defined, indicates that the memcmp routine is available
  422.  *    to compare blocks of memory.
  423.  */
  424. #define HAS_MEMCMP    /**/
  425.  
  426. /* HAS_MEMCPY:
  427.  *    This symbol, if defined, indicates that the memcpy routine is available
  428.  *    to copy blocks of memory.
  429.  */
  430. #define HAS_MEMCPY    /**/
  431.  
  432. /* HAS_MEMMOVE:
  433.  *    This symbol, if defined, indicates that the memmove routine is available
  434.  *    to copy potentially overlapping blocks of memory. This should be used
  435.  *    only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your
  436.  *    own version.
  437.  */
  438. #define HAS_MEMMOVE    /**/
  439.  
  440. /* HAS_MEMSET:
  441.  *    This symbol, if defined, indicates that the memset routine is available
  442.  *    to set blocks of memory.
  443.  */
  444. #define HAS_MEMSET    /**/
  445.  
  446. /* HAS_MKDIR:
  447.  *    This symbol, if defined, indicates that the mkdir routine is available
  448.  *    to create directories.  Otherwise you should fork off a new process to
  449.  *    exec /bin/mkdir.
  450.  */
  451. #define HAS_MKDIR        /**/
  452.  
  453. /* HAS_MKFIFO:
  454.  *    This symbol, if defined, indicates that the mkfifo routine is
  455.  *    available to create FIFOs. Otherwise, mknod should be able to
  456.  *    do it for you. However, if mkfifo is there, mknod might require
  457.  *    super-user privileges which mkfifo will not.
  458.  */
  459. /*#define HAS_MKFIFO        /**/
  460.  
  461. /* HAS_MKTIME:
  462.  *    This symbol, if defined, indicates that the mktime routine is
  463.  *    available.
  464.  */
  465. #define HAS_MKTIME        /**/
  466.  
  467. /* HAS_MSG:
  468.  *    This symbol, if defined, indicates that the entire msg*(2) library is
  469.  *    supported (IPC mechanism based on message queues).
  470.  */
  471. /*#define HAS_MSG        /**/
  472.  
  473. /* HAS_NICE:
  474.  *    This symbol, if defined, indicates that the nice routine is
  475.  *    available.
  476.  */
  477. /*#define HAS_NICE        /**/
  478.  
  479. /* HAS_PATHCONF:
  480.  *    This symbol, if defined, indicates that pathconf() is available
  481.  *    to determine file-system related limits and options associated
  482.  *    with a given filename.
  483.  */
  484. /* HAS_FPATHCONF:
  485.  *    This symbol, if defined, indicates that pathconf() is available
  486.  *    to determine file-system related limits and options associated
  487.  *    with a given open file descriptor.
  488.  */
  489. /*#define HAS_PATHCONF        /**/
  490. /*#define HAS_FPATHCONF        /**/
  491.  
  492. /* HAS_PAUSE:
  493.  *    This symbol, if defined, indicates that the pause routine is
  494.  *    available to suspend a process until a signal is received.
  495.  */
  496. #define HAS_PAUSE        /**/
  497.  
  498. /* HAS_PIPE:
  499.  *    This symbol, if defined, indicates that the pipe routine is
  500.  *    available to create an inter-process channel.
  501.  */
  502. #define HAS_PIPE        /**/
  503.  
  504. /* HAS_POLL:
  505.  *    This symbol, if defined, indicates that the poll routine is
  506.  *    available to poll active file descriptors. You may safely
  507.  *    include <poll.h> when this symbol is defined.
  508.  */
  509. /*#define HAS_POLL        /**/
  510.  
  511. /* HAS_READDIR:
  512.  *    This symbol, if defined, indicates that the readdir routine is
  513.  *    available to read directory entries. You may have to include
  514.  *    <dirent.h>. See I_DIRENT.
  515.  */
  516. #define HAS_READDIR        /**/
  517.  
  518. /* HAS_SEEKDIR:
  519.  *    This symbol, if defined, indicates that the seekdir routine is
  520.  *    available. You may have to include <dirent.h>. See I_DIRENT.
  521.  */
  522. #define HAS_SEEKDIR        /**/
  523.  
  524. /* HAS_TELLDIR:
  525.  *    This symbol, if defined, indicates that the telldir routine is
  526.  *    available. You may have to include <dirent.h>. See I_DIRENT.
  527.  */
  528. #define HAS_TELLDIR        /**/
  529.  
  530. /* HAS_REWINDDIR:
  531.  *    This symbol, if defined, indicates that the rewinddir routine is
  532.  *    available. You may have to include <dirent.h>. See I_DIRENT.
  533.  */
  534. #define HAS_REWINDDIR        /**/
  535.  
  536. /* HAS_READLINK:
  537.  *    This symbol, if defined, indicates that the readlink routine is
  538.  *    available to read the value of a symbolic link.
  539.  */
  540. /*#define HAS_READLINK        /**/
  541.  
  542. /* HAS_RENAME:
  543.  *    This symbol, if defined, indicates that the rename routine is available
  544.  *    to rename files.  Otherwise you should do the unlink(), link(), unlink()
  545.  *    trick.
  546.  */
  547. #define HAS_RENAME    /**/
  548.  
  549. /* HAS_RMDIR:
  550.  *    This symbol, if defined, indicates that the rmdir routine is
  551.  *    available to remove directories. Otherwise you should fork off a
  552.  *    new process to exec /bin/rmdir.
  553.  */
  554. #define HAS_RMDIR        /**/
  555.  
  556. /* HAS_SELECT:
  557.  *    This symbol, if defined, indicates that the select routine is
  558.  *    available to select active file descriptors. If the timeout field
  559.  *    is used, <sys/time.h> may need to be included.
  560.  */
  561. #define HAS_SELECT    /**/
  562.  
  563. /* HAS_SEM:
  564.  *    This symbol, if defined, indicates that the entire sem*(2) library is
  565.  *    supported.
  566.  */
  567. /*#define HAS_SEM        /**/
  568.  
  569. /* HAS_SETEGID:
  570.  *    This symbol, if defined, indicates that the setegid routine is available
  571.  *    to change the effective gid of the current program.
  572.  */
  573. /*#define HAS_SETEGID        /**/
  574.  
  575. /* HAS_SETEUID:
  576.  *    This symbol, if defined, indicates that the seteuid routine is available
  577.  *    to change the effective uid of the current program.
  578.  */
  579. /*#define HAS_SETEUID        /**/
  580.  
  581. /* HAS_SETLINEBUF:
  582.  *    This symbol, if defined, indicates that the setlinebuf routine is
  583.  *    available to change stderr or stdout from block-buffered or unbuffered
  584.  *    to a line-buffered mode.
  585.  */
  586. /*#define HAS_SETLINEBUF        /**/
  587.  
  588. /* HAS_SETLOCALE:
  589.  *    This symbol, if defined, indicates that the setlocale routine is
  590.  *    available to handle locale-specific ctype implementations.
  591.  */
  592. #define HAS_SETLOCALE    /**/
  593.  
  594. /* HAS_SETPGID:
  595.  *    This symbol, if defined, indicates that the setpgid(pid, gpid)
  596.  *    routine is available to set process group ID.
  597.  */
  598. /*#define HAS_SETPGID    /**/
  599.  
  600. /* HAS_SETPGRP:
  601.  *    This symbol, if defined, indicates that the setpgrp routine is
  602.  *    available to set the current process group.
  603.  */
  604. /* USE_BSD_SETPGRP:
  605.  *    This symbol, if defined, indicates that setpgrp needs two
  606.  *    arguments whereas USG one needs none.  See also HAS_SETPGID
  607.  *    for a POSIX interface.
  608.  */
  609. /*#define HAS_SETPGRP        /**/
  610. /*#define USE_BSD_SETPGRP    /**/
  611.  
  612. /* HAS_SETPGRP2:
  613.  *    This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
  614.  *    routine is available to set the current process group.
  615.  */
  616. /*#define HAS_SETPGRP2        /**/
  617.  
  618. /* HAS_SETPRIORITY:
  619.  *    This symbol, if defined, indicates that the setpriority routine is
  620.  *    available to set a process's priority.
  621.  */
  622. /*#define HAS_SETPRIORITY        /**/
  623.  
  624. /* HAS_SETREGID:
  625.  *    This symbol, if defined, indicates that the setregid routine is
  626.  *    available to change the real and effective gid of the current
  627.  *    process.
  628.  */
  629. /* HAS_SETRESGID:
  630.  *    This symbol, if defined, indicates that the setresgid routine is
  631.  *    available to change the real, effective and saved gid of the current
  632.  *    process.
  633.  */
  634. /*#define HAS_SETREGID        /**/
  635. /*#define HAS_SETRESGID        /**/
  636.  
  637. /* HAS_SETREUID:
  638.  *    This symbol, if defined, indicates that the setreuid routine is
  639.  *    available to change the real and effective uid of the current
  640.  *    process.
  641.  */
  642. /* HAS_SETRESUID:
  643.  *    This symbol, if defined, indicates that the setresuid routine is
  644.  *    available to change the real, effective and saved uid of the current
  645.  *    process.
  646.  */
  647. /*#define HAS_SETREUID        /**/
  648. /*#define HAS_SETRESUID        /**/
  649.  
  650. /* HAS_SETRGID:
  651.  *    This symbol, if defined, indicates that the setrgid routine is available
  652.  *    to change the real gid of the current program.
  653.  */
  654. /*#define HAS_SETRGID        /**/
  655.  
  656. /* HAS_SETRUID:
  657.  *    This symbol, if defined, indicates that the setruid routine is available
  658.  *    to change the real uid of the current program.
  659.  */
  660. /*#define HAS_SETRUID        /**/
  661.  
  662. /* HAS_SETSID:
  663.  *    This symbol, if defined, indicates that the setsid routine is
  664.  *    available to set the process group ID.
  665.  */
  666. /*#define HAS_SETSID    /**/
  667.  
  668. /* HAS_SHM:
  669.  *    This symbol, if defined, indicates that the entire shm*(2) library is
  670.  *    supported.
  671.  */
  672. /*#define HAS_SHM        /**/
  673.  
  674. /* Shmat_t:
  675.  *    This symbol holds the return type of the shmat() system call.
  676.  *    Usually set to 'void *' or 'char *'.
  677.  */
  678. /* HAS_SHMAT_PROTOTYPE:
  679.  *    This symbol, if defined, indicates that the sys/shm.h includes
  680.  *    a prototype for shmat().  Otherwise, it is up to the program to
  681.  *    guess one.  Shmat_t shmat _((int, Shmat_t, int)) is a good guess,
  682.  *    but not always right so it should be emitted by the program only
  683.  *    when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs.
  684.  */
  685. #define Shmat_t void *    /**/
  686. /*#define HAS_SHMAT_PROTOTYPE    /**/
  687.  
  688. /* USE_STAT_BLOCKS:
  689.  *    This symbol is defined if this system has a stat structure declaring
  690.  *    st_blksize and st_blocks.
  691.  */
  692. /*#define USE_STAT_BLOCKS     /**/
  693.  
  694. /* HAS_STRCHR:
  695.  *    This symbol is defined to indicate that the strchr()/strrchr()
  696.  *    functions are available for string searching. If not, try the
  697.  *    index()/rindex() pair.
  698.  */
  699. /* HAS_INDEX:
  700.  *    This symbol is defined to indicate that the index()/rindex()
  701.  *    functions are available for string searching.
  702.  */
  703. #define HAS_STRCHR    /**/
  704. /*#define HAS_INDEX    /**/
  705.  
  706. /* HAS_STRCOLL:
  707.  *    This symbol, if defined, indicates that the strcoll routine is
  708.  *    available to compare strings using collating information.
  709.  */
  710. #define HAS_STRCOLL    /**/
  711.  
  712. /* USE_STRUCT_COPY:
  713.  *    This symbol, if defined, indicates that this C compiler knows how
  714.  *    to copy structures.  If undefined, you'll need to use a block copy
  715.  *    routine of some sort instead.
  716.  */
  717. #define    USE_STRUCT_COPY    /**/
  718.  
  719. /* HAS_STRERROR:
  720.  *    This symbol, if defined, indicates that the strerror routine is
  721.  *    available to translate error numbers to strings. See the writeup
  722.  *    of Strerror() in this file before you try to define your own.
  723.  */
  724. /* HAS_SYS_ERRLIST:
  725.  *    This symbol, if defined, indicates that the sys_errlist array is
  726.  *    available to translate error numbers to strings. The extern int
  727.  *    sys_nerr gives the size of that table.
  728.  */
  729. /* Strerror:
  730.  *    This preprocessor symbol is defined as a macro if strerror() is
  731.  *    not available to translate error numbers to strings but sys_errlist[]
  732.  *    array is there.
  733.  */
  734. #define HAS_STRERROR        /**/
  735. #define HAS_SYS_ERRLIST    /**/
  736. #define Strerror(e) strerror(e)
  737.  
  738. /* HAS_STRTOD:
  739.  *    This symbol, if defined, indicates that the strtod routine is
  740.  *    available to provide better numeric string conversion than atof().
  741.  */
  742. #define HAS_STRTOD    /**/
  743.  
  744. /* HAS_STRTOL:
  745.  *    This symbol, if defined, indicates that the strtol routine is available
  746.  *    to provide better numeric string conversion than atoi() and friends.
  747.  */
  748. #define HAS_STRTOL    /**/
  749.  
  750. /* HAS_STRTOUL:
  751.  *    This symbol, if defined, indicates that the strtoul routine is
  752.  *    available to provide conversion of strings to unsigned long.
  753.  */
  754. #define HAS_STRTOUL    /**/
  755.  
  756. /* HAS_STRXFRM:
  757.  *    This symbol, if defined, indicates that the strxfrm() routine is
  758.  *    available to transform strings.
  759.  */
  760. #define HAS_STRXFRM    /**/
  761.  
  762. /* HAS_SYMLINK:
  763.  *    This symbol, if defined, indicates that the symlink routine is available
  764.  *    to create symbolic links.
  765.  */
  766. /*#define HAS_SYMLINK    /**/
  767.  
  768. /* HAS_SYSCALL:
  769.  *    This symbol, if defined, indicates that the syscall routine is
  770.  *    available to call arbitrary system calls. If undefined, that's tough.
  771.  */
  772. /*#define HAS_SYSCALL    /**/
  773.  
  774. /* HAS_SYSCONF:
  775.  *    This symbol, if defined, indicates that sysconf() is available
  776.  *    to determine system related limits and options.
  777.  */
  778. /*#define HAS_SYSCONF    /**/
  779.  
  780. /* HAS_SYSTEM:
  781.  *    This symbol, if defined, indicates that the system routine is
  782.  *    available to issue a shell command.
  783.  */
  784. #define HAS_SYSTEM    /**/
  785.  
  786. /* HAS_TCGETPGRP:
  787.  *    This symbol, if defined, indicates that the tcgetpgrp routine is
  788.  *    available to get foreground process group ID.
  789.  */
  790. /*#define HAS_TCGETPGRP        /**/
  791.  
  792. /* HAS_TCSETPGRP:
  793.  *    This symbol, if defined, indicates that the tcsetpgrp routine is
  794.  *    available to set foreground process group ID.
  795.  */
  796. /*#define HAS_TCSETPGRP        /**/
  797.  
  798. /* HAS_TRUNCATE:
  799.  *    This symbol, if defined, indicates that the truncate routine is
  800.  *    available to truncate files.
  801.  */
  802. /*#define HAS_TRUNCATE    /**/
  803.  
  804. /* HAS_TZNAME:
  805.  *    This symbol, if defined, indicates that the tzname[] array is
  806.  *    available to access timezone names.
  807.  */
  808. #define HAS_TZNAME        /**/
  809.  
  810. /* HAS_UMASK:
  811.  *    This symbol, if defined, indicates that the umask routine is
  812.  *    available to set and get the value of the file creation mask.
  813.  */
  814. #define HAS_UMASK        /**/
  815.  
  816. /* HAS_VFORK:
  817.  *    This symbol, if defined, indicates that vfork() exists.
  818.  */
  819. /*#define HAS_VFORK    /**/
  820.  
  821. /* HASVOLATILE:
  822.  *    This symbol, if defined, indicates that this C compiler knows about
  823.  *    the volatile declaration.
  824.  */
  825. #define    HASVOLATILE    /**/
  826. #ifndef HASVOLATILE
  827. #define volatile
  828. #endif
  829.  
  830. /* HAS_WAIT4:
  831.  *    This symbol, if defined, indicates that wait4() exists.
  832.  */
  833. /*#define HAS_WAIT4    /**/
  834.  
  835. /* HAS_WAITPID:
  836.  *    This symbol, if defined, indicates that the waitpid routine is
  837.  *    available to wait for child process.
  838.  */
  839. #define HAS_WAITPID    /**/
  840.  
  841. /* HAS_WCSTOMBS:
  842.  *    This symbol, if defined, indicates that the wcstombs routine is
  843.  *    available to convert wide character strings to multibyte strings.
  844.  */
  845. #define HAS_WCSTOMBS    /**/
  846.  
  847. /* HAS_WCTOMB:
  848.  *    This symbol, if defined, indicates that the wctomb routine is available
  849.  *    to covert a wide character to a multibyte.
  850.  */
  851. #define HAS_WCTOMB        /**/
  852.  
  853. /* EBCDIC:
  854.  *    This symbol, if defined, indicates that this system uses
  855.  *    EBCDIC encoding.
  856.  */
  857. /*#define    EBCDIC         /**/
  858.  
  859. /* I_ARPA_INET:
  860.  *    This symbol, if defined, indicates that <arpa/inet.h> exists and should
  861.  *    be included.
  862.  */
  863. #define I_ARPA_INET    /**/
  864.  
  865. /* I_DBM:
  866.  *    This symbol, if defined, indicates that <dbm.h> exists and should
  867.  *    be included.
  868.  */
  869. /* I_RPCSVC_DBM:
  870.  *    This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and
  871.  *    should be included.
  872.  */
  873. /*#define I_DBM    /**/
  874. #define I_RPCSVC_DBM    /**/
  875.  
  876. /* I_DIRENT:
  877.  *    This symbol, if defined, indicates to the C program that it should
  878.  *    include <dirent.h>. Using this symbol also triggers the definition
  879.  *    of the Direntry_t define which ends up being 'struct dirent' or
  880.  *    'struct direct' depending on the availability of <dirent.h>.
  881.  */
  882. /* DIRNAMLEN:
  883.  *    This symbol, if defined, indicates to the C program that the length
  884.  *    of directory entry names is provided by a d_namlen field.  Otherwise
  885.  *    you need to do strlen() on the d_name field.
  886.  */
  887. /* Direntry_t:
  888.  *    This symbol is set to 'struct direct' or 'struct dirent' depending on
  889.  *    whether dirent is available or not. You should use this pseudo type to
  890.  *    portably declare your directory entries.
  891.  */
  892. #define I_DIRENT        /**/
  893. #define DIRNAMLEN    /**/
  894. #define Direntry_t struct direct
  895.  
  896. /* I_DLFCN:
  897.  *    This symbol, if defined, indicates that <dlfcn.h> exists and should
  898.  *    be included.
  899.  */
  900. #define I_DLFCN        /**/
  901.  
  902. /* I_FCNTL:
  903.  *    This manifest constant tells the C program to include <fcntl.h>.
  904.  */
  905. #define I_FCNTL    /**/
  906.  
  907. /* I_FLOAT:
  908.  *    This symbol, if defined, indicates to the C program that it should
  909.  *    include <float.h> to get definition of symbols like DBL_MAX or
  910.  *    DBL_MIN, i.e. machine dependent floating point values.
  911.  */
  912. #define I_FLOAT        /**/
  913.  
  914. /* I_GRP:
  915.  *    This symbol, if defined, indicates to the C program that it should
  916.  *    include <grp.h>.
  917.  */
  918. /* GRPASSWD:
  919.  *    This symbol, if defined, indicates to the C program that struct group
  920.  *    contains gr_passwd.
  921.  */
  922. /* HAS_SETGRENT:
  923.  *    This symbol, if defined, indicates that the getgrent routine is
  924.  *    available for initializing sequential access of the group database.
  925.  */
  926. /* HAS_GETGRENT:
  927.  *    This symbol, if defined, indicates that the getgrent routine is
  928.  *    available for sequential access of the group database.
  929.  */
  930. /* HAS_ENDGRENT:
  931.  *    This symbol, if defined, indicates that the getgrent routine is
  932.  *    available for finalizing sequential access of the group database.
  933.  */
  934. /*#define I_GRP        /**/
  935. /*#define GRPASSWD    /**/
  936. /*#define HAS_SETGRENT    /**/
  937. /*#define HAS_GETGRENT    /**/
  938. /*#define HAS_ENDGRENT    /**/
  939.  
  940. /* I_LIMITS:
  941.  *    This symbol, if defined, indicates to the C program that it should
  942.  *    include <limits.h> to get definition of symbols like WORD_BIT or
  943.  *    LONG_MAX, i.e. machine dependant limitations.
  944.  */
  945. #define I_LIMITS        /**/
  946.  
  947. /* I_LOCALE:
  948.  *    This symbol, if defined, indicates to the C program that it should
  949.  *    include <locale.h>.
  950.  */
  951. #define    I_LOCALE        /**/
  952.  
  953. /* I_MATH:
  954.  *    This symbol, if defined, indicates to the C program that it should
  955.  *    include <math.h>.
  956.  */
  957. #define I_MATH        /**/
  958.  
  959. /* I_MEMORY:
  960.  *    This symbol, if defined, indicates to the C program that it should
  961.  *    include <memory.h>.
  962.  */
  963. /*#define I_MEMORY        /**/
  964.  
  965. /* I_NDBM:
  966.  *    This symbol, if defined, indicates that <ndbm.h> exists and should
  967.  *    be included.
  968.  */
  969. /*#define I_NDBM    /**/
  970.  
  971. /* I_NET_ERRNO:
  972.  *    This symbol, if defined, indicates that <net/errno.h> exists and 
  973.  *    should be included.
  974.  */
  975. /*#define I_NET_ERRNO        /**/
  976.  
  977. /* I_NETINET_IN:
  978.  *    This symbol, if defined, indicates to the C program that it should
  979.  *    include <netinet/in.h>. Otherwise, you may try <sys/in.h>.
  980.  */
  981. /*#define I_NETINET_IN    /**/
  982.  
  983. /* I_SFIO:
  984.  *    This symbol, if defined, indicates to the C program that it should
  985.  *    include <sfio.h>.
  986.  */
  987. /*#define    I_SFIO        /**/
  988.  
  989. /* I_STDDEF:
  990.  *    This symbol, if defined, indicates that <stddef.h> exists and should
  991.  *    be included.
  992.  */
  993. #define I_STDDEF    /**/
  994.  
  995. /* I_STDLIB:
  996.  *    This symbol, if defined, indicates that <stdlib.h> exists and should
  997.  *    be included.
  998.  */
  999. #define I_STDLIB        /**/
  1000.  
  1001. /* I_STRING:
  1002.  *    This symbol, if defined, indicates to the C program that it should
  1003.  *    include <string.h> (USG systems) instead of <strings.h> (BSD systems).
  1004.  */
  1005. #define I_STRING        /**/
  1006.  
  1007. /* I_SYS_DIR:
  1008.  *    This symbol, if defined, indicates to the C program that it should
  1009.  *    include <sys/dir.h>.
  1010.  */
  1011. /*#define I_SYS_DIR        /**/
  1012.  
  1013. /* I_SYS_FILE:
  1014.  *    This symbol, if defined, indicates to the C program that it should
  1015.  *    include <sys/file.h> to get definition of R_OK and friends.
  1016.  */
  1017. /*#define I_SYS_FILE        /**/
  1018.  
  1019. /* I_SYS_IOCTL:
  1020.  *    This symbol, if defined, indicates that <sys/ioctl.h> exists and should
  1021.  *    be included. Otherwise, include <sgtty.h> or <termio.h>.
  1022.  */
  1023. /*#define    I_SYS_IOCTL        /**/
  1024.  
  1025. /* I_SYS_NDIR:
  1026.  *    This symbol, if defined, indicates to the C program that it should
  1027.  *    include <sys/ndir.h>.
  1028.  */
  1029. /*#define I_SYS_NDIR    /**/
  1030.  
  1031. /* I_SYS_PARAM:
  1032.  *    This symbol, if defined, indicates to the C program that it should
  1033.  *    include <sys/param.h>.
  1034.  */
  1035. /*#define I_SYS_PARAM        /**/
  1036.  
  1037. /* I_SYS_RESOURCE:
  1038.  *    This symbol, if defined, indicates to the C program that it should
  1039.  *    include <sys/resource.h>.
  1040.  */
  1041. /*#define I_SYS_RESOURCE        /**/
  1042.  
  1043. /* I_SYS_SELECT:
  1044.  *    This symbol, if defined, indicates to the C program that it should
  1045.  *    include <sys/select.h> in order to get definition of struct timeval.
  1046.  */
  1047. /*#define I_SYS_SELECT    /**/
  1048.  
  1049. /* I_SYS_STAT:
  1050.  *    This symbol, if defined, indicates to the C program that it should
  1051.  *    include <sys/stat.h>.
  1052.  */
  1053. #define    I_SYS_STAT        /**/
  1054.  
  1055. /* I_SYS_TIMES:
  1056.  *    This symbol, if defined, indicates to the C program that it should
  1057.  *    include <sys/times.h>.
  1058.  */
  1059. /*#define    I_SYS_TIMES        /**/
  1060.  
  1061. /* I_SYS_TYPES:
  1062.  *    This symbol, if defined, indicates to the C program that it should
  1063.  *    include <sys/types.h>.
  1064.  */
  1065. #define    I_SYS_TYPES        /**/
  1066.  
  1067. /* I_SYS_UN:
  1068.  *    This symbol, if defined, indicates to the C program that it should
  1069.  *    include <sys/un.h> to get UNIX domain socket definitions.
  1070.  */
  1071. /*#define I_SYS_UN        /**/
  1072.  
  1073. /* I_SYS_WAIT:
  1074.  *    This symbol, if defined, indicates to the C program that it should
  1075.  *    include <sys/wait.h>.
  1076.  */
  1077. /*#define I_SYS_WAIT    /**/
  1078.  
  1079. /* I_TERMIO:
  1080.  *    This symbol, if defined, indicates that the program should include
  1081.  *    <termio.h> rather than <sgtty.h>.  There are also differences in
  1082.  *    the ioctl() calls that depend on the value of this symbol.
  1083.  */
  1084. /* I_TERMIOS:
  1085.  *    This symbol, if defined, indicates that the program should include
  1086.  *    the POSIX termios.h rather than sgtty.h or termio.h.
  1087.  *    There are also differences in the ioctl() calls that depend on the
  1088.  *    value of this symbol.
  1089.  */
  1090. /* I_SGTTY:
  1091.  *    This symbol, if defined, indicates that the program should include
  1092.  *    <sgtty.h> rather than <termio.h>.  There are also differences in
  1093.  *    the ioctl() calls that depend on the value of this symbol.
  1094.  */
  1095. /*#define I_TERMIO        /**/
  1096. /*#define I_TERMIOS        /**/
  1097. /*#define I_SGTTY        /**/
  1098.  
  1099. /* I_UNISTD:
  1100.  *    This symbol, if defined, indicates to the C program that it should
  1101.  *    include <unistd.h>.
  1102.  */
  1103. /*#define I_UNISTD        /**/
  1104.  
  1105. /* I_UTIME:
  1106.  *    This symbol, if defined, indicates to the C program that it should
  1107.  *    include <utime.h>.
  1108.  */
  1109. #define I_UTIME        /**/
  1110.  
  1111. /* I_VALUES:
  1112.  *    This symbol, if defined, indicates to the C program that it should
  1113.  *    include <values.h> to get definition of symbols like MINFLOAT or
  1114.  *    MAXLONG, i.e. machine dependant limitations.  Probably, you
  1115.  *    should use <limits.h> instead, if it is available.
  1116.  */
  1117. /*#define I_VALUES        /**/
  1118.  
  1119. /* I_STDARG:
  1120.  *    This symbol, if defined, indicates that <stdarg.h> exists and should
  1121.  *    be included.
  1122.  */
  1123. /* I_VARARGS:
  1124.  *    This symbol, if defined, indicates to the C program that it should
  1125.  *    include <varargs.h>.
  1126.  */
  1127. #define I_STDARG        /**/
  1128. /*#define I_VARARGS    /**/
  1129.  
  1130. /* I_VFORK:
  1131.  *    This symbol, if defined, indicates to the C program that it should
  1132.  *    include vfork.h.
  1133.  */
  1134. /*#define I_VFORK    /**/
  1135.  
  1136. /* CAN_PROTOTYPE:
  1137.  *    If defined, this macro indicates that the C compiler can handle
  1138.  *    function prototypes.
  1139.  */
  1140. /* _:
  1141.  *    This macro is used to declare function parameters for folks who want
  1142.  *    to make declarations with prototypes using a different style than
  1143.  *    the above macros.  Use double parentheses.  For example:
  1144.  *
  1145.  *        int main _((int argc, char *argv[]));
  1146.  */
  1147. #define    CAN_PROTOTYPE    /**/
  1148. #ifdef CAN_PROTOTYPE
  1149. #define    _(args) args
  1150. #else
  1151. #define    _(args) ()
  1152. #endif
  1153.  
  1154. /* SH_PATH:
  1155.  *    This symbol contains the full pathname to the shell used on this
  1156.  *    on this system to execute Bourne shell scripts.  Usually, this will be
  1157.  *    /bin/sh, though it's possible that some systems will have /bin/ksh,
  1158.  *    /bin/pdksh, /bin/ash, /bin/bash, or even something such as
  1159.  *    D:/bin/sh.exe.
  1160.  */
  1161. #define SH_PATH "cmd /x /c"  /**/
  1162.  
  1163. /* STDCHAR:
  1164.  *    This symbol is defined to be the type of char used in stdio.h.
  1165.  *    It has the values "unsigned char" or "char".
  1166.  */
  1167. #define STDCHAR char    /**/
  1168.  
  1169. /* MEM_ALIGNBYTES:
  1170.  *     This symbol contains the number of bytes required to align a
  1171.  *     double. Usual values are 2, 4 and 8.
  1172.  *     On NeXT starting with 3.2, you can build "Fat" Multiple Architecture
  1173.  *     Binaries (MAB) for targets with varying alignment.  This only matters
  1174.  *     for perl, where the config.h can be generated and installed on one
  1175.  *     system, and used by a different architecture to build an extension.
  1176.  *     The default is eight, for safety.
  1177.  */
  1178. #define MEM_ALIGNBYTES 8    /**/
  1179.  
  1180. /* BYTEORDER:
  1181.  *    This symbol holds the hexadecimal constant defined in byteorder,
  1182.  *    i.e. 0x1234 or 0x4321, etc...
  1183.  *    On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
  1184.  *    Binaries (MAB) on either big endian or little endian machines.
  1185.  *    The endian-ness is available at compile-time.  This only matters
  1186.  *    for perl, where the config.h can be generated and installed on 
  1187.  *    one system, and used by a different architecture to build an
  1188.  *    extension.  Older versions of NeXT that might not have
  1189.  *    defined either *_ENDIAN__ were all on Motorola 680x0 series,
  1190.  *    so the default case (for NeXT) is big endian to catch them. 
  1191.  *    This might matter for NeXT 3.0.
  1192.  */
  1193. #ifndef NeXT
  1194. #define BYTEORDER 0x1234    /* large digits for MSB */
  1195. #else  /* NeXT */
  1196. #ifdef __LITTLE_ENDIAN__
  1197. #define BYTEORDER 0x1234
  1198. #else /* __BIG_ENDIAN__ */
  1199. #define BYTEORDER 0x4321
  1200. #endif /* ENDIAN CHECK */
  1201. #endif /* NeXT */
  1202.  
  1203. /* CASTI32:
  1204.  *    This symbol is defined if the C compiler can cast negative
  1205.  *    or large floating point numbers to 32-bit ints.
  1206.  */
  1207. #define    CASTI32        /**/
  1208.  
  1209. /* CASTNEGFLOAT:
  1210.  *    This symbol is defined if the C compiler can cast negative
  1211.  *    numbers to unsigned longs, ints and shorts.
  1212.  */
  1213. /* CASTFLAGS:
  1214.  *    This symbol contains flags that say what difficulties the compiler
  1215.  *    has casting odd floating values to unsigned long:
  1216.  *        0 = ok
  1217.  *        1 = couldn't cast < 0
  1218.  *        2 = couldn't cast >= 0x80000000
  1219.  *        4 = couldn't cast in argument expression list
  1220.  */
  1221. #define    CASTNEGFLOAT        /**/
  1222. #define CASTFLAGS 0        /**/
  1223.  
  1224. /* VOID_CLOSEDIR:
  1225.  *    This symbol, if defined, indicates that the closedir() routine
  1226.  *    does not return a value.
  1227.  */
  1228. /*#define VOID_CLOSEDIR        /**/
  1229.  
  1230. /* Gconvert:
  1231.  *    This preprocessor macro is defined to convert a floating point
  1232.  *    number to a string without a trailing decimal point.  This
  1233.  *    emulates the behavior of sprintf("%g"), but is sometimes much more
  1234.  *    efficient.  If gconvert() is not available, but gcvt() drops the
  1235.  *    trailing decimal point, then gcvt() is used.  If all else fails,
  1236.  *    a macro using sprintf("%g") is used. Arguments for the Gconvert
  1237.  *    macro are: value, number of digits, whether trailing zeros should
  1238.  *    be retained, and the output buffer.
  1239.  *    Possible values are:
  1240.  *        d_Gconvert='gconvert((x),(n),(t),(b))'
  1241.  *        d_Gconvert='gcvt((x),(n),(b))'
  1242.  *        d_Gconvert='sprintf((b),"%.*g",(n),(x))'
  1243.  *    The last two assume trailing zeros should not be kept.
  1244.  */
  1245. #define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x))
  1246.  
  1247. /* HAS_GNULIBC:
  1248.  *    This symbol, if defined, indicates to the C program that 
  1249.  *    the GNU C library is being used.
  1250.  */
  1251. /*#define HAS_GNULIBC      /**/
  1252. /* HAS_ISASCII:
  1253.  *    This manifest constant lets the C program know that isascii 
  1254.  *    is available.
  1255.  */
  1256. #define HAS_ISASCII        /**/
  1257.  
  1258. /* HAS_LCHOWN:
  1259.  *    This symbol, if defined, indicates that the lchown routine is
  1260.  *    available to operate on a symbolic link (instead of following the
  1261.  *    link).
  1262.  */
  1263. /*#define HAS_LCHOWN        /**/
  1264.  
  1265. /* HAS_OPEN3:
  1266.  *    This manifest constant lets the C program know that the three
  1267.  *    argument form of open(2) is available.
  1268.  */
  1269. /*#define HAS_OPEN3        /**/
  1270.  
  1271. /* HAS_SAFE_BCOPY:
  1272.  *    This symbol, if defined, indicates that the bcopy routine is available
  1273.  *    to copy potentially overlapping memory blocks. Otherwise you should
  1274.  *    probably use memmove() or memcpy(). If neither is defined, roll your
  1275.  *    own version.
  1276.  */
  1277. /*#define HAS_SAFE_BCOPY    /**/
  1278.  
  1279. /* HAS_SAFE_MEMCPY:
  1280.  *    This symbol, if defined, indicates that the memcpy routine is available
  1281.  *    to copy potentially overlapping memory blocks. Otherwise you should
  1282.  *    probably use memmove() or memcpy(). If neither is defined, roll your
  1283.  *    own version.
  1284.  */
  1285. /*#define HAS_SAFE_MEMCPY    /**/
  1286.  
  1287. /* HAS_SANE_MEMCMP:
  1288.  *    This symbol, if defined, indicates that the memcmp routine is available
  1289.  *    and can be used to compare relative magnitudes of chars with their high
  1290.  *    bits set.  If it is not defined, roll your own version.
  1291.  */
  1292. #define HAS_SANE_MEMCMP    /**/
  1293.  
  1294. /* HAS_SIGACTION:
  1295.  *    This symbol, if defined, indicates that Vr4's sigaction() routine
  1296.  *    is available.
  1297.  */
  1298. /*#define HAS_SIGACTION    /**/
  1299.  
  1300. /* Sigjmp_buf:
  1301.  *    This is the buffer type to be used with Sigsetjmp and Siglongjmp.
  1302.  */
  1303. /* Sigsetjmp:
  1304.  *    This macro is used in the same way as sigsetjmp(), but will invoke
  1305.  *    traditional setjmp() if sigsetjmp isn't available.
  1306.  *    See HAS_SIGSETJMP.
  1307.  */
  1308. /* Siglongjmp:
  1309.  *    This macro is used in the same way as siglongjmp(), but will invoke
  1310.  *    traditional longjmp() if siglongjmp isn't available.
  1311.  *    See HAS_SIGSETJMP.
  1312.  */
  1313. /*#define HAS_SIGSETJMP    /**/
  1314. #ifdef HAS_SIGSETJMP
  1315. #define Sigjmp_buf sigjmp_buf
  1316. #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask))
  1317. #define Siglongjmp(buf,retval) siglongjmp((buf),(retval))
  1318. #else
  1319. #define Sigjmp_buf jmp_buf
  1320. #define Sigsetjmp(buf,save_mask) setjmp((buf))
  1321. #define Siglongjmp(buf,retval) longjmp((buf),(retval))
  1322. #endif
  1323.  
  1324. /* USE_STDIO_PTR:
  1325.  *    This symbol is defined if the _ptr and _cnt fields (or similar)
  1326.  *    of the stdio FILE structure can be used to access the stdio buffer
  1327.  *    for a file handle.  If this is defined, then the FILE_ptr(fp)
  1328.  *    and FILE_cnt(fp) macros will also be defined and should be used
  1329.  *    to access these fields.
  1330.  */
  1331. /* FILE_ptr:
  1332.  *    This macro is used to access the _ptr field (or equivalent) of the
  1333.  *    FILE structure pointed to by its argument. This macro will always be
  1334.  *    defined if USE_STDIO_PTR is defined.
  1335.  */
  1336. /* STDIO_PTR_LVALUE:
  1337.  *    This symbol is defined if the FILE_ptr macro can be used as an
  1338.  *    lvalue.
  1339.  */
  1340. /* FILE_cnt:
  1341.  *    This macro is used to access the _cnt field (or equivalent) of the
  1342.  *    FILE structure pointed to by its argument. This macro will always be
  1343.  *    defined if USE_STDIO_PTR is defined.
  1344.  */
  1345. /* STDIO_CNT_LVALUE:
  1346.  *    This symbol is defined if the FILE_cnt macro can be used as an
  1347.  *    lvalue.
  1348.  */
  1349. #define USE_STDIO_PTR     /**/
  1350. #ifdef USE_STDIO_PTR
  1351. #define FILE_ptr(fp)    ((fp)->_ptr)
  1352. #define STDIO_PTR_LVALUE         /**/
  1353. #define FILE_cnt(fp)    ((fp)->_cnt)
  1354. #define STDIO_CNT_LVALUE         /**/
  1355. #endif
  1356.  
  1357. /* USE_STDIO_BASE:
  1358.  *    This symbol is defined if the _base field (or similar) of the
  1359.  *    stdio FILE structure can be used to access the stdio buffer for
  1360.  *    a file handle.  If this is defined, then the FILE_base(fp) macro
  1361.  *    will also be defined and should be used to access this field.
  1362.  *    Also, the FILE_bufsiz(fp) macro will be defined and should be used
  1363.  *    to determine the number of bytes in the buffer.  USE_STDIO_BASE
  1364.  *    will never be defined unless USE_STDIO_PTR is.
  1365.  */
  1366. /* FILE_base:
  1367.  *    This macro is used to access the _base field (or equivalent) of the
  1368.  *    FILE structure pointed to by its argument. This macro will always be
  1369.  *    defined if USE_STDIO_BASE is defined.
  1370.  */
  1371. /* FILE_bufsiz:
  1372.  *    This macro is used to determine the number of bytes in the I/O
  1373.  *    buffer pointed to by _base field (or equivalent) of the FILE
  1374.  *    structure pointed to its argument. This macro will always be defined
  1375.  *    if USE_STDIO_BASE is defined.
  1376.  */
  1377. #define USE_STDIO_BASE     /**/
  1378. #ifdef USE_STDIO_BASE
  1379. #define FILE_base(fp)    ((fp)->_base)
  1380. #define FILE_bufsiz(fp)    ((fp)->_cnt + (fp)->_ptr - (fp)->_base)
  1381. #endif
  1382.  
  1383. /* HAS_VPRINTF:
  1384.  *    This symbol, if defined, indicates that the vprintf routine is available
  1385.  *    to printf with a pointer to an argument list.  If unavailable, you
  1386.  *    may need to write your own, probably in terms of _doprnt().
  1387.  */
  1388. /* USE_CHAR_VSPRINTF:
  1389.  *    This symbol is defined if this system has vsprintf() returning type
  1390.  *    (char*).  The trend seems to be to declare it as "int vsprintf()".  It
  1391.  *    is up to the package author to declare vsprintf correctly based on the
  1392.  *    symbol.
  1393.  */
  1394. #define HAS_VPRINTF    /**/
  1395. /*#define USE_CHAR_VSPRINTF     /**/
  1396.  
  1397. /* DOUBLESIZE:
  1398.  *    This symbol contains the size of a double, so that the C preprocessor
  1399.  *    can make decisions based on it.
  1400.  */
  1401. #define DOUBLESIZE 8        /**/
  1402.  
  1403. /* I_TIME:
  1404.  *    This symbol, if defined, indicates to the C program that it should
  1405.  *    include <time.h>.
  1406.  */
  1407. /* I_SYS_TIME:
  1408.  *    This symbol, if defined, indicates to the C program that it should
  1409.  *    include <sys/time.h>.
  1410.  */
  1411. /* I_SYS_TIME_KERNEL:
  1412.  *    This symbol, if defined, indicates to the C program that it should
  1413.  *    include <sys/time.h> with KERNEL defined.
  1414.  */
  1415. #define I_TIME        /**/
  1416. /*#define I_SYS_TIME        /**/
  1417. /*#define I_SYS_TIME_KERNEL        /**/
  1418.  
  1419. /* INTSIZE:
  1420.  *    This symbol contains the value of sizeof(int) so that the C
  1421.  *    preprocessor can make decisions based on it.
  1422.  */
  1423. /* LONGSIZE:
  1424.  *    This symbol contains the value of sizeof(long) so that the C
  1425.  *    preprocessor can make decisions based on it.
  1426.  */
  1427. /* SHORTSIZE:
  1428.  *    This symbol contains the value of sizeof(short) so that the C
  1429.  *    preprocessor can make decisions based on it.
  1430.  */
  1431. #define INTSIZE 4        /**/
  1432. #define LONGSIZE 4        /**/
  1433. #define SHORTSIZE 2        /**/
  1434.  
  1435. /* VAL_O_NONBLOCK:
  1436.  *    This symbol is to be used during open() or fcntl(F_SETFL) to turn on
  1437.  *    non-blocking I/O for the file descriptor. Note that there is no way
  1438.  *    back, i.e. you cannot turn it blocking again this way. If you wish to
  1439.  *    alternatively switch between blocking and non-blocking, use the
  1440.  *    ioctl(FIOSNBIO) call instead, but that is not supported by all devices.
  1441.  */
  1442. /* VAL_EAGAIN:
  1443.  *    This symbol holds the errno error code set by read() when no data was
  1444.  *    present on the non-blocking file descriptor.
  1445.  */
  1446. /* RD_NODATA:
  1447.  *    This symbol holds the return code from read() when no data is present
  1448.  *    on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is
  1449.  *    not defined, then you can't distinguish between no data and EOF by
  1450.  *    issuing a read(). You'll have to find another way to tell for sure!
  1451.  */
  1452. /* EOF_NONBLOCK:
  1453.  *    This symbol, if defined, indicates to the C program that a read() on
  1454.  *    a non-blocking file descriptor will return 0 on EOF, and not the value
  1455.  *    held in RD_NODATA (-1 usually, in that case!).
  1456.  */
  1457. #define VAL_O_NONBLOCK O_NONBLOCK
  1458. #define VAL_EAGAIN EAGAIN
  1459. #define RD_NODATA -1
  1460. #define EOF_NONBLOCK
  1461.  
  1462. /* PTRSIZE:
  1463.  *    This symbol contains the size of a pointer, so that the C preprocessor
  1464.  *    can make decisions based on it.  It will be sizeof(void *) if
  1465.  *    the compiler supports (void *); otherwise it will be
  1466.  *    sizeof(char *).
  1467.  */
  1468. #define PTRSIZE 4        /**/
  1469.  
  1470. /* RANDBITS:
  1471.  *    This symbol contains the number of bits of random number the rand()
  1472.  *    function produces.  Usual values are 15, 16, and 31.
  1473.  */
  1474. #define RANDBITS 15        /**/
  1475.  
  1476. /* SSize_t:
  1477.  *    This symbol holds the type used by functions that return
  1478.  *    a count of bytes or an error condition.  It must be a signed type.
  1479.  *    It is usually ssize_t, but may be long or int, etc.
  1480.  *    It may be necessary to include <sys/types.h> or <unistd.h>
  1481.  *    to get any typedef'ed information.
  1482.  *    We will pick a type such that sizeof(SSize_t) == sizeof(Size_t).
  1483.  */
  1484. #define SSize_t int     /* signed count of bytes */
  1485.  
  1486. /* OSNAME:
  1487.  *    This symbol contains the name of the operating system, as determined
  1488.  *    by Configure.  You shouldn't rely on it too much; the specific
  1489.  *    feature tests from Configure are generally more reliable.
  1490.  */
  1491. #define OSNAME "MSWin32"        /**/
  1492.  
  1493. /* CAT2:
  1494.  *    This macro catenates 2 tokens together.
  1495.  */
  1496. /* STRINGIFY:
  1497.  *    This macro surrounds its token with double quotes.
  1498.  */
  1499. #if 42 == 1
  1500. #define CAT2(a,b)a/**/b
  1501. #define STRINGIFY(a)"a"
  1502.         /* If you can get stringification with catify, tell me how! */
  1503. #endif
  1504. #if 42 == 42
  1505. #define CAT2(a,b)a ## b
  1506. #define StGiFy(a)# a
  1507. #define STRINGIFY(a)StGiFy(a)
  1508. #endif
  1509. #if 42 != 1 && 42 != 42
  1510. #include "Bletch: How does this C preprocessor catenate tokens?"
  1511. #endif
  1512.  
  1513. /* CSH:
  1514.  *    This symbol, if defined, contains the full pathname of csh.
  1515.  */
  1516. /*#define HAS_CSH        /**/
  1517. #ifdef HAS_CSH
  1518. #define CSH ""    /**/
  1519. #endif
  1520.  
  1521. /* HAS_ENDHOSTENT:
  1522.  *    This symbol, if defined, indicates that the endhostent() routine is
  1523.  *    available to close whatever was being used for host queries.
  1524.  */
  1525. /*#define HAS_ENDHOSTENT        /**/
  1526.  
  1527. /* HAS_ENDNETENT:
  1528.  *    This symbol, if defined, indicates that the endnetent() routine is
  1529.  *    available to close whatever was being used for network queries.
  1530.  */
  1531. /*#define HAS_ENDNETENT        /**/
  1532.  
  1533. /* HAS_ENDPROTOENT:
  1534.  *    This symbol, if defined, indicates that the endprotoent() routine is
  1535.  *    available to close whatever was being used for protocol queries.
  1536.  */
  1537. /*#define HAS_ENDPROTOENT        /**/
  1538.  
  1539. /* HAS_ENDSERVENT:
  1540.  *    This symbol, if defined, indicates that the endservent() routine is
  1541.  *    available to close whatever was being used for service queries.
  1542.  */
  1543. /*#define HAS_ENDSERVENT        /**/
  1544.  
  1545. /* HAS_GETHOSTBYADDR:
  1546.  *    This symbol, if defined, indicates that the gethostbyaddr() routine is
  1547.  *    available to look up hosts by their IP addresses.
  1548.  */
  1549. #define HAS_GETHOSTBYADDR        /**/
  1550.  
  1551. /* HAS_GETHOSTBYNAME:
  1552.  *    This symbol, if defined, indicates that the gethostbyname() routine is
  1553.  *    available to look up host names in some data base or other.
  1554.  */
  1555. #define HAS_GETHOSTBYNAME        /**/
  1556.  
  1557. /* HAS_GETHOSTENT:
  1558.  *    This symbol, if defined, indicates that the gethostent() routine is
  1559.  *    available to look up host names in some data base or another.
  1560.  */
  1561. /*#define HAS_GETHOSTENT        /**/
  1562.  
  1563. /* HAS_GETNETBYADDR:
  1564.  *    This symbol, if defined, indicates that the getnetbyaddr() routine is
  1565.  *    available to look up networks by their IP addresses.
  1566.  */
  1567. /*#define HAS_GETNETBYADDR        /**/
  1568.  
  1569. /* HAS_GETNETBYNAME:
  1570.  *    This symbol, if defined, indicates that the getnetbyname() routine is
  1571.  *    available to look up networks by their names.
  1572.  */
  1573. /*#define HAS_GETNETBYNAME        /**/
  1574.  
  1575. /* HAS_GETNETENT:
  1576.  *    This symbol, if defined, indicates that the getnetent() routine is
  1577.  *    available to look up network names in some data base or another.
  1578.  */
  1579. /*#define HAS_GETNETENT        /**/
  1580.  
  1581. /* HAS_GETPROTOENT:
  1582.  *    This symbol, if defined, indicates that the getprotoent() routine is
  1583.  *    available to look up protocols in some data base or another.
  1584.  */
  1585. /*#define HAS_GETPROTOENT        /**/
  1586.  
  1587. /* HAS_GETPROTOBYNAME:
  1588.  *    This symbol, if defined, indicates that the getprotobyname()
  1589.  *    routine is available to look up protocols by their name.
  1590.  */
  1591. /* HAS_GETPROTOBYNUMBER:
  1592.  *    This symbol, if defined, indicates that the getprotobynumber()
  1593.  *    routine is available to look up protocols by their number.
  1594.  */
  1595. #define HAS_GETPROTOBYNAME        /**/
  1596. #define HAS_GETPROTOBYNUMBER        /**/
  1597.  
  1598. /* HAS_GETSERVENT:
  1599.  *    This symbol, if defined, indicates that the getservent() routine is
  1600.  *    available to look up network services in some data base or another.
  1601.  */
  1602. /*#define HAS_GETSERVENT        /**/
  1603.  
  1604. /* HAS_GETSERVBYNAME:
  1605.  *    This symbol, if defined, indicates that the getservbyname()
  1606.  *    routine is available to look up services by their name.
  1607.  */
  1608. /* HAS_GETSERVBYPORT:
  1609.  *    This symbol, if defined, indicates that the getservbyport()
  1610.  *    routine is available to look up services by their port.
  1611.  */
  1612. #define HAS_GETSERVBYNAME        /**/
  1613. #define HAS_GETSERVBYPORT        /**/
  1614.  
  1615. /* HAS_LONG_DOUBLE:
  1616.  *    This symbol will be defined if the C compiler supports long
  1617.  *    doubles.
  1618.  */
  1619. /* LONG_DOUBLESIZE:
  1620.  *    This symbol contains the size of a long double, so that the 
  1621.  *    C preprocessor can make decisions based on it.  It is only
  1622.  *    defined if the system supports long doubles.
  1623.  */
  1624. #define HAS_LONG_DOUBLE        /**/
  1625. #ifdef HAS_LONG_DOUBLE
  1626. #define LONG_DOUBLESIZE 10        /**/
  1627. #endif
  1628.  
  1629. /* HAS_LONG_LONG:
  1630.  *    This symbol will be defined if the C compiler supports
  1631.  *    long long.
  1632.  */
  1633. /* LONGLONGSIZE:
  1634.  *    This symbol contains the size of a long long, so that the 
  1635.  *    C preprocessor can make decisions based on it.  It is only
  1636.  *    defined if the system supports long long.
  1637.  */
  1638. /*#define HAS_LONG_LONG        /**/
  1639. #ifdef HAS_LONG_LONG
  1640. #define LONGLONGSIZE 8        /**/
  1641. #endif
  1642.  
  1643. /* HAS_SETGROUPS:
  1644.  *    This symbol, if defined, indicates that the setgroups() routine is
  1645.  *    available to set the list of process groups.  If unavailable, multiple
  1646.  *    groups are probably not supported.
  1647.  */
  1648. /*#define HAS_SETGROUPS        /**/
  1649.  
  1650. /* HAS_SETHOSTENT:
  1651.  *    This symbol, if defined, indicates that the sethostent() routine is
  1652.  *    available.
  1653.  */
  1654. /*#define HAS_SETHOSTENT        /**/
  1655.  
  1656. /* HAS_SETNETENT:
  1657.  *    This symbol, if defined, indicates that the setnetent() routine is
  1658.  *    available.
  1659.  */
  1660. /*#define HAS_SETNETENT        /**/
  1661.  
  1662. /* HAS_SETPROTOENT:
  1663.  *    This symbol, if defined, indicates that the setprotoent() routine is
  1664.  *    available.
  1665.  */
  1666. /*#define HAS_SETPROTOENT        /**/
  1667.  
  1668. /* HAS_SETSERVENT:
  1669.  *    This symbol, if defined, indicates that the setservent() routine is
  1670.  *    available.
  1671.  */
  1672. /*#define HAS_SETSERVENT        /**/
  1673.  
  1674. /* HAS_SETVBUF:
  1675.  *    This symbol, if defined, indicates that the setvbuf routine is
  1676.  *    available to change buffering on an open stdio stream.
  1677.  *    to a line-buffered mode.
  1678.  */
  1679. #define HAS_SETVBUF        /**/
  1680.  
  1681. /* HAS_SOCKET:
  1682.  *    This symbol, if defined, indicates that the BSD socket interface is
  1683.  *    supported.
  1684.  */
  1685. /* HAS_SOCKETPAIR:
  1686.  *    This symbol, if defined, indicates that the BSD socketpair() call is
  1687.  *    supported.
  1688.  */
  1689. #define HAS_SOCKET        /**/
  1690. /*#define HAS_SOCKETPAIR    /**/
  1691.  
  1692. /* HAS_UNION_SEMUN:
  1693.  *    This symbol, if defined, indicates that the union semun is
  1694.  *    defined by including <sys/sem.h>.  If not, the user code
  1695.  *    probably needs to define it as:
  1696.  *    union semun {
  1697.  *        int val;
  1698.  *        struct semid_ds *buf;
  1699.  *        unsigned short *array;
  1700.  *    }
  1701.  */
  1702. /* USE_SEMCTL_SEMUN:
  1703.  *    This symbol, if defined, indicates that union semun is
  1704.  *    used for semctl IPC_STAT.
  1705.  */
  1706. /* USE_SEMCTL_SEMID_DS:
  1707.  *    This symbol, if defined, indicates that struct semid_ds * is
  1708.  *    used for semctl IPC_STAT.
  1709.  */
  1710. #define HAS_UNION_SEMUN    /**/
  1711. /*#define USE_SEMCTL_SEMUN    /**/
  1712. /*#define USE_SEMCTL_SEMID_DS    /**/
  1713.  
  1714. /* Signal_t:
  1715.  *    This symbol's value is either "void" or "int", corresponding to the
  1716.  *    appropriate return type of a signal handler.  Thus, you can declare
  1717.  *    a signal handler using "Signal_t (*handler)()", and define the
  1718.  *    handler using "Signal_t handler(sig)".
  1719.  */
  1720. #define Signal_t void    /* Signal handler's return type */
  1721.  
  1722. /* Groups_t:
  1723.  *    This symbol holds the type used for the second argument to
  1724.  *    getgroups() and setgropus().  Usually, this is the same as
  1725.  *    gidtype (gid_t) , but sometimes it isn't.
  1726.  *    It can be int, ushort, uid_t, etc... 
  1727.  *    It may be necessary to include <sys/types.h> to get any 
  1728.  *    typedef'ed information.  This is only required if you have
  1729.  *    getgroups() or setgropus()..
  1730.  */
  1731. #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS)
  1732. #define Groups_t gid_t    /* Type for 2nd arg to [sg]etgroups() */
  1733. #endif
  1734.  
  1735. /* I_NETDB:
  1736.  *    This symbol, if defined, indicates that <netdb.h> exists and
  1737.  *    should be included.
  1738.  */
  1739. /*#define I_NETDB        /**/
  1740.  
  1741. /* I_PWD:
  1742.  *    This symbol, if defined, indicates to the C program that it should
  1743.  *    include <pwd.h>.
  1744.  */
  1745. /* PWQUOTA:
  1746.  *    This symbol, if defined, indicates to the C program that struct passwd
  1747.  *    contains pw_quota.
  1748.  */
  1749. /* PWAGE:
  1750.  *    This symbol, if defined, indicates to the C program that struct passwd
  1751.  *    contains pw_age.
  1752.  */
  1753. /* PWCHANGE:
  1754.  *    This symbol, if defined, indicates to the C program that struct passwd
  1755.  *    contains pw_change.
  1756.  */
  1757. /* PWCLASS:
  1758.  *    This symbol, if defined, indicates to the C program that struct passwd
  1759.  *    contains pw_class.
  1760.  */
  1761. /* PWEXPIRE:
  1762.  *    This symbol, if defined, indicates to the C program that struct passwd
  1763.  *    contains pw_expire.
  1764.  */
  1765. /* PWCOMMENT:
  1766.  *    This symbol, if defined, indicates to the C program that struct passwd
  1767.  *    contains pw_comment.
  1768.  */
  1769. /* PWGECOS:
  1770.  *    This symbol, if defined, indicates to the C program that struct passwd
  1771.  *    contains pw_gecos.
  1772.  */
  1773. /* PWPASSWD:
  1774.  *    This symbol, if defined, indicates to the C program that struct passwd
  1775.  *    contains pw_passwd.
  1776.  */
  1777. /* HAS_SETPWENT:
  1778.  *    This symbol, if defined, indicates that the getpwrent routine is
  1779.  *    available for initializing sequential access of the passwd database.
  1780.  */
  1781. /* HAS_GETPWENT:
  1782.  *    This symbol, if defined, indicates that the getpwent routine is
  1783.  *    available for sequential access of the password database.
  1784.  */
  1785. /* HAS_ENDPWENT:
  1786.  *    This symbol, if defined, indicates that the getpwent routine is
  1787.  *    available for finalizing sequential access of the passwd database.
  1788.  */
  1789. /*#define I_PWD        /**/
  1790. /*#define PWQUOTA    /**/
  1791. /*#define PWAGE    /**/
  1792. /*#define PWCHANGE    /**/
  1793. /*#define PWCLASS    /**/
  1794. /*#define PWEXPIRE    /**/
  1795. /*#define PWCOMMENT    /**/
  1796. /*#define PWGECOS    /**/
  1797. /*#define PWPASSWD    /**/
  1798. /*#define HAS_SETPWENT    /**/
  1799. /*#define HAS_GETPWENT    /**/
  1800. /*#define HAS_ENDPWENT    /**/
  1801.  
  1802. /* Free_t:
  1803.  *    This variable contains the return type of free().  It is usually
  1804.  * void, but occasionally int.
  1805.  */
  1806. /* Malloc_t:
  1807.  *    This symbol is the type of pointer returned by malloc and realloc.
  1808.  */
  1809. #define Malloc_t void *            /**/
  1810. #define Free_t void            /**/
  1811.  
  1812. /* MYMALLOC:
  1813.  *    This symbol, if defined, indicates that we're using our own malloc.
  1814.  */
  1815. /*#define MYMALLOC            /**/
  1816.  
  1817. /* SIG_NAME:
  1818.  *    This symbol contains a list of signal names in order of
  1819.  *    signal number. This is intended
  1820.  *    to be used as a static array initialization, like this:
  1821.  *        char *sig_name[] = { SIG_NAME };
  1822.  *    The signals in the list are separated with commas, and each signal
  1823.  *    is surrounded by double quotes. There is no leading SIG in the signal
  1824.  *    name, i.e. SIGQUIT is known as "QUIT".
  1825.  *    Gaps in the signal numbers (up to NSIG) are filled in with NUMnn,
  1826.  *    etc., where nn is the actual signal number (e.g. NUM37).
  1827.  *    The signal number for sig_name[i] is stored in sig_num[i].
  1828.  *    The last element is 0 to terminate the list with a NULL.  This
  1829.  *    corresponds to the 0 at the end of the sig_num list.
  1830.  */
  1831. /* SIG_NUM:
  1832.  *    This symbol contains a list of signal numbers, in the same order as the
  1833.  *    SIG_NAME list. It is suitable for static array initialization, as in:
  1834.  *        int sig_num[] = { SIG_NUM };
  1835.  *    The signals in the list are separated with commas, and the indices
  1836.  *    within that list and the SIG_NAME list match, so it's easy to compute
  1837.  *    the signal name from a number or vice versa at the price of a small
  1838.  *    dynamic linear lookup. 
  1839.  *    Duplicates are allowed, but are moved to the end of the list.
  1840.  *    The signal number corresponding to sig_name[i] is sig_number[i].
  1841.  *    if (i < NSIG) then sig_number[i] == i.  
  1842.  *    The last element is 0, corresponding to the 0 at the end of
  1843.  *    the sig_name list.
  1844.  */
  1845. #define SIG_NAME "ZERO", "NUM01", "INT", "QUIT", "ILL", "NUM05", "NUM06", "NUM07", "FPE", "KILL", "NUM10", "SEGV", "NUM12", "PIPE", "ALRM", "TERM", "NUM16", "NUM17", "NUM18", "NUM19", "CHLD", "BREAK", "ABRT", "STOP", "NUM24", "CONT", "CLD", 0        /**/
  1846. #define SIG_NUM  0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 20, 0        /**/
  1847.  
  1848. /* VOIDFLAGS:
  1849.  *    This symbol indicates how much support of the void type is given by this
  1850.  *    compiler.  What various bits mean:
  1851.  *
  1852.  *        1 = supports declaration of void
  1853.  *        2 = supports arrays of pointers to functions returning void
  1854.  *        4 = supports comparisons between pointers to void functions and
  1855.  *            addresses of void functions
  1856.  *        8 = suports declaration of generic void pointers
  1857.  *
  1858.  *    The package designer should define VOIDUSED to indicate the requirements
  1859.  *    of the package.  This can be done either by #defining VOIDUSED before
  1860.  *    including config.h, or by defining defvoidused in Myinit.U.  If the
  1861.  *    latter approach is taken, only those flags will be tested.  If the
  1862.  *    level of void support necessary is not present, defines void to int.
  1863.  */
  1864. #ifndef VOIDUSED
  1865. #define VOIDUSED 15
  1866. #endif
  1867. #define VOIDFLAGS 15
  1868. #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
  1869. #define void int        /* is void to be avoided? */
  1870. #define M_VOID            /* Xenix strikes again */
  1871. #endif
  1872.  
  1873. /* ARCHLIB:
  1874.  *    This variable, if defined, holds the name of the directory in
  1875.  *    which the user wants to put architecture-dependent public
  1876.  *    library files for perl5.  It is most often a local directory
  1877.  *    such as /usr/local/lib.  Programs using this variable must be
  1878.  *    prepared to deal with filename expansion.  If ARCHLIB is the
  1879.  *    same as PRIVLIB, it is not defined, since presumably the
  1880.  *    program already searches PRIVLIB.
  1881.  */
  1882. /* ARCHLIB_EXP:
  1883.  *    This symbol contains the ~name expanded version of ARCHLIB, to be used
  1884.  *    in programs that are not prepared to deal with ~ expansion at run-time.
  1885.  */
  1886. #define ARCHLIB "P:\\Apps\\ActivePerl\\temp\\lib\\MSWin32-x86-object"        /**/
  1887. /*#define ARCHLIB_EXP ""    /**/
  1888.  
  1889. /* DLSYM_NEEDS_UNDERSCORE:
  1890.  *    This symbol, if defined, indicates that we need to prepend an
  1891.  *    underscore to the symbol name before calling dlsym().  This only
  1892.  *    makes sense if you *have* dlsym, which we will presume is the
  1893.  *    case if you're using dl_dlopen.xs.
  1894.  */
  1895. /*#define     DLSYM_NEEDS_UNDERSCORE     /**/
  1896.  
  1897. /* USE_SFIO:
  1898.  *    This symbol, if defined, indicates that sfio should
  1899.  *    be used.
  1900.  */
  1901. /*#define    USE_SFIO        /**/
  1902.  
  1903. /* USE_DYNAMIC_LOADING:
  1904.  *    This symbol, if defined, indicates that dynamic loading of
  1905.  *    some sort is available.
  1906.  */
  1907. #define USE_DYNAMIC_LOADING        /**/
  1908.  
  1909. /* DB_Prefix_t:
  1910.  *    This symbol contains the type of the prefix structure element
  1911.  *    in the <db.h> header file.  In older versions of DB, it was
  1912.  *    int, while in newer ones it is u_int32_t.
  1913.  */
  1914. /* DB_Hash_t:
  1915.  *    This symbol contains the type of the prefix structure element
  1916.  *    in the <db.h> header file.  In older versions of DB, it was
  1917.  *    int, while in newer ones it is size_t.
  1918.  */
  1919. #define DB_Hash_t    int        /**/
  1920. #define DB_Prefix_t    int      /**/
  1921.  
  1922. /* PRIVLIB:
  1923.  *    This symbol contains the name of the private library for this package.
  1924.  *    The library is private in the sense that it needn't be in anyone's
  1925.  *    execution path, but it should be accessible by the world.  The program
  1926.  *    should be prepared to do ~ expansion.
  1927.  */
  1928. /* PRIVLIB_EXP:
  1929.  *    This symbol contains the ~name expanded version of PRIVLIB, to be used
  1930.  *    in programs that are not prepared to deal with ~ expansion at run-time.
  1931.  */
  1932. #define PRIVLIB "P:\\Apps\\ActivePerl\\temp\\lib"        /**/
  1933. #define PRIVLIB_EXP (win32_get_privlib("5.00503"))    /**/
  1934.  
  1935. /* SELECT_MIN_BITS:
  1936.  *    This symbol holds the minimum number of bits operated by select.
  1937.  *    That is, if you do select(n, ...), how many bits at least will be
  1938.  *    cleared in the masks if some activity is detected.  Usually this
  1939.  *    is either n or 32*ceil(n/32), especially many little-endians do
  1940.  *    the latter.  This is only useful if you have select(), naturally.
  1941.  */
  1942. #define SELECT_MIN_BITS     undef    /**/
  1943.  
  1944. /* SITEARCH:
  1945.  *    This symbol contains the name of the private library for this package.
  1946.  *    The library is private in the sense that it needn't be in anyone's
  1947.  *    execution path, but it should be accessible by the world.  The program
  1948.  *    should be prepared to do ~ expansion.
  1949.  *    The standard distribution will put nothing in this directory.
  1950.  *    Individual sites may place their own extensions and modules in
  1951.  *    this directory.
  1952.  */
  1953. /* SITEARCH_EXP:
  1954.  *    This symbol contains the ~name expanded version of SITEARCH, to be used
  1955.  *    in programs that are not prepared to deal with ~ expansion at run-time.
  1956.  */
  1957. #define SITEARCH "P:\\Apps\\ActivePerl\\temp\\site\\lib\\MSWin32-x86-object"        /**/
  1958. /*#define SITEARCH_EXP ""    /**/
  1959.  
  1960. /* SITELIB:
  1961.  *    This symbol contains the name of the private library for this package.
  1962.  *    The library is private in the sense that it needn't be in anyone's
  1963.  *    execution path, but it should be accessible by the world.  The program
  1964.  *    should be prepared to do ~ expansion.
  1965.  *    The standard distribution will put nothing in this directory.
  1966.  *    Individual sites may place their own extensions and modules in
  1967.  *    this directory.
  1968.  */
  1969. /* SITELIB_EXP:
  1970.  *    This symbol contains the ~name expanded version of SITELIB, to be used
  1971.  *    in programs that are not prepared to deal with ~ expansion at run-time.
  1972.  */
  1973. #define SITELIB "P:\\Apps\\ActivePerl\\temp\\site\\lib"        /**/
  1974. #define SITELIB_EXP (win32_get_sitelib("5.00503"))    /**/
  1975.  
  1976. /* STARTPERL:
  1977.  *    This variable contains the string to put in front of a perl
  1978.  *    script to make sure (one hopes) that it runs with perl and not
  1979.  *    some shell.
  1980.  */
  1981. #define STARTPERL "#!perl"        /**/
  1982.  
  1983. /* USE_PERLIO:
  1984.  *    This symbol, if defined, indicates that the PerlIO abstraction should
  1985.  *    be used throughout.  If not defined, stdio should be
  1986.  *    used in a fully backward compatible manner.
  1987.  */
  1988. /*#define    USE_PERLIO        /**/
  1989.  
  1990. /* HAS_GETHOST_PROTOS:
  1991.  *    This symbol, if defined, indicates that <netdb.h> includes
  1992.  *    prototypes for gethostent(), gethostbyname(), and
  1993.  *    gethostbyaddr().  Otherwise, it is up to the program to guess
  1994.  *    them.  See netdbtype.U for probing for various Netdb_xxx_t types.
  1995.  */
  1996. #define    HAS_GETHOST_PROTOS    /**/
  1997.  
  1998. /* HAS_GETNET_PROTOS:
  1999.  *    This symbol, if defined, indicates that <netdb.h> includes
  2000.  *    prototypes for getnetent(), getnetbyname(), and
  2001.  *    getnetbyaddr().  Otherwise, it is up to the program to guess
  2002.  *    them.  See netdbtype.U for probing for various Netdb_xxx_t types.
  2003.  */
  2004. /*#define    HAS_GETNET_PROTOS    /**/
  2005.  
  2006. /* HAS_GETPROTO_PROTOS:
  2007.  *    This symbol, if defined, indicates that <netdb.h> includes
  2008.  *    prototypes for getprotoent(), getprotobyname(), and
  2009.  *    getprotobyaddr().  Otherwise, it is up to the program to guess
  2010.  *    them.  See netdbtype.U for probing for various Netdb_xxx_t types.
  2011.  */
  2012. #define    HAS_GETPROTO_PROTOS    /**/
  2013.  
  2014. /* HAS_GETSERV_PROTOS:
  2015.  *    This symbol, if defined, indicates that <netdb.h> includes
  2016.  *    prototypes for getservent(), getservbyname(), and
  2017.  *    getservbyaddr().  Otherwise, it is up to the program to guess
  2018.  *    them.  See netdbtype.U for probing for various Netdb_xxx_t types.
  2019.  */
  2020. #define    HAS_GETSERV_PROTOS    /**/
  2021.  
  2022. /* Netdb_host_t:
  2023.  *    This symbol holds the type used for the 1st argument
  2024.  *    to gethostbyaddr().
  2025.  */
  2026. /* Netdb_hlen_t:
  2027.  *    This symbol holds the type used for the 2nd argument
  2028.  *    to gethostbyaddr().
  2029.  */
  2030. /* Netdb_name_t:
  2031.  *    This symbol holds the type used for the argument to
  2032.  *    gethostbyname().
  2033.  */
  2034. /* Netdb_net_t:
  2035.  *    This symbol holds the type used for the 1st argument to
  2036.  *    getnetbyaddr().
  2037.  */
  2038. #define Netdb_host_t        char * /**/
  2039. #define Netdb_hlen_t        int /**/
  2040. #define Netdb_name_t        char * /**/
  2041. #define Netdb_net_t        long /**/
  2042.  
  2043. /* Select_fd_set_t:
  2044.  *    This symbol holds the type used for the 2nd, 3rd, and 4th
  2045.  *    arguments to select.  Usually, this is 'fd_set *', if HAS_FD_SET
  2046.  *    is defined, and 'int *' otherwise.  This is only useful if you 
  2047.  *    have select(), of course.
  2048.  */
  2049. #define Select_fd_set_t     Perl_fd_set *    /**/
  2050.  
  2051. /* ARCHNAME:
  2052.  *    This symbol holds a string representing the architecture name.
  2053.  *    It may be used to construct an architecture-dependant pathname
  2054.  *    where library files may be held under a private library, for
  2055.  *    instance.
  2056.  */
  2057. #define ARCHNAME "MSWin32-x86-object"        /**/
  2058.  
  2059. /* I_MACH_CTHREADS:
  2060.  *    This symbol, if defined, indicates to the C program that it should
  2061.  *    include <mach/cthreads.h>.
  2062.  */
  2063. /*#define    I_MACH_CTHREADS         /**/
  2064.  
  2065. /* I_PTHREAD:
  2066.  *    This symbol, if defined, indicates to the C program that it should
  2067.  *    include <pthread.h>.
  2068.  */
  2069. /*#define   I_PTHREAD               /**/
  2070.  
  2071. /* HAS_PTHREAD_YIELD:
  2072.  *    This symbol, if defined, indicates that the pthread_yield 
  2073.  *    routine is available to yield the execution of the current
  2074.  *    thread.
  2075.  */
  2076. /* HAS_SCHED_YIELD:
  2077.  *    This symbol, if defined, indicates that the sched_yield
  2078.  *    routine is available to yield the execution of the current
  2079.  *    thread.
  2080.  */
  2081. /*#define HAS_PTHREAD_YIELD    /**/
  2082. /*#define HAS_SCHED_YIELD    /**/
  2083.  
  2084. /* PTHREADS_CREATED_JOINABLE:
  2085.  *    This symbol, if defined, indicates that pthreads are created
  2086.  *    in the joinable (aka undetached) state.
  2087.  */
  2088. /*#define PTHREADS_CREATED_JOINABLE /**/
  2089.  
  2090. /* USE_THREADS:
  2091.  *    This symbol, if defined, indicates that Perl should
  2092.  *    be built to use threads.
  2093.  */
  2094. /* OLD_PTHREADS_API:
  2095.  *    This symbol, if defined, indicates that Perl should
  2096.  *    be built to use the old draft POSIX threads API.
  2097.  */
  2098. /*#define    USE_THREADS        /**/
  2099. /*#define    OLD_PTHREADS_API        /**/
  2100.  
  2101. /* Time_t:
  2102.  *    This symbol holds the type returned by time(). It can be long,
  2103.  *    or time_t on BSD sites (in which case <sys/types.h> should be
  2104.  *    included).
  2105.  */
  2106. #define Time_t time_t        /* Time type */
  2107.  
  2108. /* HAS_TIMES:
  2109.  *    This symbol, if defined, indicates that the times() routine exists.
  2110.  *    Note that this became obsolete on some systems (SUNOS), which now
  2111.  * use getrusage(). It may be necessary to include <sys/times.h>.
  2112.  */
  2113. #define HAS_TIMES        /**/
  2114.  
  2115. /* Fpos_t:
  2116.  *    This symbol holds the type used to declare file positions in libc.
  2117.  *    It can be fpos_t, long, uint, etc... It may be necessary to include
  2118.  *    <sys/types.h> to get any typedef'ed information.
  2119.  */
  2120. #define Fpos_t fpos_t        /* File position type */
  2121.  
  2122. /* Gid_t:
  2123.  *    This symbol holds the return type of getgid() and the type of
  2124.  *    argument to setrgid() and related functions.  Typically,
  2125.  *    it is the type of group ids in the kernel. It can be int, ushort,
  2126.  *    uid_t, etc... It may be necessary to include <sys/types.h> to get
  2127.  *    any typedef'ed information.
  2128.  */
  2129. #define Gid_t gid_t        /* Type for getgid(), etc... */
  2130.  
  2131. /* Off_t:
  2132.  *    This symbol holds the type used to declare offsets in the kernel.
  2133.  *    It can be int, long, off_t, etc... It may be necessary to include
  2134.  *    <sys/types.h> to get any typedef'ed information.
  2135.  */
  2136. #define Off_t off_t        /* <offset> type */
  2137.  
  2138. /* Mode_t:
  2139.  *    This symbol holds the type used to declare file modes 
  2140.  *    for systems calls.  It is usually mode_t, but may be
  2141.  *    int or unsigned short.  It may be necessary to include <sys/types.h>
  2142.  *    to get any typedef'ed information.
  2143.  */
  2144. #define Mode_t mode_t     /* file mode parameter for system calls */
  2145.  
  2146. /* Pid_t:
  2147.  *    This symbol holds the type used to declare process ids in the kernel.
  2148.  *    It can be int, uint, pid_t, etc... It may be necessary to include
  2149.  *    <sys/types.h> to get any typedef'ed information.
  2150.  */
  2151. #define Pid_t int        /* PID type */
  2152.  
  2153. /* Size_t:
  2154.  *    This symbol holds the type used to declare length parameters
  2155.  *    for string functions.  It is usually size_t, but may be
  2156.  *    unsigned long, int, etc.  It may be necessary to include
  2157.  *    <sys/types.h> to get any typedef'ed information.
  2158.  */
  2159. #define Size_t size_t     /* length paramater for string functions */
  2160.  
  2161. /* Uid_t:
  2162.  *    This symbol holds the type used to declare user ids in the kernel.
  2163.  *    It can be int, ushort, uid_t, etc... It may be necessary to include
  2164.  *    <sys/types.h> to get any typedef'ed information.
  2165.  */
  2166. #define Uid_t uid_t        /* UID type */
  2167.  
  2168. #endif
  2169. #include <win32.h>
  2170.