about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2006-09-15 21:45:27 +0000
committerClint Adams <clint@users.sourceforge.net>2006-09-15 21:45:27 +0000
commit6e9917e3047faaa635281a296c7c8cb2b08f676f (patch)
treef889e9fc72b66443fcebd5c68d2ef9bdf4d906e5
parent7a7dfd55a1eb8682ec0b559476107cd4c168de95 (diff)
downloadzsh-6e9917e3047faaa635281a296c7c8cb2b08f676f.tar.gz
zsh-6e9917e3047faaa635281a296c7c8cb2b08f676f.tar.xz
zsh-6e9917e3047faaa635281a296c7c8cb2b08f676f.zip
22719: check for RLIMIT_NICE and RTLIMIT_RTPRIO so 22718 will work.
-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.])