aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2012-07-11 21:49:28 -0400
committerGlenn Morris2012-07-11 21:49:28 -0400
commit7ccad0028b6c1ee6c694332f70cb067a8169ab1e (patch)
tree8937f59882db11a750b8e2cba124834f1bf16916 /src
parentea0bbd1767884d08671f0500ba6c8f8b68a7fc4d (diff)
downloademacs-7ccad0028b6c1ee6c694332f70cb067a8169ab1e.tar.gz
emacs-7ccad0028b6c1ee6c694332f70cb067a8169ab1e.zip
Move more stuff from src/s to configure
* configure.ac (PREFER_VSUSP, RUN_TIME_REMAP, SETPGRP_RELEASES_CTTY) (TAB3, TABDLY, RUN_TIME_REMAP, XOS_NEEDS_TIME_H): Move here from src/s. * src/s/bsd-common.h, src/s/darwin.h: Move TAB3 to configure. * src/s/hpux10-20.h, src/s/sol2-6.h: Move XOS_NEEDS_TIME_H to configure. * src/s/irix6-5.h (SETPGRP_RELEASES_CTTY, PREFER_VSUSP): * src/s/hpux10-20.h (RUN_TIME_REMAP): * src/s/bsd-common.h (TABDLY): Move to configure.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog8
-rw-r--r--src/s/bsd-common.h3
-rw-r--r--src/s/darwin.h3
-rw-r--r--src/s/hpux10-20.h5
-rw-r--r--src/s/irix6-5.h5
-rw-r--r--src/s/sol2-6.h3
6 files changed, 8 insertions, 19 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 9085e91f9ce..6aa14c96198 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,13 @@
12012-07-12 Glenn Morris <rgm@gnu.org> 12012-07-12 Glenn Morris <rgm@gnu.org>
2 2
3 * s/irix6-5.h (SETPGRP_RELEASES_CTTY, PREFER_VSUSP):
4 * s/hpux10-20.h (RUN_TIME_REMAP):
5 * s/bsd-common.h (TABDLY): Move to configure.
6
7 * s/hpux10-20.h, s/sol2-6.h: Move XOS_NEEDS_TIME_H to configure.
8
9 * s/bsd-common.h, s/darwin.h: Move TAB3 to configure.
10
3 * s/aix4-2.h (BROKEN_FIONREAD, BROKEN_SIGAIO, BROKEN_SIGPTY) 11 * s/aix4-2.h (BROKEN_FIONREAD, BROKEN_SIGAIO, BROKEN_SIGPTY)
4 (BROKEN_SIGPOLL): Let configure set them. 12 (BROKEN_SIGPOLL): Let configure set them.
5 13
diff --git a/src/s/bsd-common.h b/src/s/bsd-common.h
index 0fa6d146479..901ed0c490e 100644
--- a/src/s/bsd-common.h
+++ b/src/s/bsd-common.h
@@ -37,8 +37,5 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
37/* For mem-limits.h. */ 37/* For mem-limits.h. */
38#define BSD4_2 38#define BSD4_2
39 39
40#define TABDLY OXTABS
41#define TAB3 OXTABS
42
43/* First pty name is /dev/ptyp0. */ 40/* First pty name is /dev/ptyp0. */
44#define FIRST_PTY_LETTER 'p' 41#define FIRST_PTY_LETTER 'p'
diff --git a/src/s/darwin.h b/src/s/darwin.h
index 548e3b4779e..7b4b5e196e3 100644
--- a/src/s/darwin.h
+++ b/src/s/darwin.h
@@ -60,9 +60,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
60 also the name of a Mach system call. */ 60 also the name of a Mach system call. */
61#define init_process emacs_init_process 61#define init_process emacs_init_process
62 62
63/* System uses OXTABS instead of the expected TAB3. (Copied from bsd386.h.) */
64#define TAB3 OXTABS
65
66/* Definitions for how to compile & link. */ 63/* Definitions for how to compile & link. */
67#ifdef HAVE_NS 64#ifdef HAVE_NS
68#define SYSTEM_PURESIZE_EXTRA 200000 65#define SYSTEM_PURESIZE_EXTRA 200000
diff --git a/src/s/hpux10-20.h b/src/s/hpux10-20.h
index a7283a8026e..47908c9a4c0 100644
--- a/src/s/hpux10-20.h
+++ b/src/s/hpux10-20.h
@@ -18,8 +18,6 @@ You 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 20
21#define RUN_TIME_REMAP
22
23/* Define symbols to identify the version of Unix this is. 21/* Define symbols to identify the version of Unix this is.
24 Define all the symbols that apply correctly. */ 22 Define all the symbols that apply correctly. */
25#define USG /* System III, System V, etc */ 23#define USG /* System III, System V, etc */
@@ -40,9 +38,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
40#define PTY_NAME_SPRINTF \ 38#define PTY_NAME_SPRINTF \
41 sprintf (pty_name, "/dev/ptym/pty%c%x", c, i); 39 sprintf (pty_name, "/dev/ptym/pty%c%x", c, i);
42 40
43/* This triggers a conditional in xfaces.c. */
44#define XOS_NEEDS_TIME_H
45
46/* Assar Westerlund <assar@sics.se> says this is necessary for 41/* Assar Westerlund <assar@sics.se> says this is necessary for
47 HP-UX 10.20, and that it works for HP-UX 0 as well. */ 42 HP-UX 10.20, and that it works for HP-UX 0 as well. */
48#define NO_EDITRES 43#define NO_EDITRES
diff --git a/src/s/irix6-5.h b/src/s/irix6-5.h
index cd06af7c2bb..dd7a00d0ba7 100644
--- a/src/s/irix6-5.h
+++ b/src/s/irix6-5.h
@@ -24,8 +24,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
24#undef _longjmp /* use system versions, not conservative aliases */ 24#undef _longjmp /* use system versions, not conservative aliases */
25#undef _setjmp 25#undef _setjmp
26 26
27#define SETPGRP_RELEASES_CTTY
28
29#undef SETUP_SLAVE_PTY 27#undef SETUP_SLAVE_PTY
30 28
31/* Letter to use in finding device name of first pty, 29/* Letter to use in finding device name of first pty,
@@ -67,9 +65,6 @@ char *_getpty();
67/* Ulimit(UL_GMEMLIM) is busted... */ 65/* Ulimit(UL_GMEMLIM) is busted... */
68#define ULIMIT_BREAK_VALUE 0x14000000 66#define ULIMIT_BREAK_VALUE 0x14000000
69 67
70/* Tell process_send_signal to use VSUSP instead of VSWTCH. */
71#define PREFER_VSUSP
72
73#undef SA_RESTART /* not the same as defining BROKEN_SA_RESTART */ 68#undef SA_RESTART /* not the same as defining BROKEN_SA_RESTART */
74 69
75#undef TIOCSIGSEND /* defined in usg5-4-common.h */ 70#undef TIOCSIGSEND /* defined in usg5-4-common.h */
diff --git a/src/s/sol2-6.h b/src/s/sol2-6.h
index 6a7c261054f..e77d9e5a901 100644
--- a/src/s/sol2-6.h
+++ b/src/s/sol2-6.h
@@ -21,9 +21,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
21 21
22#define SOLARIS2 22#define SOLARIS2
23 23
24/* This triggers a conditional in xfaces.c. */
25#define XOS_NEEDS_TIME_H
26
27/* This is the same definition as in usg5-4-common.h, but with sigblock/sigunblock 24/* This is the same definition as in usg5-4-common.h, but with sigblock/sigunblock
28 rather than sighold/sigrelse, which appear to be BSD4.1 specific. 25 rather than sighold/sigrelse, which appear to be BSD4.1 specific.
29 It may also be appropriate for SVR4.x 26 It may also be appropriate for SVR4.x