home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / gnu / perl-4.036.tar.gz / perl-4.036.tar / perl-4.036 / config_h.SH (.txt) < prev    next >
Microsoft Windows Help File Content  |  1993-02-08  |  27KB  |  649 lines

  1. : make config.h.SH
  2. case $CONFIG in
  3.     if test ! -f config.sh; then
  4.     ln ../config.sh . || \
  5.     ln ../../config.sh . || \
  6.     ln ../../../config.sh . || \
  7.     (echo "Can't find config.sh."; exit 1)
  8.     echo "Using config.sh from above..."
  9.     fi 2>/dev/null
  10.     . ./config.sh
  11.     ;;
  12. echo "Extracting config.h (with variable substitutions)"
  13. sed <<!GROK!THIS! >config.h -e 's!^#undef!/\*#undef!'
  14. #ifndef config_h
  15. #define config_h
  16. /* config.h
  17.  * This file was produced by running the config.h.SH script, which
  18.  * gets its values from config.sh, which is generally produced by
  19.  * running Configure.
  20.  * Feel free to modify any of this as the need arises.  Note, however,
  21.  * that running config.h.SH again will wipe out any changes you've made.
  22.  * For a more permanent change edit config.sh and rerun config.h.SH.
  23.  /*SUPPRESS 460*/
  24. /* EUNICE
  25.  *    This symbol, if defined, indicates that the program is being compiled
  26.  *    under the EUNICE package under VMS.  The program will need to handle
  27.  *    things like files that don't go away the first time you unlink them,
  28.  *    due to version numbering.  It will also need to compensate for lack
  29.  *    of a respectable link() command.
  30. /* VMS
  31.  *    This symbol, if defined, indicates that the program is running under
  32.  *    VMS.  It is currently only set in conjunction with the EUNICE symbol.
  33. #$d_eunice    EUNICE        /**/
  34. #$d_eunice    VMS        /**/
  35. /* LOC_SED
  36.  *     This symbol holds the complete pathname to the sed program.
  37. #define LOC_SED "$sed"             /**/
  38. /* ALIGNBYTES
  39.  *    This symbol contains the number of bytes required to align a double.
  40.  *    Usual values are 2, 4, and 8.
  41. #define ALIGNBYTES $alignbytes        /**/
  42. /* BIN
  43.  *    This symbol holds the name of the directory in which the user wants
  44.  *    to keep publicly executable images for the package in question.  It
  45.  *    is most often a local directory such as /usr/local/bin.
  46. #define BIN "$bin"             /**/
  47. /* BYTEORDER
  48.  *    This symbol contains an encoding of the order of bytes in a long.
  49.  *    Usual values (in hex) are 0x1234, 0x4321, 0x2143, 0x3412...
  50. #define BYTEORDER 0x$byteorder        /**/
  51. /* CPPSTDIN
  52.  *    This symbol contains the first part of the string which will invoke
  53.  *    the C preprocessor on the standard input and produce to standard
  54.  *    output.     Typical value of "cc -E" or "/lib/cpp".
  55. /* CPPMINUS
  56.  *    This symbol contains the second part of the string which will invoke
  57.  *    the C preprocessor on the standard input and produce to standard
  58.  *    output.  This symbol will have the value "-" if CPPSTDIN needs a minus
  59.  *    to specify standard input, otherwise the value is "".
  60. #define CPPSTDIN "$cppstdin"
  61. #define CPPMINUS "$cppminus"
  62. /* HAS_BCMP
  63.  *    This symbol, if defined, indicates that the bcmp routine is available
  64.  *    to compare blocks of memory.  If undefined, use memcmp.  If that's
  65.  *    not available, roll your own.
  66. #$d_bcmp    HAS_BCMP        /**/
  67. /* HAS_BCOPY
  68.  *    This symbol, if defined, indicates that the bcopy routine is available
  69.  *    to copy blocks of memory.  Otherwise you should probably use memcpy().
  70.  *    If neither is defined, roll your own.
  71. /* SAFE_BCOPY
  72.  *    This symbol, if defined, indicates that the bcopy routine is available
  73.  *    to copy potentially overlapping copy blocks of bcopy.  Otherwise you
  74.  *    should probably use memmove() or memcpy().  If neither is defined,
  75.  *    roll your own.
  76. #$d_bcopy    HAS_BCOPY        /**/
  77. #$d_safebcpy    SAFE_BCOPY        /**/
  78. /* HAS_BZERO
  79.  *    This symbol, if defined, indicates that the bzero routine is available
  80.  *    to zero blocks of memory.  Otherwise you should probably use memset()
  81.  *    or roll your own.
  82. #$d_bzero    HAS_BZERO        /**/
  83. /* CASTNEGFLOAT
  84.  *    This symbol, if defined, indicates that this C compiler knows how to
  85.  *    cast negative or large floating point numbers to unsigned longs, ints
  86.  *    and shorts.
  87. /* CASTFLAGS
  88.  *    This symbol contains flags that say what difficulties the compiler
  89.  *    has casting odd floating values to unsigned long:
  90.  *        1 = couldn't cast < 0
  91.  *        2 = couldn't cast >= 0x80000000
  92. #$d_castneg    CASTNEGFLOAT    /**/
  93. #define    CASTFLAGS $castflags    /**/
  94. /* CHARSPRINTF
  95.  *    This symbol is defined if this system declares "char *sprintf()" in
  96.  *    stdio.h.  The trend seems to be to declare it as "int sprintf()".  It
  97.  *    is up to the package author to declare sprintf correctly based on the
  98.  *    symbol.
  99. #$d_charsprf    CHARSPRINTF     /**/
  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. #$d_chsize    HAS_CHSIZE        /**/
  104. /* HAS_CRYPT
  105.  *    This symbol, if defined, indicates that the crypt routine is available
  106.  *    to encrypt passwords and the like.
  107. #$d_crypt    HAS_CRYPT        /**/
  108. /* CSH
  109.  *    This symbol, if defined, indicates that the C-shell exists.
  110.  *    If defined, contains the full pathname of csh.
  111. #$d_csh CSH "$csh"        /**/
  112. /* DOSUID
  113.  *    This symbol, if defined, indicates that the C program should
  114.  *    check the script that it is executing for setuid/setgid bits, and
  115.  *    attempt to emulate setuid/setgid on systems that have disabled
  116.  *    setuid #! scripts because the kernel can't do it securely.
  117.  *    It is up to the package designer to make sure that this emulation
  118.  *    is done securely.  Among other things, it should do an fstat on
  119.  *    the script it just opened to make sure it really is a setuid/setgid
  120.  *    script, it should make sure the arguments passed correspond exactly
  121.  *    to the argument on the #! line, and it should not trust any
  122.  *    subprocesses to which it must pass the filename rather than the
  123.  *    file descriptor of the script to be executed.
  124. #$d_dosuid DOSUID        /**/
  125. /* HAS_DUP2
  126.  *    This symbol, if defined, indicates that the dup2 routine is available
  127.  *    to dup file descriptors.  Otherwise you should use dup().
  128. #$d_dup2    HAS_DUP2        /**/
  129. /* HAS_FCHMOD
  130.  *    This symbol, if defined, indicates that the fchmod routine is available
  131.  *    to change mode of opened files.  If unavailable, use chmod().
  132. #$d_fchmod    HAS_FCHMOD        /**/
  133. /* HAS_FCHOWN
  134.  *    This symbol, if defined, indicates that the fchown routine is available
  135.  *    to change ownership of opened files.  If unavailable, use chown().
  136. #$d_fchown    HAS_FCHOWN        /**/
  137. /* HAS_FCNTL
  138.  *    This symbol, if defined, indicates to the C program that
  139.  *    the fcntl() function exists.
  140. #$d_fcntl    HAS_FCNTL        /**/
  141. /* FLEXFILENAMES
  142.  *    This symbol, if defined, indicates that the system supports filenames
  143.  *    longer than 14 characters.
  144. #$d_flexfnam    FLEXFILENAMES        /**/
  145. /* HAS_FLOCK
  146.  *    This symbol, if defined, indicates that the flock() routine is
  147.  *    available to do file locking.
  148. #$d_flock    HAS_FLOCK        /**/
  149. /* HAS_GETGROUPS
  150.  *    This symbol, if defined, indicates that the getgroups() routine is
  151.  *    available to get the list of process groups.  If unavailable, multiple
  152.  *    groups are probably not supported.
  153. #$d_getgrps    HAS_GETGROUPS        /**/
  154. /* HAS_GETHOSTENT
  155.  *    This symbol, if defined, indicates that the gethostent() routine is
  156.  *    available to lookup host names in some data base or other.
  157. #$d_gethent    HAS_GETHOSTENT        /**/
  158. /* HAS_GETPGRP
  159.  *    This symbol, if defined, indicates that the getpgrp() routine is
  160.  *    available to get the current process group.
  161. #$d_getpgrp    HAS_GETPGRP        /**/
  162. /* HAS_GETPGRP2
  163.  *    This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
  164.  *    routine is available to get the current process group.
  165. #$d_getpgrp2    HAS_GETPGRP2        /**/
  166. /* HAS_GETPRIORITY
  167.  *    This symbol, if defined, indicates that the getpriority() routine is
  168.  *    available to get a process's priority.
  169. #$d_getprior    HAS_GETPRIORITY        /**/
  170. /* HAS_HTONS
  171.  *    This symbol, if defined, indicates that the htons routine (and friends)
  172.  *    are available to do network order byte swapping.
  173. /* HAS_HTONL
  174.  *    This symbol, if defined, indicates that the htonl routine (and friends)
  175.  *    are available to do network order byte swapping.
  176. /* HAS_NTOHS
  177.  *    This symbol, if defined, indicates that the ntohs routine (and friends)
  178.  *    are available to do network order byte swapping.
  179. /* HAS_NTOHL
  180.  *    This symbol, if defined, indicates that the ntohl routine (and friends)
  181.  *    are available to do network order byte swapping.
  182. #$d_htonl    HAS_HTONS    /**/
  183. #$d_htonl    HAS_HTONL    /**/
  184. #$d_htonl    HAS_NTOHS    /**/
  185. #$d_htonl    HAS_NTOHL    /**/
  186. /* index
  187.  *    This preprocessor symbol is defined, along with rindex, if the system
  188.  *    uses the strchr and strrchr routines instead.
  189. /* rindex
  190.  *    This preprocessor symbol is defined, along with index, if the system
  191.  *    uses the strchr and strrchr routines instead.
  192. #$d_index    index strchr    /* cultural */
  193. #$d_index    rindex strrchr    /*  differences? */
  194. /* HAS_ISASCII
  195.  *    This symbol, if defined, indicates that the isascii routine is available
  196.  *    to test characters for asciiness.
  197. #$d_isascii    HAS_ISASCII        /**/
  198. /* HAS_KILLPG
  199.  *    This symbol, if defined, indicates that the killpg routine is available
  200.  *    to kill process groups.  If unavailable, you probably should use kill
  201.  *    with a negative process number.
  202. #$d_killpg    HAS_KILLPG        /**/
  203. /* HAS_LSTAT
  204.  *    This symbol, if defined, indicates that the lstat() routine is
  205.  *    available to stat symbolic links.
  206. #$d_lstat    HAS_LSTAT        /**/
  207. /* HAS_MEMCMP
  208.  *    This symbol, if defined, indicates that the memcmp routine is available
  209.  *    to compare blocks of memory.  If undefined, roll your own.
  210. #$d_memcmp    HAS_MEMCMP        /**/
  211. /* HAS_MEMCPY
  212.  *    This symbol, if defined, indicates that the memcpy routine is available
  213.  *    to copy blocks of memory.  Otherwise you should probably use bcopy().
  214.  *    If neither is defined, roll your own.
  215. /* SAFE_MEMCPY
  216.  *    This symbol, if defined, indicates that the memcpy routine is available
  217.  *    to copy potentially overlapping copy blocks of memory.  Otherwise you
  218.  *    should probably use memmove() or bcopy().  If neither is defined,
  219.  *    roll your own.
  220. #$d_memcpy    HAS_MEMCPY        /**/
  221. #$d_safemcpy    SAFE_MEMCPY        /**/
  222. /* HAS_MEMMOVE
  223.  *    This symbol, if defined, indicates that the memmove routine is available
  224.  *    to move potentially overlapping blocks of memory.  Otherwise you
  225.  *    should use bcopy() or roll your own.
  226. #$d_memmove    HAS_MEMMOVE        /**/
  227. /* HAS_MEMSET
  228.  *    This symbol, if defined, indicates that the memset routine is available
  229.  *    to set a block of memory to a character.  If undefined, roll your own.
  230. #$d_memset    HAS_MEMSET        /**/
  231. /* HAS_MKDIR
  232.  *    This symbol, if defined, indicates that the mkdir routine is available
  233.  *    to create directories.  Otherwise you should fork off a new process to
  234.  *    exec /bin/mkdir.
  235. #$d_mkdir    HAS_MKDIR        /**/
  236. /* HAS_MSG
  237.  *    This symbol, if defined, indicates that the entire msg*(2) library is
  238.  *    supported.
  239. #$d_msg    HAS_MSG        /**/
  240. /* HAS_MSGCTL
  241.  *    This symbol, if defined, indicates that the msgctl() routine is
  242.  *    available to control message passing.
  243. #$d_msgctl    HAS_MSGCTL        /**/
  244. /* HAS_MSGGET
  245.  *    This symbol, if defined, indicates that the msgget() routine is
  246.  *    available to get messages.
  247. #$d_msgget    HAS_MSGGET        /**/
  248. /* HAS_MSGRCV
  249.  *    This symbol, if defined, indicates that the msgrcv() routine is
  250.  *    available to receive messages.
  251. #$d_msgrcv    HAS_MSGRCV        /**/
  252. /* HAS_MSGSND
  253.  *    This symbol, if defined, indicates that the msgsnd() routine is
  254.  *    available to send messages.
  255. #$d_msgsnd    HAS_MSGSND        /**/
  256. /* HAS_NDBM
  257.  *    This symbol, if defined, indicates that ndbm.h exists and should
  258.  *    be included.
  259. #$d_ndbm    HAS_NDBM        /**/
  260. /* HAS_ODBM
  261.  *    This symbol, if defined, indicates that dbm.h exists and should
  262.  *    be included.
  263. #$d_odbm    HAS_ODBM        /**/
  264. /* HAS_OPEN3
  265.  *    This manifest constant lets the C program know that the three
  266.  *    argument form of open(2) is available.
  267. #$d_open3    HAS_OPEN3        /**/
  268. /* HAS_READDIR
  269.  *    This symbol, if defined, indicates that the readdir routine is available
  270.  *    from the C library to read directories.
  271. #$d_readdir    HAS_READDIR        /**/
  272. /* HAS_RENAME
  273.  *    This symbol, if defined, indicates that the rename routine is available
  274.  *    to rename files.  Otherwise you should do the unlink(), link(), unlink()
  275.  *    trick.
  276. #$d_rename    HAS_RENAME        /**/
  277. /* HAS_REWINDDIR
  278.  *    This symbol, if defined, indicates that the rewindir routine is
  279.  *    available to rewind directories.
  280. #$d_rewindir    HAS_REWINDDIR        /**/
  281. /* HAS_RMDIR
  282.  *    This symbol, if defined, indicates that the rmdir routine is available
  283.  *    to remove directories.  Otherwise you should fork off a new process to
  284.  *    exec /bin/rmdir.
  285. #$d_rmdir    HAS_RMDIR        /**/
  286. /* HAS_SEEKDIR
  287.  *    This symbol, if defined, indicates that the seekdir routine is
  288.  *    available to seek into directories.
  289. #$d_seekdir    HAS_SEEKDIR        /**/
  290. /* HAS_SELECT
  291.  *    This symbol, if defined, indicates that the select() subroutine
  292.  *    exists.
  293. #$d_select    HAS_SELECT    /**/
  294. /* HAS_SEM
  295.  *    This symbol, if defined, indicates that the entire sem*(2) library is
  296.  *    supported.
  297. #$d_sem    HAS_SEM        /**/
  298. /* HAS_SEMCTL
  299.  *    This symbol, if defined, indicates that the semctl() routine is
  300.  *    available to control semaphores.
  301. #$d_semctl    HAS_SEMCTL        /**/
  302. /* HAS_SEMGET
  303.  *    This symbol, if defined, indicates that the semget() routine is
  304.  *    available to get semaphores ids.
  305. #$d_semget    HAS_SEMGET        /**/
  306. /* HAS_SEMOP
  307.  *    This symbol, if defined, indicates that the semop() routine is
  308.  *    available to perform semaphore operations.
  309. #$d_semop    HAS_SEMOP        /**/
  310. /* HAS_SETEGID
  311.  *    This symbol, if defined, indicates that the setegid routine is available
  312.  *    to change the effective gid of the current program.
  313. #$d_setegid    HAS_SETEGID        /**/
  314. /* HAS_SETEUID
  315.  *    This symbol, if defined, indicates that the seteuid routine is available
  316.  *    to change the effective uid of the current program.
  317. #$d_seteuid    HAS_SETEUID        /**/
  318. /* HAS_SETPGRP
  319.  *    This symbol, if defined, indicates that the setpgrp() routine is
  320.  *    available to set the current process group.
  321. #$d_setpgrp    HAS_SETPGRP        /**/
  322. /* HAS_SETPGRP2
  323.  *    This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
  324.  *    routine is available to set the current process group.
  325. #$d_setpgrp2    HAS_SETPGRP2        /**/
  326. /* HAS_SETPRIORITY
  327.  *    This symbol, if defined, indicates that the setpriority() routine is
  328.  *    available to set a process's priority.
  329. #$d_setprior    HAS_SETPRIORITY        /**/
  330. /* HAS_SETREGID
  331.  *    This symbol, if defined, indicates that the setregid routine is
  332.  *    available to change the real and effective gid of the current program.
  333. /* HAS_SETRESGID
  334.  *    This symbol, if defined, indicates that the setresgid routine is
  335.  *    available to change the real, effective and saved gid of the current
  336.  *    program.
  337. #$d_setregid    HAS_SETREGID        /**/
  338. #$d_setresgid    HAS_SETRESGID        /**/
  339. /* HAS_SETREUID
  340.  *    This symbol, if defined, indicates that the setreuid routine is
  341.  *    available to change the real and effective uid of the current program.
  342. /* HAS_SETRESUID
  343.  *    This symbol, if defined, indicates that the setresuid routine is
  344.  *    available to change the real, effective and saved uid of the current
  345.  *    program.
  346. #$d_setreuid    HAS_SETREUID        /**/
  347. #$d_setresuid    HAS_SETRESUID        /**/
  348. /* HAS_SETRGID
  349.  *    This symbol, if defined, indicates that the setrgid routine is available
  350.  *    to change the real gid of the current program.
  351. #$d_setrgid    HAS_SETRGID        /**/
  352. /* HAS_SETRUID
  353.  *    This symbol, if defined, indicates that the setruid routine is available
  354.  *    to change the real uid of the current program.
  355. #$d_setruid    HAS_SETRUID        /**/
  356. /* HAS_SHM
  357.  *    This symbol, if defined, indicates that the entire shm*(2) library is
  358.  *    supported.
  359. #$d_shm    HAS_SHM        /**/
  360. /* HAS_SHMAT
  361.  *    This symbol, if defined, indicates that the shmat() routine is
  362.  *    available to attach a shared memory segment.
  363. /* VOID_SHMAT
  364.  *    This symbol, if defined, indicates that the shmat() routine
  365.  *    returns a pointer of type void*.
  366. #$d_shmat    HAS_SHMAT        /**/
  367. #$d_voidshmat    VOIDSHMAT        /**/
  368. /* HAS_SHMCTL
  369.  *    This symbol, if defined, indicates that the shmctl() routine is
  370.  *    available to control a shared memory segment.
  371. #$d_shmctl    HAS_SHMCTL        /**/
  372. /* HAS_SHMDT
  373.  *    This symbol, if defined, indicates that the shmdt() routine is
  374.  *    available to detach a shared memory segment.
  375. #$d_shmdt    HAS_SHMDT        /**/
  376. /* HAS_SHMGET
  377.  *    This symbol, if defined, indicates that the shmget() routine is
  378.  *    available to get a shared memory segment id.
  379. #$d_shmget    HAS_SHMGET        /**/
  380. /* HAS_SOCKET
  381.  *    This symbol, if defined, indicates that the BSD socket interface is
  382.  *    supported.
  383. /* HAS_SOCKETPAIR
  384.  *    This symbol, if defined, indicates that the BSD socketpair call is
  385.  *    supported.
  386. /* OLDSOCKET
  387.  *    This symbol, if defined, indicates that the 4.1c BSD socket interface
  388.  *    is supported instead of the 4.2/4.3 BSD socket interface.
  389. #$d_socket    HAS_SOCKET        /**/
  390. #$d_sockpair    HAS_SOCKETPAIR    /**/
  391. #$d_oldsock    OLDSOCKET    /**/
  392. /* STATBLOCKS
  393.  *    This symbol is defined if this system has a stat structure declaring
  394.  *    st_blksize and st_blocks.
  395. #$d_statblks    STATBLOCKS     /**/
  396. /* STDSTDIO
  397.  *    This symbol is defined if this system has a FILE structure declaring
  398.  *    _ptr and _cnt in stdio.h.
  399. #$d_stdstdio    STDSTDIO     /**/
  400. /* STRUCTCOPY
  401.  *    This symbol, if defined, indicates that this C compiler knows how
  402.  *    to copy structures.  If undefined, you'll need to use a block copy
  403.  *    routine of some sort instead.
  404. #$d_strctcpy    STRUCTCOPY    /**/
  405. /* HAS_STRERROR
  406.  *    This symbol, if defined, indicates that the strerror() routine is
  407.  *    available to translate error numbers to strings.
  408. #$d_strerror    HAS_STRERROR        /**/
  409. /* HAS_SYMLINK
  410.  *    This symbol, if defined, indicates that the symlink routine is available
  411.  *    to create symbolic links.
  412. #$d_symlink    HAS_SYMLINK        /**/
  413. /* HAS_SYSCALL
  414.  *    This symbol, if defined, indicates that the syscall routine is available
  415.  *    to call arbitrary system calls.  If undefined, that's tough.
  416. #$d_syscall    HAS_SYSCALL        /**/
  417. /* HAS_TELLDIR
  418.  *    This symbol, if defined, indicates that the telldir routine is
  419.  *    available to tell your location in directories.
  420. #$d_telldir    HAS_TELLDIR        /**/
  421. /* HAS_TRUNCATE
  422.  *    This symbol, if defined, indicates that the truncate routine is
  423.  *    available to truncate files.
  424. #$d_truncate    HAS_TRUNCATE        /**/
  425. /* HAS_VFORK
  426.  *    This symbol, if defined, indicates that vfork() exists.
  427. #$d_vfork    HAS_VFORK    /**/
  428. /* VOIDSIG
  429.  *    This symbol is defined if this system declares "void (*signal())()" in
  430.  *    signal.h.  The old way was to declare it as "int (*signal())()".  It
  431.  *    is up to the package author to declare things correctly based on the
  432.  *    symbol.
  433. /* TO_SIGNAL
  434.  *    This symbol's value is either "void" or "int", corresponding to the
  435.  *    appropriate return "type" of a signal handler.  Thus, one can declare
  436.  *    a signal handler using "TO_SIGNAL (*handler())()", and define the
  437.  *    handler using "TO_SIGNAL handler(sig)".
  438. #$d_voidsig    VOIDSIG     /**/
  439. #$define    TO_SIGNAL    $d_tosignal     /**/
  440. /* HASVOLATILE
  441.  *    This symbol, if defined, indicates that this C compiler knows about
  442.  *    the volatile declaration.
  443. #$d_volatile    HASVOLATILE    /**/
  444. /* HAS_VPRINTF
  445.  *    This symbol, if defined, indicates that the vprintf routine is available
  446.  *    to printf with a pointer to an argument list.  If unavailable, you
  447.  *    may need to write your own, probably in terms of _doprnt().
  448. /* CHARVSPRINTF
  449.  *    This symbol is defined if this system has vsprintf() returning type
  450.  *    (char*).  The trend seems to be to declare it as "int vsprintf()".  It
  451.  *    is up to the package author to declare vsprintf correctly based on the
  452.  *    symbol.
  453. #$d_vprintf    HAS_VPRINTF    /**/
  454. #$d_charvspr    CHARVSPRINTF     /**/
  455. /* HAS_WAIT4
  456.  *    This symbol, if defined, indicates that wait4() exists.
  457. #$d_wait4    HAS_WAIT4    /**/
  458. /* HAS_WAITPID
  459.  *    This symbol, if defined, indicates that waitpid() exists.
  460. #$d_waitpid    HAS_WAITPID    /**/
  461. /* GIDTYPE
  462.  *    This symbol has a value like gid_t, int, ushort, or whatever type is
  463.  *    used to declare group ids in the kernel.
  464. #define GIDTYPE $gidtype        /**/
  465. /* GROUPSTYPE
  466.  *    This symbol has a value like gid_t, int, ushort, or whatever type is
  467.  *    used in the return value of getgroups().
  468. #define GROUPSTYPE $groupstype        /**/
  469. /* I_FCNTL
  470.  *    This manifest constant tells the C program to include <fcntl.h>.
  471. #$i_fcntl    I_FCNTL    /**/
  472. /* I_GDBM
  473.  *    This symbol, if defined, indicates that gdbm.h exists and should
  474.  *    be included.
  475. #$i_gdbm    I_GDBM        /**/
  476. /* I_GRP
  477.  *    This symbol, if defined, indicates to the C program that it should
  478.  *    include grp.h.
  479. #$i_grp    I_GRP        /**/
  480. /* I_NETINET_IN
  481.  *    This symbol, if defined, indicates to the C program that it should
  482.  *    include netinet/in.h.
  483. /* I_SYS_IN
  484.  *    This symbol, if defined, indicates to the C program that it should
  485.  *    include sys/in.h.
  486. #$i_niin    I_NETINET_IN        /**/
  487. #$i_sysin    I_SYS_IN        /**/
  488. /* I_PWD
  489.  *    This symbol, if defined, indicates to the C program that it should
  490.  *    include pwd.h.
  491. /* PWQUOTA
  492.  *    This symbol, if defined, indicates to the C program that struct passwd
  493.  *    contains pw_quota.
  494. /* PWAGE
  495.  *    This symbol, if defined, indicates to the C program that struct passwd
  496.  *    contains pw_age.
  497. /* PWCHANGE
  498.  *    This symbol, if defined, indicates to the C program that struct passwd
  499.  *    contains pw_change.
  500. /* PWCLASS
  501.  *    This symbol, if defined, indicates to the C program that struct passwd
  502.  *    contains pw_class.
  503. /* PWEXPIRE
  504.  *    This symbol, if defined, indicates to the C program that struct passwd
  505.  *    contains pw_expire.
  506. /* PWCOMMENT
  507.  *    This symbol, if defined, indicates to the C program that struct passwd
  508.  *    contains pw_comment.
  509. #$i_pwd    I_PWD        /**/
  510. #$d_pwquota    PWQUOTA        /**/
  511. #$d_pwage    PWAGE        /**/
  512. #$d_pwchange    PWCHANGE    /**/
  513. #$d_pwclass    PWCLASS        /**/
  514. #$d_pwexpire    PWEXPIRE    /**/
  515. #$d_pwcomment    PWCOMMENT    /**/
  516. /* I_SYS_FILE
  517.  *    This manifest constant tells the C program to include <sys/file.h>.
  518. #$i_sys_file    I_SYS_FILE    /**/
  519. /* I_SYSIOCTL
  520.  *    This symbol, if defined, indicates that sys/ioctl.h exists and should
  521.  *    be included.
  522. #$i_sysioctl    I_SYSIOCTL        /**/
  523. /* I_TIME
  524.  *    This symbol is defined if the program should include <time.h>.
  525. /* I_SYS_TIME
  526.  *    This symbol is defined if the program should include <sys/time.h>.
  527. /* SYSTIMEKERNEL
  528.  *    This symbol is defined if the program should include <sys/time.h>
  529.  *    with KERNEL defined.
  530. /* I_SYS_SELECT
  531.  *    This symbol is defined if the program should include <sys/select.h>.
  532. #$i_time    I_TIME         /**/
  533. #$i_sys_time    I_SYS_TIME     /**/
  534. #$d_systimekernel    SYSTIMEKERNEL     /**/
  535. #$i_sys_select    I_SYS_SELECT     /**/
  536. /* I_UTIME
  537.  *    This symbol, if defined, indicates to the C program that it should
  538.  *    include utime.h.
  539. #$i_utime    I_UTIME        /**/
  540. /* I_VARARGS
  541.  *    This symbol, if defined, indicates to the C program that it should
  542.  *    include varargs.h.
  543. #$i_varargs    I_VARARGS        /**/
  544. /* I_VFORK
  545.  *    This symbol, if defined, indicates to the C program that it should
  546.  *    include vfork.h.
  547. #$i_vfork    I_VFORK        /**/
  548. /* INTSIZE
  549.  *    This symbol contains the size of an int, so that the C preprocessor
  550.  *    can make decisions based on it.
  551. #define INTSIZE $intsize        /**/
  552. /* I_DIRENT
  553.  *    This symbol, if defined, indicates that the program should use the
  554.  *    P1003-style directory routines, and include <dirent.h>.
  555. /* I_SYS_DIR
  556.  *    This symbol, if defined, indicates that the program should use the
  557.  *    directory functions by including <sys/dir.h>.
  558. /* I_NDIR
  559.  *    This symbol, if defined, indicates that the program should include the
  560.  *    system's version of ndir.h, rather than the one with this package.
  561. /* I_SYS_NDIR
  562.  *    This symbol, if defined, indicates that the program should include the
  563.  *    system's version of sys/ndir.h, rather than the one with this package.
  564. /* I_MY_DIR
  565.  *    This symbol, if defined, indicates that the program should compile
  566.  *    the ndir.c code provided with the package.
  567. /* DIRNAMLEN
  568.  *    This symbol, if defined, indicates to the C program that the length
  569.  *    of directory entry names is provided by a d_namlen field.  Otherwise
  570.  *    you need to do strlen() on the d_name field.
  571. #$i_dirent    I_DIRENT    /**/
  572. #$i_sys_dir    I_SYS_DIR    /**/
  573. #$i_ndir    I_NDIR        /**/
  574. #$i_sys_ndir    I_SYS_NDIR    /**/
  575. #$i_my_dir    I_MY_DIR    /**/
  576. #$d_dirnamlen    DIRNAMLEN    /**/
  577. /* MYMALLOC
  578.  *    This symbol, if defined, indicates that we're using our own malloc.
  579. /* MALLOCPTRTYPE
  580.  *    This symbol defines the kind of ptr returned by malloc and realloc.
  581. #$d_mymalloc MYMALLOC            /**/
  582. #define MALLOCPTRTYPE $mallocptrtype         /**/
  583. /* RANDBITS
  584.  *    This symbol contains the number of bits of random number the rand()
  585.  *    function produces.  Usual values are 15, 16, and 31.
  586. #define RANDBITS $randbits        /**/
  587. /* SCRIPTDIR
  588.  *    This symbol holds the name of the directory in which the user wants
  589.  *    to keep publicly executable scripts for the package in question.  It
  590.  *    is often a directory that is mounted across diverse architectures.
  591. #define SCRIPTDIR "$scriptdir"             /**/
  592. /* SIG_NAME
  593.  *    This symbol contains an list of signal names in order.
  594. #define SIG_NAME "`echo $sig_name | sed 's/ /","/g'`"        /**/
  595. /* STDCHAR
  596.  *    This symbol is defined to be the type of char used in stdio.h.
  597.  *    It has the values "unsigned char" or "char".
  598. #define STDCHAR $stdchar    /**/
  599. /* UIDTYPE
  600.  *    This symbol has a value like uid_t, int, ushort, or whatever type is
  601.  *    used to declare user ids in the kernel.
  602. #define UIDTYPE $uidtype        /**/
  603. /* VOIDHAVE
  604.  *    This symbol indicates how much support of the void type is given by this
  605.  *    compiler.  What various bits mean:
  606.  *        1 = supports declaration of void
  607.  *        2 = supports arrays of pointers to functions returning void
  608.  *        4 = supports comparisons between pointers to void functions and
  609.  *            addresses of void functions
  610.  *    The package designer should define VOIDWANT to indicate the requirements
  611.  *    of the package.  This can be done either by #defining VOIDWANT before
  612.  *    including config.h, or by defining voidwant in Myinit.U.  If the level
  613.  *    of void support necessary is not present, config.h defines void to "int",
  614.  *    VOID to the empty string, and VOIDP to "char *".
  615. /* void
  616.  *    This symbol is used for void casts.  On implementations which support
  617.  *    void appropriately, its value is "void".  Otherwise, its value maps
  618.  *    to "int".
  619. /* VOID
  620.  *    This symbol's value is "void" if the implementation supports void
  621.  *    appropriately.  Otherwise, its value is the empty string.  The primary
  622.  *    use of this symbol is in specifying void parameter lists for function
  623.  *    prototypes.
  624. /* VOIDP
  625.  *    This symbol is used for casting generic pointers.  On implementations
  626.  *    which support void appropriately, its value is "void *".  Otherwise,
  627.  *    its value is "char *".
  628. #ifndef VOIDWANT
  629. #define VOIDWANT $voidwant
  630. #endif
  631. #define VOIDHAVE $voidhave
  632. #if (VOIDHAVE & VOIDWANT) != VOIDWANT
  633. #define void int        /* is void to be avoided? */
  634. #define VOID
  635. #define VOIDP (char *)
  636. #define M_VOID        /* Xenix strikes again */
  637. #else
  638. #define VOID void
  639. #define VOIDP (void *)
  640. #endif
  641. /* PRIVLIB
  642.  *    This symbol contains the name of the private library for this package.
  643.  *    The library is private in the sense that it needn't be in anyone's
  644.  *    execution path, but it should be accessible by the world.  The program
  645.  *    should be prepared to do ~ expansion.
  646. #define PRIVLIB "$privlib"        /**/
  647. #endif
  648. !GROK!THIS!
  649.