template.h 2.87 KB
Newer Older
Jim Blandy's avatar
Jim Blandy committed
1 2 3
/* Template for system description header files.
   This file describes the parameters that system description files
   should define or not.
4

5
Copyright (C) 1985-1986, 1992, 1999, 2001-2012  Free Software Foundation, Inc.
Jim Blandy's avatar
Jim Blandy committed
6 7 8

This file is part of GNU Emacs.

9
GNU Emacs is free software: you can redistribute it and/or modify
Jim Blandy's avatar
Jim Blandy committed
10
it under the terms of the GNU General Public License as published by
11 12
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Jim Blandy's avatar
Jim Blandy committed
13 14 15 16 17 18 19

GNU Emacs is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
20
along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
Jim Blandy's avatar
Jim Blandy committed
21 22


23 24
/* Define symbols to identify the version of Unix this is.
   Define all the symbols that apply correctly.  */
Jim Blandy's avatar
Jim Blandy committed
25 26 27 28 29

/* #define USG5 */
/* #define USG */
/* #define HPUX */
/* #define BSD4_2 */
Karl Heuer's avatar
Karl Heuer committed
30
/* #define BSD_SYSTEM */
Jim Blandy's avatar
Jim Blandy committed
31 32

/* Letter to use in finding device name of first pty,
33
   if system supports pty's.  'a' means it is /dev/ptya0.  */
Jim Blandy's avatar
Jim Blandy committed
34 35
#define FIRST_PTY_LETTER 'a'

Dan Nicolaescu's avatar
Dan Nicolaescu committed
36
/* subprocesses should be undefined if you do NOT want to
Jim Blandy's avatar
Jim Blandy committed
37 38
   have code for asynchronous subprocesses
   (as used in M-x compile and M-x shell).
39
   Currently only MSDOS does not support this.  */
Jim Blandy's avatar
Jim Blandy committed
40

Dan Nicolaescu's avatar
Dan Nicolaescu committed
41
/* #undef subprocesses */
Jim Blandy's avatar
Jim Blandy committed
42

43 44 45 46
/* If the character used to separate elements of the executable path
   is not ':', #define this to be the appropriate character constant.  */
/* #define SEPCHAR ':' */

47 48
/* ============================================================ */

49 50 51 52 53
/* Here, add any special hacks needed to make Emacs work on this
   system.  For example, you might define certain system call names
   that don't exist on your system, or that do different things on
   your system and must be used only through an encapsulation (which
   you should place, by convention, in sysdep.c).  */
54

Gerd Moellmann's avatar
Gerd Moellmann committed
55 56
/* If the system's imake configuration file defines `NeedWidePrototypes'
   as `NO', we must define NARROWPROTO manually.  Such a define is
57
   generated in the Makefile generated by `xmkmf'.  If we don't
Gerd Moellmann's avatar
Gerd Moellmann committed
58 59 60 61 62
   define NARROWPROTO, we will see the wrong function prototypes
   for X functions taking float or double parameters.  */

/*  #define NARROWPROTO 1 */

63
/* ============================================================ */
64 65

/* After adding support for a new system, modify the large case
66
   statement in configure.ac to recognize reasonable
67 68 69
   configuration names, and add a description of the system to
   `etc/MACHINES'.

70
   Check for any tests of $opsys in configure.ac, and add an entry
71 72
   for the new system if needed.

73 74 75
   If you've just fixed a problem in an existing configuration file,
   you should also check `etc/MACHINES' to make sure its descriptions
   of known problems in that configuration should be updated.  */