summaryrefslogtreecommitdiff
path: root/support/config.m4
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2003-01-17 14:46:50 +0000
committerJeff Trawick <trawick@apache.org>2003-01-17 14:46:50 +0000
commit5f043bd701ba4783a47a1ddf7c51b7ed3b7bd83f (patch)
treef86a34b5cd8e651b2fc61b3a92ae08a5f77fd839 /support/config.m4
parentc5f8e9bd89ed83b1cff9d100eb0d2162edcf3fc0 (diff)
downloadhttpd-5f043bd701ba4783a47a1ddf7c51b7ed3b7bd83f.tar.gz
Fix the ulimit command used by apachectl on Tru64.
PR: 13609 Submitted by: Joseph Senulis <Joseph.Senulis@dnr.state.wi.us>, Jeff Trawick] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98309 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support/config.m4')
-rw-r--r--support/config.m46
1 files changed, 5 insertions, 1 deletions
diff --git a/support/config.m4 b/support/config.m4
index 1fe2889dab..dcc99f4409 100644
--- a/support/config.m4
+++ b/support/config.m4
@@ -83,12 +83,16 @@ APACHE_SUBST(checkgid_LTFLAGS)
case $host in
*aix*)
- # this works in any locale, unlike the command below, which
+ # this works in any locale, unlike the default command below, which
# fails in a non-English locale if the hard limit is unlimited
# since the display of the limit will translate "unlimited", but
# ulimit only accepts English "unlimited" on input
APACHECTL_ULIMIT="ulimit -S -n unlimited"
;;
+ *alpha*-dec-osf*)
+ # Tru64: -H is for setting, not retrieving
+ APACHECTL_ULIMIT="ulimit -S -n \`ulimit -h -n\`"
+ ;;
*)
if TMP_ULIMIT=`ulimit -H -n` && ulimit -S -n $TMP_ULIMIT ; then
APACHECTL_ULIMIT="ulimit -S -n \`ulimit -H -n\`"