summaryrefslogtreecommitdiff
path: root/build/apr_hints.m4
diff options
context:
space:
mode:
authorjfclere <jfclere@13f79535-47bb-0310-9956-ffa450edef68>2001-11-21 10:47:23 +0000
committerjfclere <jfclere@13f79535-47bb-0310-9956-ffa450edef68>2001-11-21 10:47:23 +0000
commite6955157f0d356f9f16716d05accd65a48138080 (patch)
treeaebe04d72e04f74ec1c7590e3e0b80946bd722fc /build/apr_hints.m4
parent3df0cf4ac7e9f0cc7410671300338e6051ea78bd (diff)
downloadlibapr-e6955157f0d356f9f16716d05accd65a48138080.tar.gz
Add the first elements to support AS/400
Submitted by: Henri Gomez, hgomez@slib.fr git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62532 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/apr_hints.m4')
-rw-r--r--build/apr_hints.m47
1 files changed, 7 insertions, 0 deletions
diff --git a/build/apr_hints.m4 b/build/apr_hints.m4
index aef22b6ba..82234599d 100644
--- a/build/apr_hints.m4
+++ b/build/apr_hints.m4
@@ -387,6 +387,13 @@ dnl # Not a problem in 10.20. Otherwise, who knows?
APR_SETIFNULL(CC, [cc])
APR_ADDTO(CPPFLAGS, [-U_NO_PROTO -DPTHREAD_ATTR_SETDETACHSTATE_ARG2_ADDR -DPTHREAD_SETS_ERRNO -DPTHREAD_DETACH_ARG1_ADDR -DSIGPROCMASK_SETS_THREAD_MASK -DTCP_NODELAY=1])
;;
+ *-ibm-as400)
+ APR_SETIFNULL(apr_lock_method, [USE_SYSVSEM_SERIALIZE])
+ APR_SETIFNULL(apr_process_lock_is_global, [yes])
+ APR_SETIFNULL(apr_gethostbyname_is_thread_safe, [yes])
+ APR_SETIFNULL(apr_gethostbyaddr_is_thread_safe, [yes])
+ APR_SETIFNULL(CC, [icc])
+ ;;
*cygwin*)
APR_ADDTO(CPPFLAGS, [-DCYGWIN])
APR_ADDTO(LIBS, [-lcrypt])