diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/s/aix4-2.h | 5 | ||||
| -rw-r--r-- | src/s/bsd-common.h | 6 | ||||
| -rw-r--r-- | src/s/cygwin.h | 4 | ||||
| -rw-r--r-- | src/s/darwin.h | 6 | ||||
| -rw-r--r-- | src/s/gnu-linux.h | 5 | ||||
| -rw-r--r-- | src/s/hpux10-20.h | 6 | ||||
| -rw-r--r-- | src/s/template.h | 3 | ||||
| -rw-r--r-- | src/s/usg5-4-common.h | 6 |
9 files changed, 6 insertions, 41 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 2dad6bedfcb..eb83ed67017 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2012-07-11 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * s/aix4-2.h, s/bsd-common.h, s/cygwin.h, s/darwin.h, s/gnu-linux.h: | ||
| 4 | * s/hpux10-20.h, s/template.h, s/usg5-4-common.h: | ||
| 5 | Move HAVE_PTYS and HAVE_SOCKETS to configure. | ||
| 6 | |||
| 1 | 2012-07-11 Paul Eggert <eggert@cs.ucla.edu> | 7 | 2012-07-11 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 8 | ||
| 3 | * s/sol2-6.h (HAVE_LIBKSTAT): Remove. (Bug#11914) | 9 | * s/sol2-6.h (HAVE_LIBKSTAT): Remove. (Bug#11914) |
diff --git a/src/s/aix4-2.h b/src/s/aix4-2.h index 9fd7938f37c..7b7f785954d 100644 --- a/src/s/aix4-2.h +++ b/src/s/aix4-2.h | |||
| @@ -32,11 +32,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 32 | #define PTY_NAME_SPRINTF strcpy (pty_name, "/dev/ptc"); | 32 | #define PTY_NAME_SPRINTF strcpy (pty_name, "/dev/ptc"); |
| 33 | #define PTY_TTY_NAME_SPRINTF strcpy (pty_name, ttyname (fd)); | 33 | #define PTY_TTY_NAME_SPRINTF strcpy (pty_name, ttyname (fd)); |
| 34 | 34 | ||
| 35 | /* Define HAVE_PTYS if the system supports pty devices. */ | ||
| 36 | #define HAVE_PTYS | ||
| 37 | |||
| 38 | /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ | ||
| 39 | #define HAVE_SOCKETS | ||
| 40 | 35 | ||
| 41 | /* Special items needed to make Emacs run on this system. */ | 36 | /* Special items needed to make Emacs run on this system. */ |
| 42 | 37 | ||
diff --git a/src/s/bsd-common.h b/src/s/bsd-common.h index 2e25ff63486..aceb45fc63e 100644 --- a/src/s/bsd-common.h +++ b/src/s/bsd-common.h | |||
| @@ -49,9 +49,3 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 49 | 49 | ||
| 50 | /* First pty name is /dev/ptyp0. */ | 50 | /* First pty name is /dev/ptyp0. */ |
| 51 | #define FIRST_PTY_LETTER 'p' | 51 | #define FIRST_PTY_LETTER 'p' |
| 52 | |||
| 53 | /* Define HAVE_PTYS if the system supports pty devices. */ | ||
| 54 | #define HAVE_PTYS | ||
| 55 | |||
| 56 | /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ | ||
| 57 | #define HAVE_SOCKETS | ||
diff --git a/src/s/cygwin.h b/src/s/cygwin.h index 282f9523223..95f0bd79dc9 100644 --- a/src/s/cygwin.h +++ b/src/s/cygwin.h | |||
| @@ -17,8 +17,6 @@ GNU General Public License for more details. | |||
| 17 | You should have received a copy of the GNU General Public License | 17 | You should have received a copy of the GNU General Public License |
| 18 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | 18 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ |
| 19 | 19 | ||
| 20 | /* Define HAVE_PTYS if the system supports pty devices. */ | ||
| 21 | #define HAVE_PTYS | ||
| 22 | #define PTY_ITERATION int i; for (i = 0; i < 1; i++) /* ick */ | 20 | #define PTY_ITERATION int i; for (i = 0; i < 1; i++) /* ick */ |
| 23 | #define PTY_NAME_SPRINTF /* none */ | 21 | #define PTY_NAME_SPRINTF /* none */ |
| 24 | #define PTY_TTY_NAME_SPRINTF /* none */ | 22 | #define PTY_TTY_NAME_SPRINTF /* none */ |
| @@ -46,8 +44,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 46 | /* Used in various places to enable cygwin-specific code changes. */ | 44 | /* Used in various places to enable cygwin-specific code changes. */ |
| 47 | #define CYGWIN 1 | 45 | #define CYGWIN 1 |
| 48 | 46 | ||
| 49 | #define HAVE_SOCKETS | ||
| 50 | |||
| 51 | /* Emacs supplies its own malloc, but glib (part of Gtk+) calls | 47 | /* Emacs supplies its own malloc, but glib (part of Gtk+) calls |
| 52 | memalign and on Cygwin, that becomes the Cygwin-supplied memalign. | 48 | memalign and on Cygwin, that becomes the Cygwin-supplied memalign. |
| 53 | As malloc is not the Cygwin malloc, the Cygwin memalign always | 49 | As malloc is not the Cygwin malloc, the Cygwin memalign always |
diff --git a/src/s/darwin.h b/src/s/darwin.h index 2a9d52a537a..472f1854219 100644 --- a/src/s/darwin.h +++ b/src/s/darwin.h | |||
| @@ -34,9 +34,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 34 | if system supports pty's. 'a' means it is /dev/ptya0 */ | 34 | if system supports pty's. 'a' means it is /dev/ptya0 */ |
| 35 | #define FIRST_PTY_LETTER 'p' | 35 | #define FIRST_PTY_LETTER 'p' |
| 36 | 36 | ||
| 37 | /* Define HAVE_PTYS if the system supports pty devices. | ||
| 38 | Note: PTYs are broken on darwin <6. Use at your own risk. */ | ||
| 39 | #define HAVE_PTYS | ||
| 40 | /* Run only once. We need a `for'-loop because the code uses `continue'. */ | 37 | /* Run only once. We need a `for'-loop because the code uses `continue'. */ |
| 41 | #define PTY_ITERATION int i; for (i = 0; i < 1; i++) | 38 | #define PTY_ITERATION int i; for (i = 0; i < 1; i++) |
| 42 | #define PTY_NAME_SPRINTF /* none */ | 39 | #define PTY_NAME_SPRINTF /* none */ |
| @@ -66,9 +63,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 66 | /* System uses OXTABS instead of the expected TAB3. (Copied from bsd386.h.) */ | 63 | /* System uses OXTABS instead of the expected TAB3. (Copied from bsd386.h.) */ |
| 67 | #define TAB3 OXTABS | 64 | #define TAB3 OXTABS |
| 68 | 65 | ||
| 69 | /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ | ||
| 70 | #define HAVE_SOCKETS | ||
| 71 | |||
| 72 | /* Definitions for how to compile & link. */ | 66 | /* Definitions for how to compile & link. */ |
| 73 | #ifdef HAVE_NS | 67 | #ifdef HAVE_NS |
| 74 | #define SYSTEM_PURESIZE_EXTRA 200000 | 68 | #define SYSTEM_PURESIZE_EXTRA 200000 |
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h index 583a5c5de21..91e8e64b8b5 100644 --- a/src/s/gnu-linux.h +++ b/src/s/gnu-linux.h | |||
| @@ -64,11 +64,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 64 | 64 | ||
| 65 | #endif /* not HAVE_GRANTPT */ | 65 | #endif /* not HAVE_GRANTPT */ |
| 66 | 66 | ||
| 67 | /* Define HAVE_PTYS if the system supports pty devices. */ | ||
| 68 | #define HAVE_PTYS | ||
| 69 | |||
| 70 | #define HAVE_SOCKETS | ||
| 71 | |||
| 72 | /* Here, on a separate page, add any special hacks needed | 67 | /* Here, on a separate page, add any special hacks needed |
| 73 | to make Emacs work on this system. For example, | 68 | to make Emacs work on this system. For example, |
| 74 | you might define certain system call names that don't | 69 | you might define certain system call names that don't |
diff --git a/src/s/hpux10-20.h b/src/s/hpux10-20.h index ca8bcecb1f9..a7283a8026e 100644 --- a/src/s/hpux10-20.h +++ b/src/s/hpux10-20.h | |||
| @@ -30,12 +30,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 30 | 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 */ |
| 31 | #define FIRST_PTY_LETTER 'p' | 31 | #define FIRST_PTY_LETTER 'p' |
| 32 | 32 | ||
| 33 | /* Define HAVE_PTYS if the system supports pty devices. */ | ||
| 34 | #define HAVE_PTYS | ||
| 35 | |||
| 36 | /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ | ||
| 37 | #define HAVE_SOCKETS | ||
| 38 | |||
| 39 | /* Special hacks needed to make Emacs run on this system. */ | 33 | /* Special hacks needed to make Emacs run on this system. */ |
| 40 | 34 | ||
| 41 | /* This is how to get the device name of the tty end of a pty. */ | 35 | /* This is how to get the device name of the tty end of a pty. */ |
diff --git a/src/s/template.h b/src/s/template.h index 7f4efee0d1e..832ff9cb438 100644 --- a/src/s/template.h +++ b/src/s/template.h | |||
| @@ -33,9 +33,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 33 | if system supports pty's. 'a' means it is /dev/ptya0. */ | 33 | if system supports pty's. 'a' means it is /dev/ptya0. */ |
| 34 | #define FIRST_PTY_LETTER 'a' | 34 | #define FIRST_PTY_LETTER 'a' |
| 35 | 35 | ||
| 36 | /* Define HAVE_PTYS if the system supports pty devices. */ | ||
| 37 | #define HAVE_PTYS | ||
| 38 | |||
| 39 | /* subprocesses should be undefined if you do NOT want to | 36 | /* subprocesses should be undefined if you do NOT want to |
| 40 | have code for asynchronous subprocesses | 37 | have code for asynchronous subprocesses |
| 41 | (as used in M-x compile and M-x shell). | 38 | (as used in M-x compile and M-x shell). |
diff --git a/src/s/usg5-4-common.h b/src/s/usg5-4-common.h index 74f8908c8f9..561b3ad38ec 100644 --- a/src/s/usg5-4-common.h +++ b/src/s/usg5-4-common.h | |||
| @@ -51,9 +51,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 51 | constant to dimension an array. So wire in the appropriate value here. */ | 51 | constant to dimension an array. So wire in the appropriate value here. */ |
| 52 | #define NSIG_MINIMUM 32 | 52 | #define NSIG_MINIMUM 32 |
| 53 | 53 | ||
| 54 | /* Define HAVE_PTYS if the system supports pty devices. */ | ||
| 55 | #define HAVE_PTYS | ||
| 56 | |||
| 57 | /* It is possible to receive SIGCHLD when there are no children | 54 | /* It is possible to receive SIGCHLD when there are no children |
| 58 | waiting, because a previous waitsys(2) cleaned up the carcass of child | 55 | waiting, because a previous waitsys(2) cleaned up the carcass of child |
| 59 | without clearing the SIGCHLD pending info. So, use a non-blocking | 56 | without clearing the SIGCHLD pending info. So, use a non-blocking |
| @@ -82,6 +79,3 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 82 | fatal ("ioctl I_PUSH ldterm"); \ | 79 | fatal ("ioctl I_PUSH ldterm"); \ |
| 83 | if (ioctl (xforkin, I_PUSH, "ttcompat") == -1) \ | 80 | if (ioctl (xforkin, I_PUSH, "ttcompat") == -1) \ |
| 84 | fatal ("ioctl I_PUSH ttcompat"); | 81 | fatal ("ioctl I_PUSH ttcompat"); |
| 85 | |||
| 86 | /* This definition was suggested for next release. So give it a try. */ | ||
| 87 | #define HAVE_SOCKETS | ||