[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r109037: All platforms using configur
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r109037: All platforms using configure support HAVE_PTYS and HAVE_SOCKETS |
Date: |
Wed, 11 Jul 2012 19:40:59 -0400 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 109037
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Wed 2012-07-11 19:40:59 -0400
message:
All platforms using configure support HAVE_PTYS and HAVE_SOCKETS
* configure.ac (HAVE_PTYS, HAVE_SOCKETS): Define unconditionally.
* src/s/aix4-2.h, src/s/bsd-common.h, src/s/cygwin.h, src/s/darwin.h:
* src/s/gnu-linux.h, src/s/hpux10-20.h, src/s/template.h:
* src/s/usg5-4-common.h: Move HAVE_PTYS and HAVE_SOCKETS to configure.
modified:
ChangeLog
configure.ac
src/ChangeLog
src/s/aix4-2.h
src/s/bsd-common.h
src/s/cygwin.h
src/s/darwin.h
src/s/gnu-linux.h
src/s/hpux10-20.h
src/s/template.h
src/s/usg5-4-common.h
=== modified file 'ChangeLog'
--- a/ChangeLog 2012-07-11 17:04:19 +0000
+++ b/ChangeLog 2012-07-11 23:40:59 +0000
@@ -1,6 +1,7 @@
2012-07-11 Glenn Morris <address@hidden>
* configure.ac (INTERRUPT_INPUT): Move here from src/s.
+ (HAVE_PTYS, HAVE_SOCKETS): Define unconditionally.
2012-07-11 Paul Eggert <address@hidden>
=== modified file 'configure.ac'
--- a/configure.ac 2012-07-11 17:04:19 +0000
+++ b/configure.ac 2012-07-11 23:40:59 +0000
@@ -3132,6 +3132,18 @@
so that Emacs can tell instantly when you try to modify a file that
someone else has modified in his/her Emacs.])
+dnl Everybody supports this, except MS.
+dnl Seems like the kind of thing we should be testing for, though.
+## Note: PTYs are broken on darwin <6. Use at your own risk.
+AC_DEFINE(HAVE_PTYS, 1, [Define if the system supports pty devices.])
+
+dnl Everybody supports this, except MS-DOS.
+dnl Seems like the kind of thing we should be testing for, though.
+dnl Compare with HAVE_INET_SOCKETS (which is unused...) above.
+AC_DEFINE(HAVE_SOCKETS, 1, [Define if the system supports
+ 4.2-compatible sockets.])
+
+
case $opsys in
darwin | gnu | hpux* | *bsd )
AC_DEFINE(NO_TERMIO, 1, [Define if termio.h should not be included.])
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2012-07-11 20:40:18 +0000
+++ b/src/ChangeLog 2012-07-11 23:40:59 +0000
@@ -1,3 +1,9 @@
+2012-07-11 Glenn Morris <address@hidden>
+
+ * s/aix4-2.h, s/bsd-common.h, s/cygwin.h, s/darwin.h, s/gnu-linux.h:
+ * s/hpux10-20.h, s/template.h, s/usg5-4-common.h:
+ Move HAVE_PTYS and HAVE_SOCKETS to configure.
+
2012-07-11 Paul Eggert <address@hidden>
* s/sol2-6.h (HAVE_LIBKSTAT): Remove. (Bug#11914)
=== modified file 'src/s/aix4-2.h'
--- a/src/s/aix4-2.h 2012-07-11 07:28:27 +0000
+++ b/src/s/aix4-2.h 2012-07-11 23:40:59 +0000
@@ -32,11 +32,6 @@
#define PTY_NAME_SPRINTF strcpy (pty_name, "/dev/ptc");
#define PTY_TTY_NAME_SPRINTF strcpy (pty_name, ttyname (fd));
-/* Define HAVE_PTYS if the system supports pty devices. */
-#define HAVE_PTYS
-
-/* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */
-#define HAVE_SOCKETS
/* Special items needed to make Emacs run on this system. */
=== modified file 'src/s/bsd-common.h'
--- a/src/s/bsd-common.h 2012-07-11 07:38:33 +0000
+++ b/src/s/bsd-common.h 2012-07-11 23:40:59 +0000
@@ -49,9 +49,3 @@
/* First pty name is /dev/ptyp0. */
#define FIRST_PTY_LETTER 'p'
-
-/* Define HAVE_PTYS if the system supports pty devices. */
-#define HAVE_PTYS
-
-/* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */
-#define HAVE_SOCKETS
=== modified file 'src/s/cygwin.h'
--- a/src/s/cygwin.h 2012-07-11 07:38:33 +0000
+++ b/src/s/cygwin.h 2012-07-11 23:40:59 +0000
@@ -17,8 +17,6 @@
You should have received a copy of the GNU General Public License
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
-/* Define HAVE_PTYS if the system supports pty devices. */
-#define HAVE_PTYS
#define PTY_ITERATION int i; for (i = 0; i < 1; i++) /* ick */
#define PTY_NAME_SPRINTF /* none */
#define PTY_TTY_NAME_SPRINTF /* none */
@@ -46,8 +44,6 @@
/* Used in various places to enable cygwin-specific code changes. */
#define CYGWIN 1
-#define HAVE_SOCKETS
-
/* Emacs supplies its own malloc, but glib (part of Gtk+) calls
memalign and on Cygwin, that becomes the Cygwin-supplied memalign.
As malloc is not the Cygwin malloc, the Cygwin memalign always
=== modified file 'src/s/darwin.h'
--- a/src/s/darwin.h 2012-07-11 17:04:19 +0000
+++ b/src/s/darwin.h 2012-07-11 23:40:59 +0000
@@ -34,9 +34,6 @@
if system supports pty's. 'a' means it is /dev/ptya0 */
#define FIRST_PTY_LETTER 'p'
-/* Define HAVE_PTYS if the system supports pty devices.
- Note: PTYs are broken on darwin <6. Use at your own risk. */
-#define HAVE_PTYS
/* Run only once. We need a `for'-loop because the code uses `continue'. */
#define PTY_ITERATION int i; for (i = 0; i < 1; i++)
#define PTY_NAME_SPRINTF /* none */
@@ -66,9 +63,6 @@
/* System uses OXTABS instead of the expected TAB3. (Copied from bsd386.h.)
*/
#define TAB3 OXTABS
-/* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */
-#define HAVE_SOCKETS
-
/* Definitions for how to compile & link. */
#ifdef HAVE_NS
#define SYSTEM_PURESIZE_EXTRA 200000
=== modified file 'src/s/gnu-linux.h'
--- a/src/s/gnu-linux.h 2012-07-11 18:39:44 +0000
+++ b/src/s/gnu-linux.h 2012-07-11 23:40:59 +0000
@@ -64,11 +64,6 @@
#endif /* not HAVE_GRANTPT */
-/* Define HAVE_PTYS if the system supports pty devices. */
-#define HAVE_PTYS
-
-#define HAVE_SOCKETS
-
/* Here, on a separate page, add any special hacks needed
to make Emacs work on this system. For example,
you might define certain system call names that don't
=== modified file 'src/s/hpux10-20.h'
--- a/src/s/hpux10-20.h 2012-07-11 07:07:19 +0000
+++ b/src/s/hpux10-20.h 2012-07-11 23:40:59 +0000
@@ -30,12 +30,6 @@
if system supports pty's. 'p' means it is /dev/ptym/ptyp0 */
#define FIRST_PTY_LETTER 'p'
-/* Define HAVE_PTYS if the system supports pty devices. */
-#define HAVE_PTYS
-
-/* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */
-#define HAVE_SOCKETS
-
/* Special hacks needed to make Emacs run on this system. */
/* This is how to get the device name of the tty end of a pty. */
=== modified file 'src/s/template.h'
--- a/src/s/template.h 2012-07-11 17:04:19 +0000
+++ b/src/s/template.h 2012-07-11 23:40:59 +0000
@@ -33,9 +33,6 @@
if system supports pty's. 'a' means it is /dev/ptya0. */
#define FIRST_PTY_LETTER 'a'
-/* Define HAVE_PTYS if the system supports pty devices. */
-#define HAVE_PTYS
-
/* subprocesses should be undefined if you do NOT want to
have code for asynchronous subprocesses
(as used in M-x compile and M-x shell).
=== modified file 'src/s/usg5-4-common.h'
--- a/src/s/usg5-4-common.h 2012-07-11 07:07:19 +0000
+++ b/src/s/usg5-4-common.h 2012-07-11 23:40:59 +0000
@@ -51,9 +51,6 @@
constant to dimension an array. So wire in the appropriate value here. */
#define NSIG_MINIMUM 32
-/* Define HAVE_PTYS if the system supports pty devices. */
-#define HAVE_PTYS
-
/* It is possible to receive SIGCHLD when there are no children
waiting, because a previous waitsys(2) cleaned up the carcass of child
without clearing the SIGCHLD pending info. So, use a non-blocking
@@ -82,6 +79,3 @@
fatal ("ioctl I_PUSH ldterm"); \
if (ioctl (xforkin, I_PUSH, "ttcompat") == -1) \
fatal ("ioctl I_PUSH ttcompat");
-
-/* This definition was suggested for next release. So give it a try. */
-#define HAVE_SOCKETS
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r109037: All platforms using configure support HAVE_PTYS and HAVE_SOCKETS,
Glenn Morris <=