home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 2 / 2681 / config.h-sco next >
Text File  |  1991-02-06  |  5KB  |  160 lines

  1. /* GNU Emacs site configuration template file.
  2.    Copyright (C) 1988 Free Software Foundation, Inc.
  3.  
  4. This file is part of GNU Emacs.
  5.  
  6. GNU Emacs is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 1, or (at your option)
  9. any later version.
  10.  
  11. GNU Emacs is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. GNU General Public License for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with GNU Emacs; see the file COPYING.  If not, write to
  18. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  19.  
  20.  
  21.  
  22. /* Include here a s- file that describes the system type you are using.
  23.    See the file ../etc/MACHINES for a list of systems and
  24.    the names of the s- files to use for them.
  25.    See s-template.h for documentation on writing s- files.  */
  26. #include "s-usg5-3.h"
  27.  
  28. /* Include here a m- file that describes the machine and system you use.
  29.    See the file ../etc/MACHINES for a list of machines and
  30.    the names of the m- files to use for them.
  31.    See m-template.h for info on what m- files should define.
  32.    */
  33. #include "m-intel386.h"
  34.  
  35. /**** BEGIN TCT CHANGES ****/
  36.  
  37. /* We installed ptys for Emacs as /dev/[pt]tyc? */
  38. #undef FIRST_PTY_LETTER
  39. #define FIRST_PTY_LETTER 'c'
  40. #define HAVE_PTYS
  41.  
  42. /* SCO Unix doesn't have load averages */
  43. #undef LDAV_SYMBOL
  44.  
  45. /* We use termcap */
  46. #undef TERMINFO
  47.  
  48. /* We use gcc, but no debugging */
  49. #define C_COMPILER gcc
  50. #define C_OPTIMIZE_SWITCH -O
  51. #define C_DEBUG_SWITCH
  52. #undef LIB_STANDARD
  53. #define LIB_STANDARD /u/local/lib/gcc-gnulib -lintl -lc
  54.  
  55. /* gcc has alloca() built in */
  56. #undef alloca
  57. #define alloca __builtin_alloca
  58.  
  59. /* Our C library includes rename, but it's BROKEN */
  60. #undef HAVE_RENAME
  61.  
  62. /* We need <sys/ptem.h> for "struct winsize" */
  63. #define NEED_PTEM_H
  64.  
  65. /* We have the POSIX terminal control functions, termios (with an "s") */
  66. #define HAVE_TERMIOS
  67.  
  68. /* The kernel supports job control, and so does the shell, now. */
  69. #if 0
  70. # undef SIGTSTP
  71. # undef SIGSTOP
  72. # undef SIGCONT
  73. # undef SIGTTIN
  74. # undef SIGTTOU
  75. # define NOPGRP
  76. #endif
  77.  
  78. /**** END TCT CHANGES ****/
  79.  
  80. /* Load in the conversion definitions if this system
  81.    needs them and the source file being compiled has not
  82.    said to inhibit this.  There should be no need for you
  83.    to alter these lines.  */
  84.  
  85. #ifdef SHORTNAMES
  86. #ifndef NO_SHORTNAMES
  87. #include "../shortnames/remap.h"
  88. #endif /* not NO_SHORTNAMES */
  89. #endif /* SHORTNAMES */
  90.  
  91. /* Define the return type of signal handlers if the s-xxx file
  92.    did not already do so.  */
  93. #ifndef SIGTYPE
  94. #define SIGTYPE int
  95. #endif
  96.  
  97. /* Define HAVE_X_WINDOWS if you want to use the X window system.  */
  98.  
  99. /* #define HAVE_X_WINDOWS */
  100.  
  101. /* Define X11 if you want to use version 11 of X windows.
  102.    Otherwise, Emacs expects to use version 10.  */
  103.  
  104. /* #define X11 */
  105.  
  106. /* Define HAVE_X_MENU if you want to use the X window menu system.
  107.    This appears to work on some machines that support X
  108.    and not on others.  */
  109.  
  110. /* #define HAVE_X_MENU */
  111.  
  112. /* Define `subprocesses' should be defined if you want to
  113.    have code for asynchronous subprocesses
  114.    (as used in M-x compile and M-x shell).
  115.    These do not work for some USG systems yet;
  116.    for the ones where they work, the s-*.h file defines this flag.  */
  117.  
  118. #ifndef VMS
  119. #ifndef USG
  120. #define subprocesses
  121. #endif
  122. #endif
  123.  
  124. /* Define USER_FULL_NAME to return a string
  125.    that is the user's full name.
  126.    It can assume that the variable `pw'
  127.    points to the password file entry for this user.
  128.  
  129.    At some sites, the pw_gecos field contains
  130.    the user's full name.  If neither this nor any other
  131.    field contains the right thing, use pw_name,
  132.    giving the user's login name, since that is better than nothing.  */
  133.  
  134. #define USER_FULL_NAME pw->pw_gecos
  135.  
  136. /* Define AMPERSAND_FULL_NAME if you use the convention
  137.    that & in the full name stands for the login id.  */
  138.  
  139. #define AMPERSAND_FULL_NAME
  140.  
  141. /* # bytes of pure Lisp code to leave space for.
  142.    Note that s-vms.h and m-sun2.h may override this default.  */
  143.  
  144. #ifndef PURESIZE
  145. #ifdef HAVE_X_WINDOWS
  146. #define PURESIZE 122000
  147. #else
  148. #define PURESIZE 119000
  149. #endif
  150. #endif
  151.  
  152. /* Define HIGHPRI as a negative number
  153.    if you want Emacs to run at a higher than normal priority.
  154.    For this to take effect, you must install Emacs with setuid root.
  155.    Emacs will change back to the users's own uid after setting
  156.    its priority.  */
  157.  
  158. /* #define HIGHPRI */
  159.  
  160.