aboutsummaryrefslogtreecommitdiffstats
path: root/src/s
diff options
context:
space:
mode:
authorStefan Monnier2010-08-11 07:42:48 +0200
committerStefan Monnier2010-08-11 07:42:48 +0200
commitc566235d981eba73c88bbff00b6a1d88360b6e9f (patch)
treef8d653add3570fe750a83d1123ed35022e0bf4ef /src/s
parent0bfdb86f425a88fe43ebc88851c6f9a6418e1862 (diff)
parent490b89acab3e759426ede25c31c94268df55e925 (diff)
downloademacs-c566235d981eba73c88bbff00b6a1d88360b6e9f.tar.gz
emacs-c566235d981eba73c88bbff00b6a1d88360b6e9f.zip
Merge from trunk
Diffstat (limited to 'src/s')
-rw-r--r--src/s/aix4-2.h5
-rw-r--r--src/s/bsd-common.h2
-rw-r--r--src/s/cygwin.h1
-rw-r--r--src/s/freebsd.h1
-rw-r--r--src/s/gnu-linux.h2
-rw-r--r--src/s/hpux10-20.h6
-rw-r--r--src/s/irix6-5.h4
-rw-r--r--src/s/ms-w32.h4
-rw-r--r--src/s/msdos.h8
-rw-r--r--src/s/sol2-6.h4
-rw-r--r--src/s/template.h5
-rw-r--r--src/s/unixware.h4
-rw-r--r--src/s/usg5-4-common.h (renamed from src/s/usg5-4.h)6
13 files changed, 6 insertions, 46 deletions
diff --git a/src/s/aix4-2.h b/src/s/aix4-2.h
index cf06f9befe0..84920f888e1 100644
--- a/src/s/aix4-2.h
+++ b/src/s/aix4-2.h
@@ -47,11 +47,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
47/* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ 47/* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */
48#define HAVE_SOCKETS 48#define HAVE_SOCKETS
49 49
50
51/* Define SYSV_SYSTEM_DIR to use the V.3 getdents/readir library
52 functions. Almost, but not quite the same as the 4.2 functions. */
53#define SYSV_SYSTEM_DIR
54
55/* The file containing the kernel's symbol table is called /unix. */ 50/* The file containing the kernel's symbol table is called /unix. */
56#define KERNEL_FILE "/unix" 51#define KERNEL_FILE "/unix"
57 52
diff --git a/src/s/bsd-common.h b/src/s/bsd-common.h
index ffb7a637488..bf78f4ec347 100644
--- a/src/s/bsd-common.h
+++ b/src/s/bsd-common.h
@@ -45,8 +45,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
45#define HAVE_TERMIOS 45#define HAVE_TERMIOS
46#define NO_TERMIO 46#define NO_TERMIO
47 47
48#define SYSV_SYSTEM_DIR
49
50/* If the system's imake configuration file defines `NeedWidePrototypes' 48/* If the system's imake configuration file defines `NeedWidePrototypes'
51 as `NO', we must define NARROWPROTO manually. Such a define is 49 as `NO', we must define NARROWPROTO manually. Such a define is
52 generated in the Makefile generated by `xmkmf'. If we don't 50 generated in the Makefile generated by `xmkmf'. If we don't
diff --git a/src/s/cygwin.h b/src/s/cygwin.h
index 93df925fcab..1b78ada53bd 100644
--- a/src/s/cygwin.h
+++ b/src/s/cygwin.h
@@ -89,7 +89,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
89#define CYGWIN 1 89#define CYGWIN 1
90 90
91#define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base) 91#define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base)
92#define SYSV_SYSTEM_DIR 1
93 92
94#define HAVE_SOCKETS 93#define HAVE_SOCKETS
95 94
diff --git a/src/s/freebsd.h b/src/s/freebsd.h
index 9082935db07..cfed343d6c5 100644
--- a/src/s/freebsd.h
+++ b/src/s/freebsd.h
@@ -28,7 +28,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
28#define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base) 28#define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base)
29 29
30#define HAVE_GETLOADAVG 1 30#define HAVE_GETLOADAVG 1
31#define DECLARE_GETPWUID_WITH_UID_T
32 31
33/* This silences a few compilation warnings. */ 32/* This silences a few compilation warnings. */
34#undef BSD_SYSTEM 33#undef BSD_SYSTEM
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h
index 80092f725fc..cf3b3079726 100644
--- a/src/s/gnu-linux.h
+++ b/src/s/gnu-linux.h
@@ -124,8 +124,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
124#define INTERRUPT_INPUT 124#define INTERRUPT_INPUT
125#endif /* emacs */ 125#endif /* emacs */
126 126
127#define SYSV_SYSTEM_DIR /* use dirent.h */
128
129#define POSIX /* affects getpagesize.h and systty.h */ 127#define POSIX /* affects getpagesize.h and systty.h */
130 128
131/* This is to work around mysterious gcc failures in some system versions. 129/* This is to work around mysterious gcc failures in some system versions.
diff --git a/src/s/hpux10-20.h b/src/s/hpux10-20.h
index ee841041edb..ee0fa9abe02 100644
--- a/src/s/hpux10-20.h
+++ b/src/s/hpux10-20.h
@@ -113,12 +113,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
113 on HP-UX. (You get duplicate symbol errors on linking). */ 113 on HP-UX. (You get duplicate symbol errors on linking). */
114#undef _FILE_OFFSET_BITS 114#undef _FILE_OFFSET_BITS
115 115
116/* Define NO_REMAP if memory segmentation makes it not work well
117 to change the boundary between the text section and data section
118 when Emacs is dumped. If you define this, the preloaded Lisp
119 code will not be sharable; but that's better than failing completely. */
120#define NO_REMAP
121
122/* Define VIRT_ADDR_VARIES if the virtual addresses of 116/* Define VIRT_ADDR_VARIES if the virtual addresses of
123 pure and impure space as loaded can vary, and even their 117 pure and impure space as loaded can vary, and even their
124 relative order cannot be relied on. 118 relative order cannot be relied on.
diff --git a/src/s/irix6-5.h b/src/s/irix6-5.h
index e2b18b2ec2b..10481f609c3 100644
--- a/src/s/irix6-5.h
+++ b/src/s/irix6-5.h
@@ -20,7 +20,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
20 20
21 21
22#define IRIX6_5 /* used in m/iris4d */ 22#define IRIX6_5 /* used in m/iris4d */
23#include "usg5-4.h" 23#include "usg5-4-common.h"
24 24
25#undef _longjmp /* use system versions, not conservative aliases */ 25#undef _longjmp /* use system versions, not conservative aliases */
26#undef _setjmp 26#undef _setjmp
@@ -91,7 +91,7 @@ char *_getpty();
91 91
92#undef SA_RESTART 92#undef SA_RESTART
93 93
94#undef TIOCSIGSEND /* defined in usg5-4.h */ 94#undef TIOCSIGSEND /* defined in usg5-4-common.h */
95 95
96/* Tested on Irix 6.5. SCM worked on earlier versions. */ 96/* Tested on Irix 6.5. SCM worked on earlier versions. */
97#define GC_SETJMP_WORKS 1 97#define GC_SETJMP_WORKS 1
diff --git a/src/s/ms-w32.h b/src/s/ms-w32.h
index b3e9db8be8a..f61fae57eff 100644
--- a/src/s/ms-w32.h
+++ b/src/s/ms-w32.h
@@ -62,10 +62,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
62 for received packets, so datagrams are broken too. */ 62 for received packets, so datagrams are broken too. */
63#define BROKEN_DATAGRAM_SOCKETS 1 63#define BROKEN_DATAGRAM_SOCKETS 1
64 64
65/* If your system uses COFF (Common Object File Format) then define the
66 preprocessor symbol "COFF". */
67#define COFF 1
68
69#define MAIL_USE_POP 1 65#define MAIL_USE_POP 1
70#define MAIL_USE_SYSTEM_LOCK 1 66#define MAIL_USE_SYSTEM_LOCK 1
71 67
diff --git a/src/s/msdos.h b/src/s/msdos.h
index b76b583250c..8dd8e3cf490 100644
--- a/src/s/msdos.h
+++ b/src/s/msdos.h
@@ -38,17 +38,11 @@ You lose; /* Emacs for DOS must be compiled with DJGPP */
38 It sets the Lisp variable system-type. */ 38 It sets the Lisp variable system-type. */
39#define SYSTEM_TYPE "ms-dos" 39#define SYSTEM_TYPE "ms-dos"
40 40
41#define SYSV_SYSTEM_DIR
42
43/* subprocesses should be defined if you want to have code for 41/* subprocesses should be defined if you want to have code for
44 asynchronous subprocesses (as used in M-x compile and M-x shell). 42 asynchronous subprocesses (as used in M-x compile and M-x shell).
45 This is the only system that needs this. */ 43 This is the only system that needs this. */
46#undef subprocesses 44#undef subprocesses
47 45
48/* If your system uses COFF (Common Object File Format) then define the
49 preprocessor symbol "COFF". */
50#define COFF
51
52/* Here, on a separate page, add any special hacks needed to make 46/* Here, on a separate page, add any special hacks needed to make
53 Emacs work on this system. For example, you might define certain 47 Emacs work on this system. For example, you might define certain
54 system call names that don't exist on your system, or that do 48 system call names that don't exist on your system, or that do
@@ -131,7 +125,5 @@ You lose; /* Emacs for DOS must be compiled with DJGPP */
131#define GC_SETJMP_WORKS 1 125#define GC_SETJMP_WORKS 1
132#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS 126#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
133 127
134#define NO_REMAP
135
136/* arch-tag: d184f860-815d-4ff4-8187-d05c0f3c37d0 128/* arch-tag: d184f860-815d-4ff4-8187-d05c0f3c37d0
137 (do not change this comment) */ 129 (do not change this comment) */
diff --git a/src/s/sol2-6.h b/src/s/sol2-6.h
index f4719093d4a..3b707aa5c3c 100644
--- a/src/s/sol2-6.h
+++ b/src/s/sol2-6.h
@@ -18,7 +18,7 @@ GNU General Public License for more details.
18You should have received a copy of the GNU General Public License 18You should have received a copy of the GNU General Public License
19along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ 19along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
20 20
21#include "usg5-4.h" 21#include "usg5-4-common.h"
22 22
23#define SOLARIS2 23#define SOLARIS2
24 24
@@ -34,7 +34,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
34#define HAVE_LIBKSTAT 34#define HAVE_LIBKSTAT
35#endif 35#endif
36 36
37/* This is the same definition as in usg5-4.h, but with sigblock/sigunblock 37/* This is the same definition as in usg5-4-common.h, but with sigblock/sigunblock
38 rather than sighold/sigrelse, which appear to be BSD4.1 specific. 38 rather than sighold/sigrelse, which appear to be BSD4.1 specific.
39 It may also be appropriate for SVR4.x 39 It may also be appropriate for SVR4.x
40 (x<2) but I'm not sure. fnf@cygnus.com */ 40 (x<2) but I'm not sure. fnf@cygnus.com */
diff --git a/src/s/template.h b/src/s/template.h
index 67ed13e6180..dd1e56f8553 100644
--- a/src/s/template.h
+++ b/src/s/template.h
@@ -85,11 +85,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
85 85
86/* #undef subprocesses */ 86/* #undef subprocesses */
87 87
88/* If your system uses COFF (Common Object File Format) then define the
89 preprocessor symbol "COFF". */
90
91/* #define COFF */
92
93/* Define CLASH_DETECTION if you want lock files to be written 88/* Define CLASH_DETECTION if you want lock files to be written
94 so that Emacs can tell instantly when you try to modify 89 so that Emacs can tell instantly when you try to modify
95 a file that someone else has modified in his Emacs. */ 90 a file that someone else has modified in his Emacs. */
diff --git a/src/s/unixware.h b/src/s/unixware.h
index 864f09786b6..ac989d48e2c 100644
--- a/src/s/unixware.h
+++ b/src/s/unixware.h
@@ -19,7 +19,7 @@ You should have received a copy of the GNU General Public License
19along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ 19along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
20 20
21 21
22#include "usg5-4.h" 22#include "usg5-4-common.h"
23 23
24/* fnf@cygnus.com says these exist. */ 24/* fnf@cygnus.com says these exist. */
25#define HAVE_TCATTR 25#define HAVE_TCATTR
@@ -28,7 +28,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
28 28
29#undef HAVE_SYSV_SIGPAUSE 29#undef HAVE_SYSV_SIGPAUSE
30 30
31/* This is the same definition as in usg5-4.h, but with sigblock/sigunblock 31/* This is the same definition as in usg5-4-common.h, but with sigblock/sigunblock
32 rather than sighold/sigrelse, which appear to be BSD4.1 specific. 32 rather than sighold/sigrelse, which appear to be BSD4.1 specific.
33 It may also be appropriate for SVR4.x 33 It may also be appropriate for SVR4.x
34 (x<2) but I'm not sure. fnf@cygnus.com */ 34 (x<2) but I'm not sure. fnf@cygnus.com */
diff --git a/src/s/usg5-4.h b/src/s/usg5-4-common.h
index b92a5bbb450..7ff5c6f7be3 100644
--- a/src/s/usg5-4.h
+++ b/src/s/usg5-4-common.h
@@ -35,10 +35,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
35 for terminal control. */ 35 for terminal control. */
36#define HAVE_TERMIO 36#define HAVE_TERMIO
37 37
38/* Define SYSV_SYSTEM_DIR to use the V.3 getdents/readir library
39 functions. Almost, but not quite the same as the 4.2 functions. */
40#define SYSV_SYSTEM_DIR
41
42/* The file containing the kernel's symbol table is called /unix. */ 38/* The file containing the kernel's symbol table is called /unix. */
43#define KERNEL_FILE "/unix" 39#define KERNEL_FILE "/unix"
44 40
@@ -56,8 +52,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
56/* On USG systems signal handlers return void. */ 52/* On USG systems signal handlers return void. */
57#define SIGTYPE void 53#define SIGTYPE void
58 54
59#undef COFF
60
61/* Get FIONREAD from <sys/filio.h>. Get <sys/ttold.h> to get struct tchars. 55/* Get FIONREAD from <sys/filio.h>. Get <sys/ttold.h> to get struct tchars.
62 But get <termio.h> first to make sure ttold.h doesn't interfere. 56 But get <termio.h> first to make sure ttold.h doesn't interfere.
63 And don't try to use SIGIO yet. */ 57 And don't try to use SIGIO yet. */