Commit 739ae010 authored by Glenn Morris's avatar Glenn Morris
Browse files

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.
parent dbee5793
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>
......
......@@ -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
......
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.
......
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment