home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / emacs-19.16 / src / s / sco4.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-05-28  |  2.3 KB  |  87 lines

  1. /* System description file for SCO 3.2v4.
  2.    Copyright (C) 1993 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 2, 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. /* Contributed by Ian Lance Taylor, ian@cygnus.com.  */
  21.  
  22. /* SCO is sort of like SVR3.  */
  23. #include "usg5-3.h"
  24.  
  25. /* SYSTEM_TYPE should indicate the kind of system you are using.  */
  26. #undef SYSTEM_TYPE
  27. #define SYSTEM_TYPE "SCO 3.2v4"
  28.  
  29. /* SCO supports job control.  */
  30. #undef NOMULTIPLEJOBS
  31.  
  32. /* SCO has termios.  */
  33. #define HAVE_TERMIOS
  34.  
  35. /* SCO has timeval.  */
  36. #define HAVE_TIMEVAL
  37.  
  38. /* SCO has ptys with unusual names.  */
  39. #define HAVE_PTYS
  40.  
  41. #define PTY_ITERATION \
  42.    for (i = 0; ; i++)
  43. #define PTY_NAME_SPRINTF \
  44.   sprintf (pty_name, "/dev/ptyp%d", i);
  45. #define PTY_TTY_NAME_SPRINTF \
  46.   sprintf (pty_name, "/dev/ttyp%d", i);
  47.  
  48. /* SCO has bcopy, et. al.  */
  49. #define BSTRING
  50.  
  51. /* Sockets are an option on SCO.  If you have X, you have them.
  52.    They also exist if you have TCP, but we don't know how to test
  53.    for that.  */
  54. #ifdef HAVE_X_WINDOWS
  55. #define HAVE_SOCKETS
  56. #endif
  57.  
  58. #ifdef HAVE_SOCKETS
  59. #define LIBS_SYSTEM -lsocket
  60.  
  61. /* SCO has gettimeofday in socket library */
  62. #define HAVE_GETTIMEOFDAY
  63. #endif
  64.  
  65. /* We don't have -loldX, and we don't need it.  */
  66. #define LIB_XMENU_LIB
  67.  
  68. /* SCO does have TIOCGWINSZ.  */
  69. #undef BROKEN_TIOCGWINSZ
  70. #define NEED_PTEM_H
  71.  
  72. /* We need to link with crt1.o and crtn.o.  */
  73. #define START_FILES pre-crt0.o /lib/crt1.o
  74. #define LIB_STANDARD -lc /lib/crtn.o
  75.  
  76. /* Send signals to subprocesses by "typing" signal chars at them.  */
  77. #define SIGNALS_VIA_CHARACTERS
  78.  
  79. /* Specify program for etc/fakemail to run.  Define SMAIL if you are
  80.    using smail, don't for MMDF.  */
  81.  
  82. #ifdef SMAIL
  83. #define MAIL_PROGRAM_NAME "/bin/smail -q0"
  84. #else
  85. #define MAIL_PROGRAM_NAME "/usr/lib/mail/execmail"
  86. #endif
  87.