diff options
author | Glenn Morris <rgm@gnu.org> | 2012-07-12 21:19:06 -0400 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2012-07-12 21:19:06 -0400 |
commit | 739ae01050106b1dda211c09f411b49a70b47c4e (patch) | |
tree | 371f89ebf46f02ce96f8c00b8512feb6592de39a /src | |
parent | dbee57935d2ca614c6ec052f1f26a4c67bc7eaa8 (diff) | |
download | emacs-739ae01050106b1dda211c09f411b49a70b47c4e.tar.gz |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/ChangeLog | 2 | ||||
-rw-r--r-- | src/s/usg5-4-common.h | 5 | ||||
-rw-r--r-- | src/syssignal.h | 1 |
3 files changed, 3 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index c66b38147ff..65d9ae916b9 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -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. diff --git a/src/s/usg5-4-common.h b/src/s/usg5-4-common.h index 3d3cea803dc..883d0b5dc21 100644 --- a/src/s/usg5-4-common.h +++ b/src/s/usg5-4-common.h @@ -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 diff --git a/src/syssignal.h b/src/syssignal.h index d4578839596..71151ed4c6a 100644 --- a/src/syssignal.h +++ b/src/syssignal.h @@ -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 |