summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--configure.ac2
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d63c2912d..3ef5d0d54 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2006-09-15  Clint Adams  <clint@zsh.org>
 
+	* 22719: configure.ac: check for RLIMIT_NICE and
+	RTLIMIT_RTPRIO so 22718 will work.
+
 	* 22718: Src/Builtins/rlimits.c: use ulimit -e and -r
 	for RLIMIT_NICE and RLIMIT_RTPRIO respectively.
 
diff --git a/configure.ac b/configure.ac
index 10d6528ee..a7d1ffddd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1485,6 +1485,8 @@ zsh_LIMIT_PRESENT(RLIMIT_TCACHE)
 zsh_LIMIT_PRESENT(RLIMIT_VMEM)
 zsh_LIMIT_PRESENT(RLIMIT_SIGPENDING)
 zsh_LIMIT_PRESENT(RLIMIT_MSGQUEUE)
+zsh_LIMIT_PRESENT(RLIMIT_NICE)
+zsh_LIMIT_PRESENT(RLIMIT_RTPRIO)
 
 AH_TEMPLATE([RLIMIT_VMEM_IS_RSS],
 [Define to 1 if RLIMIT_VMEM and RLIMIT_RSS both exist and are equal.])