1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-26 19:18:50 +00:00

Move NSIG_MINIMUM from src/s to configure

* configure.ac (NSIG_MINIMUM): Move here from src/s.

* src/s/usg5-4-common.h (NSIG_MINIMUM): Let configure set it.
This commit is contained in:
Glenn Morris 2012-07-12 21:19:06 -04:00
parent dbee57935d
commit 739ae01050
5 changed files with 14 additions and 7 deletions

View File

@ -1,6 +1,7 @@
2012-07-13 Glenn Morris <rgm@gnu.org>
* configure.ac (ULIMIT_BREAK_VALUE): Move here from src/s.
* configure.ac (NSIG_MINIMUM, ULIMIT_BREAK_VALUE):
Move here from src/s.
2012-07-12 Glenn Morris <rgm@gnu.org>

View File

@ -3171,7 +3171,15 @@ esac
case $opsys in
darwin | gnu | hpux* | *bsd )
AC_DEFINE(NO_TERMIO, 1, [Define if termio.h should not be included.])
;;
;;
irix6-5 | sol2* | unixware )
dnl Some SVr4s don't define NSIG in sys/signal.h for ANSI environments;
dnl instead, there's a system variable _sys_nsig. Unfortunately, we
dnl need the constant to dimension an array. So wire in the appropriate
dnl value here.
AC_DEFINE(NSIG_MINIMUM, 32, [Minimum value of NSIG.])
;;
esac

View File

@ -1,5 +1,7 @@
2012-07-13 Glenn Morris <rgm@gnu.org>
* s/usg5-4-common.h (NSIG_MINIMUM): Let configure set it.
* s/gnu-linux.h, s/irix6-5.h: Let configure set ULIMIT_BREAK_VALUE.
* process.c (init_process_emacs): Replace MIN_PTY_KERNEL_VERSION.

View File

@ -46,11 +46,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include <sys/termios.h>
#endif
/* Some SVr4s don't define NSIG in sys/signal.h for ANSI environments;
instead, there's a system variable _sys_nsig. Unfortunately, we need the
constant to dimension an array. So wire in the appropriate value here. */
#define NSIG_MINIMUM 32
/* It is possible to receive SIGCHLD when there are no children
waiting, because a previous waitsys(2) cleaned up the carcass of child
without clearing the SIGCHLD pending info. So, use a non-blocking

View File

@ -98,6 +98,7 @@ _Noreturn void croak (char *);
#endif
/* FIXME? Emacs only defines NSIG_MINIMUM on some platforms? */
#if NSIG < NSIG_MINIMUM
# ifdef NSIG
# undef NSIG