home *** CD-ROM | disk | FTP | other *** search
/ ftp.uv.es / 2014.11.ftp.uv.es.tar / ftp.uv.es / pub / unix / aix-rs6000 / elm2.3.11.AIX3.1.5.Z / elm2.3.11.AIX3.1.5 / config.h.SH < prev    next >
Text File  |  1990-10-24  |  14KB  |  464 lines

  1. case $CONFIG in
  2. '')
  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
  10.     . ./config.sh
  11.     ;;
  12. esac
  13. echo "Extracting config.h (with variable substitutions)"
  14. sed <<!GROK!THIS! >config.h -e 's!^#undef!/\*#undef!'
  15. /* config.h
  16.  * This file was produced by running the config.h.SH script, which
  17.  * gets its values from config.sh, which is generally produced by
  18.  * running Configure.
  19.  *
  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.  */
  24.  
  25.  
  26. /* BIN:
  27.  *    This symbol holds the name of the directory in which the user wants
  28.  *    to put publicly executable images for the package in question.  It
  29.  *    is most often a local directory such as /usr/local/bin.
  30.  */
  31. #define BIN "$bin"             /**/
  32.  
  33. /* BYTEORDER:
  34.  *    This symbol contains an encoding of the order of bytes in a long.
  35.  *    Usual values (in octal) are 01234, 04321, 02143, 03412...
  36.  */
  37. #define BYTEORDER 0x$byteorder        /**/
  38.  
  39. /* CPPSTDIN:
  40.  *    This symbol contains the first part of the string which will invoke
  41.  *    the C preprocessor on the standard input and produce to standard
  42.  *    output.     Typical value of "cc -E" or "/lib/cpp".
  43.  */
  44. /* CPPMINUS:
  45.  *    This symbol contains the second part of the string which will invoke
  46.  *    the C preprocessor on the standard input and produce to standard
  47.  *    output.  This symbol will have the value "-" if CPPSTDIN needs a minus
  48.  *    to specify standard input, otherwise the value is "".
  49.  */
  50. #define CPPSTDIN "$cppstdin"
  51. #define CPPMINUS "$cppminus"
  52.  
  53. /* CRYPT:
  54.  *    This symbol, if defined, indicates that the crypt routine is available
  55.  *    to encrypt passwords and the like.
  56.  */
  57. #$d_crypt    CRYPT        /**/
  58.  
  59. /* GETOPT:
  60.  *    This symbol, if defined, indicates that the getopt() routine exists.
  61.  */
  62. #$d_getopt    GETOPT        /**/
  63.  
  64. /* HAVETERMLIB:
  65.  *    This symbol, when defined, indicates that termlib-style routines
  66.  *    are available.  There is nothing to include.
  67.  */
  68. #$d_havetlib    HAVETERMLIB    /**/
  69.  
  70. /* MKDIR:
  71.  *    This symbol, if defined, indicates that the mkdir routine is available
  72.  *    to create directories.  Otherwise you should fork off a new process to
  73.  *    exec /bin/mkdir.
  74.  */
  75. #$d_mkdir    MKDIR        /**/
  76.  
  77. /* RENAME:
  78.  *    This symbol, if defined, indicates that the rename routine is available
  79.  *    to rename files.  Otherwise you should do the unlink(), link(), unlink()
  80.  *    trick.
  81.  */
  82. #$d_rename    RENAME        /**/
  83.  
  84. /* SIGVEC:
  85.  *    This symbol, if defined, indicates that BSD reliable signals are
  86.  *    supported.
  87.  */
  88. /* SIGVECTOR:
  89.  *    This symbol, if defined, indicates that the sigvec() routine is called
  90.  *    sigvector() instead, and that sigspace() is provided instead of
  91.  *    sigstack().  This is probably only true for HP-UX.
  92.  */
  93. #$d_sigvec    SIGVEC        /**/
  94.  
  95. #$d_sigvectr    SIGVECTOR    /**/
  96.  
  97. /* SYMLINK:
  98.  *    This symbol, if defined, indicates that the symlink routine is available
  99.  *    to create symbolic links.
  100.  */
  101. #$d_symlink    SYMLINK        /**/
  102.  
  103. /* VFORK:
  104.  *    This symbol, if defined, indicates that vfork() exists.
  105.  */
  106. #$d_vfork    VFORK    /**/
  107.  
  108. /* WHOAMI:
  109.  *    This symbol, if defined, indicates that the program may include
  110.  *    whoami.h.
  111.  */
  112. #$d_whoami    WHOAMI        /**/
  113.  
  114. /* DEFEDITOR:
  115.  *    This symbol contains the name of the default editor.
  116.  */
  117. #define DEFEDITOR "$defeditor"        /**/
  118.  
  119. /* HOSTNAME:
  120.  *    This symbol contains name of the host the program is going to run on.
  121.  *    The domain is not kept with hostname, but must be gotten from MYDOMAIN.
  122.  *    The dot comes with MYDOMAIN, and need not be supplied by the program.
  123.  *    If gethostname() or uname() exist, HOSTNAME may be ignored.
  124.  */
  125. /* MYDOMAIN:
  126.  *    This symbol contains the domain of the host the program is going to
  127.  *    run on.  The domain must be appended to HOSTNAME to form a complete
  128.  *    host name.  The dot comes with MYDOMAIN, and need not be supplied by
  129.  *    the program.  If the host name is derived from PHOSTNAME, the domain
  130.  *    may or may not already be there, and the program should check.
  131.  */
  132. #define HOSTNAME "$hostname"        /**/
  133. #define MYDOMAIN "$mydomain"        /**/
  134.  
  135. /* I_TIME:
  136.  *    This symbol is defined if the program should include <time.h>.
  137.  */
  138. /* I_SYSTIME:
  139.  *    This symbol is defined if the program should include <sys/time.h>.
  140.  */
  141. /* I_SYSTIMEKERNEL:
  142.  *    This symbol is defined if the program should include <sys/time.h>
  143.  *    with KERNEL defined.
  144.  */
  145. #$i_time        I_TIME         /**/
  146. #$i_systime    I_SYSTIME     /**/
  147. #$d_systimekernel    SYSTIMEKERNEL     /**/
  148.  
  149. /* PREFSHELL:
  150.  *    This symbol contains the full name of the preferred user shell on this
  151.  *    system.  Usual values are /bin/csh, /bin/ksh, /bin/sh.
  152.  */
  153. #define PREFSHELL "$prefshell"        /**/
  154.  
  155. /* EUNICE:
  156.  *    This symbol, if defined, indicates that the program is being compiled
  157.  *    under the EUNICE package under VMS.  The program will need to handle
  158.  *    things like files that don't go away the first time you unlink them,
  159.  *    due to version numbering.  It will also need to compensate for lack
  160.  *    of a respectable link() command.
  161.  */
  162. /* VMS:
  163.  *    This symbol, if defined, indicates that the program is running under
  164.  *    VMS.  It is currently only set in conjunction with the EUNICE symbol.
  165.  */
  166. #$d_eunice    EUNICE        /**/
  167. #$d_eunice    VMS        /**/
  168.  
  169. /* CONFIGURE_DATE
  170.  *    This symbol contains the last date that configure was run for elm -v output.
  171.  */
  172. #define        CONFIGURE_DATE    "$c_date"
  173.  
  174. /* ASCII_CTYPE:
  175.  *    This symbol, if defined, indicates that the ctype functions and
  176.  *    macros are ascii specific and not 8 bit clean.
  177.  */
  178. #$d_ascii    ASCII_CTYPE    /**/
  179.  
  180. /* ENABLE_CALENDAR:
  181.  *    This symbol, if defined, indicates that the calendar feature
  182.  *    should be supported.
  183.  */
  184. #$d_calendar    ENABLE_CALENDAR    /**/
  185. #define dflt_calendar_file    "$calendar"    
  186.  
  187. /* NEED_CUSERID:
  188.  *    This symbol, if defined, means to include our own cuserid().
  189.  */
  190. #$d_cuserid NEED_CUSERID        /**/
  191.  
  192. /* LOCK_BY_FLOCK
  193.  *    This symbol, if defined, indicates that the flock mailbox locking should be used.
  194.  */
  195. /* LOCK_FLOCK_ONLY
  196.  *    This symbol, if defined, indicates that the only flock mailbox locking should also be used.
  197.  */
  198. /* LOCK_DIR
  199.  *    This symbol is the name of the lock directory for access (not mailbox) locks.
  200.  *    It will be /usr/spool/locks or /usr/spool/uucp
  201.  */
  202. #$d_flock    LOCK_BY_FLOCK        /**/
  203.  
  204. #$d_flockonly    LOCK_FLOCK_ONLY        /**/
  205.  
  206. #define        LOCK_DIR    "$lock_dir"    /**/
  207.  
  208. /* GETHOSTNAME:
  209.  *    This symbol, if defined, indicates that the C program may use the
  210.  *    gethostname() routine to derive the host name.  See also DOUNAME
  211.  *    and PHOSTNAME.
  212.  */
  213. /* DOUNAME:
  214.  *    This symbol, if defined, indicates that the C program may use the
  215.  *    uname() routine to derive the host name.  See also GETHOSTNAME and
  216.  *    PHOSTNAME.
  217.  */
  218. /* PHOSTNAME:
  219.  *    This symbol, if defined, indicates that the C program may use the
  220.  *    contents of PHOSTNAME as a command to feed to the popen() routine
  221.  *    to derive the host name.  See also GETHOSTNAME and DOUNAME.
  222.  */
  223. /* HOSTCOMPILED:
  224.  *    This symbol, if defined, indicated that the host name is compiled
  225.  *    in from the string hostname
  226.  */
  227. #$d_gethname    GETHOSTNAME    /**/
  228. #$d_douname    DOUNAME        /**/
  229. #$d_phostname    PHOSTNAME "$phostname"    /**/
  230. #$d_host_comp    HOSTCOMPILED    /**/
  231.  
  232. /* USE_DBM
  233.  *    This symbol, when defined, indicates that the pathalias file
  234.  *    is available as a dbm file.  There is nothing to include.
  235.  */
  236. #$d_havedbm    USE_DBM    /**/
  237.  
  238. /* index:
  239.  *    This preprocessor symbol is defined, along with rindex, if the system
  240.  *    uses the strchr and strrchr routines instead.
  241.  */
  242. /* rindex:
  243.  *    This preprocessor symbol is defined, along with index, if the system
  244.  *    uses the strchr and strrchr routines instead.
  245.  */
  246. #$d_index    index strchr    /* cultural */
  247. #$d_index    rindex strrchr    /*  differences? */
  248.  
  249. /* INTERNET:
  250.  *    This symbol, if defined, indicates that there is a mailer available
  251.  *    which supports internet-style addresses (user@site.domain).
  252.  */
  253. #$d_internet    INTERNET    /**/
  254.  
  255. /* ALLOW_MAILBOX_EDITING:
  256.  *    This symbol, if defined, indicates that the E)dit mailbox
  257.  *    function is to be allowed.
  258.  */
  259. #$d_mboxedit    ALLOW_MAILBOX_EDITING    /**/
  260.  
  261. /* MMDF:
  262.  *    This symbol, if defined, indicates that mailboxes are in
  263.  *    the MMDF format.
  264.  */
  265. #$d_mmdf    MMDF    /**/
  266.  
  267. /* AUTO_BACKGROUND:
  268.  *    This symbol, if defined, indicates that newmail should go to
  269.  *    the background automatically.
  270.  */
  271. #$d_newauto AUTO_BACKGROUND /**/
  272.  
  273. /* NFS_CAPABLE
  274.  *    This symbol, if defined, indicates NFS is available.
  275.  */
  276. /* NETWORK_ORDER
  277.  *    This symbol, if defined, indicates that the internal files should be kept
  278.  *    in network byte order.
  279.  */
  280. #$d_nfs    NFS_CAPABLE        /**/
  281. #$d_networkorder    NETWORK_ORDER        /**/
  282.  
  283. /* NO_XHEADER:
  284.  *    This symbol, if defined, will not automatically add "X-Mailer:"
  285.  *    headers.
  286.  */
  287. #$d_noxheader    NO_XHEADER    /**/
  288.  
  289. /* OPTIMIZE_RETURN:
  290.  *    This symbol, if defined, indicates that Elm should optimize the
  291.  *    return address of aliases.
  292.  */
  293. #$d_optreturn OPTIMIZE_RETURN /**/
  294.  
  295. /* LOOK_CLOSE_AFTER_SEARCH:
  296.  *    This symbol, if defined, indicates that the pathalias route
  297.  *    should be used for machines we talk to directly.
  298.  */
  299. /* DONT_TOUCH_ADDRESSES:
  300.  *    This symbol, if defined, indicates that elm should not
  301.  *    touch outbound addresses
  302.  */
  303. /* DONT_ADD_FROM:
  304.  *    This symbol, if defined, indicates that elm should not adD
  305.  *    the From: header
  306.  */
  307. /* USE_DOMAIN:
  308.  *    This symbol, if defined, indicates that elm should add
  309.  *    the domain name to our address
  310.  */
  311. /* NOCHECK_VALIDNAME:
  312.  *    This symbol, if defined, indicates that elm should not
  313.  *    check the addresses against mailboxes on this system.
  314.  */
  315. #$d_pafirst    LOOK_CLOSE_AFTER_SEARCH /**/
  316. #$d_notouchadd    DONT_TOUCH_ADDRESSES /**/
  317. #$d_noaddfrom    DONT_ADD_FROM /**/
  318. #$d_usedomain    USE_DOMAIN /**/
  319. #$d_nocheckvalid NOCHECK_VALIDNAME    /**/
  320.  
  321. /* PIDCHECK:
  322.  *    This symbol, if defined, means that the kill(pid, 0) will
  323.  *    check for an active pid.
  324.  */
  325. #$d_pidcheck PIDCHECK        /**/
  326.  
  327. /* PORTABLE:
  328.  *    This symbol, if defined, indicates to the C program that it should
  329.  *    not assume that it is running on the machine it was compiled on.
  330.  *    The program should be prepared to look up the host name, translate
  331.  *    generic filenames, use PATH, etc.
  332.  */
  333. #$d_portable    PORTABLE    /**/
  334.  
  335. /* PTEM:
  336.  *    This symbol, if defined, indicates that the sys/ptem.h include file is
  337.  *    needed for window sizing.
  338.  */
  339. #$d_ptem    PTEM        /**/
  340.  
  341. /* REMOVE_AT_LAST:
  342.  *    This symbol, if defined, tells the C code to remove the lock
  343.  *    file on lock failure.
  344.  */
  345. /* MAX_ATTEMPTS:
  346.  *    This symbol defines to the C code the number of times to try
  347.  *    locking the mail file.
  348.  */
  349. #$d_remlock REMOVE_AT_LAST    /**/
  350. #define MAX_ATTEMPTS    $maxattempts
  351.  
  352. /* SAVE_GROUP_MAILBOX_ID:
  353.  *    This symbol, if defined, indica;es that Elm needs to restore the
  354.  *    group id of the file, as it is running setgid.
  355.  */
  356. #$d_setgid SAVE_GROUP_MAILBOX_ID    /**/
  357.  
  358. /* STRCSPN:
  359.  *    This symbol, if defined, indicates that the strcspn() routine exists.
  360.  */
  361. #$d_strspn    STRSPN        /**/
  362.  
  363. #$d_strcspn    STRCSPN        /**/
  364.  
  365. /* STRINGS:
  366.  *    This symbol, if defined, indicates that the file strings.h
  367.  *    should be included not string.h
  368.  */
  369. /* PWDINSYS:
  370.  *    This symbol, if defined, indicates that the file pwd.h
  371.  *    is in the sys sub directory
  372.  */
  373. #$d_strings    STRINGS        /**/
  374. #$d_pwdinsys    PWDINSYS    /**/
  375.  
  376. /* ALLOW_SUBSHELL:
  377.  *    This symbol, if defined, indicates that the '!' subshell
  378.  *    function is to be allowed at various places.
  379.  */
  380. #$d_subshell    ALLOW_SUBSHELL    /**/
  381.  
  382. /* TEMPNAM:
  383.  *    This symbol, if defined, indicates that the tempnam() routine exists.
  384.  */
  385. #$d_tempnam    TEMPNAM        /**/
  386.  
  387. /* TERMIOS:
  388.  *    This symbol, if defined, indicates that the program should include
  389.  *    termios.h rather than sgtty.h or termio.h.  There are also differences
  390.  *    in the ioctl() calls that depend on the value of this symbol.
  391.  */
  392. /* TERMIO:
  393.  *    This symbol, if defined, indicates that the program should include
  394.  *    termio.h rather than sgtty.h.  There are also differences in the
  395.  *    ioctl() calls that depend on the value of this symbol.
  396.  */
  397. #$d_termios    TERMIOS        /**/
  398.  
  399. #$d_termio    TERMIO        /**/
  400.  
  401. /* TZ_MINUTESWEST:
  402.  *    This symbol is defined if this system uses tz_minutes west
  403.  *    in time.h instead of timezone.  Only for BSD Systems
  404.  */
  405. #$d_tz_min    TZ_MINUTESWEST     /**/
  406.  
  407. /* USE_EMBEDDED_ADDRESSES:
  408.  *    This symbol, if defined, indicates that replyto: and from:
  409.  *    headers can be trusted.
  410.  */
  411. #$d_useembed USE_EMBEDDED_ADDRESSES     /**/
  412.  
  413. /* NOUTIMBUF:
  414.  *    This symbol, if defined, means to include our own struct utimbuf.
  415.  */
  416. #$d_utimbuf NOUTIMBUF        /**/
  417.  
  418. /* VOIDSIG:
  419.  *    This symbol is defined if this system declares "void (*signal())()" in
  420.  *    signal.h.  The old way was to declare it as "int (*signal())()".  It
  421.  *    is up to the package author to declare things correctly based on the
  422.  *    symbol.
  423.  */
  424. #$d_voidsig    VOIDSIG     /**/
  425.  
  426. /* MAX_SALIASES:
  427.  *    This symbol defines the number of system wide aliases allowed.
  428.  */
  429. /* MAX_UALIASES:
  430.  *    This symbol defines the number of per user aliases allowed.
  431.  */
  432. #define    MAX_SALIASES    $maxsysalias    /* number of system aliases allowed      */
  433. #define    MAX_UALIASES    $maxuseralias    /* number of user aliases allowed      */
  434.  
  435. /* PASSNAMES:
  436.  *    This symbol, if defined, indicates that full names are stored in
  437.  *    the /etc/passwd file.
  438.  */
  439. /* BERKNAMES:
  440.  *    This symbol, if defined, indicates that full names are stored in
  441.  *    the /etc/passwd file in Berkeley format (name first thing, everything
  442.  *    up to first comma, with & replaced by capitalized login id, yuck).
  443.  */
  444. /* USGNAMES:
  445.  *    This symbol, if defined, indicates that full names are stored in
  446.  *    the /etc/passwd file in USG format (everything after - and before ( is
  447.  *    the name).
  448.  */
  449. #$d_passnames    PASSNAMES /*  (undef to take name from ~/.fullname) */
  450. #$d_berknames    BERKNAMES /* (that is, ":name,stuff:") */
  451. #$d_usgnames    USGNAMES  /* (that is, ":stuff-name(stuff):") */
  452.  
  453. /* XENIX:
  454.  *    This symbol, if defined, indicates this is a Xenix system,
  455.  *    for knocking  out the far keyword in selected places.
  456.  */
  457. /* BSD:
  458.  *    This symbol, if defined, indicates this is a BSD type system,
  459.  */
  460. #$d_xenix    XENIX    /**/
  461. #$d_bsd    BSD    /**/
  462.  
  463. !GROK!THIS!
  464.