* 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.
(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>
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
* 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>
#endif
#undef SA_RESTART /* not the same as defining BROKEN_SA_RESTART */
-
-#undef TIOCSIGSEND /* defined in usg5-4-common.h */
-
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
-