summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2001-12-17 18:48:19 +0000
committerJeff Trawick <trawick@apache.org>2001-12-17 18:48:19 +0000
commit600332da0db21e4e91ff7c1dab764862f1222862 (patch)
treecf8228da8e8c726687664a8c1b27261eda724805 /configure.in
parentd7c3b801be40e1b3f9091a118dd180e33b6405e5 (diff)
downloadhttpd-600332da0db21e4e91ff7c1dab764862f1222862.tar.gz
AIX: don't set LDR_CNTRL environment variable for 64-bit build
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92501 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 806b60eb31..6d0abb305b 100644
--- a/configure.in
+++ b/configure.in
@@ -244,7 +244,11 @@ dnl ## Set up any appropriate OS-specific environment variables for apachectl
case $host in
*aix*)
- OS_SPECIFIC_VARS="set LDR_CNTRL=\"MAXDATA=0x80000000\" ; export LDR_CNTRL ; set AIXTHREAD_SCOPE=S ; export AIXTHREAD_SCOPE"
+ # for 32-bit builds, increase MAXDATA to allow lots of threads
+ if test x$COMPILE_MODE != 64; then
+ OS_SPECIFIC_VARS="set LDR_CNTRL=\"MAXDATA=0x80000000\" ; export LDR_CNTRL ;"
+ fi
+ OS_SPECIFIC_VARS="$OS_SPECIFIC_VARS set AIXTHREAD_SCOPE=S ; export AIXTHREAD_SCOPE"
;;
*os390*)
OS_SPECIFIC_VARS="export _CEE_RUNOPTS=\"(STACK(,,ANY))\" ; export _EDC_ADD_ERRNO2=1"