aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--configure.ac5
-rw-r--r--src/ChangeLog6
-rw-r--r--src/s/irix6-5.h3
-rw-r--r--src/s/usg5-4-common.h5
5 files changed, 10 insertions, 11 deletions
diff --git a/ChangeLog b/ChangeLog
index 775b95f4626..8ef1837ada7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,7 +4,7 @@
4 (opsysfile): Set to empty on netbsd, openbsd. 4 (opsysfile): Set to empty on netbsd, openbsd.
5 (AH_BOTTOM): Include signal.h if SIGNAL_H_AHB is defined. 5 (AH_BOTTOM): Include signal.h if SIGNAL_H_AHB is defined.
6 6
7 * configure.ac (_longjmp, _setjmp): Move here from src/s. 7 * configure.ac (_longjmp, _setjmp, TIOCSIGSEND): Move here from src/s.
8 8
92012-07-30 Jan Djärv <jan.h.d@swipnet.se> 92012-07-30 Jan Djärv <jan.h.d@swipnet.se>
10 10
diff --git a/configure.ac b/configure.ac
index 77eab0821eb..23833f4913c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3631,12 +3631,17 @@ else
3631 esac 3631 esac
3632fi dnl GCC? 3632fi dnl GCC?
3633 3633
3634
3634case $opsys in 3635case $opsys in
3635 sol2* | unixware ) 3636 sol2* | unixware )
3636 dnl setjmp and longjmp can safely replace _setjmp and _longjmp, 3637 dnl setjmp and longjmp can safely replace _setjmp and _longjmp,
3637 dnl but they will run more slowly. 3638 dnl but they will run more slowly.
3638 AC_DEFINE(_setjmp, setjmp, [Some platforms redefine this.]) 3639 AC_DEFINE(_setjmp, setjmp, [Some platforms redefine this.])
3639 AC_DEFINE(_longjmp, longjmp, [Some platforms redefine this.]) 3640 AC_DEFINE(_longjmp, longjmp, [Some platforms redefine this.])
3641 dnl TIOCGPGRP is broken in SysVr4, so we can't send signals to PTY
3642 dnl subprocesses the usual way. But TIOCSIGNAL does work for PTYs,
3643 dnl and this is all we need.
3644 AC_DEFINE(TIOCSIGSEND, TIOCSIGNAL, [Some platforms redefine this.])
3640 ;; 3645 ;;
3641esac 3646esac
3642 3647
diff --git a/src/ChangeLog b/src/ChangeLog
index 076b5eb1cce..907b54d614f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -3,8 +3,10 @@
3 * s/netbsd.h: Let configure include signal.h if needed. 3 * s/netbsd.h: Let configure include signal.h if needed.
4 Remove file, which is now empty. 4 Remove file, which is now empty.
5 5
6 * s/usg5-4-common.h (_longjmp, _setjmp): Let configure set them. 6 * s/usg5-4-common.h (_longjmp, _setjmp, TIOCSIGSEND):
7 * s/irix6-5.h (_longjmp, _setjmp): No more need to undefine. 7 Let configure set them.
8 * s/irix6-5.h (_longjmp, _setjmp, TIOCSIGSEND):
9 No more need to undefine.
8 10
92012-07-30 Andreas Schwab <schwab@linux-m68k.org> 112012-07-30 Andreas Schwab <schwab@linux-m68k.org>
10 12
diff --git a/src/s/irix6-5.h b/src/s/irix6-5.h
index 1750183189d..338c18cca52 100644
--- a/src/s/irix6-5.h
+++ b/src/s/irix6-5.h
@@ -24,6 +24,3 @@ char *_getpty();
24#endif 24#endif
25 25
26#undef SA_RESTART /* not the same as defining BROKEN_SA_RESTART */ 26#undef SA_RESTART /* not the same as defining BROKEN_SA_RESTART */
27
28#undef TIOCSIGSEND /* defined in usg5-4-common.h */
29
diff --git a/src/s/usg5-4-common.h b/src/s/usg5-4-common.h
index 12506bd8d08..05f22143460 100644
--- a/src/s/usg5-4-common.h
+++ b/src/s/usg5-4-common.h
@@ -42,8 +42,3 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
42 waitpid ((pid_t) -1, (status), (options)) 42 waitpid ((pid_t) -1, (status), (options))
43#define WRETCODE(w) (w >> 8) 43#define WRETCODE(w) (w >> 8)
44 44
45/* TIOCGPGRP is broken in SysVr4, so we can't send signals to PTY
46 subprocesses the usual way. But TIOCSIGNAL does work for PTYs, and
47 this is all we need. */
48#define TIOCSIGSEND TIOCSIGNAL
49