emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r109054: Move UNIX98_PTYS from src/s


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r109054: Move UNIX98_PTYS from src/s to configure
Date: Thu, 12 Jul 2012 15:48:21 -0400
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 109054
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Thu 2012-07-12 15:48:21 -0400
message:
  Move UNIX98_PTYS from src/s to configure
  
  * configure.ac (UNIX98_PTYS): Move here from src/s.
  
  * src/s/gnu-linux.h (UNIX98_PTYS): Let configure set it.
modified:
  ChangeLog
  configure.ac
  src/ChangeLog
  src/s/gnu-linux.h
=== modified file 'ChangeLog'
--- a/ChangeLog 2012-07-12 07:43:05 +0000
+++ b/ChangeLog 2012-07-12 19:48:21 +0000
@@ -8,7 +8,7 @@
        (BROKEN_SIGPOLL, BROKEN_SIGPTY, FIRST_PTY_LETTER)
        (G_SLICE_ALWAYS_MALLOC, PREFER_VSUSP, PTY_ITERATION, PTY_OPEN)
        (PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF, RUN_TIME_REMAP)
-       (SETPGRP_RELEASES_CTTY, TAB3, TABDLY, RUN_TIME_REMAP)
+       (SETPGRP_RELEASES_CTTY, TAB3, TABDLY, RUN_TIME_REMAP, UNIX98_PTYS)
        (XOS_NEEDS_TIME_H): Move here from src/s.
 
 2012-07-11  Glenn Morris  <address@hidden>

=== modified file 'configure.ac'
--- a/configure.ac      2012-07-12 07:43:05 +0000
+++ b/configure.ac      2012-07-12 19:48:21 +0000
@@ -3340,6 +3340,7 @@
   gnu-linux | gnu-kfreebsd )
     dnl if HAVE_GRANTPT
     if test "x$ac_cv_func_grantpt" = xyes; then
+      AC_DEFINE(UNIX98_PTYS, 1, [Define if the system has Unix98 PTYs.])
       AC_DEFINE(PTY_ITERATION, [int i; for (i = 0; i < 1; i++)] )
       dnl Note that grantpt and unlockpt may fork.  We must block SIGCHLD
       dnl to prevent sigchld_handler from intercepting the child's death.

=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2012-07-12 16:58:37 +0000
+++ b/src/ChangeLog     2012-07-12 19:48:21 +0000
@@ -1,3 +1,7 @@
+2012-07-12  Glenn Morris  <address@hidden>
+
+       * s/gnu-linux.h (UNIX98_PTYS): Let configure set it.
+
 2012-07-12  Paul Eggert  <address@hidden>
 
        Fix typos that broke OS X build.

=== modified file 'src/s/gnu-linux.h'
--- a/src/s/gnu-linux.h 2012-07-12 07:43:05 +0000
+++ b/src/s/gnu-linux.h 2012-07-12 19:48:21 +0000
@@ -25,10 +25,6 @@
 #define USG
 #define GNU_LINUX
 
-#if defined HAVE_GRANTPT
-#define UNIX98_PTYS
-#endif  /* HAVE_GRANTPT */
-
 /* 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]