aboutsummaryrefslogtreecommitdiffstats
path: root/src/s
diff options
context:
space:
mode:
authorJoakim Verona2012-06-13 18:00:21 +0200
committerJoakim Verona2012-06-13 18:00:21 +0200
commit13d6898b0656b38da837261ec20a055a1be4a7e5 (patch)
treeb3399abf9cbea221b083b5bd8368915169b02fb1 /src/s
parent5259b41aab32e82ff06d977877f2e456541b3c0b (diff)
parent8cca97031d60136b3bdebef0d978ee3fe40eddec (diff)
downloademacs-13d6898b0656b38da837261ec20a055a1be4a7e5.tar.gz
emacs-13d6898b0656b38da837261ec20a055a1be4a7e5.zip
upstream, doesn build yet
Diffstat (limited to 'src/s')
-rw-r--r--src/s/aix4-2.h4
-rw-r--r--src/s/bsd-common.h6
-rw-r--r--src/s/cygwin.h4
-rw-r--r--src/s/darwin.h6
-rw-r--r--src/s/gnu-kfreebsd.h9
-rw-r--r--src/s/gnu-linux.h7
-rw-r--r--src/s/gnu.h5
-rw-r--r--src/s/hpux10-20.h10
-rw-r--r--src/s/hpux11.h9
-rw-r--r--src/s/irix6-5.h5
-rw-r--r--src/s/ms-w32.h4
-rw-r--r--src/s/msdos.h4
-rw-r--r--src/s/openbsd.h9
-rw-r--r--src/s/sol2-10.h10
-rw-r--r--src/s/template.h5
-rw-r--r--src/s/unixware.h2
-rw-r--r--src/s/usg5-4-common.h11
17 files changed, 1 insertions, 109 deletions
diff --git a/src/s/aix4-2.h b/src/s/aix4-2.h
index cacfdc7ed63..51ac9748f27 100644
--- a/src/s/aix4-2.h
+++ b/src/s/aix4-2.h
@@ -26,10 +26,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
26#define _AIX 26#define _AIX
27#endif 27#endif
28 28
29/* SYSTEM_TYPE should indicate the kind of system you are using.
30 It sets the Lisp variable system-type. */
31#define SYSTEM_TYPE "aix"
32
33/* In AIX, you allocate a pty by opening /dev/ptc to get the master side. 29/* In AIX, you allocate a pty by opening /dev/ptc to get the master side.
34 To get the name of the slave side, you just ttyname() the master side. */ 30 To get the name of the slave side, you just ttyname() the master side. */
35#define PTY_ITERATION int c; for (c = 0; !c ; c++) 31#define PTY_ITERATION int c; for (c = 0; !c ; c++)
diff --git a/src/s/bsd-common.h b/src/s/bsd-common.h
index c2dbdb9a109..ce67dd7b9af 100644
--- a/src/s/bsd-common.h
+++ b/src/s/bsd-common.h
@@ -37,8 +37,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
37#define TABDLY OXTABS 37#define TABDLY OXTABS
38#define TAB3 OXTABS 38#define TAB3 OXTABS
39 39
40#define NO_TERMIO
41
42/* If the system's imake configuration file defines `NeedWidePrototypes' 40/* If the system's imake configuration file defines `NeedWidePrototypes'
43 as `NO', we must define NARROWPROTO manually. Such a define is 41 as `NO', we must define NARROWPROTO manually. Such a define is
44 generated in the Makefile generated by `xmkmf'. If we don't 42 generated in the Makefile generated by `xmkmf'. If we don't
@@ -46,10 +44,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
46 for X functions taking float or double parameters. */ 44 for X functions taking float or double parameters. */
47#define NARROWPROTO 1 45#define NARROWPROTO 1
48 46
49/* SYSTEM_TYPE should indicate the kind of system you are using.
50 It sets the Lisp variable system-type. */
51#define SYSTEM_TYPE "berkeley-unix"
52
53/* Do not use interrupt_input = 1 by default, because in 4.3 47/* Do not use interrupt_input = 1 by default, because in 4.3
54 we can make noninterrupt input work properly. */ 48 we can make noninterrupt input work properly. */
55#undef INTERRUPT_INPUT 49#undef INTERRUPT_INPUT
diff --git a/src/s/cygwin.h b/src/s/cygwin.h
index 9310890351e..9b437341324 100644
--- a/src/s/cygwin.h
+++ b/src/s/cygwin.h
@@ -17,10 +17,6 @@ GNU General Public License for more details.
17You should have received a copy of the GNU General Public License 17You should have received a copy of the GNU General Public License
18along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ 18along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
19 19
20/* SYSTEM_TYPE should indicate the kind of system you are using.
21 It sets the Lisp variable system-type. */
22#define SYSTEM_TYPE "cygwin"
23
24/* Emacs can read input using SIGIO and buffering characters itself, 20/* Emacs can read input using SIGIO and buffering characters itself,
25 or using CBREAK mode and making C-g cause SIGINT. 21 or using CBREAK mode and making C-g cause SIGINT.
26 The choice is controlled by the variable interrupt_input. 22 The choice is controlled by the variable interrupt_input.
diff --git a/src/s/darwin.h b/src/s/darwin.h
index 7c8e26f46cc..ce86bc5f578 100644
--- a/src/s/darwin.h
+++ b/src/s/darwin.h
@@ -31,10 +31,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
31#define DARWIN_OS 31#define DARWIN_OS
32 32
33 33
34/* SYSTEM_TYPE should indicate the kind of system you are using.
35 It sets the Lisp variable system-type. */
36#define SYSTEM_TYPE "darwin"
37
38/* Emacs can read input using SIGIO and buffering characters itself, 34/* Emacs can read input using SIGIO and buffering characters itself,
39 or using CBREAK mode and making C-g cause SIGINT. 35 or using CBREAK mode and making C-g cause SIGINT.
40 The choice is controlled by the variable interrupt_input. 36 The choice is controlled by the variable interrupt_input.
@@ -62,8 +58,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
62 if system supports pty's. 'a' means it is /dev/ptya0 */ 58 if system supports pty's. 'a' means it is /dev/ptya0 */
63#define FIRST_PTY_LETTER 'p' 59#define FIRST_PTY_LETTER 'p'
64 60
65#define NO_TERMIO
66
67/* Define HAVE_PTYS if the system supports pty devices. 61/* Define HAVE_PTYS if the system supports pty devices.
68 Note: PTYs are broken on darwin <6. Use at your own risk. */ 62 Note: PTYs are broken on darwin <6. Use at your own risk. */
69#define HAVE_PTYS 63#define HAVE_PTYS
diff --git a/src/s/gnu-kfreebsd.h b/src/s/gnu-kfreebsd.h
deleted file mode 100644
index a85571915df..00000000000
--- a/src/s/gnu-kfreebsd.h
+++ /dev/null
@@ -1,9 +0,0 @@
1#include "gnu-linux.h"
2
3/* SYSTEM_TYPE should indicate the kind of system you are using.
4 It sets the Lisp variable system-type. */
5#undef SYSTEM_TYPE
6#define SYSTEM_TYPE "gnu/kfreebsd" /* All the best software is free */
7
8#define NO_TERMIO /* use only <termios.h> */
9
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h
index 409d0205520..e3d43249d81 100644
--- a/src/s/gnu-linux.h
+++ b/src/s/gnu-linux.h
@@ -25,10 +25,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
25#define USG 25#define USG
26#define GNU_LINUX 26#define GNU_LINUX
27 27
28/* SYSTEM_TYPE should indicate the kind of system you are using.
29 It sets the Lisp variable system-type. */
30#define SYSTEM_TYPE "gnu/linux" /* All the best software is free. */
31
32#ifdef emacs 28#ifdef emacs
33#ifdef HAVE_LINUX_VERSION_H 29#ifdef HAVE_LINUX_VERSION_H
34#include <linux/version.h> 30#include <linux/version.h>
@@ -85,9 +81,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
85 81
86#define HAVE_SOCKETS 82#define HAVE_SOCKETS
87 83
88/* This is used in list_system_processes. */
89#define HAVE_PROCFS 1
90
91/* Define CLASH_DETECTION if you want lock files to be written 84/* Define CLASH_DETECTION if you want lock files to be written
92 so that Emacs can tell instantly when you try to modify 85 so that Emacs can tell instantly when you try to modify
93 a file that someone else has modified in his Emacs. */ 86 a file that someone else has modified in his Emacs. */
diff --git a/src/s/gnu.h b/src/s/gnu.h
index cd72164a520..c2bcf7fd9ab 100644
--- a/src/s/gnu.h
+++ b/src/s/gnu.h
@@ -21,9 +21,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
21/* Get most of the stuff from bsd-common */ 21/* Get most of the stuff from bsd-common */
22#include "bsd-common.h" 22#include "bsd-common.h"
23 23
24#undef SYSTEM_TYPE
25#define SYSTEM_TYPE "gnu"
26
27#define SIGNALS_VIA_CHARACTERS 24#define SIGNALS_VIA_CHARACTERS
28 25
29/* libc defines data_start. */ 26/* libc defines data_start. */
@@ -41,5 +38,3 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
41 ((FILE)->_IO_write_ptr - (FILE)->_IO_write_base) 38 ((FILE)->_IO_write_ptr - (FILE)->_IO_write_base)
42#endif /* !_IO_STDIO_H */ 39#endif /* !_IO_STDIO_H */
43#endif /* emacs */ 40#endif /* emacs */
44
45#define POSIX_SIGNALS 1
diff --git a/src/s/hpux10-20.h b/src/s/hpux10-20.h
index f1ae50c533a..683837891f4 100644
--- a/src/s/hpux10-20.h
+++ b/src/s/hpux10-20.h
@@ -26,16 +26,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
26#define USG5 26#define USG5
27#define HPUX 27#define HPUX
28 28
29/* SYSTEM_TYPE should indicate the kind of system you are using.
30 It sets the Lisp variable system-type. */
31#define SYSTEM_TYPE "hpux"
32
33/* Letter to use in finding device name of first pty, 29/* Letter to use in finding device name of first pty,
34 if system supports pty's. 'p' means it is /dev/ptym/ptyp0 */ 30 if system supports pty's. 'p' means it is /dev/ptym/ptyp0 */
35#define FIRST_PTY_LETTER 'p' 31#define FIRST_PTY_LETTER 'p'
36 32
37#define NO_TERMIO
38
39/* Define HAVE_PTYS if the system supports pty devices. */ 33/* Define HAVE_PTYS if the system supports pty devices. */
40#define HAVE_PTYS 34#define HAVE_PTYS
41 35
@@ -49,10 +43,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
49 43
50/* Special hacks needed to make Emacs run on this system. */ 44/* Special hacks needed to make Emacs run on this system. */
51 45
52/* In hpux, the symbol SIGIO is defined, but the feature
53 doesn't work in the way Emacs needs it to. */
54#define BROKEN_SIGIO
55
56/* Some additional system facilities exist. */ 46/* Some additional system facilities exist. */
57#define HAVE_PERROR /* Delete this line for version 6. */ 47#define HAVE_PERROR /* Delete this line for version 6. */
58 48
diff --git a/src/s/hpux11.h b/src/s/hpux11.h
deleted file mode 100644
index 40bcc987973..00000000000
--- a/src/s/hpux11.h
+++ /dev/null
@@ -1,9 +0,0 @@
1#include "hpux10-20.h"
2
3/* SA_RESTART resets the timeout of `select', so don't use it. */
4#define BROKEN_SA_RESTART
5
6/* It does work on HPUX to open the pty's tty in the parent (Emacs),
7 then close and reopen it in the child. */
8#define USG_SUBTTY_WORKS
9
diff --git a/src/s/irix6-5.h b/src/s/irix6-5.h
index e5479c3b8d3..7e5a5505ee2 100644
--- a/src/s/irix6-5.h
+++ b/src/s/irix6-5.h
@@ -26,11 +26,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
26 26
27#define SETPGRP_RELEASES_CTTY 27#define SETPGRP_RELEASES_CTTY
28 28
29#ifdef SYSTEM_TYPE
30#undef SYSTEM_TYPE
31#endif
32#define SYSTEM_TYPE "irix"
33
34#ifdef SETUP_SLAVE_PTY 29#ifdef SETUP_SLAVE_PTY
35#undef SETUP_SLAVE_PTY 30#undef SETUP_SLAVE_PTY
36#endif 31#endif
diff --git a/src/s/ms-w32.h b/src/s/ms-w32.h
index f88128b27aa..5bf71d5f321 100644
--- a/src/s/ms-w32.h
+++ b/src/s/ms-w32.h
@@ -36,10 +36,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
36 convention must be whatever standard the libraries expect. */ 36 convention must be whatever standard the libraries expect. */
37#define _CALLBACK_ __cdecl 37#define _CALLBACK_ __cdecl
38 38
39/* SYSTEM_TYPE should indicate the kind of system you are using.
40 It sets the Lisp variable system-type. */
41#define SYSTEM_TYPE "windows-nt"
42
43#define NO_MATHERR 1 39#define NO_MATHERR 1
44 40
45/* Letter to use in finding device name of first pty, 41/* Letter to use in finding device name of first pty,
diff --git a/src/s/msdos.h b/src/s/msdos.h
index add2902d5f3..fc1a8c7506a 100644
--- a/src/s/msdos.h
+++ b/src/s/msdos.h
@@ -33,10 +33,6 @@ You lose; /* Emacs for DOS must be compiled with DJGPP */
33#define DOS_NT /* MSDOS or WINDOWSNT */ 33#define DOS_NT /* MSDOS or WINDOWSNT */
34#undef BSD_SYSTEM 34#undef BSD_SYSTEM
35 35
36/* SYSTEM_TYPE should indicate the kind of system you are using.
37 It sets the Lisp variable system-type. */
38#define SYSTEM_TYPE "ms-dos"
39
40/* subprocesses should be defined if you want to have code for 36/* subprocesses should be defined if you want to have code for
41 asynchronous subprocesses (as used in M-x compile and M-x shell). 37 asynchronous subprocesses (as used in M-x compile and M-x shell).
42 This is the only system that needs this. */ 38 This is the only system that needs this. */
diff --git a/src/s/openbsd.h b/src/s/openbsd.h
deleted file mode 100644
index 0a8bab2290f..00000000000
--- a/src/s/openbsd.h
+++ /dev/null
@@ -1,9 +0,0 @@
1/* System file for openbsd. */
2
3/* Nearly the same as NetBSD. Note there are differences in configure. */
4#include "netbsd.h"
5
6/* The symbol SIGIO is defined, but the feature doesn't work in the
7 way Emacs needs it to. See
8 <http://article.gmane.org/gmane.os.openbsd.ports/46831>. */
9#define BROKEN_SIGIO
diff --git a/src/s/sol2-10.h b/src/s/sol2-10.h
deleted file mode 100644
index b20476e7fba..00000000000
--- a/src/s/sol2-10.h
+++ /dev/null
@@ -1,10 +0,0 @@
1/* Handle Solaris 2.10. */
2
3#include "sol2-6.h"
4
5/* This is used in list_system_processes. */
6#define HAVE_PROCFS 1
7
8/* This is needed for the system_process_attributes implementation. */
9#define _STRUCTURED_PROC 1
10
diff --git a/src/s/template.h b/src/s/template.h
index 527694bd4bb..d8f811dc8aa 100644
--- a/src/s/template.h
+++ b/src/s/template.h
@@ -30,11 +30,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
30/* #define BSD4_3 */ 30/* #define BSD4_3 */
31/* #define BSD_SYSTEM */ 31/* #define BSD_SYSTEM */
32 32
33/* SYSTEM_TYPE should indicate the kind of system you are using.
34 It sets the Lisp variable system-type. */
35
36#define SYSTEM_TYPE "berkeley-unix"
37
38/* Emacs can read input using SIGIO and buffering characters itself, 33/* Emacs can read input using SIGIO and buffering characters itself,
39 or using CBREAK mode and making C-g cause SIGINT. 34 or using CBREAK mode and making C-g cause SIGINT.
40 The choice is controlled by the variable interrupt_input. 35 The choice is controlled by the variable interrupt_input.
diff --git a/src/s/unixware.h b/src/s/unixware.h
index 63c36ee40c2..18d24b28507 100644
--- a/src/s/unixware.h
+++ b/src/s/unixware.h
@@ -23,8 +23,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
23/* #define HAVE_GETWD (appears to be buggy on SVR4.2) */ 23/* #define HAVE_GETWD (appears to be buggy on SVR4.2) */
24#undef HAVE_GETWD 24#undef HAVE_GETWD
25 25
26#undef HAVE_SYSV_SIGPAUSE
27
28/* This is the same definition as in usg5-4-common.h, but with sigblock/sigunblock 26/* This is the same definition as in usg5-4-common.h, but with sigblock/sigunblock
29 rather than sighold/sigrelse, which appear to be BSD4.1 specific. 27 rather than sighold/sigrelse, which appear to be BSD4.1 specific.
30 It may also be appropriate for SVR4.x 28 It may also be appropriate for SVR4.x
diff --git a/src/s/usg5-4-common.h b/src/s/usg5-4-common.h
index fabdd66f3bb..1502228c0d8 100644
--- a/src/s/usg5-4-common.h
+++ b/src/s/usg5-4-common.h
@@ -26,21 +26,13 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
26#define USG5 26#define USG5
27#define USG5_4 27#define USG5_4
28 28
29/* SYSTEM_TYPE should indicate the kind of system you are using.
30 It sets the Lisp variable system-type. */
31#define SYSTEM_TYPE "usg-unix-v"
32
33/* setjmp and longjmp can safely replace _setjmp and _longjmp, 29/* setjmp and longjmp can safely replace _setjmp and _longjmp,
34 but they will run slower. */ 30 but they will run slower. */
35#define _setjmp setjmp 31#define _setjmp setjmp
36#define _longjmp longjmp 32#define _longjmp longjmp
37 33
38/* The docs for system V/386 suggest v.3 has sigpause, so let's try it. */
39#define HAVE_SYSV_SIGPAUSE
40
41/* Get FIONREAD from <sys/filio.h>. Get <sys/ttold.h> to get struct tchars. 34/* Get FIONREAD from <sys/filio.h>. Get <sys/ttold.h> to get struct tchars.
42 But get <termio.h> first to make sure ttold.h doesn't interfere. 35 But get <termio.h> first to make sure ttold.h doesn't interfere. */
43 And don't try to use SIGIO yet. */
44#include <sys/wait.h> 36#include <sys/wait.h>
45 37
46#ifdef emacs 38#ifdef emacs
@@ -51,7 +43,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
51#include <sys/stream.h> 43#include <sys/stream.h>
52#include <sys/stropts.h> 44#include <sys/stropts.h>
53#include <sys/termios.h> 45#include <sys/termios.h>
54#define BROKEN_SIGIO
55#endif 46#endif
56 47
57/* Some SVr4s don't define NSIG in sys/signal.h for ANSI environments; 48/* Some SVr4s don't define NSIG in sys/signal.h for ANSI environments;