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.
This commit is contained in:
parent
32bac6d6e8
commit
b65e7c462a
5 changed files with 10 additions and 11 deletions
|
@ -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 <jan.h.d@swipnet.se>
|
||||
|
||||
|
|
|
@ -3631,12 +3631,17 @@ else
|
|||
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
|
||||
|
||||
|
|
|
@ -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 <schwab@linux-m68k.org>
|
||||
|
||||
|
|
|
@ -24,6 +24,3 @@ char *_getpty();
|
|||
#endif
|
||||
|
||||
#undef SA_RESTART /* not the same as defining BROKEN_SA_RESTART */
|
||||
|
||||
#undef TIOCSIGSEND /* defined in usg5-4-common.h */
|
||||
|
||||
|
|
|
@ -42,8 +42,3 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
|
|||
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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue