emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r109297: Move TIOCSIGSEND from src/s


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r109297: Move TIOCSIGSEND from src/s to configure
Date: Mon, 30 Jul 2012 07:52:08 -0700
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 109297
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Mon 2012-07-30 07:52:08 -0700
message:
  Move TIOCSIGSEND from src/s to configure
  
  * configure.ac (TIOCSIGSEND): Move here from src/s.
  
  * src/s/usg5-4-common.h (TIOCSIGSEND): Let configure set it.
  * src/s/irix6-5.h (TIOCSIGSEND): No more need to undefine.
modified:
  ChangeLog
  configure.ac
  src/ChangeLog
  src/s/irix6-5.h
  src/s/usg5-4-common.h
=== modified file 'ChangeLog'
--- a/ChangeLog 2012-07-30 14:46:48 +0000
+++ b/ChangeLog 2012-07-30 14:52:08 +0000
@@ -4,7 +4,7 @@
        (opsysfile): Set to empty on netbsd, openbsd.
        (AH_BOTTOM): Include signal.h if SIGNAL_H_AHB is defined.
 
-       * configure.ac (_longjmp, _setjmp): Move here from src/s.
+       * configure.ac (_longjmp, _setjmp, TIOCSIGSEND): Move here from src/s.
 
 2012-07-30  Jan Djärv  <address@hidden>
 

=== modified file 'configure.ac'
--- a/configure.ac      2012-07-30 14:46:48 +0000
+++ b/configure.ac      2012-07-30 14:52:08 +0000
@@ -3631,12 +3631,17 @@
   esac
 fi                              dnl GCC?
 
+
 case $opsys in
   sol2* | unixware )
     dnl setjmp and longjmp can safely replace _setjmp and _longjmp,
     dnl but they will run more slowly.
     AC_DEFINE(_setjmp, setjmp, [Some platforms redefine this.])
     AC_DEFINE(_longjmp, longjmp, [Some platforms redefine this.])
+    dnl TIOCGPGRP is broken in SysVr4, so we can't send signals to PTY
+    dnl subprocesses the usual way.  But TIOCSIGNAL does work for PTYs,
+    dnl and this is all we need.
+    AC_DEFINE(TIOCSIGSEND, TIOCSIGNAL, [Some platforms redefine this.])
     ;;
 esac
 

=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2012-07-30 14:46:48 +0000
+++ b/src/ChangeLog     2012-07-30 14:52:08 +0000
@@ -3,8 +3,10 @@
        * s/netbsd.h: Let configure include signal.h if needed.
        Remove file, which is now empty.
 
-       * s/usg5-4-common.h (_longjmp, _setjmp): Let configure set them.
-       * s/irix6-5.h (_longjmp, _setjmp): No more need to undefine.
+       * s/usg5-4-common.h (_longjmp, _setjmp, TIOCSIGSEND):
+       Let configure set them.
+       * s/irix6-5.h (_longjmp, _setjmp, TIOCSIGSEND):
+       No more need to undefine.
 
 2012-07-30  Andreas Schwab  <address@hidden>
 

=== modified file 'src/s/irix6-5.h'
--- a/src/s/irix6-5.h   2012-07-30 14:30:20 +0000
+++ b/src/s/irix6-5.h   2012-07-30 14:52:08 +0000
@@ -24,6 +24,3 @@
 #endif
 
 #undef SA_RESTART     /* not the same as defining BROKEN_SA_RESTART */
-
-#undef TIOCSIGSEND             /* defined in usg5-4-common.h */
-

=== modified file 'src/s/usg5-4-common.h'
--- a/src/s/usg5-4-common.h     2012-07-30 14:30:20 +0000
+++ b/src/s/usg5-4-common.h     2012-07-30 14:52:08 +0000
@@ -42,8 +42,3 @@
   waitpid ((pid_t) -1, (status), (options))
 #define WRETCODE(w) (w >> 8)
 
-/* TIOCGPGRP is broken in SysVr4, so we can't send signals to PTY
-   subprocesses the usual way.  But TIOCSIGNAL does work for PTYs, and
-   this is all we need.  */
-#define TIOCSIGSEND TIOCSIGNAL
-


reply via email to

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