diff options
| author | Dan Nicolaescu | 2010-09-20 14:38:50 +0300 |
|---|---|---|
| committer | Dan Nicolaescu | 2010-09-20 14:38:50 +0300 |
| commit | 6553950651fdac87d3273885fc4ac2ecf00f8cfd (patch) | |
| tree | 7022e2afde3468428e5e80d79293b29b5bae0f30 /src | |
| parent | 15f844ac1f1c8bb89b0ce1d4587ecfe85fa5d107 (diff) | |
| download | emacs-6553950651fdac87d3273885fc4ac2ecf00f8cfd.tar.gz emacs-6553950651fdac87d3273885fc4ac2ecf00f8cfd.zip | |
Remove HAVE_TERMIOS definitions.
* src/s/usg5-4-common.h (HAVE_TERMIOS):
* src/s/template.h (HAVE_TERMIOS):
* src/s/gnu-linux.h (HAVE_TERMIOS):
* src/s/darwin.h (HAVE_TERMIOS):
* src/s/cygwin.h (HAVE_TERMIOS):
* src/s/bsd-common.h (HAVE_TERMIOS):
* src/s/aix4-2.h (HAVE_TERMIOS):
* src/s/hpux10-20.h (HAVE_TERMIOS): Do not define, it is assumed
defined on all non-MS platforms.
(HAVE_PSTAT_GETDYNAMIC): Do not define, autoconf does it.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 12 | ||||
| -rw-r--r-- | src/s/aix4-2.h | 4 | ||||
| -rw-r--r-- | src/s/bsd-common.h | 1 | ||||
| -rw-r--r-- | src/s/cygwin.h | 10 | ||||
| -rw-r--r-- | src/s/darwin.h | 9 | ||||
| -rw-r--r-- | src/s/gnu-linux.h | 4 | ||||
| -rw-r--r-- | src/s/hpux10-20.h | 6 | ||||
| -rw-r--r-- | src/s/template.h | 12 | ||||
| -rw-r--r-- | src/s/usg5-4-common.h | 5 |
9 files changed, 12 insertions, 51 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 0538d1a38bf..341649fbe68 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,17 @@ | |||
| 1 | 2010-09-20 Dan Nicolaescu <dann@ics.uci.edu> | 1 | 2010-09-20 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 2 | ||
| 3 | Remove HAVE_TERMIOS definitions. | ||
| 4 | * s/usg5-4-common.h (HAVE_TERMIOS): | ||
| 5 | * s/template.h (HAVE_TERMIOS): | ||
| 6 | * s/gnu-linux.h (HAVE_TERMIOS): | ||
| 7 | * s/darwin.h (HAVE_TERMIOS): | ||
| 8 | * s/cygwin.h (HAVE_TERMIOS): | ||
| 9 | * s/bsd-common.h (HAVE_TERMIOS): | ||
| 10 | * s/aix4-2.h (HAVE_TERMIOS): | ||
| 11 | * s/hpux10-20.h (HAVE_TERMIOS): Do not define, it is assumed | ||
| 12 | defined on all non-MS platforms. | ||
| 13 | (HAVE_PSTAT_GETDYNAMIC): Do not define, autoconf does it. | ||
| 14 | |||
| 3 | * xterm.c (xt_action_hook): Use const. | 15 | * xterm.c (xt_action_hook): Use const. |
| 4 | 16 | ||
| 5 | 2010-09-20 Juanma Barranquero <lekktu@gmail.com> | 17 | 2010-09-20 Juanma Barranquero <lekktu@gmail.com> |
diff --git a/src/s/aix4-2.h b/src/s/aix4-2.h index 0a3d48db639..29702028649 100644 --- a/src/s/aix4-2.h +++ b/src/s/aix4-2.h | |||
| @@ -37,10 +37,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 37 | #define PTY_NAME_SPRINTF strcpy (pty_name, "/dev/ptc"); | 37 | #define PTY_NAME_SPRINTF strcpy (pty_name, "/dev/ptc"); |
| 38 | #define PTY_TTY_NAME_SPRINTF strcpy (pty_name, ttyname (fd)); | 38 | #define PTY_TTY_NAME_SPRINTF strcpy (pty_name, ttyname (fd)); |
| 39 | 39 | ||
| 40 | /* Define HAVE_TERMIO if the system provides sysV-style ioctls | ||
| 41 | for terminal control. */ | ||
| 42 | #define HAVE_TERMIOS | ||
| 43 | |||
| 44 | /* Define HAVE_PTYS if the system supports pty devices. */ | 40 | /* Define HAVE_PTYS if the system supports pty devices. */ |
| 45 | #define HAVE_PTYS | 41 | #define HAVE_PTYS |
| 46 | 42 | ||
diff --git a/src/s/bsd-common.h b/src/s/bsd-common.h index bf78f4ec347..b17ca7a012f 100644 --- a/src/s/bsd-common.h +++ b/src/s/bsd-common.h | |||
| @@ -42,7 +42,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 42 | #undef KERNEL_FILE | 42 | #undef KERNEL_FILE |
| 43 | #undef LDAV_SYMBOL | 43 | #undef LDAV_SYMBOL |
| 44 | 44 | ||
| 45 | #define HAVE_TERMIOS | ||
| 46 | #define NO_TERMIO | 45 | #define NO_TERMIO |
| 47 | 46 | ||
| 48 | /* If the system's imake configuration file defines `NeedWidePrototypes' | 47 | /* If the system's imake configuration file defines `NeedWidePrototypes' |
diff --git a/src/s/cygwin.h b/src/s/cygwin.h index 1b78ada53bd..4d58542e660 100644 --- a/src/s/cygwin.h +++ b/src/s/cygwin.h | |||
| @@ -45,16 +45,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 45 | through a pipe. */ | 45 | through a pipe. */ |
| 46 | #undef INTERRUPT_INPUT | 46 | #undef INTERRUPT_INPUT |
| 47 | 47 | ||
| 48 | /* Define HAVE_TERMIOS if the system provides POSIX-style | ||
| 49 | functions and macros for terminal control. | ||
| 50 | |||
| 51 | Define HAVE_TERMIO if the system provides sysV-style ioctls | ||
| 52 | for terminal control. | ||
| 53 | |||
| 54 | Do not define both. HAVE_TERMIOS is preferred, if it is | ||
| 55 | supported on your system. */ | ||
| 56 | #define HAVE_TERMIOS | ||
| 57 | |||
| 58 | /* Define HAVE_PTYS if the system supports pty devices. */ | 48 | /* Define HAVE_PTYS if the system supports pty devices. */ |
| 59 | #define HAVE_PTYS | 49 | #define HAVE_PTYS |
| 60 | #define PTY_ITERATION for (i = 0; i < 1; i++) /* ick */ | 50 | #define PTY_ITERATION for (i = 0; i < 1; i++) /* ick */ |
diff --git a/src/s/darwin.h b/src/s/darwin.h index 146bfd693a2..73e19602275 100644 --- a/src/s/darwin.h +++ b/src/s/darwin.h | |||
| @@ -63,15 +63,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 63 | if system supports pty's. 'a' means it is /dev/ptya0 */ | 63 | if system supports pty's. 'a' means it is /dev/ptya0 */ |
| 64 | #define FIRST_PTY_LETTER 'p' | 64 | #define FIRST_PTY_LETTER 'p' |
| 65 | 65 | ||
| 66 | /* Define HAVE_TERMIOS if the system provides POSIX-style | ||
| 67 | functions and macros for terminal control. | ||
| 68 | |||
| 69 | Define HAVE_TERMIO if the system provides sysV-style ioctls | ||
| 70 | for terminal control. | ||
| 71 | |||
| 72 | Do not define both. HAVE_TERMIOS is preferred, if it is supported | ||
| 73 | on your system. */ | ||
| 74 | #define HAVE_TERMIOS | ||
| 75 | #define NO_TERMIO | 66 | #define NO_TERMIO |
| 76 | 67 | ||
| 77 | /* Define HAVE_PTYS if the system supports pty devices. | 68 | /* Define HAVE_PTYS if the system supports pty devices. |
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h index cf3b3079726..9327423b42f 100644 --- a/src/s/gnu-linux.h +++ b/src/s/gnu-linux.h | |||
| @@ -80,10 +80,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 80 | 80 | ||
| 81 | #endif /* not HAVE_GRANTPT */ | 81 | #endif /* not HAVE_GRANTPT */ |
| 82 | 82 | ||
| 83 | /* Define HAVE_TERMIOS if the system provides POSIX-style | ||
| 84 | functions and macros for terminal control. */ | ||
| 85 | #define HAVE_TERMIOS | ||
| 86 | |||
| 87 | /* Define HAVE_PTYS if the system supports pty devices. */ | 83 | /* Define HAVE_PTYS if the system supports pty devices. */ |
| 88 | #define HAVE_PTYS | 84 | #define HAVE_PTYS |
| 89 | 85 | ||
diff --git a/src/s/hpux10-20.h b/src/s/hpux10-20.h index d34ff16104b..0932e6f7112 100644 --- a/src/s/hpux10-20.h +++ b/src/s/hpux10-20.h | |||
| @@ -35,11 +35,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 35 | if system supports pty's. 'p' means it is /dev/ptym/ptyp0 */ | 35 | if system supports pty's. 'p' means it is /dev/ptym/ptyp0 */ |
| 36 | #define FIRST_PTY_LETTER 'p' | 36 | #define FIRST_PTY_LETTER 'p' |
| 37 | 37 | ||
| 38 | #define HAVE_TERMIOS | ||
| 39 | #define NO_TERMIO | 38 | #define NO_TERMIO |
| 40 | 39 | ||
| 41 | #define ORDINARY_LINK | ||
| 42 | |||
| 43 | /* Define HAVE_PTYS if the system supports pty devices. */ | 40 | /* Define HAVE_PTYS if the system supports pty devices. */ |
| 44 | #define HAVE_PTYS | 41 | #define HAVE_PTYS |
| 45 | 42 | ||
| @@ -78,9 +75,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 78 | HP-UX 10.20, and that it works for HP-UX 0 as well. */ | 75 | HP-UX 10.20, and that it works for HP-UX 0 as well. */ |
| 79 | #define NO_EDITRES | 76 | #define NO_EDITRES |
| 80 | 77 | ||
| 81 | /* Tested in getloadavg.c. */ | ||
| 82 | #define HAVE_PSTAT_GETDYNAMIC | ||
| 83 | |||
| 84 | /* Eric Backus <ericb@lsid.hp.com> says, HP-UX 9.x on HP 700 machines | 78 | /* Eric Backus <ericb@lsid.hp.com> says, HP-UX 9.x on HP 700 machines |
| 85 | has a broken `rint' in some library versions including math library | 79 | has a broken `rint' in some library versions including math library |
| 86 | version number A.09.05. | 80 | version number A.09.05. |
diff --git a/src/s/template.h b/src/s/template.h index dd1e56f8553..eb7ca85c5e5 100644 --- a/src/s/template.h +++ b/src/s/template.h | |||
| @@ -63,18 +63,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 63 | if system supports pty's. 'a' means it is /dev/ptya0. */ | 63 | if system supports pty's. 'a' means it is /dev/ptya0. */ |
| 64 | #define FIRST_PTY_LETTER 'a' | 64 | #define FIRST_PTY_LETTER 'a' |
| 65 | 65 | ||
| 66 | /* Define HAVE_TERMIOS if the system provides POSIX-style | ||
| 67 | functions and macros for terminal control. | ||
| 68 | |||
| 69 | Define HAVE_TERMIO if the system provides sysV-style ioctls | ||
| 70 | for terminal control. | ||
| 71 | |||
| 72 | Do not define both. HAVE_TERMIOS is preferred, if it is | ||
| 73 | supported on your system. */ | ||
| 74 | |||
| 75 | #define HAVE_TERMIOS | ||
| 76 | /* #define HAVE_TERMIO */ | ||
| 77 | |||
| 78 | /* Define HAVE_PTYS if the system supports pty devices. */ | 66 | /* Define HAVE_PTYS if the system supports pty devices. */ |
| 79 | #define HAVE_PTYS | 67 | #define HAVE_PTYS |
| 80 | 68 | ||
diff --git a/src/s/usg5-4-common.h b/src/s/usg5-4-common.h index 7ff5c6f7be3..4dcb8e50200 100644 --- a/src/s/usg5-4-common.h +++ b/src/s/usg5-4-common.h | |||
| @@ -31,10 +31,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 31 | It sets the Lisp variable system-type. */ | 31 | It sets the Lisp variable system-type. */ |
| 32 | #define SYSTEM_TYPE "usg-unix-v" | 32 | #define SYSTEM_TYPE "usg-unix-v" |
| 33 | 33 | ||
| 34 | /* Define HAVE_TERMIO if the system provides sysV-style ioctls | ||
| 35 | for terminal control. */ | ||
| 36 | #define HAVE_TERMIO | ||
| 37 | |||
| 38 | /* The file containing the kernel's symbol table is called /unix. */ | 34 | /* The file containing the kernel's symbol table is called /unix. */ |
| 39 | #define KERNEL_FILE "/unix" | 35 | #define KERNEL_FILE "/unix" |
| 40 | 36 | ||
| @@ -78,7 +74,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 78 | 74 | ||
| 79 | /* Define HAVE_PTYS if the system supports pty devices. */ | 75 | /* Define HAVE_PTYS if the system supports pty devices. */ |
| 80 | #define HAVE_PTYS | 76 | #define HAVE_PTYS |
| 81 | #define HAVE_TERMIOS | ||
| 82 | 77 | ||
| 83 | /* It is possible to receive SIGCHLD when there are no children | 78 | /* It is possible to receive SIGCHLD when there are no children |
| 84 | waiting, because a previous waitsys(2) cleaned up the carcass of child | 79 | waiting, because a previous waitsys(2) cleaned up the carcass of child |